# 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.183 2006/12/11 13:04:22 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.184 2006/12/11 15:10:07 ticho Exp $
+
+*clamav-0.88.7 (11 Dec 2006)
+
+ 11 Dec 2006; Andrej Kacian <ticho@gentoo.org> +clamav-0.88.7.ebuild:
+ Version bump. Closes security bug #157698.
11 Dec 2006; Gustavo Zacarias <gustavoz@gentoo.org> clamav-0.88.6.ebuild:
Stable on sparc wrt #156772
SHA256 6ccae0a0f3f7be2946ed0975ea5093dac605889c44952bd4e02f20e91e606bce files/clamd.rc 2033
DIST clamav-0.88.5.tar.gz 8663193 RMD160 b0e24b90f2a085ded89fcd90f3434d6bc1981caf SHA1 eb4c671d14d43b7079f19da9d9ef37357fa24c83 SHA256 8b807fcb64e2c523d7da8002ca1174c4173526ae48a7deecca41db30f51cee8f
DIST clamav-0.88.6.tar.gz 8929534 RMD160 efa53c600a70a8f808fbf9cde92ebf193b76e574 SHA1 5fe6efa7c7dc9eb157a78e7851392c737d586bb7 SHA256 cc7f90983aa61b3d893c3311e3f832c5faa204467143cff597ad80bf8ad24daa
+DIST clamav-0.88.7.tar.gz 9510548 RMD160 14d7c6255df618b16b704fc1cb5ce2b1385fa0e8 SHA1 7d7833dc454437ed7044b1c734f0a13e4dc1ead2 SHA256 702cb5928bff3d0e647a4a6b505d434e3a0f10f2af74bddac5239a200b92d1e2
DIST clamav-0.90RC1.1.tar.gz 8463538 RMD160 d73a44a1ab79d2a99530409c66ca6520a4c5059b SHA1 f408f1aca163a53961d2bf7eee85333e1d7b1afc SHA256 b4a2a4dc88afca53ca1452c4d2a4e6a00386cd935523f883a732464bbd898e96
DIST clamav-0.90rc2.tar.gz 8706141 RMD160 cdf5674da401af070d6da64113d353e0d9cfdadc SHA1 915ccf0fe4a484352d5df67998cee445b3933eb2 SHA256 a74498f08d7817140036203e5247ee0b2ffa11a0be08c594a7c6444d4cb1a02a
EBUILD clamav-0.88.5.ebuild 3405 RMD160 c3f4890abdd20b7d4083e140820fba584094b13c SHA1 025622db9bf842d37b5b4b3c6dcd5b0dbb7e5e4a SHA256 cc045a7974660ea76725bfd31091444473b92a18ccf24b4871dd41b5df810333
MD5 c5e7ae3e04204a7dc16592bd1c68902b clamav-0.88.6.ebuild 3449
RMD160 76f3a7eb45cc5a6d25fa80812bee7090dddc735c clamav-0.88.6.ebuild 3449
SHA256 12406e5ba2cf2560cb94fc288508b7790ae7fe4ef71d889d0aa969653cb36699 clamav-0.88.6.ebuild 3449
+EBUILD clamav-0.88.7.ebuild 3446 RMD160 31b54de7607a5efda636729067ceddb5fb0f9e20 SHA1 d81a7469601b5c0b356aebe2fd981a5afe400bec SHA256 2cbaece7dc7614477b9e06df80bcde546e9c4ea31c0c61042fcc47fae776b64c
+MD5 82d53474525862011215ead5a13c946d clamav-0.88.7.ebuild 3446
+RMD160 31b54de7607a5efda636729067ceddb5fb0f9e20 clamav-0.88.7.ebuild 3446
+SHA256 2cbaece7dc7614477b9e06df80bcde546e9c4ea31c0c61042fcc47fae776b64c clamav-0.88.7.ebuild 3446
EBUILD clamav-0.90_rc1.ebuild 3631 RMD160 79e9e374e9d365e4447a4c6b2a760788dd07625b SHA1 03e8d99e580e678b3e0598aaf646cbade7718757 SHA256 9cfe30226755b3b7065976c29a12cbbbd90a25167ea6bf1569d9c463a78c1d22
MD5 b1bb7916ae1160b6d39def34b6d00e89 clamav-0.90_rc1.ebuild 3631
RMD160 79e9e374e9d365e4447a4c6b2a760788dd07625b clamav-0.90_rc1.ebuild 3631
MD5 1bdb66e62df38fc1fdc34c5cb9a9243b clamav-0.90_rc2.ebuild 3623
RMD160 21b2e5d24d5c9e3e46897d8b189f3696d23893a3 clamav-0.90_rc2.ebuild 3623
SHA256 707351666a355341ca524b624a677f8e1185a520fdf09ab30582cec324a03e10 clamav-0.90_rc2.ebuild 3623
-MISC ChangeLog 28694 RMD160 9a8c506de4885df8f6f8ca3024e7a59fcae816e0 SHA1 278b9c817160b68f626f29b1266cf4e96f7ee410 SHA256 ea770ed192aae35707fbdc238daf55ca382752b64bfc6efd647d8d307a96bdb0
-MD5 a51267fecb870416ad1a39ecb2fa9cb8 ChangeLog 28694
-RMD160 9a8c506de4885df8f6f8ca3024e7a59fcae816e0 ChangeLog 28694
-SHA256 ea770ed192aae35707fbdc238daf55ca382752b64bfc6efd647d8d307a96bdb0 ChangeLog 28694
+MISC ChangeLog 28838 RMD160 562bfd1c968bece4e6cce959d40453c51cc3bc78 SHA1 85e87e1fba1ab9b743d383955075c7806aa7f876 SHA256 2078be1193f77e0db8a24dd01c18e2152c7754752c8b52c873693ffd05999214
+MD5 6b825a2705835fc59c7054487443cd4b ChangeLog 28838
+RMD160 562bfd1c968bece4e6cce959d40453c51cc3bc78 ChangeLog 28838
+SHA256 2078be1193f77e0db8a24dd01c18e2152c7754752c8b52c873693ffd05999214 ChangeLog 28838
MISC metadata.xml 184 RMD160 c37bff1fc1cd7139c91dae9b0fa5082e1d81f153 SHA1 cc0a188d9ad2411e78747326c62dd046bd5413c8 SHA256 d51011aa837db802ef539a1321a4af0a4a00879d475b92fd58f3c01df7320b58
MD5 7e32edfd72887a57b16ecd73f0f7a1a0 metadata.xml 184
RMD160 c37bff1fc1cd7139c91dae9b0fa5082e1d81f153 metadata.xml 184
MD5 f9759ea151bfa3a383ad5fc55e6cb4bc files/digest-clamav-0.88.6 244
RMD160 673d71e776b5d06aa8d54cd86ea3302ca70b5136 files/digest-clamav-0.88.6 244
SHA256 68ed32f50d9252b826a618a0b2f5d55d8655b480059ae039bddcd5f0e2f37b57 files/digest-clamav-0.88.6 244
+MD5 bccf90d7043a4dcf5e63ebfb791fba03 files/digest-clamav-0.88.7 244
+RMD160 5da87304d411960a91d80f102be4c2d4937479b6 files/digest-clamav-0.88.7 244
+SHA256 2e2d87de95403702c16fdcf253ab8f6faaec955053a2eabd917b097e50322d9e files/digest-clamav-0.88.7 244
MD5 fa7e303f8f99e4693beb43a0a2b0e0b9 files/digest-clamav-0.90_rc1 253
RMD160 ee5645616db2626c6cf87c99f2ea0177f5a4c149 files/digest-clamav-0.90_rc1 253
SHA256 68559c554b8fc8afa9ea0d2b7c3f5db41d19cdf15a8d115d6d83fa27aede0d74 files/digest-clamav-0.90_rc1 253
RMD160 d2538b5e59b8246b686bda02443ae560310b5802 files/digest-clamav-0.90_rc2 247
SHA256 c0187965a68f4423a6d8937f911dde49a724751f436f51741c150f4ac5ee16b6 files/digest-clamav-0.90_rc2 247
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.6-ecc01.6 (GNU/Linux)
+Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFFfVddKRy60XGEcJIRAgekAJ4zkPxHQpPAze5jT3jRauLahRDr+QCgkuve
-08gCaDgOgEhRxuPlmKkL9vk=
-=2bvJ
+iD8DBQFFfXTyQlM6RnzZP+IRAlZbAJ9LGuccX0CuNy/eqI3Cn31yI/7lAwCeJ6RT
+JgvnzwPCeBVR66dXhlGyLqY=
+=qE9g
-----END PGP SIGNATURE-----
--- /dev/null
+# 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.7.ebuild,v 1.1 2006/12/11 15:10:07 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 ~x86-fbsd"
+IUSE="crypt milter selinux mailwrapper"
+
+DEPEND="virtual/libc
+ crypt? ( >=dev-libs/gmp-4.1.2 )
+ milter? ( || ( mail-filter/libmilter 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
+}
--- /dev/null
+MD5 34a9d58cf5bcb04dbe3eb32b5367a3f8 clamav-0.88.7.tar.gz 9510548
+RMD160 14d7c6255df618b16b704fc1cb5ce2b1385fa0e8 clamav-0.88.7.tar.gz 9510548
+SHA256 702cb5928bff3d0e647a4a6b505d434e3a0f10f2af74bddac5239a200b92d1e2 clamav-0.88.7.tar.gz 9510548