summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2004-02-17 00:01:30 +0000
committerHanno Böck <hanno@gentoo.org>2004-02-17 00:01:30 +0000
commitf4cc754e185b00aa23156f1fa069735147a8da69 (patch)
treea466a0ad67258945f9f794c208e2c8c63a3798fd /net-mail
parentadd alpha and ia64 keywords (Manifest recommit) (diff)
downloadgentoo-2-f4cc754e185b00aa23156f1fa069735147a8da69.tar.gz
gentoo-2-f4cc754e185b00aa23156f1fa069735147a8da69.tar.bz2
gentoo-2-f4cc754e185b00aa23156f1fa069735147a8da69.zip
clamav-0.67 version bump
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/clamav/ChangeLog7
-rw-r--r--net-mail/clamav/clamav-0.67.ebuild51
-rw-r--r--net-mail/clamav/files/digest-clamav-0.671
3 files changed, 58 insertions, 1 deletions
diff --git a/net-mail/clamav/ChangeLog b/net-mail/clamav/ChangeLog
index a0ac8605e2ef..90e98a019f29 100644
--- a/net-mail/clamav/ChangeLog
+++ b/net-mail/clamav/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-mail/clamav
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/clamav/ChangeLog,v 1.13 2004/01/22 09:31:17 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/clamav/ChangeLog,v 1.14 2004/02/17 00:01:30 hanno Exp $
+
+*clamav-0.67 (17 Feb 2004)
+
+ 17 Feb 2004; Hanno Boeck <hanno@gentoo.org> clamav-0.67.ebuild:
+ Version bump.
22 Jan 2004; Hanno Boeck <hanno@gentoo.org> files/clamd.rc:
Some fixes to the init.d-script.
diff --git a/net-mail/clamav/clamav-0.67.ebuild b/net-mail/clamav/clamav-0.67.ebuild
new file mode 100644
index 000000000000..8ff58e3cc666
--- /dev/null
+++ b/net-mail/clamav/clamav-0.67.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/clamav/clamav-0.67.ebuild,v 1.1 2004/02/17 00:01:30 hanno Exp $
+
+IUSE="milter"
+
+inherit eutils flag-o-matic
+has_version =sys-libs/glibc-2.2* && filter-flags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
+
+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 ~mips ~alpha ~arm ~hppa ~amd64"
+
+DEPEND="virtual/glibc"
+PROVIDE="virtual/antivirus"
+
+pkg_setup() {
+ enewgroup clamav
+ enewuser clamav -1 /bin/false /dev/null clamav
+ pwconv || die
+}
+
+src_compile() {
+ local myconf
+
+ use milter && 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() {
+ if [ `use milter` ]; then
+ einfo "For simple instructions howto setup the clamav-milter..."
+ einfo ""
+ einfo "less /usr/share/doc/${PVR}/clamav-milter.README.gentoo.gz"
+ fi
+}
diff --git a/net-mail/clamav/files/digest-clamav-0.67 b/net-mail/clamav/files/digest-clamav-0.67
new file mode 100644
index 000000000000..65890f38b9a8
--- /dev/null
+++ b/net-mail/clamav/files/digest-clamav-0.67
@@ -0,0 +1 @@
+MD5 6d854be864037f82fef1457bb9cabdff clamav-0.67.tar.gz 2279656