diff options
author | Andrej Kacian <ticho@gentoo.org> | 2006-10-16 10:55:53 +0000 |
---|---|---|
committer | Andrej Kacian <ticho@gentoo.org> | 2006-10-16 10:55:53 +0000 |
commit | 68b726c53efdeff8e209d8bcf3ee1bbe0e503b0a (patch) | |
tree | 893a1d74291362b916a85b2222faf2e86c307a7f /app-antivirus | |
parent | Added missing image dependancy. Closes bug #150641. (diff) | |
download | historical-68b726c53efdeff8e209d8bcf3ee1bbe0e503b0a.tar.gz historical-68b726c53efdeff8e209d8bcf3ee1bbe0e503b0a.tar.bz2 historical-68b726c53efdeff8e209d8bcf3ee1bbe0e503b0a.zip |
Version bump to upstream's 0.90RC1.1. This is a release candidate, and as such it is package.masked. Also, use "--enable-experimental", so if someone really wants to use a RC, they can help testing the code. You have been warned.
Package-Manager: portage-2.1.2_pre2-r3
Diffstat (limited to 'app-antivirus')
-rw-r--r-- | app-antivirus/clamav/ChangeLog | 10 | ||||
-rw-r--r-- | app-antivirus/clamav/Manifest | 22 | ||||
-rw-r--r-- | app-antivirus/clamav/clamav-0.90_rc1.ebuild | 120 | ||||
-rw-r--r-- | app-antivirus/clamav/files/digest-clamav-0.90_rc1 | 3 |
4 files changed, 147 insertions, 8 deletions
diff --git a/app-antivirus/clamav/ChangeLog b/app-antivirus/clamav/ChangeLog index 152aa6df3949..8a92144fa988 100644 --- a/app-antivirus/clamav/ChangeLog +++ b/app-antivirus/clamav/ChangeLog @@ -1,6 +1,14 @@ # 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.167 2006/10/15 23:55:53 ticho Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.168 2006/10/16 10:55:53 ticho Exp $ + +*clamav-0.90_rc1 (16 Oct 2006) + + 16 Oct 2006; Andrej Kacian <ticho@gentoo.org> +clamav-0.90_rc1.ebuild: + Version bump to upstream's 0.90RC1.1. This is a release candidate, and as + such it is package.masked. Also, use "--enable-experimental", so if someone + really wants to use a RC, they can help testing the code. You have been + warned. *clamav-0.88.5 (15 Oct 2006) diff --git a/app-antivirus/clamav/Manifest b/app-antivirus/clamav/Manifest index 07a85bb544a7..41b94b309c9c 100644 --- a/app-antivirus/clamav/Manifest +++ b/app-antivirus/clamav/Manifest @@ -17,6 +17,7 @@ DIST clamav-0.88.2.tar.gz 6016832 RMD160 db6960b315d7c0aec289e3820363f0a6f9c41da 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 DIST clamav-0.88.5.tar.gz 8663193 RMD160 b0e24b90f2a085ded89fcd90f3434d6bc1981caf SHA1 eb4c671d14d43b7079f19da9d9ef37357fa24c83 SHA256 8b807fcb64e2c523d7da8002ca1174c4173526ae48a7deecca41db30f51cee8f +DIST clamav-0.90RC1.1.tar.gz 8463538 RMD160 d73a44a1ab79d2a99530409c66ca6520a4c5059b SHA1 f408f1aca163a53961d2bf7eee85333e1d7b1afc SHA256 b4a2a4dc88afca53ca1452c4d2a4e6a00386cd935523f883a732464bbd898e96 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 @@ -33,10 +34,14 @@ EBUILD clamav-0.88.5.ebuild 3410 RMD160 b410bc625bb4d7981b6ca68ac176962d004713a8 MD5 85caf7581b6f9f11ef12c6dc2b901763 clamav-0.88.5.ebuild 3410 RMD160 b410bc625bb4d7981b6ca68ac176962d004713a8 clamav-0.88.5.ebuild 3410 SHA256 c7cd3c0bb4df68edd807a22cc375994cc29f952827634cae2d83853392de813c clamav-0.88.5.ebuild 3410 -MISC ChangeLog 26314 RMD160 f7bd9687f4c13000888effe83d1ee1fc7b1ccf13 SHA1 b832d38e99e595f8c07a91deb371149c7d39f379 SHA256 97309fbab88a871e78a053bd44b615655c52cbdff5bfdc16288d8bd548aa8f23 -MD5 37444d4a6d6375b0c2e73fdecea8b78b ChangeLog 26314 -RMD160 f7bd9687f4c13000888effe83d1ee1fc7b1ccf13 ChangeLog 26314 -SHA256 97309fbab88a871e78a053bd44b615655c52cbdff5bfdc16288d8bd548aa8f23 ChangeLog 26314 +EBUILD clamav-0.90_rc1.ebuild 3593 RMD160 ecfacd378332afc10fe3d7c73e076cce327f261a SHA1 aba9ba3f82c5e6c6b5aba134c869d7294cd19aab SHA256 16b67761b683006dd6f499fbfb30af84cbe9f2684f3d7d29966246c6e603314a +MD5 6e9ecfe23b5ffc33adeba5a0c195acb1 clamav-0.90_rc1.ebuild 3593 +RMD160 ecfacd378332afc10fe3d7c73e076cce327f261a clamav-0.90_rc1.ebuild 3593 +SHA256 16b67761b683006dd6f499fbfb30af84cbe9f2684f3d7d29966246c6e603314a clamav-0.90_rc1.ebuild 3593 +MISC ChangeLog 26658 RMD160 ac3e72448b52f1b3df644a6e4368726d27ce04fa SHA1 2791043e9a31a304bbe7ee4c30b7cf9c85445acd SHA256 47e594ca90a7bf9b48b5af21932556a691b437cd7019a4573b7999faee9db738 +MD5 e09ae9b46023106ae9c5e75c7a07aa7f ChangeLog 26658 +RMD160 ac3e72448b52f1b3df644a6e4368726d27ce04fa ChangeLog 26658 +SHA256 47e594ca90a7bf9b48b5af21932556a691b437cd7019a4573b7999faee9db738 ChangeLog 26658 MISC metadata.xml 184 RMD160 c37bff1fc1cd7139c91dae9b0fa5082e1d81f153 SHA1 cc0a188d9ad2411e78747326c62dd046bd5413c8 SHA256 d51011aa837db802ef539a1321a4af0a4a00879d475b92fd58f3c01df7320b58 MD5 7e32edfd72887a57b16ecd73f0f7a1a0 metadata.xml 184 RMD160 c37bff1fc1cd7139c91dae9b0fa5082e1d81f153 metadata.xml 184 @@ -53,10 +58,13 @@ SHA256 677d57d8903d1262b92cc90f2421664f58716950cfbe7e5b95109d0914f66910 files/di MD5 771923a686a6485a06d9bb833dec9872 files/digest-clamav-0.88.5 244 RMD160 cac3e56638adf1fbb9f9d356d0ac724e2c877b7f files/digest-clamav-0.88.5 244 SHA256 9bd80aa793fa0b018d41141f9c7efbde27989b3ecac741723b2ab3e3f641e719 files/digest-clamav-0.88.5 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) -iD8DBQFFMsqXQlM6RnzZP+IRAjAEAJ9taZWx+03EA1wDb94oNa9gf4xd5QCePFe9 -7IZwnCArYISj2GQq6XsBNSk= -=z+aQ +iD8DBQFFM2WMQlM6RnzZP+IRAvyaAJ4jZzkZkRJ8C+E1qzQ7qb1/LajMwACfasSH +nLDVAXhX6XmSCkrpEz2Nv+4= +=EVc3 -----END PGP SIGNATURE----- diff --git a/app-antivirus/clamav/clamav-0.90_rc1.ebuild b/app-antivirus/clamav/clamav-0.90_rc1.ebuild new file mode 100644 index 000000000000..c4a73c5f1d4d --- /dev/null +++ b/app-antivirus/clamav/clamav-0.90_rc1.ebuild @@ -0,0 +1,120 @@ +# 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.90_rc1.ebuild,v 1.1 2006/10/16 10:55:53 ticho Exp $ + +inherit eutils flag-o-matic fixheadtails + +MY_P="${P/_rc1/RC1.1}" +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-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/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 + einfo "For simple instructions how to setup the clamav-milter type:" + echo " zless /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" + echo + ebeep 3 +} diff --git a/app-antivirus/clamav/files/digest-clamav-0.90_rc1 b/app-antivirus/clamav/files/digest-clamav-0.90_rc1 new file mode 100644 index 000000000000..c37496725c2f --- /dev/null +++ b/app-antivirus/clamav/files/digest-clamav-0.90_rc1 @@ -0,0 +1,3 @@ +MD5 14bc0fd4c6f0f6409a37db63cf0d4019 clamav-0.90RC1.1.tar.gz 8463538 +RMD160 d73a44a1ab79d2a99530409c66ca6520a4c5059b clamav-0.90RC1.1.tar.gz 8463538 +SHA256 b4a2a4dc88afca53ca1452c4d2a4e6a00386cd935523f883a732464bbd898e96 clamav-0.90RC1.1.tar.gz 8463538 |