summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2007-07-11 22:10:04 +0000
committerAndrej Kacian <ticho@gentoo.org>2007-07-11 22:10:04 +0000
commit1d0fb4efefd635b49909e8bb82f7284401a9579d (patch)
treee65c7122afcd0494bb69a953a86a7dca3a01ce05 /app-antivirus
parentFix ChangeLog. (diff)
downloadhistorical-1d0fb4efefd635b49909e8bb82f7284401a9579d.tar.gz
historical-1d0fb4efefd635b49909e8bb82f7284401a9579d.tar.bz2
historical-1d0fb4efefd635b49909e8bb82f7284401a9579d.zip
Version bump.
Package-Manager: portage-2.1.3_rc4
Diffstat (limited to 'app-antivirus')
-rw-r--r--app-antivirus/clamav/ChangeLog7
-rw-r--r--app-antivirus/clamav/Manifest24
-rw-r--r--app-antivirus/clamav/clamav-0.91.ebuild143
-rw-r--r--app-antivirus/clamav/files/digest-clamav-0.913
4 files changed, 168 insertions, 9 deletions
diff --git a/app-antivirus/clamav/ChangeLog b/app-antivirus/clamav/ChangeLog
index d49a5bc962c0..0ad2ceb22ebe 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.237 2007/06/04 12:34:20 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.238 2007/07/11 22:10:04 ticho Exp $
+
+*clamav-0.91 (11 Jul 2007)
+
+ 11 Jul 2007; Andrej Kacian <ticho@gentoo.org> +clamav-0.91.ebuild:
+ Version bump.
04 Jun 2007; Gustavo Zacarias <gustavoz@gentoo.org> clamav-0.90.3.ebuild:
Stable on sparc wrt security #178082
diff --git a/app-antivirus/clamav/Manifest b/app-antivirus/clamav/Manifest
index 4c0cb0808c83..0b1334cb3d41 100644
--- a/app-antivirus/clamav/Manifest
+++ b/app-antivirus/clamav/Manifest
@@ -30,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.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
RMD160 b3b7a19109bcb762b68468b43a5843e31e9d5304 clamav-0.88.7-r1.ebuild 3794
@@ -62,10 +63,14 @@ 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
-MISC ChangeLog 37106 RMD160 4bcbee39df5949827adf1fe3c9a624f169072d18 SHA1 57016ae98d145bdc5061844e2334851373893682 SHA256 88641343942703aacbed8623fab6875d62874e528f59700ad4c76ab04653a5f8
-MD5 f3b4d1c56389605e8358ab460ecb0fe8 ChangeLog 37106
-RMD160 4bcbee39df5949827adf1fe3c9a624f169072d18 ChangeLog 37106
-SHA256 88641343942703aacbed8623fab6875d62874e528f59700ad4c76ab04653a5f8 ChangeLog 37106
+EBUILD clamav-0.91.ebuild 4302 RMD160 5805d997d6ee59c3cb415cb2cf086f387c38766d SHA1 061e68ec4965bfe397a85c1ba1b2cbb239d735ad SHA256 a44c91a436a85507ca08e488d970d8fb5c8afc6612bada4481848ea4c84d826a
+MD5 e42cbc3d367d3eed6508b90ce4e504bf clamav-0.91.ebuild 4302
+RMD160 5805d997d6ee59c3cb415cb2cf086f387c38766d clamav-0.91.ebuild 4302
+SHA256 a44c91a436a85507ca08e488d970d8fb5c8afc6612bada4481848ea4c84d826a clamav-0.91.ebuild 4302
+MISC ChangeLog 37217 RMD160 20b84e8c0d4daebcba495549fc6dbfc9ccf4672a SHA1 3cc42e75ac353d87e4d63e5f3a7ea031e9df69fb SHA256 1fb09824efa4af12d2c533b8015ea399cd2b12ee1c2206d54d03128b8bc8fb34
+MD5 8424da384d5bf5bb868058f08616dbc2 ChangeLog 37217
+RMD160 20b84e8c0d4daebcba495549fc6dbfc9ccf4672a ChangeLog 37217
+SHA256 1fb09824efa4af12d2c533b8015ea399cd2b12ee1c2206d54d03128b8bc8fb34 ChangeLog 37217
MISC metadata.xml 184 RMD160 c37bff1fc1cd7139c91dae9b0fa5082e1d81f153 SHA1 cc0a188d9ad2411e78747326c62dd046bd5413c8 SHA256 d51011aa837db802ef539a1321a4af0a4a00879d475b92fd58f3c01df7320b58
MD5 7e32edfd72887a57b16ecd73f0f7a1a0 metadata.xml 184
RMD160 c37bff1fc1cd7139c91dae9b0fa5082e1d81f153 metadata.xml 184
@@ -94,10 +99,13 @@ SHA256 e68c7b04a6e584aec2663aec7d1fb258ddf06e21554f0dd71bc9fec76ed12a20 files/di
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
+MD5 cf331ee5043d2667587d2d5f8207214f files/digest-clamav-0.91 241
+RMD160 b9ca05ab7e5455ea0049d3781364665601eb2cd1 files/digest-clamav-0.91 241
+SHA256 005e0f558c95292331bd1ecc52559ab3ede5ec481ab32fc15717cdfb2143d269 files/digest-clamav-0.91 241
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.7-ecc0.1.6 (GNU/Linux)
+Version: GnuPG v1.4.7 (GNU/Linux)
-iD8DBQFGZAbSKRy60XGEcJIRAjkMAJ9iwuoi8usdQxPNcdHtoQU5Y2p7lQCfRMxI
-V9feshYPWS3CvkrBn2w1YrI=
-=eogt
+iD8DBQFGlVVKQlM6RnzZP+IRAsACAJ41/fgn+xSbeaZn38iMngiyfdQMfwCgieRd
+irKIA+C4WEnYHci7UqkAcjc=
+=Yd0+
-----END PGP SIGNATURE-----
diff --git a/app-antivirus/clamav/clamav-0.91.ebuild b/app-antivirus/clamav/clamav-0.91.ebuild
new file mode 100644
index 000000000000..408204ef04c2
--- /dev/null
+++ b/app-antivirus/clamav/clamav-0.91.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.ebuild,v 1.1 2007/07/11 22:10:04 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 b/app-antivirus/clamav/files/digest-clamav-0.91
new file mode 100644
index 000000000000..562107614581
--- /dev/null
+++ b/app-antivirus/clamav/files/digest-clamav-0.91
@@ -0,0 +1,3 @@
+MD5 35192423e44642c86ea69dc93f59cfb1 clamav-0.91.tar.gz 13026634
+RMD160 192acbe2fa290030df2fd60c7f323b434acc7a69 clamav-0.91.tar.gz 13026634
+SHA256 329ad13ae12390d3758017297e307ca06744bfb4e3fb61424b4f064faf5a2bbb clamav-0.91.tar.gz 13026634