summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2006-04-06 15:17:25 +0000
committerPatrick McLean <chutzpah@gentoo.org>2006-04-06 15:17:25 +0000
commita9095dba6e89f39aa5074c331f1235a4d1f3f9ed (patch)
treea65b07d4fcd6b86aa2cd7c137dda58788d0e980b /app-antivirus/clamav
parentupdate the srcuri to my homepage. (diff)
downloadhistorical-a9095dba6e89f39aa5074c331f1235a4d1f3f9ed.tar.gz
historical-a9095dba6e89f39aa5074c331f1235a4d1f3f9ed.tar.bz2
historical-a9095dba6e89f39aa5074c331f1235a4d1f3f9ed.zip
Version bump, fixes some security bugs (bug 128963)
Package-Manager: portage-2.1_pre7-r4
Diffstat (limited to 'app-antivirus/clamav')
-rw-r--r--app-antivirus/clamav/ChangeLog7
-rw-r--r--app-antivirus/clamav/Manifest22
-rw-r--r--app-antivirus/clamav/clamav-0.88.1.ebuild112
-rw-r--r--app-antivirus/clamav/files/digest-clamav-0.88.13
4 files changed, 130 insertions, 14 deletions
diff --git a/app-antivirus/clamav/ChangeLog b/app-antivirus/clamav/ChangeLog
index f1ee3b6fd477..281ecdcd22b1 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.132 2006/02/04 21:14:10 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.133 2006/04/06 15:17:25 chutzpah Exp $
+
+*clamav-0.88.1 (06 Apr 2006)
+
+ 06 Apr 2006; Patrick McLean <chutzpah@gentoo.org> +clamav-0.88.1.ebuild:
+ Version bump, fixes some security bugs (bug 128963)
04 Feb 2006; Aron Griffis <agriffis@gentoo.org> clamav-0.88.ebuild:
Mark 0.88 stable on ia64
diff --git a/app-antivirus/clamav/Manifest b/app-antivirus/clamav/Manifest
index 9e66f40b7f83..d840b7e53f49 100644
--- a/app-antivirus/clamav/Manifest
+++ b/app-antivirus/clamav/Manifest
@@ -1,15 +1,15 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 cf39209704522a46b23e4ab83e787428 ChangeLog 22357
-RMD160 1700c0c29c27598b7ca922023eee61c3a480459c ChangeLog 22357
-SHA256 f656af43fb95f5483136957c0cb4014b85402068279ed8bf73edcea17f36a388 ChangeLog 22357
+MD5 3e8a1870fdc92ac75bdbaa8e14490b51 ChangeLog 22517
+RMD160 bc461c6bdf6902548b2438e95a69c8a125e79327 ChangeLog 22517
+SHA256 9a196ba06a7361ae71a6fddbdb4215a4eb782e6c08e379cbee18df5476860f8e ChangeLog 22517
MD5 b14cefc87a5f36a46cf660ecbbaf3242 clamav-0.87.1.ebuild 3669
RMD160 4a04f78e77334e16aa12f6e89469899accd9aeb7 clamav-0.87.1.ebuild 3669
SHA256 051c943e07bc71a320b2b5268cbc88cfeee8a4e154469c2eeda6df5be28c0e94 clamav-0.87.1.ebuild 3669
MD5 59ac4fa6c697bff900339d61cf7ed7ab clamav-0.87.ebuild 3666
RMD160 34443d3d53ed2522fc1fa7531950e0759a96f39a clamav-0.87.ebuild 3666
SHA256 334bf0dbd467cab327634413212c8c2e0ba82c14678a133e4c3c51eb5a64884e clamav-0.87.ebuild 3666
+MD5 3f862ed121b764a7e8e27a0f3d2d7dc5 clamav-0.88.1.ebuild 3413
+RMD160 c5c41f7cc6a88f320d060cc88745ded6af473d54 clamav-0.88.1.ebuild 3413
+SHA256 9b2cebd534ca640efe7af57b448432c03087627587ed7df6443b974585259825 clamav-0.88.1.ebuild 3413
MD5 837eadebdf75365ee482b4ff01467861 clamav-0.88.ebuild 3404
RMD160 04dbdb98a7cc250a28e8901efb94c42b7343bb43 clamav-0.88.ebuild 3404
SHA256 4b8343abf66aa275ec412802684bbe787fd34b4bac7d557033d76d18ccea26fa clamav-0.88.ebuild 3404
@@ -31,13 +31,9 @@ SHA256 3c10ea02f2dea1871ab5e34ebb328f8155357e3185f4325e8cff9ad67b639fb8 files/di
MD5 262cbb9bc1b14af67f7a546d65aed16d files/digest-clamav-0.88 64
RMD160 da20839089ac0bd532eb89ac6190096c1beda3de files/digest-clamav-0.88 64
SHA256 adaf99fc4e1ce7af4b5b7aa4c66493266695e17104f2c330b29b81e6e5a5606e files/digest-clamav-0.88 64
+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 7e32edfd72887a57b16ecd73f0f7a1a0 metadata.xml 184
RMD160 c37bff1fc1cd7139c91dae9b0fa5082e1d81f153 metadata.xml 184
SHA256 d51011aa837db802ef539a1321a4af0a4a00879d475b92fd58f3c01df7320b58 metadata.xml 184
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFD5RkrJrHF4yAQTrARArf2AKCuP31Llhe0iZzzW0G6I3oZLPPuPgCffifw
-zGinb/Lb4+iVgQESQl28bLI=
-=Ki3c
------END PGP SIGNATURE-----
diff --git a/app-antivirus/clamav/clamav-0.88.1.ebuild b/app-antivirus/clamav/clamav-0.88.1.ebuild
new file mode 100644
index 000000000000..89e59359995a
--- /dev/null
+++ b/app-antivirus/clamav/clamav-0.88.1.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.1.ebuild,v 1.1 2006/04/06 15:17:25 chutzpah 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.1 b/app-antivirus/clamav/files/digest-clamav-0.88.1
new file mode 100644
index 000000000000..f8c9b3af4de8
--- /dev/null
+++ b/app-antivirus/clamav/files/digest-clamav-0.88.1
@@ -0,0 +1,3 @@
+MD5 9fe8c47037051e350077513dd94fb76a clamav-0.88.1.tar.gz 5348769
+RMD160 020022cc6da2f29eb1a2733e614b6feab8771397 clamav-0.88.1.tar.gz 5348769
+SHA256 25f678d1268fa91913dd2f0b7e08338faf65a4f48618ce59d773e3c42e606cff clamav-0.88.1.tar.gz 5348769