diff options
author | Andrej Kacian <ticho@gentoo.org> | 2005-02-08 09:52:41 +0000 |
---|---|---|
committer | Andrej Kacian <ticho@gentoo.org> | 2005-02-08 09:52:41 +0000 |
commit | 1b91e8831974ae80903f5ba642ef40128997fa5d (patch) | |
tree | 5fd0a91021e9e9e161f6fbb22ca60ef0948bc49c /app-antivirus/clamav | |
parent | Version bumped. Marked 1.0.6 stable on x86, alpha, ppc and ppc-macos. Removed... (diff) | |
download | gentoo-2-1b91e8831974ae80903f5ba642ef40128997fa5d.tar.gz gentoo-2-1b91e8831974ae80903f5ba642ef40128997fa5d.tar.bz2 gentoo-2-1b91e8831974ae80903f5ba642ef40128997fa5d.zip |
Version bump, security fix. Bug #81075.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'app-antivirus/clamav')
-rw-r--r-- | app-antivirus/clamav/ChangeLog | 7 | ||||
-rw-r--r-- | app-antivirus/clamav/Manifest | 10 | ||||
-rw-r--r-- | app-antivirus/clamav/clamav-0.82.ebuild | 68 | ||||
-rw-r--r-- | app-antivirus/clamav/files/digest-clamav-0.82 | 1 |
4 files changed, 81 insertions, 5 deletions
diff --git a/app-antivirus/clamav/ChangeLog b/app-antivirus/clamav/ChangeLog index d89e342e827a..405daf71dbef 100644 --- a/app-antivirus/clamav/ChangeLog +++ b/app-antivirus/clamav/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-antivirus/clamav # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.43 2005/02/06 18:01:35 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.44 2005/02/08 09:52:41 ticho Exp $ + +*clamav-0.82 (08 Feb 2005) + + 08 Feb 2005; Andrej Kacian <ticho@gentoo.org> +clamav-0.82.ebuild: + Version bump. Closes #81075, reported by djfunk <djfunk@free.fr>. 06 Feb 2005; Markus Rothe <corsair@gentoo.org> clamav-0.80.ebuild: Stable on ppc64 diff --git a/app-antivirus/clamav/Manifest b/app-antivirus/clamav/Manifest index 1d63bf974f38..5c35edcbfe99 100644 --- a/app-antivirus/clamav/Manifest +++ b/app-antivirus/clamav/Manifest @@ -1,11 +1,13 @@ MD5 18eae31389dfb8d7694c098b16efc676 ChangeLog 10239 -MD5 4f620361b61c91340a4858f468d068d8 clamav-0.75.1.ebuild 1582 MD5 9d62360a7a38f6147a6cfe97c777e035 clamav-0.80.ebuild 1790 MD5 7e32edfd72887a57b16ecd73f0f7a1a0 metadata.xml 184 MD5 f3e0a0e2a0af48eb9d16fc66fdb6f78f clamav-0.81.ebuild 1963 -MD5 ad7d45b1be51c06986cb42c53e733d19 files/clamav-milter.README.gentoo 1311 -MD5 e8dcbdecd955708ddc7c79399ffa6276 files/clamd.conf 166 +MD5 efb6b03b2ca271b6604fecabcc4cf770 clamav-0.82.ebuild 1867 +MD5 4f620361b61c91340a4858f468d068d8 clamav-0.75.1.ebuild 1582 MD5 1b3268d3723e003ad99bf706e6bf4312 files/clamd.rc 1444 +MD5 e8dcbdecd955708ddc7c79399ffa6276 files/clamd.conf 166 MD5 f0090a77dc10ba3899900622336b8610 files/digest-clamav-0.75.1 66 -MD5 a42aa0e5135bd2ad22288e4150ec89e2 files/digest-clamav-0.80 64 MD5 90e45ae4932ab5efa4baa1936e016e10 files/digest-clamav-0.81 64 +MD5 21e06147c74a196e333ab2feafff5998 files/digest-clamav-0.82 64 +MD5 a42aa0e5135bd2ad22288e4150ec89e2 files/digest-clamav-0.80 64 +MD5 ad7d45b1be51c06986cb42c53e733d19 files/clamav-milter.README.gentoo 1311 diff --git a/app-antivirus/clamav/clamav-0.82.ebuild b/app-antivirus/clamav/clamav-0.82.ebuild new file mode 100644 index 000000000000..3a74e7672474 --- /dev/null +++ b/app-antivirus/clamav/clamav-0.82.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.82.ebuild,v 1.1 2005/02/08 09:52:41 ticho Exp $ + +inherit eutils flag-o-matic + +DESCRIPTION="Clam Anti-Virus Scanner" +HOMEPAGE="http://www.clamav.net/" +SRC_URI="mirror://sourceforge/clamav/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~hppa ~alpha ~ppc64" +IUSE="crypt milter selinux" + +DEPEND="virtual/libc + crypt? ( >=dev-libs/gmp-4.1.2 ) + >=sys-libs/zlib-1.2.1-r3 + >=net-misc/curl-7.10.0" +RDEPEND="selinux? ( sec-policy/selinux-clamav )" +PROVIDE="virtual/antivirus" + +#S="${WORKDIR}/${P/_/}" + +pkg_setup() { + enewgroup clamav + enewuser clamav -1 /bin/false /dev/null clamav + pwconv || die +} + +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 milter && myconf="${myconf} --enable-milter" + econf ${myconf} --with-dbdir=/var/lib/clamav || die + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + dodoc AUTHORS BUGS NEWS README ChangeLog TODO FAQ INSTALL + exeinto /etc/init.d ; newexe ${FILESDIR}/clamd.rc clamd + insinto /etc/conf.d ; newins ${FILESDIR}/clamd.conf clamd + dodoc ${FILESDIR}/clamav-milter.README.gentoo +} + +pkg_postinst() { + echo + einfo "NOTE: As of clamav-0.80, the config file for clamd is no longer" + einfo " /etc/clamav.conf, but /etc/clamd.conf. Adjust your" + einfo " configuration accordingly before (re)starting clamd." + 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 howto setup the clamav-milter..." + einfo "" + einfo "less /usr/share/doc/${PF}/clamav-milter.README.gentoo.gz" + echo + fi +} diff --git a/app-antivirus/clamav/files/digest-clamav-0.82 b/app-antivirus/clamav/files/digest-clamav-0.82 new file mode 100644 index 000000000000..2f92ff85ec7b --- /dev/null +++ b/app-antivirus/clamav/files/digest-clamav-0.82 @@ -0,0 +1 @@ +MD5 1b58972d8918f5174d7f05a35a48856b clamav-0.82.tar.gz 3565864 |