diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2009-06-25 07:40:35 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2009-06-25 07:40:35 +0000 |
commit | a7a031d2ea4f489e12a3974921f82885b6b0da3a (patch) | |
tree | dbdc11d1be173c2bc58f6cc8ed375b79a315eeff /mail-filter/qmail-scanner | |
parent | Mask Qt4 meta ebuild, bug 217161 comment 11 (diff) | |
download | gentoo-2-a7a031d2ea4f489e12a3974921f82885b6b0da3a.tar.gz gentoo-2-a7a031d2ea4f489e12a3974921f82885b6b0da3a.tar.bz2 gentoo-2-a7a031d2ea4f489e12a3974921f82885b6b0da3a.zip |
Fix detection of maildrop version. Bug #272228 and #274227
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'mail-filter/qmail-scanner')
-rw-r--r-- | mail-filter/qmail-scanner/ChangeLog | 6 | ||||
-rw-r--r-- | mail-filter/qmail-scanner/qmail-scanner-2.06.ebuild | 14 |
2 files changed, 13 insertions, 7 deletions
diff --git a/mail-filter/qmail-scanner/ChangeLog b/mail-filter/qmail-scanner/ChangeLog index a16eca58a7d3..44b4ff0a3222 100644 --- a/mail-filter/qmail-scanner/ChangeLog +++ b/mail-filter/qmail-scanner/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for mail-filter/qmail-scanner # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/qmail-scanner/ChangeLog,v 1.53 2009/05/27 10:53:41 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/qmail-scanner/ChangeLog,v 1.54 2009/06/25 07:40:35 tupone Exp $ + + 25 Jun 2009; Alfredo Tupone <tupone@gentoo.org> qmail-scanner-2.06.ebuild: + Fix detection of maildrop version. Bug #272228 by David Sveningsson and Bug + #274227 by lordvan@gentoo.org *qmail-scanner-2.06 (27 May 2009) diff --git a/mail-filter/qmail-scanner/qmail-scanner-2.06.ebuild b/mail-filter/qmail-scanner/qmail-scanner-2.06.ebuild index 25e26d783b9e..b275790b8c14 100644 --- a/mail-filter/qmail-scanner/qmail-scanner-2.06.ebuild +++ b/mail-filter/qmail-scanner/qmail-scanner-2.06.ebuild @@ -1,6 +1,7 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/qmail-scanner/qmail-scanner-2.06.ebuild,v 1.1 2009/05/27 10:53:41 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/qmail-scanner/qmail-scanner-2.06.ebuild,v 1.2 2009/06/25 07:40:35 tupone Exp $ +EAPI=2 inherit fixheadtails toolchain-funcs eutils @@ -45,9 +46,7 @@ pkg_preinst() { fi } -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { epatch "${DISTDIR}"/q-s-${PV}st-${Q_S_DATE}.patch.gz ht_fix_file autoupdaters/* configure sed -i \ @@ -57,10 +56,13 @@ src_unpack() { EXTRA_VIRII="bagle,beagle,mydoom,sco,maldal,mimail,novarg,shimg,bugler,cissi,cissy,dloade,netsky,qizy" elog "Adding items to the SILENT_VIRUSES list (${EXTRA_VIRII})" - sed -e "/^SILENT_VIRUSES/s/\"$/,${EXTRA_VIRII}\"/g" -i configure + sed -i \ + -e "/^SILENT_VIRUSES/s/\"$/,${EXTRA_VIRII}\"/g" \ + -e '/DD/s/1\\.0/ 1\\.0/' \ + configure } -src_compile () { +src_configure() { local myconf addpredict /var/log/kav/kavscan.log |