From 062bbbdbdb914d053b8042f8117af807d8303cad Mon Sep 17 00:00:00 2001 From: Andrej Kacian Date: Tue, 25 Jan 2005 16:08:09 +0000 Subject: Version bump. Closes #78796. (Portage version: 2.0.51-r14) --- app-antivirus/clamav/ChangeLog | 7 ++- app-antivirus/clamav/clamav-0.81_rc1.ebuild | 62 +++++++++++++++++++++++ app-antivirus/clamav/files/digest-clamav-0.81_rc1 | 1 + 3 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 app-antivirus/clamav/clamav-0.81_rc1.ebuild create mode 100644 app-antivirus/clamav/files/digest-clamav-0.81_rc1 (limited to 'app-antivirus') diff --git a/app-antivirus/clamav/ChangeLog b/app-antivirus/clamav/ChangeLog index 3f4e06389e27..8adc0c1d06f0 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.32 2005/01/25 11:21:50 lordvan Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.33 2005/01/25 16:08:09 ticho Exp $ + +*clamav-0.81_rc1 (25 Jan 2005) + + 25 Jan 2005; Andrej Kacian +clamav-0.81_rc1.ebuild: + Version bump. Closes #78796, reported by djfunk . 25 Jan 2005; Thomas Raschbacher files/clamd.rc: changed init script dependency from 'need net' to 'use net'. fixes bug diff --git a/app-antivirus/clamav/clamav-0.81_rc1.ebuild b/app-antivirus/clamav/clamav-0.81_rc1.ebuild new file mode 100644 index 000000000000..1bc517b0aad9 --- /dev/null +++ b/app-antivirus/clamav/clamav-0.81_rc1.ebuild @@ -0,0 +1,62 @@ +# 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.81_rc1.ebuild,v 1.1 2005/01/25 16:08:09 ticho Exp $ + +inherit eutils flag-o-matic + +#MY_P="${PN}-0.81rc1" +#MY_P="${P}" +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="milter crypt" + +DEPEND="virtual/libc + crypt? ( >=dev-libs/gmp-4.1.2 )" +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 + 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() { + 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.81_rc1 b/app-antivirus/clamav/files/digest-clamav-0.81_rc1 new file mode 100644 index 000000000000..d9afdc3804c8 --- /dev/null +++ b/app-antivirus/clamav/files/digest-clamav-0.81_rc1 @@ -0,0 +1 @@ +MD5 f38933eb64d108a9ab3f0e5d6c0a69c1 clamav-0.81rc1.tar.gz 3018361 -- cgit v1.2.3-65-gdbad