diff options
author | Andrej Kacian <ticho@gentoo.org> | 2006-10-15 23:55:53 +0000 |
---|---|---|
committer | Andrej Kacian <ticho@gentoo.org> | 2006-10-15 23:55:53 +0000 |
commit | 34f54d3d09ff0a604ad040c027cca641d16eb754 (patch) | |
tree | 41c12784c1fe6ff99327eec446747616bcb5461b /app-antivirus | |
parent | New package: Interconverts between various bibliography formats using a commo... (diff) | |
download | historical-34f54d3d09ff0a604ad040c027cca641d16eb754.tar.gz historical-34f54d3d09ff0a604ad040c027cca641d16eb754.tar.bz2 historical-34f54d3d09ff0a604ad040c027cca641d16eb754.zip |
Version bump.
Package-Manager: portage-2.1.2_pre2-r3
Diffstat (limited to 'app-antivirus')
-rw-r--r-- | app-antivirus/clamav/ChangeLog | 7 | ||||
-rw-r--r-- | app-antivirus/clamav/Manifest | 26 | ||||
-rw-r--r-- | app-antivirus/clamav/clamav-0.88.5.ebuild | 112 | ||||
-rw-r--r-- | app-antivirus/clamav/files/digest-clamav-0.88.5 | 3 |
4 files changed, 143 insertions, 5 deletions
diff --git a/app-antivirus/clamav/ChangeLog b/app-antivirus/clamav/ChangeLog index cef7a917e0a1..152aa6df3949 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.166 2006/09/02 22:41:01 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.167 2006/10/15 23:55:53 ticho Exp $ + +*clamav-0.88.5 (15 Oct 2006) + + 15 Oct 2006; Andrej Kacian <ticho@gentoo.org> +clamav-0.88.5.ebuild: + Version bump. 03 Sep 2006; Bryan Ăstergaard <kloeri@gentoo.org> clamav-0.88.4.ebuild: Stable on ia64. diff --git a/app-antivirus/clamav/Manifest b/app-antivirus/clamav/Manifest index 987fd306f6b9..07a85bb544a7 100644 --- a/app-antivirus/clamav/Manifest +++ b/app-antivirus/clamav/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX clamav-milter.README.gentoo 1124 RMD160 4fb1e2d9b444874838bcea1071969ca6862fb15b SHA1 0b9b86a0e7732eaaf7f880859265754f7a4efd3a SHA256 5e7b142b68964bc3463b077e5698fa77cace45ea9612258b1e1849cee944dd11 MD5 08f7b320461c04bbb88555e389c2e544 files/clamav-milter.README.gentoo 1124 RMD160 4fb1e2d9b444874838bcea1071969ca6862fb15b files/clamav-milter.README.gentoo 1124 @@ -13,6 +16,7 @@ SHA256 6ccae0a0f3f7be2946ed0975ea5093dac605889c44952bd4e02f20e91e606bce files/cl 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 +DIST clamav-0.88.5.tar.gz 8663193 RMD160 b0e24b90f2a085ded89fcd90f3434d6bc1981caf SHA1 eb4c671d14d43b7079f19da9d9ef37357fa24c83 SHA256 8b807fcb64e2c523d7da8002ca1174c4173526ae48a7deecca41db30f51cee8f 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 @@ -25,10 +29,14 @@ EBUILD clamav-0.88.4.ebuild 3404 RMD160 227b27df939efa8cce81d57de94607bdd95ddf02 MD5 13c77040efc7493854d5351497016535 clamav-0.88.4.ebuild 3404 RMD160 227b27df939efa8cce81d57de94607bdd95ddf02 clamav-0.88.4.ebuild 3404 SHA256 417d447095f3b5166b914a843d2f9479084efd89354f335a19814f3f57f0f51c clamav-0.88.4.ebuild 3404 -MISC ChangeLog 26197 RMD160 7f357c6375e6c610506e5329b5975dadad8935b5 SHA1 55630c6f685203c29d11a34739301d454d8fe67b SHA256 7610806419a3a3481505c1d3bf99b0c87381e1aff1ae72784dd38f4dd6573d1e -MD5 087c3344e1808d837f0d0fcb23e173fb ChangeLog 26197 -RMD160 7f357c6375e6c610506e5329b5975dadad8935b5 ChangeLog 26197 -SHA256 7610806419a3a3481505c1d3bf99b0c87381e1aff1ae72784dd38f4dd6573d1e ChangeLog 26197 +EBUILD clamav-0.88.5.ebuild 3410 RMD160 b410bc625bb4d7981b6ca68ac176962d004713a8 SHA1 4d16204ce360abf12343245fd0cbb3367855437b SHA256 c7cd3c0bb4df68edd807a22cc375994cc29f952827634cae2d83853392de813c +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 MISC metadata.xml 184 RMD160 c37bff1fc1cd7139c91dae9b0fa5082e1d81f153 SHA1 cc0a188d9ad2411e78747326c62dd046bd5413c8 SHA256 d51011aa837db802ef539a1321a4af0a4a00879d475b92fd58f3c01df7320b58 MD5 7e32edfd72887a57b16ecd73f0f7a1a0 metadata.xml 184 RMD160 c37bff1fc1cd7139c91dae9b0fa5082e1d81f153 metadata.xml 184 @@ -42,3 +50,13 @@ SHA256 73e6ebe5b51e27e33c25dfc7e57690ced65ce0a17e0191fb8d4aec52ce210e6b files/di 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 +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 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.5 (GNU/Linux) + +iD8DBQFFMsqXQlM6RnzZP+IRAjAEAJ9taZWx+03EA1wDb94oNa9gf4xd5QCePFe9 +7IZwnCArYISj2GQq6XsBNSk= +=z+aQ +-----END PGP SIGNATURE----- diff --git a/app-antivirus/clamav/clamav-0.88.5.ebuild b/app-antivirus/clamav/clamav-0.88.5.ebuild new file mode 100644 index 000000000000..9747cbc49b05 --- /dev/null +++ b/app-antivirus/clamav/clamav-0.88.5.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.5.ebuild,v 1.1 2006/10/15 23:55:53 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" +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.5 b/app-antivirus/clamav/files/digest-clamav-0.88.5 new file mode 100644 index 000000000000..46c94b0f5090 --- /dev/null +++ b/app-antivirus/clamav/files/digest-clamav-0.88.5 @@ -0,0 +1,3 @@ +MD5 d62376205647b208eba4191dde821830 clamav-0.88.5.tar.gz 8663193 +RMD160 b0e24b90f2a085ded89fcd90f3434d6bc1981caf clamav-0.88.5.tar.gz 8663193 +SHA256 8b807fcb64e2c523d7da8002ca1174c4173526ae48a7deecca41db30f51cee8f clamav-0.88.5.tar.gz 8663193 |