summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2006-08-07 23:45:49 +0000
committerAndrej Kacian <ticho@gentoo.org>2006-08-07 23:45:49 +0000
commit6b89f7dc3b915ff3b0f07afd02b157023685fdf3 (patch)
treec3618a1596bd9ff682a2c134c5f4f77931eeb91c /app-antivirus
parentMarking stable amd64, sparc (diff)
downloadhistorical-6b89f7dc3b915ff3b0f07afd02b157023685fdf3.tar.gz
historical-6b89f7dc3b915ff3b0f07afd02b157023685fdf3.tar.bz2
historical-6b89f7dc3b915ff3b0f07afd02b157023685fdf3.zip
Version bump. Fixes vulnerability in security bug #143093.
Package-Manager: portage-2.1.1_pre4-r4
Diffstat (limited to 'app-antivirus')
-rw-r--r--app-antivirus/clamav/ChangeLog7
-rw-r--r--app-antivirus/clamav/Manifest24
-rw-r--r--app-antivirus/clamav/clamav-0.88.4.ebuild112
-rw-r--r--app-antivirus/clamav/files/digest-clamav-0.88.43
4 files changed, 137 insertions, 9 deletions
diff --git a/app-antivirus/clamav/ChangeLog b/app-antivirus/clamav/ChangeLog
index 2b88a9827728..5ca11c5b16a5 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.156 2006/08/06 02:09:31 nigoro Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.157 2006/08/07 23:45:49 ticho Exp $
+
+*clamav-0.88.4 (07 Aug 2006)
+
+ 07 Aug 2006; Andrej Kacian <ticho@gentoo.org> +clamav-0.88.4.ebuild:
+ Version bump. Fixes vulnerability in security bug #143093.
06 Aug 2006; Yuta SATOH <nigoro@gentoo.org> clamav-0.88.3.ebuild:
Stable on ppc64, bug #141539
diff --git a/app-antivirus/clamav/Manifest b/app-antivirus/clamav/Manifest
index 71be429de46f..d99b434bf0ed 100644
--- a/app-antivirus/clamav/Manifest
+++ b/app-antivirus/clamav/Manifest
@@ -15,6 +15,7 @@ RMD160 aed0e44ce893dad9da77fba3f1ee56001e99adcb files/clamd.rc 2033
SHA256 6ccae0a0f3f7be2946ed0975ea5093dac605889c44952bd4e02f20e91e606bce files/clamd.rc 2033
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
+DIST clamav-0.88.4.tar.gz 7632947 RMD160 efa419598c7d6deae53bf9c0f40a4c2912433228 SHA1 efc343e833c0bc1c77540bdb4e8dc21cedee70fa SHA256 a581f2f7c93fac9e7a4caf5c1f15f5e7722a4739aaaa3f07dd9076e1097d157f
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
@@ -23,10 +24,14 @@ EBUILD clamav-0.88.3.ebuild 3406 RMD160 941fc203d6688294479cfabb16a0895d21b9cdfe
MD5 65c664b7aff4db54732859ce70fc03b4 clamav-0.88.3.ebuild 3406
RMD160 941fc203d6688294479cfabb16a0895d21b9cdfe clamav-0.88.3.ebuild 3406
SHA256 419c28c89e0b86b517616749b13ef53dd5fa7e3da31afecacaa50acf8319a109 clamav-0.88.3.ebuild 3406
-MISC ChangeLog 25062 RMD160 c3d9ac30c07c4a4308c81100643c827b7ce7cbdf SHA1 c095ad9e1fbe873123d9c0c574b75a81d39c0d9b SHA256 6449e4444e1cb069043d3072a2e77936339b3401dd8d18d6a0695a4e139d4dc7
-MD5 6ef1c961442ad8b3812e70c690a1cb73 ChangeLog 25062
-RMD160 c3d9ac30c07c4a4308c81100643c827b7ce7cbdf ChangeLog 25062
-SHA256 6449e4444e1cb069043d3072a2e77936339b3401dd8d18d6a0695a4e139d4dc7 ChangeLog 25062
+EBUILD clamav-0.88.4.ebuild 3408 RMD160 f7aa5cb5c001cd3f3fb622f43d3dad736b4994c9 SHA1 fc491dc28e72dd31fc280b892f6eb88fec5b6b1e SHA256 dd13172a2739f265fa43fad7c65347e259089de10d8346fb5664f6cad4227c7c
+MD5 ea210fae2356841161fd03c7464845b9 clamav-0.88.4.ebuild 3408
+RMD160 f7aa5cb5c001cd3f3fb622f43d3dad736b4994c9 clamav-0.88.4.ebuild 3408
+SHA256 dd13172a2739f265fa43fad7c65347e259089de10d8346fb5664f6cad4227c7c clamav-0.88.4.ebuild 3408
+MISC ChangeLog 25224 RMD160 664aea2148e3dd5494f526a16b92f2f7b39163b9 SHA1 7d4e2e61c007920795a37378727d741eaba12851 SHA256 dda7ecd174bb692c7e2468f5ab145fecb6d71f88fce726ef0ba2f86260218519
+MD5 5ba7e0a5b9cb3d49d3ec45d4f7969975 ChangeLog 25224
+RMD160 664aea2148e3dd5494f526a16b92f2f7b39163b9 ChangeLog 25224
+SHA256 dda7ecd174bb692c7e2468f5ab145fecb6d71f88fce726ef0ba2f86260218519 ChangeLog 25224
MISC metadata.xml 184 RMD160 c37bff1fc1cd7139c91dae9b0fa5082e1d81f153 SHA1 cc0a188d9ad2411e78747326c62dd046bd5413c8 SHA256 d51011aa837db802ef539a1321a4af0a4a00879d475b92fd58f3c01df7320b58
MD5 7e32edfd72887a57b16ecd73f0f7a1a0 metadata.xml 184
RMD160 c37bff1fc1cd7139c91dae9b0fa5082e1d81f153 metadata.xml 184
@@ -37,10 +42,13 @@ SHA256 4d596a1a1fa69d8a5fc8b31c63274bb4ce9184fa30c4981a005702f539715c9c files/di
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
+MD5 b8104a2c3ee03cdf67dcaea1553abdb8 files/digest-clamav-0.88.4 244
+RMD160 9c38dbaf56e49c8614caeeb4bf9c78126f4096c1 files/digest-clamav-0.88.4 244
+SHA256 677d57d8903d1262b92cc90f2421664f58716950cfbe7e5b95109d0914f66910 files/digest-clamav-0.88.4 244
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2.1 (GNU/Linux)
+Version: GnuPG v1.4.4 (GNU/Linux)
-iD8DBQFE1U9v60LfUIagIAkRAgOjAKDXDiwbWX41FAWhvE00oEDA4QKivgCdFoIP
-vBJAMh+kM6KvhpIF/HeU3tk=
-=vXv0
+iD8DBQFE19EAQlM6RnzZP+IRAuAeAJ9rbzsJJ3WcONXLOlQuhfXwp5KjMgCZAZ+X
+3SGNNpEbOwfY3gTnot95xAs=
+=dIrc
-----END PGP SIGNATURE-----
diff --git a/app-antivirus/clamav/clamav-0.88.4.ebuild b/app-antivirus/clamav/clamav-0.88.4.ebuild
new file mode 100644
index 000000000000..5a8e3e1190ad
--- /dev/null
+++ b/app-antivirus/clamav/clamav-0.88.4.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.4.ebuild,v 1.1 2006/08/07 23:45:49 ticho Exp $
+
+inherit eutils flag-o-matic fixheadtails
+
+DESCRIPTION="Clam Anti-Virus Scanner"
+HOMEPAGE="http://www.clamav.net/"
+SRC_URI="http://mirror.clamav.net/${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.4 b/app-antivirus/clamav/files/digest-clamav-0.88.4
new file mode 100644
index 000000000000..a5b2f0480d00
--- /dev/null
+++ b/app-antivirus/clamav/files/digest-clamav-0.88.4
@@ -0,0 +1,3 @@
+MD5 7759784aa4506b314e6543e0f2a8587b clamav-0.88.4.tar.gz 7632947
+RMD160 efa419598c7d6deae53bf9c0f40a4c2912433228 clamav-0.88.4.tar.gz 7632947
+SHA256 a581f2f7c93fac9e7a4caf5c1f15f5e7722a4739aaaa3f07dd9076e1097d157f clamav-0.88.4.tar.gz 7632947