summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2006-07-02 04:28:32 +0000
committerAndrej Kacian <ticho@gentoo.org>2006-07-02 04:28:32 +0000
commit66754dab8a72f95f30e561a650ccfa779345192d (patch)
treee8472cd2653a175479b1a101ee3c45f1f1b9de18 /app-antivirus
parentRevision bump to support new Java system. (diff)
downloadhistorical-66754dab8a72f95f30e561a650ccfa779345192d.tar.gz
historical-66754dab8a72f95f30e561a650ccfa779345192d.tar.bz2
historical-66754dab8a72f95f30e561a650ccfa779345192d.zip
Version bump.
Package-Manager: portage-2.1.1_pre1-r5
Diffstat (limited to 'app-antivirus')
-rw-r--r--app-antivirus/clamav/ChangeLog7
-rw-r--r--app-antivirus/clamav/Manifest40
-rw-r--r--app-antivirus/clamav/clamav-0.88.3.ebuild112
-rw-r--r--app-antivirus/clamav/files/digest-clamav-0.88.33
4 files changed, 138 insertions, 24 deletions
diff --git a/app-antivirus/clamav/ChangeLog b/app-antivirus/clamav/ChangeLog
index 5c30a9213573..abed6ee9f07b 100644
--- a/app-antivirus/clamav/ChangeLog
+++ b/app-antivirus/clamav/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-antivirus/clamav
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.150 2006/05/31 14:22:29 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.151 2006/07/02 04:28:32 ticho Exp $
+
+*clamav-0.88.3 (02 Jul 2006)
+
+ 02 Jul 2006; Andrej Kacian <ticho@gentoo.org> +clamav-0.88.3.ebuild:
+ Version bump.
31 May 2006; <solar@gentoo.org> -clamav-0.87.1.ebuild, -clamav-0.87.ebuild,
-clamav-0.88.1.ebuild, -clamav-0.88.ebuild:
diff --git a/app-antivirus/clamav/Manifest b/app-antivirus/clamav/Manifest
index 965eef65ead5..75c16288ef1a 100644
--- a/app-antivirus/clamav/Manifest
+++ b/app-antivirus/clamav/Manifest
@@ -1,9 +1,6 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-- -----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
@@ -16,15 +13,20 @@ AUX clamd.rc 2033 RMD160 aed0e44ce893dad9da77fba3f1ee56001e99adcb SHA1 d2dc3c366
MD5 1906bcd8209370d0a03fb066161f6d59 files/clamd.rc 2033
RMD160 aed0e44ce893dad9da77fba3f1ee56001e99adcb files/clamd.rc 2033
SHA256 6ccae0a0f3f7be2946ed0975ea5093dac605889c44952bd4e02f20e91e606bce files/clamd.rc 2033
-DIST clamav-0.88.2.tar.gz 6016832 RMD160 db6960b315d7c0aec289e3820363f0a6f9c41daf SHA256 b50874f10b09ce45d6753b641836b472dd60b9e73d789fe4ec89b34f7c3d33ba
+DIST clamav-0.88.2.tar.gz 6016832 RMD160 db6960b315d7c0aec289e3820363f0a6f9c41daf SHA1 6164a253b10c46ee93a821ce1fe86a167bd83cf5 SHA256 b50874f10b09ce45d6753b641836b472dd60b9e73d789fe4ec89b34f7c3d33ba
+DIST clamav-0.88.3.tar.gz 7154152 RMD160 31ec73121a07fed2aa12a839ed1595777983dc6f SHA1 5aef27bc3a73bbf6f6869c692f825b62253cbf6e SHA256 26104bca0780ed8eb99f5a08259bf09d55a374572ba1af28e661cae64da5fb84
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
-MISC ChangeLog 24437 RMD160 8b1bdb72a7f6c670cf0eb856a734169e1c80f8d9 SHA1 e4460c2c9f074c30cd00784cb14413ac62134774 SHA256 645affb76d9491e122d933e9989cb3c8efdf870dbb2655797cafabb0e2db1f14
-MD5 95405996570b7850613a5e3dc3309edc ChangeLog 24437
-RMD160 8b1bdb72a7f6c670cf0eb856a734169e1c80f8d9 ChangeLog 24437
-SHA256 645affb76d9491e122d933e9989cb3c8efdf870dbb2655797cafabb0e2db1f14 ChangeLog 24437
+EBUILD clamav-0.88.3.ebuild 3410 RMD160 deaea824484788df38409999e5225cd3064fdb3e SHA1 d07386607cdf283814166f5dae29d2f269424c7e SHA256 6b0d3fb00497245b20408c1edf9c519239a1e52248b8089269c619cfb88aec72
+MD5 eb832db44fd6c4e8e9401a840737162c clamav-0.88.3.ebuild 3410
+RMD160 deaea824484788df38409999e5225cd3064fdb3e clamav-0.88.3.ebuild 3410
+SHA256 6b0d3fb00497245b20408c1edf9c519239a1e52248b8089269c619cfb88aec72 clamav-0.88.3.ebuild 3410
+MISC ChangeLog 24555 RMD160 2ba62c3952b98c47bd621726818626f129e40d5b SHA1 e4492db135a3249f491d04781672ac1c92bece87 SHA256 f3decc000445ac71d1dd8ab2d6bedc58ae9ca58e181dbe0a862beadfdfefdbf0
+MD5 9bd1ced8eafde90286fb164f5c8df093 ChangeLog 24555
+RMD160 2ba62c3952b98c47bd621726818626f129e40d5b ChangeLog 24555
+SHA256 f3decc000445ac71d1dd8ab2d6bedc58ae9ca58e181dbe0a862beadfdfefdbf0 ChangeLog 24555
MISC metadata.xml 184 RMD160 c37bff1fc1cd7139c91dae9b0fa5082e1d81f153 SHA1 cc0a188d9ad2411e78747326c62dd046bd5413c8 SHA256 d51011aa837db802ef539a1321a4af0a4a00879d475b92fd58f3c01df7320b58
MD5 7e32edfd72887a57b16ecd73f0f7a1a0 metadata.xml 184
RMD160 c37bff1fc1cd7139c91dae9b0fa5082e1d81f153 metadata.xml 184
@@ -32,21 +34,13 @@ SHA256 d51011aa837db802ef539a1321a4af0a4a00879d475b92fd58f3c01df7320b58 metadata
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-----
+MD5 e99ea9753b8e03fdc8a1992f139603d0 files/digest-clamav-0.88.3 244
+RMD160 4dd0a59a5e59d12b17b88424e7079328f6298ff1 files/digest-clamav-0.88.3 244
+SHA256 73e6ebe5b51e27e33c25dfc7e57690ced65ce0a17e0191fb8d4aec52ce210e6b files/digest-clamav-0.88.3 244
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2.2 (GNU/Linux)
+Version: GnuPG v1.4.3 (GNU/Linux)
-iQCVAwUBRH3KnZ4WFLgrx1GWAQKAlgQAleZLbcEONUx1FuIrRuIC1xZcrpSpPv8N
-Zet/XOQmZ52tuLrPd/KSsbHQodOhzpKRwsz8EhiqcOS7TZsmIoZrKBkrmhA5mDTl
-wI2+n7mx1o6mQRnK1dNWgAJlfC59wgTPuYdvHbQVuPwnbvtbbwn9M8uIM4+8CqCV
-qmRAXEtJypo=
-=XZzk
+iD8DBQFEp0t7QlM6RnzZP+IRAgbkAKCwGrbv6Z4xHMcN2xsGsYUd5zNItwCfQSiA
+0rZU7fBXFyv7YC0nMh03TRc=
+=57eE
-----END PGP SIGNATURE-----
diff --git a/app-antivirus/clamav/clamav-0.88.3.ebuild b/app-antivirus/clamav/clamav-0.88.3.ebuild
new file mode 100644
index 000000000000..7a88a4856a94
--- /dev/null
+++ b/app-antivirus/clamav/clamav-0.88.3.ebuild
@@ -0,0 +1,112 @@
+# 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.3.ebuild,v 1.1 2006/07/02 04:28:32 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 "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/files/digest-clamav-0.88.3 b/app-antivirus/clamav/files/digest-clamav-0.88.3
new file mode 100644
index 000000000000..a2aa829ee5f8
--- /dev/null
+++ b/app-antivirus/clamav/files/digest-clamav-0.88.3
@@ -0,0 +1,3 @@
+MD5 330206089713e73a44afc7a4d6450225 clamav-0.88.3.tar.gz 7154152
+RMD160 31ec73121a07fed2aa12a839ed1595777983dc6f clamav-0.88.3.tar.gz 7154152
+SHA256 26104bca0780ed8eb99f5a08259bf09d55a374572ba1af28e661cae64da5fb84 clamav-0.88.3.tar.gz 7154152