diff options
-rw-r--r-- | app-antivirus/clamav/ChangeLog | 7 | ||||
-rw-r--r-- | app-antivirus/clamav/Manifest | 26 | ||||
-rw-r--r-- | app-antivirus/clamav/clamav-0.91.1.ebuild | 143 | ||||
-rw-r--r-- | app-antivirus/clamav/files/digest-clamav-0.91.1 | 3 |
4 files changed, 174 insertions, 5 deletions
diff --git a/app-antivirus/clamav/ChangeLog b/app-antivirus/clamav/ChangeLog index bc99c5c78a65..2383509ce95d 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.243 2007/07/16 19:06:34 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.244 2007/07/17 03:27:01 ticho Exp $ + +*clamav-0.91.1 (17 Jul 2007) + + 17 Jul 2007; Andrej Kacian <ticho@gentoo.org> +clamav-0.91.1.ebuild: + Version bump. 16 Jul 2007; Markus Rothe <corsair@gentoo.org> clamav-0.91.ebuild: Stable on ppc64; bug #185013 diff --git a/app-antivirus/clamav/Manifest b/app-antivirus/clamav/Manifest index 7c1ed1a3aba4..ef1a596dc591 100644 --- a/app-antivirus/clamav/Manifest +++ b/app-antivirus/clamav/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX clamav-0.90-compat.patch 585 RMD160 3ee74f163bd8b4440f06773ec7abe3bcec1fff79 SHA1 fedfe373a6a911230c553fd5a095c8acb72b4ce2 SHA256 7a646386f74bc9094bd39d6762b78ef74310678cdef5484650e0aa242cf570e9 MD5 6c50cdabc6ee6dc40df2b89c075380a5 files/clamav-0.90-compat.patch 585 RMD160 3ee74f163bd8b4440f06773ec7abe3bcec1fff79 files/clamav-0.90-compat.patch 585 @@ -27,6 +30,7 @@ DIST clamav-0.90.1.tar.gz 11643310 RMD160 1fd343d6510fea337a676e32bb1e4e404da4bd 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 +DIST clamav-0.91.1.tar.gz 13099119 RMD160 a9b1526d11264d55e3ac38b7c16d27db43bf8a4e SHA1 51ff98325b5ffd49dfc0f0cbf92134c0d872cd21 SHA256 f98edecae40473c142fe49a0e02f5ff7fb28d778c4bd510dad747d208d20cb00 DIST clamav-0.91.tar.gz 13026634 RMD160 192acbe2fa290030df2fd60c7f323b434acc7a69 SHA1 995e054d19250777597c504552310490a59d8f76 SHA256 329ad13ae12390d3758017297e307ca06744bfb4e3fb61424b4f064faf5a2bbb EBUILD clamav-0.88.7-r1.ebuild 3794 RMD160 b3b7a19109bcb762b68468b43a5843e31e9d5304 SHA1 4086fd3a2f0a5b398b3bcf7209d69ed45f654fb1 SHA256 17f88d324fe6de67a95591d9ecb667f1cb235e1cf0d7bfce20d7f9e2652fc1c0 MD5 e12ef0ba40f91ef851685fdfabae8a77 clamav-0.88.7-r1.ebuild 3794 @@ -60,14 +64,18 @@ EBUILD clamav-0.90.ebuild 3958 RMD160 acabf30bc728a8edc824d14d7e965b858b324340 S MD5 1a6bb4a7e8d417feff74b768aaa216e9 clamav-0.90.ebuild 3958 RMD160 acabf30bc728a8edc824d14d7e965b858b324340 clamav-0.90.ebuild 3958 SHA256 ec400f0e7387af9362c5ee2d77cb686a227634f9caf638be381f2094e43b6ace clamav-0.90.ebuild 3958 +EBUILD clamav-0.91.1.ebuild 4304 RMD160 9e4dadde02fd55773c1b459951fdd7f716eb406b SHA1 c51c05f714800982523006064ea99a38afa11c8a SHA256 1e315215fcf5a94cd823e45cc9764cf500779dbe59961e21a6a27a9803493c5c +MD5 1eeddcbb72ce535c226cdc6ba72d2c07 clamav-0.91.1.ebuild 4304 +RMD160 9e4dadde02fd55773c1b459951fdd7f716eb406b clamav-0.91.1.ebuild 4304 +SHA256 1e315215fcf5a94cd823e45cc9764cf500779dbe59961e21a6a27a9803493c5c clamav-0.91.1.ebuild 4304 EBUILD clamav-0.91.ebuild 4297 RMD160 de43f8c34f287f5ca3b58383f432d6829b365f2e SHA1 1710509f63c90f1af675b44a41d656cbd983b748 SHA256 223f38a4e552c125ba08ed01713ed2fdc39e39fa7a59d11d224bf7033c5232f0 MD5 6b20beb29fcf0129a172fdf234fdd59c clamav-0.91.ebuild 4297 RMD160 de43f8c34f287f5ca3b58383f432d6829b365f2e clamav-0.91.ebuild 4297 SHA256 223f38a4e552c125ba08ed01713ed2fdc39e39fa7a59d11d224bf7033c5232f0 clamav-0.91.ebuild 4297 -MISC ChangeLog 37756 RMD160 5ad90c7a9816c90a3851f791f7f1f7363bc672a2 SHA1 cdfdad63d67770b7e18458fad47dfa772af02627 SHA256 fa875fcb10c095de28ad6b42d5645aaeeea638670efa55170a7c1a0cadaa1fe0 -MD5 30be3db0b44c72cfbbc0f0f6340b6d15 ChangeLog 37756 -RMD160 5ad90c7a9816c90a3851f791f7f1f7363bc672a2 ChangeLog 37756 -SHA256 fa875fcb10c095de28ad6b42d5645aaeeea638670efa55170a7c1a0cadaa1fe0 ChangeLog 37756 +MISC ChangeLog 37872 RMD160 7156a6aad662d7958d1742a73d91a5b1997849ed SHA1 f66b0d8e8a548020b6d4f177e580ac5357984cb8 SHA256 3e6578669f28f3e3fc780a7ebb8ce999013e8616d1824e7c3a8077cf76c9a405 +MD5 7bc0babaf0524012ae119a6331b32e2e ChangeLog 37872 +RMD160 7156a6aad662d7958d1742a73d91a5b1997849ed ChangeLog 37872 +SHA256 3e6578669f28f3e3fc780a7ebb8ce999013e8616d1824e7c3a8077cf76c9a405 ChangeLog 37872 MISC metadata.xml 184 RMD160 c37bff1fc1cd7139c91dae9b0fa5082e1d81f153 SHA1 cc0a188d9ad2411e78747326c62dd046bd5413c8 SHA256 d51011aa837db802ef539a1321a4af0a4a00879d475b92fd58f3c01df7320b58 MD5 7e32edfd72887a57b16ecd73f0f7a1a0 metadata.xml 184 RMD160 c37bff1fc1cd7139c91dae9b0fa5082e1d81f153 metadata.xml 184 @@ -99,3 +107,13 @@ SHA256 74c2590b88a1c3e1d1b3372b5f3a6236ccf303e9e23009fd3795f25223c2d6de files/di MD5 cf331ee5043d2667587d2d5f8207214f files/digest-clamav-0.91 241 RMD160 b9ca05ab7e5455ea0049d3781364665601eb2cd1 files/digest-clamav-0.91 241 SHA256 005e0f558c95292331bd1ecc52559ab3ede5ec481ab32fc15717cdfb2143d269 files/digest-clamav-0.91 241 +MD5 957debe430d48ffb27ac17aa6189dab4 files/digest-clamav-0.91.1 247 +RMD160 423825904509af07b3afdbd6e291433dfb7efe77 files/digest-clamav-0.91.1 247 +SHA256 a548eaceeae74311a6c0121e128ef89dbcf3636b7113c0090afdb5cece703983 files/digest-clamav-0.91.1 247 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.7 (GNU/Linux) + +iD8DBQFGnDcPQlM6RnzZP+IRAjSJAKCwwfMLrb/aOWv8vDd1DUNkoPm+hQCfT+p3 +KNHhtQdU2kpWOqr6foaICqI= +=qg0v +-----END PGP SIGNATURE----- diff --git a/app-antivirus/clamav/clamav-0.91.1.ebuild b/app-antivirus/clamav/clamav-0.91.1.ebuild new file mode 100644 index 000000000000..206f3c5f8173 --- /dev/null +++ b/app-antivirus/clamav/clamav-0.91.1.ebuild @@ -0,0 +1,143 @@ +# 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.91.1.ebuild,v 1.1 2007/07/17 03:27:01 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 logrotate mailwrapper milter nls selinux" + +DEPEND="virtual/libc + bzip2? ( app-arch/bzip2 ) + crypt? ( >=dev-libs/gmp-4.1.2 ) + 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}"/${PN}-0.90-compat.patch + epatch "${FILESDIR}"/${PN}-0.90-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_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.91.1 b/app-antivirus/clamav/files/digest-clamav-0.91.1 new file mode 100644 index 000000000000..591b861a25ba --- /dev/null +++ b/app-antivirus/clamav/files/digest-clamav-0.91.1 @@ -0,0 +1,3 @@ +MD5 60152bf1e24b3fbdf0473794199e5215 clamav-0.91.1.tar.gz 13099119 +RMD160 a9b1526d11264d55e3ac38b7c16d27db43bf8a4e clamav-0.91.1.tar.gz 13099119 +SHA256 f98edecae40473c142fe49a0e02f5ff7fb28d778c4bd510dad747d208d20cb00 clamav-0.91.1.tar.gz 13099119 |