summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2008-02-22 23:34:12 +0000
committerAlfredo Tupone <tupone@gentoo.org>2008-02-22 23:34:12 +0000
commit098bb2c4daa7b80aa9bcd3e0098d9c46a7310099 (patch)
tree3082e697cf06df7285c473542532d0f0e1eaa2b1
parentMask x11-libs/lesstif since it is not installable anyway. (diff)
downloadgentoo-2-098bb2c4daa7b80aa9bcd3e0098d9c46a7310099.tar.gz
gentoo-2-098bb2c4daa7b80aa9bcd3e0098d9c46a7310099.tar.bz2
gentoo-2-098bb2c4daa7b80aa9bcd3e0098d9c46a7310099.zip
No need for qmail at buildtime. Bug #199534
(Portage version: 2.1.3.19)
-rw-r--r--mail-filter/simscan/ChangeLog8
-rw-r--r--mail-filter/simscan/simscan-1.3.1.ebuild23
2 files changed, 19 insertions, 12 deletions
diff --git a/mail-filter/simscan/ChangeLog b/mail-filter/simscan/ChangeLog
index 640282748fa9..aa7f402ff450 100644
--- a/mail-filter/simscan/ChangeLog
+++ b/mail-filter/simscan/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for mail-filter/simscan
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/simscan/ChangeLog,v 1.3 2007/06/27 20:34:19 swegener Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/simscan/ChangeLog,v 1.4 2008/02/22 23:34:12 tupone Exp $
+
+ 22 Feb 2008; Tupone Alfredo <tupone@gentoo.org> simscan-1.3.1.ebuild:
+ No need for qmail at buildtime. Bug #199534 by Diego Pettenò
+ Other minor fixes
20 Jun 2007; Benedikt Böhm <hollow@gentoo.org>
files/simscan-1.3.1-destdir.patch:
diff --git a/mail-filter/simscan/simscan-1.3.1.ebuild b/mail-filter/simscan/simscan-1.3.1.ebuild
index 7ae804822373..093d424c654a 100644
--- a/mail-filter/simscan/simscan-1.3.1.ebuild
+++ b/mail-filter/simscan/simscan-1.3.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/simscan/simscan-1.3.1.ebuild,v 1.1 2007/06/17 11:46:24 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/simscan/simscan-1.3.1.ebuild,v 1.2 2008/02/22 23:34:12 tupone Exp $
inherit autotools toolchain-funcs eutils fixheadtails flag-o-matic
@@ -29,19 +29,21 @@ pkg_setup() {
enewgroup simscan
enewuser simscan -1 -1 /dev/null simscan
- use clamav && usermod -G simscan,nofiles clamav
+ use clamav && usermod -a -G simscan,nofiles clamav
}
src_unpack() {
- unpack ${P}.tar.gz
+ unpack ${A}
cd "${S}"
- epatch ${FILESDIR}/${P}-destdir.patch
- epatch ${FILESDIR}/${P}-printf.patch
+ epatch "${FILESDIR}"/${P}-destdir.patch \
+ "${FILESDIR}"/${P}-printf.patch
- sed -i "s:daily.cvd:main.cvd:g" configure
- sed -i "s:daily.cvd:main.cvd:g" configure.in
- sed -i "s:daily.cvd:main.cvd:g" simscanmk.c
+ sed -i \
+ -e "s:daily.cvd:main.cvd:g" \
+ configure.in \
+ simscanmk.c \
+ || die "sed failed"
eautoreconf
}
@@ -50,6 +52,7 @@ src_compile() {
econf \
--enable-user=simscan \
--enable-qmaildir=/var/qmail \
+ --enable-qmail-queue=/var/qmail/bin/qmail-queue \
$(use_enable attachment attach) \
$(use_enable clamav) \
$(use_enable clamav clamdscan /usr/bin/clamdscan) \
@@ -69,7 +72,7 @@ src_compile() {
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
- dodoc AUTHORS README TODO
+ dodoc AUTHORS ChangeLog README TODO
keepdir /var/qmail/control
keepdir /var/qmail/simscan