diff options
author | Thomas Raschbacher <lordvan@gentoo.org> | 2005-04-08 13:03:05 +0000 |
---|---|---|
committer | Thomas Raschbacher <lordvan@gentoo.org> | 2005-04-08 13:03:05 +0000 |
commit | 60848776e091cedee7e0d4599dc60651432f6d3b (patch) | |
tree | 24bda2994895c5a0feef6c404c831b1dd69efb96 /app-antivirus | |
parent | version bump. (diff) | |
download | gentoo-2-60848776e091cedee7e0d4599dc60651432f6d3b.tar.gz gentoo-2-60848776e091cedee7e0d4599dc60651432f6d3b.tar.bz2 gentoo-2-60848776e091cedee7e0d4599dc60651432f6d3b.zip |
new version (rc)
(Portage version: 2.0.51.19)
Diffstat (limited to 'app-antivirus')
-rw-r--r-- | app-antivirus/clamav/ChangeLog | 6 | ||||
-rw-r--r-- | app-antivirus/clamav/Manifest | 20 | ||||
-rw-r--r-- | app-antivirus/clamav/clamav-0.84_rc1.ebuild | 81 | ||||
-rw-r--r-- | app-antivirus/clamav/files/digest-clamav-0.84_rc1 | 1 |
4 files changed, 98 insertions, 10 deletions
diff --git a/app-antivirus/clamav/ChangeLog b/app-antivirus/clamav/ChangeLog index bb5dc04e9561..82c9dfeb9559 100644 --- a/app-antivirus/clamav/ChangeLog +++ b/app-antivirus/clamav/ChangeLog @@ -1,6 +1,10 @@ # 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.61 2005/04/08 10:41:44 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.62 2005/04/08 13:03:05 lordvan Exp $ + + 08 Apr 2005; Thomas Raschbacher <lordvan@gentoo.org> : + new Version (release candidate) with some new features (see application + ChangeLog) 08 Apr 2005; Markus Rothe <corsair@gentoo.org> clamav-0.83.ebuild: Stable on ppc64 diff --git a/app-antivirus/clamav/Manifest b/app-antivirus/clamav/Manifest index 0041148f88ce..318ed6bda659 100644 --- a/app-antivirus/clamav/Manifest +++ b/app-antivirus/clamav/Manifest @@ -1,18 +1,20 @@ -MD5 8efd3294f6b89f426be61d8d530d59d9 ChangeLog 12532 -MD5 4f620361b61c91340a4858f468d068d8 clamav-0.75.1.ebuild 1582 MD5 9d62360a7a38f6147a6cfe97c777e035 clamav-0.80.ebuild 1790 -MD5 f3e0a0e2a0af48eb9d16fc66fdb6f78f clamav-0.81.ebuild 1963 -MD5 6458783fa8618706c008bc8faba26f67 clamav-0.82-r1.ebuild 2088 MD5 64d6a92024c638d9bbd9d4fd3b2fadf4 clamav-0.82.ebuild 1968 -MD5 c612f2a84447b5614d5ccaeac253472d clamav-0.83.ebuild 2374 +MD5 6458783fa8618706c008bc8faba26f67 clamav-0.82-r1.ebuild 2088 +MD5 811c6029b90c4f6cc6b6add9020e38c6 clamav-0.84_rc1.ebuild 2416 +MD5 f3e0a0e2a0af48eb9d16fc66fdb6f78f clamav-0.81.ebuild 1963 +MD5 4f620361b61c91340a4858f468d068d8 clamav-0.75.1.ebuild 1582 +MD5 8efd3294f6b89f426be61d8d530d59d9 ChangeLog 12532 MD5 7e32edfd72887a57b16ecd73f0f7a1a0 metadata.xml 184 -MD5 611be9042d6d7b2b1668df9d55b97c58 files/clamav-0.82-MS05-002-false-positive-fix.patch 626 +MD5 c612f2a84447b5614d5ccaeac253472d clamav-0.83.ebuild 2374 +MD5 21e06147c74a196e333ab2feafff5998 files/digest-clamav-0.82-r1 64 MD5 ad7d45b1be51c06986cb42c53e733d19 files/clamav-milter.README.gentoo 1311 -MD5 e8dcbdecd955708ddc7c79399ffa6276 files/clamd.conf 166 -MD5 1b3268d3723e003ad99bf706e6bf4312 files/clamd.rc 1444 +MD5 0eb8dba84172713f496d6305e91576e6 files/digest-clamav-0.84_rc1 67 +MD5 611be9042d6d7b2b1668df9d55b97c58 files/clamav-0.82-MS05-002-false-positive-fix.patch 626 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 21e06147c74a196e333ab2feafff5998 files/digest-clamav-0.82-r1 64 MD5 9bbf2754f8178fd5164875d784aa9ffa files/digest-clamav-0.83 64 +MD5 e8dcbdecd955708ddc7c79399ffa6276 files/clamd.conf 166 +MD5 1b3268d3723e003ad99bf706e6bf4312 files/clamd.rc 1444 diff --git a/app-antivirus/clamav/clamav-0.84_rc1.ebuild b/app-antivirus/clamav/clamav-0.84_rc1.ebuild new file mode 100644 index 000000000000..bdff4120bc97 --- /dev/null +++ b/app-antivirus/clamav/clamav-0.84_rc1.ebuild @@ -0,0 +1,81 @@ +# 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.84_rc1.ebuild,v 1.1 2005/04/08 13:03:05 lordvan Exp $ + +inherit eutils flag-o-matic + +MY_PV="${PV/_/}" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="Clam Anti-Virus Scanner" +HOMEPAGE="http://www.clamav.net/" +SRC_URI="mirror://sourceforge/clamav/${MY_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 ) + milter? ( mail-mta/sendmail ) + >=sys-libs/zlib-1.2.1-r3 + >=net-misc/curl-7.10.0 + net-dns/libidn" +RDEPEND="selinux? ( sec-policy/selinux-clamav )" +PROVIDE="virtual/antivirus" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + if use milter; then + if ! built_with_use mail-mta/sendmail milter; 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 /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.84_rc1 b/app-antivirus/clamav/files/digest-clamav-0.84_rc1 new file mode 100644 index 000000000000..6cc7c5845a49 --- /dev/null +++ b/app-antivirus/clamav/files/digest-clamav-0.84_rc1 @@ -0,0 +1 @@ +MD5 43cf89ccf2a3854aef7d0716433b44fe clamav-0.84rc1.tar.gz 3864208 |