summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2006-05-31 14:22:46 +0000
committerNed Ludd <solar@gentoo.org>2006-05-31 14:22:46 +0000
commitc584f3f287900d4a3c25dfa26f5274206fe671b2 (patch)
tree1a20d87e45a438c871bea3defac53205ff25fd67 /app-antivirus
parent- security/qa cleanup. flush old/vuln ebuilds (diff)
downloadgentoo-2-c584f3f287900d4a3c25dfa26f5274206fe671b2.tar.gz
gentoo-2-c584f3f287900d4a3c25dfa26f5274206fe671b2.tar.bz2
gentoo-2-c584f3f287900d4a3c25dfa26f5274206fe671b2.zip
- security/qa cleanup. flush old/vuln ebuilds
(Portage version: 2.1_rc2-r3) (Signed Manifest commit)
Diffstat (limited to 'app-antivirus')
-rw-r--r--app-antivirus/clamav/Manifest64
-rw-r--r--app-antivirus/clamav/clamav-0.87.1.ebuild116
-rw-r--r--app-antivirus/clamav/clamav-0.87.ebuild116
-rw-r--r--app-antivirus/clamav/clamav-0.88.1.ebuild112
-rw-r--r--app-antivirus/clamav/clamav-0.88.ebuild112
5 files changed, 22 insertions, 498 deletions
diff --git a/app-antivirus/clamav/Manifest b/app-antivirus/clamav/Manifest
index 4458db897fde..2dd6a4522e97 100644
--- a/app-antivirus/clamav/Manifest
+++ b/app-antivirus/clamav/Manifest
@@ -1,60 +1,40 @@
-AUX clamav-milter.README.gentoo 1124 RMD160 4fb1e2d9b444874838bcea1071969ca6862fb15b SHA1 0b9b86a0e7732eaaf7f880859265754f7a4efd3a SHA256 5e7b142b68964bc3463b077e5698fa77cace45ea9612258b1e1849cee944dd11 size 1124
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX clamav-milter.README.gentoo 1124 RMD160 4fb1e2d9b444874838bcea1071969ca6862fb15b SHA1 0b9b86a0e7732eaaf7f880859265754f7a4efd3a SHA256 5e7b142b68964bc3463b077e5698fa77cace45ea9612258b1e1849cee944dd11
MD5 08f7b320461c04bbb88555e389c2e544 files/clamav-milter.README.gentoo 1124
RMD160 4fb1e2d9b444874838bcea1071969ca6862fb15b files/clamav-milter.README.gentoo 1124
SHA256 5e7b142b68964bc3463b077e5698fa77cace45ea9612258b1e1849cee944dd11 files/clamav-milter.README.gentoo 1124
-AUX clamd.conf 193 RMD160 abebb5e1607e6819859b51e1a41b583c8266c6df SHA1 5b27737aecf3bd90277988fc60526ede7d4be636 SHA256 cd867dc66af694282584fa2cfd40a662ac2a7c25d6f2288b9afdc657a07226e3 size 193
+AUX clamd.conf 193 RMD160 abebb5e1607e6819859b51e1a41b583c8266c6df SHA1 5b27737aecf3bd90277988fc60526ede7d4be636 SHA256 cd867dc66af694282584fa2cfd40a662ac2a7c25d6f2288b9afdc657a07226e3
MD5 e29ee77ca9bfe28ed18dbf67a9c90e75 files/clamd.conf 193
RMD160 abebb5e1607e6819859b51e1a41b583c8266c6df files/clamd.conf 193
SHA256 cd867dc66af694282584fa2cfd40a662ac2a7c25d6f2288b9afdc657a07226e3 files/clamd.conf 193
-AUX clamd.rc 2033 RMD160 aed0e44ce893dad9da77fba3f1ee56001e99adcb SHA1 d2dc3c366cc373d13f7336940b61597fa66f2cef SHA256 6ccae0a0f3f7be2946ed0975ea5093dac605889c44952bd4e02f20e91e606bce size 2033
+AUX clamd.rc 2033 RMD160 aed0e44ce893dad9da77fba3f1ee56001e99adcb SHA1 d2dc3c366cc373d13f7336940b61597fa66f2cef SHA256 6ccae0a0f3f7be2946ed0975ea5093dac605889c44952bd4e02f20e91e606bce
MD5 1906bcd8209370d0a03fb066161f6d59 files/clamd.rc 2033
RMD160 aed0e44ce893dad9da77fba3f1ee56001e99adcb files/clamd.rc 2033
SHA256 6ccae0a0f3f7be2946ed0975ea5093dac605889c44952bd4e02f20e91e606bce files/clamd.rc 2033
-DIST clamav-0.87.1.tar.gz 4468992 RMD160 cc8c4436e2da70955d067b8bbe1610a7d20c4884 SHA256 178007b1519890e221e060754673fccc669e10f1e6e548d0ae3dd4ecdf9fc611 size 4468992
-DIST clamav-0.87.tar.gz 4273714 RMD160 eced1d11a2747ff2ffda6060b959afe00ba21561 SHA256 44243b013df855799ad2810e2a1d88baa18ca8486a86f6b87edc7f1b2729a417 size 4273714
-DIST clamav-0.88.1.tar.gz 5348769 RMD160 020022cc6da2f29eb1a2733e614b6feab8771397 SHA256 25f678d1268fa91913dd2f0b7e08338faf65a4f48618ce59d773e3c42e606cff size 5348769
-DIST clamav-0.88.2.tar.gz 6016832 RMD160 db6960b315d7c0aec289e3820363f0a6f9c41daf SHA256 b50874f10b09ce45d6753b641836b472dd60b9e73d789fe4ec89b34f7c3d33ba size 6016832
-DIST clamav-0.88.tar.gz 4564473 RMD160 9ca758b665fcf51e42316a88198ea5c13dc3c407 SHA256 7912be29d13dae676691fbad7fa5fc1518eb3b8b45f8d147097908533ca1f8db size 4564473
-EBUILD clamav-0.87.1.ebuild 3669 RMD160 4a04f78e77334e16aa12f6e89469899accd9aeb7 SHA1 5feb97ec040287297227353397484e54e30300db SHA256 051c943e07bc71a320b2b5268cbc88cfeee8a4e154469c2eeda6df5be28c0e94 size 3669
-MD5 b14cefc87a5f36a46cf660ecbbaf3242 clamav-0.87.1.ebuild 3669
-RMD160 4a04f78e77334e16aa12f6e89469899accd9aeb7 clamav-0.87.1.ebuild 3669
-SHA256 051c943e07bc71a320b2b5268cbc88cfeee8a4e154469c2eeda6df5be28c0e94 clamav-0.87.1.ebuild 3669
-EBUILD clamav-0.87.ebuild 3666 RMD160 34443d3d53ed2522fc1fa7531950e0759a96f39a SHA1 8dc7a02f016a72361bb2d5af751ffa0d43ecba96 SHA256 334bf0dbd467cab327634413212c8c2e0ba82c14678a133e4c3c51eb5a64884e size 3666
-MD5 59ac4fa6c697bff900339d61cf7ed7ab clamav-0.87.ebuild 3666
-RMD160 34443d3d53ed2522fc1fa7531950e0759a96f39a clamav-0.87.ebuild 3666
-SHA256 334bf0dbd467cab327634413212c8c2e0ba82c14678a133e4c3c51eb5a64884e clamav-0.87.ebuild 3666
-EBUILD clamav-0.88.1.ebuild 3405 RMD160 649f47fa5c35492c65eb0494bc89358b45c0d036 SHA1 860566ee1cb7e255d899bc6c5d1763364f0b8ead SHA256 18bc2427c3b39e4dcf4968697e4e71b4f4bcf3d077e28ac42388fb44b3976876 size 3405
-MD5 31126bed41ed54bf3967f244fdc11a63 clamav-0.88.1.ebuild 3405
-RMD160 649f47fa5c35492c65eb0494bc89358b45c0d036 clamav-0.88.1.ebuild 3405
-SHA256 18bc2427c3b39e4dcf4968697e4e71b4f4bcf3d077e28ac42388fb44b3976876 clamav-0.88.1.ebuild 3405
-EBUILD clamav-0.88.2.ebuild 3406 RMD160 2f426b4c073ab8fab72e9f57602fe270b9009f1c SHA1 e83e67e98b48d945b7ba09792959020d545cce32 SHA256 eb411c993b880b0a29b0bc451d3bc22b8eda5ea6081140e4b2278ea35f5a43d2 size 3406
+DIST clamav-0.88.2.tar.gz 6016832 RMD160 db6960b315d7c0aec289e3820363f0a6f9c41daf SHA256 b50874f10b09ce45d6753b641836b472dd60b9e73d789fe4ec89b34f7c3d33ba
+EBUILD clamav-0.88.2.ebuild 3406 RMD160 2f426b4c073ab8fab72e9f57602fe270b9009f1c SHA1 e83e67e98b48d945b7ba09792959020d545cce32 SHA256 eb411c993b880b0a29b0bc451d3bc22b8eda5ea6081140e4b2278ea35f5a43d2
MD5 bf04bb1ed43db55f62385bf8977c9611 clamav-0.88.2.ebuild 3406
RMD160 2f426b4c073ab8fab72e9f57602fe270b9009f1c clamav-0.88.2.ebuild 3406
SHA256 eb411c993b880b0a29b0bc451d3bc22b8eda5ea6081140e4b2278ea35f5a43d2 clamav-0.88.2.ebuild 3406
-EBUILD clamav-0.88.ebuild 3404 RMD160 04dbdb98a7cc250a28e8901efb94c42b7343bb43 SHA1 69387e38027f924e8333a09df11a31c1f480047b SHA256 4b8343abf66aa275ec412802684bbe787fd34b4bac7d557033d76d18ccea26fa size 3404
-MD5 837eadebdf75365ee482b4ff01467861 clamav-0.88.ebuild 3404
-RMD160 04dbdb98a7cc250a28e8901efb94c42b7343bb43 clamav-0.88.ebuild 3404
-SHA256 4b8343abf66aa275ec412802684bbe787fd34b4bac7d557033d76d18ccea26fa clamav-0.88.ebuild 3404
-MISC ChangeLog 24268 RMD160 31aa47caf2f9dd71caeb89db37200c429d5d787a SHA1 3994bee60b4018071bec6b66a367cd1766453010 SHA256 0c315f57eb49aac091a07371542518745995ffbef3767368fb7095d93cd48347 size 24268
-MD5 015f332a569ee01aa37f9ae34ecc71cf ChangeLog 24268
-RMD160 31aa47caf2f9dd71caeb89db37200c429d5d787a ChangeLog 24268
-SHA256 0c315f57eb49aac091a07371542518745995ffbef3767368fb7095d93cd48347 ChangeLog 24268
-MISC metadata.xml 184 RMD160 c37bff1fc1cd7139c91dae9b0fa5082e1d81f153 SHA1 cc0a188d9ad2411e78747326c62dd046bd5413c8 SHA256 d51011aa837db802ef539a1321a4af0a4a00879d475b92fd58f3c01df7320b58 size 184
+MISC ChangeLog 24437 RMD160 8b1bdb72a7f6c670cf0eb856a734169e1c80f8d9 SHA1 e4460c2c9f074c30cd00784cb14413ac62134774 SHA256 645affb76d9491e122d933e9989cb3c8efdf870dbb2655797cafabb0e2db1f14
+MD5 95405996570b7850613a5e3dc3309edc ChangeLog 24437
+RMD160 8b1bdb72a7f6c670cf0eb856a734169e1c80f8d9 ChangeLog 24437
+SHA256 645affb76d9491e122d933e9989cb3c8efdf870dbb2655797cafabb0e2db1f14 ChangeLog 24437
+MISC metadata.xml 184 RMD160 c37bff1fc1cd7139c91dae9b0fa5082e1d81f153 SHA1 cc0a188d9ad2411e78747326c62dd046bd5413c8 SHA256 d51011aa837db802ef539a1321a4af0a4a00879d475b92fd58f3c01df7320b58
MD5 7e32edfd72887a57b16ecd73f0f7a1a0 metadata.xml 184
RMD160 c37bff1fc1cd7139c91dae9b0fa5082e1d81f153 metadata.xml 184
SHA256 d51011aa837db802ef539a1321a4af0a4a00879d475b92fd58f3c01df7320b58 metadata.xml 184
-MD5 d450b29e4112c8e85aba9d950a58a5b2 files/digest-clamav-0.87 238
-RMD160 0c37aac129a45ab920702036f38ee4d3c6fa93eb files/digest-clamav-0.87 238
-SHA256 60d3fda2edc3db120c14d8048385a0f0c2cd8733f34f902f0995938be30ca7ba files/digest-clamav-0.87 238
-MD5 8bae1fcca95181693fb18a2ca05fb253 files/digest-clamav-0.87.1 244
-RMD160 92cb46966e056bf75926846b2cd4d3caf7354eab files/digest-clamav-0.87.1 244
-SHA256 72a0c741d1602633c8393a449dcfd21c6ead0f664b97cfbfd42fa501b4ce5e59 files/digest-clamav-0.87.1 244
-MD5 d8a490c75ca6310336ae2439dff65dbc files/digest-clamav-0.88 238
-RMD160 5663805936da83b4635e27c8fdd069e18c68cdee files/digest-clamav-0.88 238
-SHA256 29367f45996e13b75b2e72911039fa5ea59600c8788fd1c883236b88738cff92 files/digest-clamav-0.88 238
-MD5 7725495555aa9fad34935d82333093cb files/digest-clamav-0.88.1 244
-RMD160 11231de9dbc479ae2b70d4ea222cf16494f495a7 files/digest-clamav-0.88.1 244
-SHA256 d2f619733a8579fe006f226f671ad87875e884bb36c294cb09966fdd13988321 files/digest-clamav-0.88.1 244
MD5 6557161b98cbfbcec57b399cb594a7f4 files/digest-clamav-0.88.2 244
RMD160 4ee5ca92b95daa1bba9ada8893b5c9e7fd0f3bce files/digest-clamav-0.88.2 244
SHA256 4d596a1a1fa69d8a5fc8b31c63274bb4ce9184fa30c4981a005702f539715c9c files/digest-clamav-0.88.2 244
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2.2 (GNU/Linux)
+
+iQCVAwUBRH2mrp4WFLgrx1GWAQJwxQQAggC/8WzSg1pOdpRhyGJOlDBYdCeoiLC+
+4Npxv7ieVOwQylmNOlx8qLRA0K8r34jzdwsHKrZ4WNeauTDzDlXW+AvfMu67ZW/0
+RyR7YGOyAhhirzGQhhK2yHHtyoIWPjn43TycbeWlGJL4QEcahZ6zCELqT10he2Hg
+MYHLn+6WKBA=
+=ORnw
+-----END PGP SIGNATURE-----
diff --git a/app-antivirus/clamav/clamav-0.87.1.ebuild b/app-antivirus/clamav/clamav-0.87.1.ebuild
deleted file mode 100644
index dfdfd184cf29..000000000000
--- a/app-antivirus/clamav/clamav-0.87.1.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.87.1.ebuild,v 1.9 2006/01/22 12:46:21 ticho Exp $
-
-inherit eutils flag-o-matic fixheadtails
-
-DESCRIPTION="Clam Anti-Virus Scanner"
-HOMEPAGE="http://www.clamav.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ~ia64 ppc ppc64 sparc x86"
-IUSE="crypt milter selinux mailwrapper"
-
-DEPEND="virtual/libc
- crypt? ( >=dev-libs/gmp-4.1.2 )
- milter? ( mail-mta/sendmail )
- >=sys-libs/zlib-1.2.1-r3
- >=net-misc/curl-7.10.0
- >=sys-apps/sed-4"
-RDEPEND="${DEPEND}
- selinux? ( sec-policy/selinux-clamav )
- sys-apps/grep"
-PROVIDE="virtual/antivirus"
-
-pkg_setup() {
- if use milter; then
- if [ ! -e /usr/lib/libmilter.a ] ; then
- ewarn "In order to enable milter support, clamav needs sendmail with enabled milter"
- ewarn "USE flag. Either recompile sendmail with milter USE flag enabled, or disable"
- ewarn "this flag for clamav as well to disable milter support."
- die "need milter-enabled sendmail"
- fi
- fi
- enewgroup clamav
- enewuser clamav -1 -1 /dev/null clamav
-}
-
-src_compile() {
- has_version =sys-libs/glibc-2.2* && filter-lfs-flags
-
- local myconf
-
- # we depend on fixed zlib, so we can disable this check to prevent redundant
- # warning (bug #61749)
- myconf="${myconf} --disable-zlib-vcheck"
- # use id utility instead of /etc/passwd parsing (bug #72540)
- myconf="${myconf} --enable-id-check"
- use milter && {
- myconf="${myconf} --enable-milter"
- use mailwrapper && \
- myconf="${myconf} --with-sendmail=/usr/sbin/sendmail.sendmail"
- }
-
- ht_fix_file configure
- econf ${myconf} --with-dbdir=/var/lib/clamav || die
- emake || die
-}
-
-src_install() {
- make DESTDIR=${D} install || die
- dodoc AUTHORS BUGS NEWS README ChangeLog FAQ INSTALL
- newconfd ${FILESDIR}/clamd.conf clamd
- newinitd ${FILESDIR}/clamd.rc clamd
- dodoc ${FILESDIR}/clamav-milter.README.gentoo
-
- dodir /var/run/clamav
- keepdir /var/run/clamav
- fowners clamav:clamav /var/run/clamav
- dodir /var/log/clamav
- keepdir /var/log/clamav
- fowners clamav:clamav /var/log/clamav
-
- # Change /etc/clamd.conf to be usable out of the box
- sed -i -e "s:^\(Example\):\# \1:" \
- -e "s:.*\(PidFile\) .*:\1 /var/run/clamav/clamd.pid:" \
- -e "s:.*\(LocalSocket\) .*:\1 /var/run/clamav/clamd.sock:" \
- -e "s:.*\(User\) .*:\1 clamav:" \
- -e "s:^\#\(LogFile\) .*:\1 /var/log/clamav/clamd.log:" \
- -e "s:^\#\(LogTime\).*:\1:" \
- ${D}/etc/clamd.conf
-
- # Do the same for /etc/freshclam.conf
- sed -i -e "s:^\(Example\):\# \1:" \
- -e "s:.*\(PidFile\) .*:\1 /var/run/clamav/freshclam.pid:" \
- -e "s:.*\(DatabaseOwner\) .*:\1 clamav:" \
- -e "s:^\#\(LogFile\) .*:\1 /var/log/freshclam.log:" \
- -e "s:^\#\(LogTime\).*:\1:" \
- ${D}/etc/freshclam.conf
-
- if use milter ; then
- echo "START_MILTER=no" \
- >> ${D}/etc/conf.d/clamd
- echo "MILTER_SOCKET=\"/var/run/clamav/clmilter.sock\"" \
- >>${D}/etc/conf.d/clamd
- echo "MILTER_OPTS=\"-m 10 --timeout=0\"" \
- >>${D}/etc/conf.d/clamd
- fi
-}
-
-pkg_postinst() {
- echo
- ewarn "As of 0.85-r1, all settings from /etc/conf.d/clamd are ignored, except for"
- ewarn "START_CLAMD, START_FRESHCLAM and MILTER related options. All settings are"
- ewarn "read from /etc/clamd.conf and /etc/freshclam.conf, so double-check these two files."
- echo
- ewarn "Warning: clamd and/or freshclam have not been restarted."
- ewarn "You should restart them with: /etc/init.d/clamd restart"
- echo
- if use milter ; then
- einfo "For simple instructions how to setup the clamav-milter type:"
- echo " zless /usr/share/doc/${PF}/clamav-milter.README.gentoo.gz"
- echo
- fi
-}
diff --git a/app-antivirus/clamav/clamav-0.87.ebuild b/app-antivirus/clamav/clamav-0.87.ebuild
deleted file mode 100644
index 989144c8fad9..000000000000
--- a/app-antivirus/clamav/clamav-0.87.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.87.ebuild,v 1.9 2006/01/22 12:46:21 ticho Exp $
-
-inherit eutils flag-o-matic fixheadtails
-
-DESCRIPTION="Clam Anti-Virus Scanner"
-HOMEPAGE="http://www.clamav.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
-IUSE="crypt milter selinux mailwrapper"
-
-DEPEND="virtual/libc
- crypt? ( >=dev-libs/gmp-4.1.2 )
- milter? ( mail-mta/sendmail )
- >=sys-libs/zlib-1.2.1-r3
- >=net-misc/curl-7.10.0
- >=sys-apps/sed-4"
-RDEPEND="${DEPEND}
- selinux? ( sec-policy/selinux-clamav )
- sys-apps/grep"
-PROVIDE="virtual/antivirus"
-
-pkg_setup() {
- if use milter; then
- if [ ! -e /usr/lib/libmilter.a ] ; then
- ewarn "In order to enable milter support, clamav needs sendmail with enabled milter"
- ewarn "USE flag. Either recompile sendmail with milter USE flag enabled, or disable"
- ewarn "this flag for clamav as well to disable milter support."
- die "need milter-enabled sendmail"
- fi
- fi
- enewgroup clamav
- enewuser clamav -1 -1 /dev/null clamav
-}
-
-src_compile() {
- has_version =sys-libs/glibc-2.2* && filter-lfs-flags
-
- local myconf
-
- # we depend on fixed zlib, so we can disable this check to prevent redundant
- # warning (bug #61749)
- myconf="${myconf} --disable-zlib-vcheck"
- # use id utility instead of /etc/passwd parsing (bug #72540)
- myconf="${myconf} --enable-id-check"
- use milter && {
- myconf="${myconf} --enable-milter"
- use mailwrapper && \
- myconf="${myconf} --with-sendmail=/usr/sbin/sendmail.sendmail"
- }
-
- ht_fix_file configure
- econf ${myconf} --with-dbdir=/var/lib/clamav || die
- emake || die
-}
-
-src_install() {
- make DESTDIR=${D} install || die
- dodoc AUTHORS BUGS NEWS README ChangeLog FAQ INSTALL
- newconfd ${FILESDIR}/clamd.conf clamd
- newinitd ${FILESDIR}/clamd.rc clamd
- dodoc ${FILESDIR}/clamav-milter.README.gentoo
-
- dodir /var/run/clamav
- keepdir /var/run/clamav
- fowners clamav:clamav /var/run/clamav
- dodir /var/log/clamav
- keepdir /var/log/clamav
- fowners clamav:clamav /var/log/clamav
-
- # Change /etc/clamd.conf to be usable out of the box
- sed -i -e "s:^\(Example\):\# \1:" \
- -e "s:.*\(PidFile\) .*:\1 /var/run/clamav/clamd.pid:" \
- -e "s:.*\(LocalSocket\) .*:\1 /var/run/clamav/clamd.sock:" \
- -e "s:.*\(User\) .*:\1 clamav:" \
- -e "s:^\#\(LogFile\) .*:\1 /var/log/clamav/clamd.log:" \
- -e "s:^\#\(LogTime\).*:\1:" \
- ${D}/etc/clamd.conf
-
- # Do the same for /etc/freshclam.conf
- sed -i -e "s:^\(Example\):\# \1:" \
- -e "s:.*\(PidFile\) .*:\1 /var/run/clamav/freshclam.pid:" \
- -e "s:.*\(DatabaseOwner\) .*:\1 clamav:" \
- -e "s:^\#\(LogFile\) .*:\1 /var/log/freshclam.log:" \
- -e "s:^\#\(LogTime\).*:\1:" \
- ${D}/etc/freshclam.conf
-
- if use milter ; then
- echo "START_MILTER=no" \
- >> ${D}/etc/conf.d/clamd
- echo "MILTER_SOCKET=\"/var/run/clamav/clmilter.sock\"" \
- >>${D}/etc/conf.d/clamd
- echo "MILTER_OPTS=\"-m 10 --timeout=0\"" \
- >>${D}/etc/conf.d/clamd
- fi
-}
-
-pkg_postinst() {
- echo
- ewarn "As of 0.85-r1, all settings from /etc/conf.d/clamd are ignored, except for"
- ewarn "START_CLAMD, START_FRESHCLAM and MILTER related options. All settings are"
- ewarn "read from /etc/clamd.conf and /etc/freshclam.conf, so double-check these two files."
- echo
- ewarn "Warning: clamd and/or freshclam have not been restarted."
- ewarn "You should restart them with: /etc/init.d/clamd restart"
- echo
- if use milter ; then
- einfo "For simple instructions how to setup the clamav-milter type:"
- echo " zless /usr/share/doc/${PF}/clamav-milter.README.gentoo.gz"
- echo
- fi
-}
diff --git a/app-antivirus/clamav/clamav-0.88.1.ebuild b/app-antivirus/clamav/clamav-0.88.1.ebuild
deleted file mode 100644
index f0983786bfb9..000000000000
--- a/app-antivirus/clamav/clamav-0.88.1.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.88.1.ebuild,v 1.8 2006/04/07 18:04:05 halcy0n Exp $
-
-inherit eutils flag-o-matic fixheadtails
-
-DESCRIPTION="Clam Anti-Virus Scanner"
-HOMEPAGE="http://www.clamav.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ~ia64 ppc ppc64 sparc x86"
-IUSE="crypt milter selinux mailwrapper"
-
-DEPEND="virtual/libc
- crypt? ( >=dev-libs/gmp-4.1.2 )
- milter? ( mail-mta/sendmail )
- >=sys-libs/zlib-1.2.1-r3
- >=net-misc/curl-7.10.0
- >=sys-apps/sed-4"
-RDEPEND="${DEPEND}
- selinux? ( sec-policy/selinux-clamav )
- sys-apps/grep"
-PROVIDE="virtual/antivirus"
-
-pkg_setup() {
- if use milter; then
- if [ ! -e /usr/lib/libmilter.a ] ; then
- ewarn "In order to enable milter support, clamav needs sendmail with enabled milter"
- ewarn "USE flag. Either recompile sendmail with milter USE flag enabled, or disable"
- ewarn "this flag for clamav as well to disable milter support."
- die "need milter-enabled sendmail"
- fi
- fi
- enewgroup clamav
- enewuser clamav -1 -1 /dev/null clamav
-}
-
-src_compile() {
- has_version =sys-libs/glibc-2.2* && filter-lfs-flags
-
- local myconf
-
- # we depend on fixed zlib, so we can disable this check to prevent redundant
- # warning (bug #61749)
- myconf="${myconf} --disable-zlib-vcheck"
- # use id utility instead of /etc/passwd parsing (bug #72540)
- myconf="${myconf} --enable-id-check"
- use milter && {
- myconf="${myconf} --enable-milter"
- use mailwrapper && \
- myconf="${myconf} --with-sendmail=/usr/sbin/sendmail.sendmail"
- }
-
- ht_fix_file configure
- econf ${myconf} --with-dbdir=/var/lib/clamav || die
- emake || die
-}
-
-src_install() {
- make DESTDIR=${D} install || die
- dodoc AUTHORS BUGS NEWS README ChangeLog FAQ INSTALL
- newconfd ${FILESDIR}/clamd.conf clamd
- newinitd ${FILESDIR}/clamd.rc clamd
- dodoc ${FILESDIR}/clamav-milter.README.gentoo
-
- dodir /var/run/clamav
- keepdir /var/run/clamav
- fowners clamav:clamav /var/run/clamav
- dodir /var/log/clamav
- keepdir /var/log/clamav
- fowners clamav:clamav /var/log/clamav
-
- # Change /etc/clamd.conf to be usable out of the box
- sed -i -e "s:^\(Example\):\# \1:" \
- -e "s:.*\(PidFile\) .*:\1 /var/run/clamav/clamd.pid:" \
- -e "s:.*\(LocalSocket\) .*:\1 /var/run/clamav/clamd.sock:" \
- -e "s:.*\(User\) .*:\1 clamav:" \
- -e "s:^\#\(LogFile\) .*:\1 /var/log/clamav/clamd.log:" \
- -e "s:^\#\(LogTime\).*:\1:" \
- ${D}/etc/clamd.conf
-
- # Do the same for /etc/freshclam.conf
- sed -i -e "s:^\(Example\):\# \1:" \
- -e "s:.*\(PidFile\) .*:\1 /var/run/clamav/freshclam.pid:" \
- -e "s:.*\(DatabaseOwner\) .*:\1 clamav:" \
- -e "s:^\#\(LogFile\) .*:\1 /var/log/freshclam.log:" \
- -e "s:^\#\(LogTime\).*:\1:" \
- ${D}/etc/freshclam.conf
-
- if use milter ; then
- echo "START_MILTER=no" \
- >> ${D}/etc/conf.d/clamd
- echo "MILTER_SOCKET=\"/var/run/clamav/clmilter.sock\"" \
- >>${D}/etc/conf.d/clamd
- echo "MILTER_OPTS=\"-m 10 --timeout=0\"" \
- >>${D}/etc/conf.d/clamd
- fi
-}
-
-pkg_postinst() {
- echo
- ewarn "Warning: clamd and/or freshclam have not been restarted."
- ewarn "You should restart them with: /etc/init.d/clamd restart"
- echo
- if use milter ; then
- einfo "For simple instructions how to setup the clamav-milter type:"
- echo " zless /usr/share/doc/${PF}/clamav-milter.README.gentoo.gz"
- echo
- fi
-}
diff --git a/app-antivirus/clamav/clamav-0.88.ebuild b/app-antivirus/clamav/clamav-0.88.ebuild
deleted file mode 100644
index cd3a28360076..000000000000
--- a/app-antivirus/clamav/clamav-0.88.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.88.ebuild,v 1.10 2006/02/04 21:14:10 agriffis Exp $
-
-inherit eutils flag-o-matic fixheadtails
-
-DESCRIPTION="Clam Anti-Virus Scanner"
-HOMEPAGE="http://www.clamav.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
-IUSE="crypt milter selinux mailwrapper"
-
-DEPEND="virtual/libc
- crypt? ( >=dev-libs/gmp-4.1.2 )
- milter? ( mail-mta/sendmail )
- >=sys-libs/zlib-1.2.1-r3
- >=net-misc/curl-7.10.0
- >=sys-apps/sed-4"
-RDEPEND="${DEPEND}
- selinux? ( sec-policy/selinux-clamav )
- sys-apps/grep"
-PROVIDE="virtual/antivirus"
-
-pkg_setup() {
- if use milter; then
- if [ ! -e /usr/lib/libmilter.a ] ; then
- ewarn "In order to enable milter support, clamav needs sendmail with enabled milter"
- ewarn "USE flag. Either recompile sendmail with milter USE flag enabled, or disable"
- ewarn "this flag for clamav as well to disable milter support."
- die "need milter-enabled sendmail"
- fi
- fi
- enewgroup clamav
- enewuser clamav -1 -1 /dev/null clamav
-}
-
-src_compile() {
- has_version =sys-libs/glibc-2.2* && filter-lfs-flags
-
- local myconf
-
- # we depend on fixed zlib, so we can disable this check to prevent redundant
- # warning (bug #61749)
- myconf="${myconf} --disable-zlib-vcheck"
- # use id utility instead of /etc/passwd parsing (bug #72540)
- myconf="${myconf} --enable-id-check"
- use milter && {
- myconf="${myconf} --enable-milter"
- use mailwrapper && \
- myconf="${myconf} --with-sendmail=/usr/sbin/sendmail.sendmail"
- }
-
- ht_fix_file configure
- econf ${myconf} --with-dbdir=/var/lib/clamav || die
- emake || die
-}
-
-src_install() {
- make DESTDIR=${D} install || die
- dodoc AUTHORS BUGS NEWS README ChangeLog FAQ INSTALL
- newconfd ${FILESDIR}/clamd.conf clamd
- newinitd ${FILESDIR}/clamd.rc clamd
- dodoc ${FILESDIR}/clamav-milter.README.gentoo
-
- dodir /var/run/clamav
- keepdir /var/run/clamav
- fowners clamav:clamav /var/run/clamav
- dodir /var/log/clamav
- keepdir /var/log/clamav
- fowners clamav:clamav /var/log/clamav
-
- # Change /etc/clamd.conf to be usable out of the box
- sed -i -e "s:^\(Example\):\# \1:" \
- -e "s:.*\(PidFile\) .*:\1 /var/run/clamav/clamd.pid:" \
- -e "s:.*\(LocalSocket\) .*:\1 /var/run/clamav/clamd.sock:" \
- -e "s:.*\(User\) .*:\1 clamav:" \
- -e "s:^\#\(LogFile\) .*:\1 /var/log/clamav/clamd.log:" \
- -e "s:^\#\(LogTime\).*:\1:" \
- ${D}/etc/clamd.conf
-
- # Do the same for /etc/freshclam.conf
- sed -i -e "s:^\(Example\):\# \1:" \
- -e "s:.*\(PidFile\) .*:\1 /var/run/clamav/freshclam.pid:" \
- -e "s:.*\(DatabaseOwner\) .*:\1 clamav:" \
- -e "s:^\#\(LogFile\) .*:\1 /var/log/freshclam.log:" \
- -e "s:^\#\(LogTime\).*:\1:" \
- ${D}/etc/freshclam.conf
-
- if use milter ; then
- echo "START_MILTER=no" \
- >> ${D}/etc/conf.d/clamd
- echo "MILTER_SOCKET=\"/var/run/clamav/clmilter.sock\"" \
- >>${D}/etc/conf.d/clamd
- echo "MILTER_OPTS=\"-m 10 --timeout=0\"" \
- >>${D}/etc/conf.d/clamd
- fi
-}
-
-pkg_postinst() {
- echo
- ewarn "Warning: clamd and/or freshclam have not been restarted."
- ewarn "You should restart them with: /etc/init.d/clamd restart"
- echo
- if use milter ; then
- einfo "For simple instructions how to setup the clamav-milter type:"
- echo " zless /usr/share/doc/${PF}/clamav-milter.README.gentoo.gz"
- echo
- fi
-}