Version bump. Closes #67907.
authorAndrej Kacian <ticho@gentoo.org>
Sun, 17 Oct 2004 19:31:26 +0000 (19:31 +0000)
committerAndrej Kacian <ticho@gentoo.org>
Sun, 17 Oct 2004 19:31:26 +0000 (19:31 +0000)
app-antivirus/clamav/ChangeLog
app-antivirus/clamav/Manifest
app-antivirus/clamav/clamav-0.80.ebuild [new file with mode: 0644]
app-antivirus/clamav/files/digest-clamav-0.80 [new file with mode: 0644]

index 99d28de64be6c5fcd37089c3c81db84156c6bfc9..08775427928a5d86aa29ea239c8dd4460b795530 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for app-antivirus/clamav
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.16 2004/10/08 19:07:02 lordvan Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.17 2004/10/17 19:31:26 ticho Exp $
+
+*clamav-0.80 (17 Oct 2004)
+
+  17 Oct 2004; Andrej Kacian <ticho@gentoo.org> +clamav-0.80.ebuild:
+  Version bump. Closes #67907, reported by djfunk <djfunk@free.fr>.
 
   08 Oct 2004; root <root@gentoo.org> clamav-0.67.ebuild,
   clamav-0.68.1.ebuild, clamav-0.70.ebuild, clamav-0.71.ebuild,
index 460699c0a4861dc98dd257c3f27e6b010c233577..5566110df4b30d852389c140523455afd98ee1d3 100644 (file)
@@ -1,9 +1,21 @@
-MD5 fae14ed92c589f5eac0b8029fba8ac27 ChangeLog 7136
-MD5 9e195dfcd52e4642d54392d40d18a040 clamav-0.75.1.ebuild 1528
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 992248b42dbe15cedd6e6e5480804df4 ChangeLog 7300
+MD5 c94d0ead8f433912c6d65a93c8aed059 clamav-0.80.ebuild 1494
 MD5 7e32edfd72887a57b16ecd73f0f7a1a0 metadata.xml 184
 MD5 834b1547fb820fa331c01a04e1328701 clamav-0.80_rc3.ebuild 1501
-MD5 ad7d45b1be51c06986cb42c53e733d19 files/clamav-milter.README.gentoo 1311
-MD5 e8dcbdecd955708ddc7c79399ffa6276 files/clamd.conf 166
+MD5 9e195dfcd52e4642d54392d40d18a040 clamav-0.75.1.ebuild 1528
+MD5 d410856feb644268883b8beeaaacc4a1 files/digest-clamav-0.80_rc3 67
 MD5 51f0c4f6ae446ca5834911b75b1a74a3 files/clamd.rc 1431
+MD5 e8dcbdecd955708ddc7c79399ffa6276 files/clamd.conf 166
 MD5 f0090a77dc10ba3899900622336b8610 files/digest-clamav-0.75.1 66
-MD5 d410856feb644268883b8beeaaacc4a1 files/digest-clamav-0.80_rc3 67
+MD5 a42aa0e5135bd2ad22288e4150ec89e2 files/digest-clamav-0.80 64
+MD5 ad7d45b1be51c06986cb42c53e733d19 files/clamav-milter.README.gentoo 1311
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFBcsiX10xuJSrg3/sRAj0NAJoDrToOvmD7abbKeL4d/7Y58stQ4ACdH0Tf
+utX8BpEB7fxm/hxJ+M71kIM=
+=WBpf
+-----END PGP SIGNATURE-----
diff --git a/app-antivirus/clamav/clamav-0.80.ebuild b/app-antivirus/clamav/clamav-0.80.ebuild
new file mode 100644 (file)
index 0000000..2d37755
--- /dev/null
@@ -0,0 +1,57 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.80.ebuild,v 1.1 2004/10/17 19:31:26 ticho Exp $
+
+inherit eutils flag-o-matic
+
+#MY_P="${PN}-0.80rc3"
+MY_P="${P}"
+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"
+IUSE="milter crypt"
+
+DEPEND="virtual/libc
+       crypt? ( >=dev-libs/gmp-4.1.2 )"
+PROVIDE="virtual/antivirus"
+
+S="${WORKDIR}/${MY_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
+       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() {
+       einfo ""
+       ewarn "Warning: clamd and/or freshclam have not been restarted."
+       ewarn "You should restart them with: /etc/init.d/clamd restart"
+       einfo ""
+       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"
+       fi
+}
diff --git a/app-antivirus/clamav/files/digest-clamav-0.80 b/app-antivirus/clamav/files/digest-clamav-0.80
new file mode 100644 (file)
index 0000000..d5b51c6
--- /dev/null
@@ -0,0 +1 @@
+MD5 59bf21e169a35d7e9c27a34435f9b870 clamav-0.80.tar.gz 2679434