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
+DIST clamav-0.90rc3.tar.gz 10784835 RMD160 24e66ec3352c7e1007cddea278cba161d0fb4e3d SHA1 77c33aa472c6a7cecb0b617ba8799bb0f18bacb4 SHA256 aba20f98453affeeb60427bdd432b7c5a5115f17aa2734cf1393c750f95d66ad
EBUILD clamav-0.88.5.ebuild 3393 RMD160 a2dafd606e79d9bc986fb1fe396c307e2f698da4 SHA1 d2563f545414e8d8bebc8a038f57670f5e8f0913 SHA256 28d7e0bdfff92a2ed345b5288552878a5a5da2e0676b7b0245bfb8c7dace97e2
MD5 a13e71f6ea0d390f5337681d90f5da84 clamav-0.88.5.ebuild 3393
RMD160 a2dafd606e79d9bc986fb1fe396c307e2f698da4 clamav-0.88.5.ebuild 3393
MD5 4cfd2ef5321b2d56adf94fbe410454f0 clamav-0.90_rc2.ebuild 3612
RMD160 8afb967815193ac56d6443b25910f84e81bfa233 clamav-0.90_rc2.ebuild 3612
SHA256 81003cfc126354b068980d0ab58f1c2f4014e8e4e5877ea43d37d6678a5db6ff clamav-0.90_rc2.ebuild 3612
-MISC ChangeLog 30589 RMD160 08c0a4d2b006e8bb6eac8ed6053cd9dd75b39aff SHA1 1fc315dba22ad3898896de11da13d4f8c0a5886d SHA256 de2bf6abca6050d71ecfa5d3537b429c7a2b1cd3b724618fb6cf3162b5634b73
-MD5 307d9d3afa6ade4b2f482edcff49c63c ChangeLog 30589
-RMD160 08c0a4d2b006e8bb6eac8ed6053cd9dd75b39aff ChangeLog 30589
-SHA256 de2bf6abca6050d71ecfa5d3537b429c7a2b1cd3b724618fb6cf3162b5634b73 ChangeLog 30589
+EBUILD clamav-0.90_rc3.ebuild 3650 RMD160 72f4728577b467a51df6c7b52caf7c66b59d852f SHA1 02a01defba6b20485e281e59ba696387ce2c0aab SHA256 7e822129ede7098d49838ae8e2c4555ba35e4e81a922ba7a3871f197581c1e26
+MD5 11f9d065e2a37710eb185c11f1bbe83a clamav-0.90_rc3.ebuild 3650
+RMD160 72f4728577b467a51df6c7b52caf7c66b59d852f clamav-0.90_rc3.ebuild 3650
+SHA256 7e822129ede7098d49838ae8e2c4555ba35e4e81a922ba7a3871f197581c1e26 clamav-0.90_rc3.ebuild 3650
+MISC ChangeLog 30719 RMD160 a465c30441860cd47ff76ba9858c7fb9ddd8d0f2 SHA1 e51fb0e01cb505921e7d3b639cf8d45f851bd2fd SHA256 79a1d47bb5a2185e2667818ee0a6e8dcda068977190a3404c329d661f8adbe8d
+MD5 14abc1985f9345521262512e9f9e3910 ChangeLog 30719
+RMD160 a465c30441860cd47ff76ba9858c7fb9ddd8d0f2 ChangeLog 30719
+SHA256 79a1d47bb5a2185e2667818ee0a6e8dcda068977190a3404c329d661f8adbe8d ChangeLog 30719
MISC metadata.xml 184 RMD160 c37bff1fc1cd7139c91dae9b0fa5082e1d81f153 SHA1 cc0a188d9ad2411e78747326c62dd046bd5413c8 SHA256 d51011aa837db802ef539a1321a4af0a4a00879d475b92fd58f3c01df7320b58
MD5 7e32edfd72887a57b16ecd73f0f7a1a0 metadata.xml 184
RMD160 c37bff1fc1cd7139c91dae9b0fa5082e1d81f153 metadata.xml 184
MD5 9fc9dd79c51ed6e46836c21abe6521e0 files/digest-clamav-0.90_rc2 247
RMD160 d2538b5e59b8246b686bda02443ae560310b5802 files/digest-clamav-0.90_rc2 247
SHA256 c0187965a68f4423a6d8937f911dde49a724751f436f51741c150f4ac5ee16b6 files/digest-clamav-0.90_rc2 247
+MD5 2e3a05dd18d1a8613dcd6db8a81e83e5 files/digest-clamav-0.90_rc3 250
+RMD160 d37cd4a4572faddc4815836278e7be7d839a9070 files/digest-clamav-0.90_rc3 250
+SHA256 11f2f8257bcad66dc24eca24ce8ae2ce1e6f0803150b77ae4dc79be449702d1a files/digest-clamav-0.90_rc3 250
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.1 (GNU/Linux)
+Version: GnuPG v1.4.6 (GNU/Linux)
-iD8DBQFFtirl6J2i8a8J4okRAgIbAJ49Uw5JE40GqIzrYfaMO3YlYOTnMQCgopum
-TAPLfmYeb6ZrnH7skk3uSR4=
-=R8it
+iD8DBQFFwiyrQlM6RnzZP+IRAoDiAJ9MV1yJo/p9thAkMPeWAOYTQXwRuwCgtvak
+aldq6V1pPLorKtOYm4PD3/M=
+=DJOr
-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.90_rc3.ebuild,v 1.1 2007/02/01 18:08:25 ticho Exp $
+
+inherit eutils flag-o-matic fixheadtails
+
+MY_P="${P/_/}"
+DESCRIPTION="Clam Anti-Virus Scanner"
+HOMEPAGE="http://www.clamav.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_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-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"
+
+S="${WORKDIR}/${MY_P}"
+
+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} \
+ --enable-experimental \
+ --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 yes:" \
+ ${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:^\#\(UpdateLogFile\) .*:\1 /var/log/clamav/freshclam.log:" \
+ ${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
+ elog "For simple instructions how to setup the clamav-milter"
+ elog "read /usr/share/doc/${PF}/clamav-milter.README.gentoo.gz"
+ echo
+ fi
+ ewarn "This is a RELEASE CANDIDATE version, with EXPERIMENTAL code ENABLED."
+ ewarn "USE AT YOUR OWN RISK. Report bugs at http://bugs.clamav.net"
+ echo
+ ebeep 3
+}