diff options
author | Andrej Kacian <ticho@gentoo.org> | 2007-05-31 06:21:20 +0000 |
---|---|---|
committer | Andrej Kacian <ticho@gentoo.org> | 2007-05-31 06:21:20 +0000 |
commit | 2b34e2f1832b222b6fd42e88288871c2f1150afa (patch) | |
tree | 389b54b3d201a17c500e329facd71cafaa720605 /app-antivirus | |
parent | Version bump. (diff) | |
download | historical-2b34e2f1832b222b6fd42e88288871c2f1150afa.tar.gz historical-2b34e2f1832b222b6fd42e88288871c2f1150afa.tar.bz2 historical-2b34e2f1832b222b6fd42e88288871c2f1150afa.zip |
Version bump.
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'app-antivirus')
-rw-r--r-- | app-antivirus/clamav/ChangeLog | 7 | ||||
-rw-r--r-- | app-antivirus/clamav/Manifest | 22 | ||||
-rw-r--r-- | app-antivirus/clamav/clamav-0.90.3.ebuild | 145 | ||||
-rw-r--r-- | app-antivirus/clamav/files/digest-clamav-0.90.3 | 3 |
4 files changed, 169 insertions, 8 deletions
diff --git a/app-antivirus/clamav/ChangeLog b/app-antivirus/clamav/ChangeLog index 1c73e0a00705..b7a8f51c80a0 100644 --- a/app-antivirus/clamav/ChangeLog +++ b/app-antivirus/clamav/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-antivirus/clamav # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.230 2007/04/16 13:46:34 ticho Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.231 2007/05/31 06:21:20 ticho Exp $ + +*clamav-0.90.3 (31 May 2007) + + 31 May 2007; Andrej Kacian <ticho@gentoo.org> +clamav-0.90.3.ebuild: + Version bump. 16 Apr 2007; Andrej Kacian <ticho@gentoo.org> files/clamav-0.90-nls.patch: Fix compile error with -nls, introduced by my nls patch. Bug #174787, by diff --git a/app-antivirus/clamav/Manifest b/app-antivirus/clamav/Manifest index 7a95b8bd261f..f9419dc8aef8 100644 --- a/app-antivirus/clamav/Manifest +++ b/app-antivirus/clamav/Manifest @@ -28,6 +28,7 @@ SHA256 50ca2c25f796bb3554b5aa08f9e1bbe043ced62f58f2295f6cf33403d7c23dd8 files/cl DIST clamav-0.88.7.tar.gz 9510548 RMD160 14d7c6255df618b16b704fc1cb5ce2b1385fa0e8 SHA1 7d7833dc454437ed7044b1c734f0a13e4dc1ead2 SHA256 702cb5928bff3d0e647a4a6b505d434e3a0f10f2af74bddac5239a200b92d1e2 DIST clamav-0.90.1.tar.gz 11643310 RMD160 1fd343d6510fea337a676e32bb1e4e404da4bd6d SHA1 d51f279fce2d702c3e97b2e08fe3b4b863f0acc6 SHA256 08a0255b4f6bdc4312eea6c118e79ecf684aed10640b45037d9dc5890c7687be DIST clamav-0.90.2.tar.gz 12062886 RMD160 22daaecb634ca9914f18e85cf3456b544d6bf399 SHA1 ecc72d212a27eef1aa40e61a0b2705e4e42996ce SHA256 30df6a5d4a591dcd4acd7d4cce54dcfd260280fce6bbc9d19d240967bcdabbfa +DIST clamav-0.90.3.tar.gz 12496857 RMD160 7dda3541afee8403c7fb98aa827f14b5a7a1d6ce SHA1 ec322b5ada9cf5b6faebd2d800985545ee2d28fa SHA256 939913d15ad0dc583ba609274ae61a948f4fa18b848bd503d958feacdaab54a4 DIST clamav-0.90.tar.gz 11575374 RMD160 1b22144d3a41376093b73bbeb5302092a18ca685 SHA1 574b84429b878df3a9d862ea386c970326850158 SHA256 c39005318d4a7d27d9710c3d71396b8c500e0bc5a184cb7392051c9ca9dea60d EBUILD clamav-0.88.7-r1.ebuild 3794 RMD160 b3b7a19109bcb762b68468b43a5843e31e9d5304 SHA1 4086fd3a2f0a5b398b3bcf7209d69ed45f654fb1 SHA256 17f88d324fe6de67a95591d9ecb667f1cb235e1cf0d7bfce20d7f9e2652fc1c0 MD5 e12ef0ba40f91ef851685fdfabae8a77 clamav-0.88.7-r1.ebuild 3794 @@ -53,14 +54,18 @@ EBUILD clamav-0.90.2.ebuild 4360 RMD160 08dc92531b2f1e20928f8cafa42faae1086c06a0 MD5 fd255610f158ff057e2e92d0ff9d195c clamav-0.90.2.ebuild 4360 RMD160 08dc92531b2f1e20928f8cafa42faae1086c06a0 clamav-0.90.2.ebuild 4360 SHA256 329bb34a7b1a0b237353ebcecee7492d192064372bd41918412c0e945b6e7e7a clamav-0.90.2.ebuild 4360 +EBUILD clamav-0.90.3.ebuild 4366 RMD160 3689ec27c684b589846e2fba0a787a2ef11fd39c SHA1 8baac93694c950211def9875d82644a255bae884 SHA256 b30b5267ba06df424cfe26b4891807a5ed1a08c1cef1fb80f038d5261b99ddac +MD5 00b775c4a2875c6abf5d99ca7ce370b6 clamav-0.90.3.ebuild 4366 +RMD160 3689ec27c684b589846e2fba0a787a2ef11fd39c clamav-0.90.3.ebuild 4366 +SHA256 b30b5267ba06df424cfe26b4891807a5ed1a08c1cef1fb80f038d5261b99ddac clamav-0.90.3.ebuild 4366 EBUILD clamav-0.90.ebuild 3958 RMD160 acabf30bc728a8edc824d14d7e965b858b324340 SHA1 071353cfdbfdd72c7ce8bdf70bfcb0d1248f700c SHA256 ec400f0e7387af9362c5ee2d77cb686a227634f9caf638be381f2094e43b6ace MD5 1a6bb4a7e8d417feff74b768aaa216e9 clamav-0.90.ebuild 3958 RMD160 acabf30bc728a8edc824d14d7e965b858b324340 clamav-0.90.ebuild 3958 SHA256 ec400f0e7387af9362c5ee2d77cb686a227634f9caf638be381f2094e43b6ace clamav-0.90.ebuild 3958 -MISC ChangeLog 36326 RMD160 dc3fe6dbcf289835caf65d7ffa0723d6ac8dd9ff SHA1 c103983e99efb397d7d138726da2979533385857 SHA256 59b71efbb05a2f4f001e1296242e2efc93f9496ced6a5b1ca103c2fc8aa486b9 -MD5 5de20ceca62b1daa333eb03d89861088 ChangeLog 36326 -RMD160 dc3fe6dbcf289835caf65d7ffa0723d6ac8dd9ff ChangeLog 36326 -SHA256 59b71efbb05a2f4f001e1296242e2efc93f9496ced6a5b1ca103c2fc8aa486b9 ChangeLog 36326 +MISC ChangeLog 36444 RMD160 24423b7e1855e3e7cb68912bb0f6acb6fd38ee5c SHA1 9957dc1fd54bbb96d9c3d51363c91f08eba228c0 SHA256 8c39bf365b043cbee6ed4581c0b5b7e4a901398fa274c3ead500551793c25177 +MD5 40b92de19dbbe20504d3a5495119dc92 ChangeLog 36444 +RMD160 24423b7e1855e3e7cb68912bb0f6acb6fd38ee5c ChangeLog 36444 +SHA256 8c39bf365b043cbee6ed4581c0b5b7e4a901398fa274c3ead500551793c25177 ChangeLog 36444 MISC metadata.xml 184 RMD160 c37bff1fc1cd7139c91dae9b0fa5082e1d81f153 SHA1 cc0a188d9ad2411e78747326c62dd046bd5413c8 SHA256 d51011aa837db802ef539a1321a4af0a4a00879d475b92fd58f3c01df7320b58 MD5 7e32edfd72887a57b16ecd73f0f7a1a0 metadata.xml 184 RMD160 c37bff1fc1cd7139c91dae9b0fa5082e1d81f153 metadata.xml 184 @@ -86,10 +91,13 @@ SHA256 be92b57874b8c81e9831142039d6ee58ab3aaf3feae75d26a4a5d1d821a21757 files/di MD5 a51cf8bdb107839a6a251af7ca543e74 files/digest-clamav-0.90.2 247 RMD160 07dc65c177668ad15f01334d6476c7c8358d60f9 files/digest-clamav-0.90.2 247 SHA256 e68c7b04a6e584aec2663aec7d1fb258ddf06e21554f0dd71bc9fec76ed12a20 files/digest-clamav-0.90.2 247 +MD5 0f14f6f92ab17734cf7d3795625da674 files/digest-clamav-0.90.3 247 +RMD160 9b5ecf89ab497b044c41232892e929b32cc15cc8 files/digest-clamav-0.90.3 247 +SHA256 74c2590b88a1c3e1d1b3372b5f3a6236ccf303e9e23009fd3795f25223c2d6de files/digest-clamav-0.90.3 247 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) -iD8DBQFGI35EQlM6RnzZP+IRAsWNAJ9xHWHzkjXULVH6T0Nw9HKIcjg+5wCaA4C/ -Tmbb8wyLe8gUrS2c1a8g+WI= -=VJ8z +iD8DBQFGXmlsQlM6RnzZP+IRAieOAJ953DOBDuyjykZPfXFv0txvbGIxbgCfYju4 +QroLrTKprbkUUv/WqFEmMyo= +=kSgJ -----END PGP SIGNATURE----- diff --git a/app-antivirus/clamav/clamav-0.90.3.ebuild b/app-antivirus/clamav/clamav-0.90.3.ebuild new file mode 100644 index 000000000000..ad32f15c714b --- /dev/null +++ b/app-antivirus/clamav/clamav-0.90.3.ebuild @@ -0,0 +1,145 @@ +# 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.3.ebuild,v 1.1 2007/05/31 06:21:20 ticho Exp $ + +inherit autotools 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="bzip2 crypt curl logrotate mailwrapper milter nls selinux" + +DEPEND="virtual/libc + bzip2? ( app-arch/bzip2 ) + crypt? ( >=dev-libs/gmp-4.1.2 ) + curl? ( >=net-misc/curl-7.10.0 ) + milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) ) + nls? ( sys-devel/gettext ) + dev-libs/gmp + >=sys-libs/zlib-1.2.1-r3 + >=sys-apps/sed-4" +RDEPEND="${DEPEND} + selinux? ( sec-policy/selinux-clamav ) + logrotate? ( app-admin/logrotate ) + 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_unpack() { + unpack "${A}" + cd "${S}" + epatch "${FILESDIR}"/${P%.*}-compat.patch + epatch "${FILESDIR}"/${P%.*}-nls.patch + eautoreconf +} + +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} \ + $(use_enable bzip2) \ + $(use_with curl libcurl) \ + $(use_enable nls) \ + --disable-experimental \ + --with-dbdir=/var/lib/clamav || die + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + dodoc AUTHORS BUGS NEWS README ChangeLog FAQ + 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:" \ + -e "s:^\#\(NotifyClamd\).*:\1 /etc/clamd.conf:" \ + -e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \ + ${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 + + if use logrotate ; then + diropts "" + dodir /etc/logrotate.d + insopts -m0644 + insinto /etc/logrotate.d + newins ${FILESDIR}/${PN}.logrotate ${PN} + fi +} + +pkg_postinst() { + 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 "Warning: clamd and/or freshclam have not been restarted." + ewarn "You should restart them to start using new version: /etc/init.d/clamd restart" + echo + ewarn "The soname for libclamav has changed after clamav-0.90." + ewarn "If you have upgraded from that or earlier version, it is recommended to run:" + ewarn + ewarn "revdep-rebuild --library libclamav.so.1" + ewarn + ewarn "This will fix linking errors caused by this change." + echo +} diff --git a/app-antivirus/clamav/files/digest-clamav-0.90.3 b/app-antivirus/clamav/files/digest-clamav-0.90.3 new file mode 100644 index 000000000000..2160c6a8f2fd --- /dev/null +++ b/app-antivirus/clamav/files/digest-clamav-0.90.3 @@ -0,0 +1,3 @@ +MD5 d42ccf7a32daeb7c7cc3c8c23a7793ea clamav-0.90.3.tar.gz 12496857 +RMD160 7dda3541afee8403c7fb98aa827f14b5a7a1d6ce clamav-0.90.3.tar.gz 12496857 +SHA256 939913d15ad0dc583ba609274ae61a948f4fa18b848bd503d958feacdaab54a4 clamav-0.90.3.tar.gz 12496857 |