diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2004-05-30 00:27:23 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2004-05-30 00:27:23 +0000 |
commit | 4e04a7d5939fb35609ffa931597db9baa41b5c33 (patch) | |
tree | a25604f414fa05786abcbe9f197ed2a3f4dff710 /app-antivirus | |
parent | new categories from net-mail splittup (diff) | |
download | gentoo-2-4e04a7d5939fb35609ffa931597db9baa41b5c33.tar.gz gentoo-2-4e04a7d5939fb35609ffa931597db9baa41b5c33.tar.bz2 gentoo-2-4e04a7d5939fb35609ffa931597db9baa41b5c33.zip |
move net-mail/clamav app-antivirus/clamav
Diffstat (limited to 'app-antivirus')
-rw-r--r-- | app-antivirus/clamav/ChangeLog | 151 | ||||
-rw-r--r-- | app-antivirus/clamav/Manifest | 13 | ||||
-rw-r--r-- | app-antivirus/clamav/clamav-0.67.ebuild | 48 | ||||
-rw-r--r-- | app-antivirus/clamav/clamav-0.68.1.ebuild | 50 | ||||
-rw-r--r-- | app-antivirus/clamav/clamav-0.70.ebuild | 52 | ||||
-rw-r--r-- | app-antivirus/clamav/clamav-0.71.ebuild | 52 | ||||
-rw-r--r-- | app-antivirus/clamav/files/clamav-milter.README.gentoo | 60 | ||||
-rw-r--r-- | app-antivirus/clamav/files/clamd.conf | 9 | ||||
-rw-r--r-- | app-antivirus/clamav/files/clamd.rc | 48 | ||||
-rw-r--r-- | app-antivirus/clamav/files/digest-clamav-0.67 | 1 | ||||
-rw-r--r-- | app-antivirus/clamav/files/digest-clamav-0.68.1 | 1 | ||||
-rw-r--r-- | app-antivirus/clamav/files/digest-clamav-0.70 | 1 | ||||
-rw-r--r-- | app-antivirus/clamav/files/digest-clamav-0.71 | 1 | ||||
-rw-r--r-- | app-antivirus/clamav/metadata.xml | 6 |
14 files changed, 493 insertions, 0 deletions
diff --git a/app-antivirus/clamav/ChangeLog b/app-antivirus/clamav/ChangeLog new file mode 100644 index 000000000000..3045f9e1462e --- /dev/null +++ b/app-antivirus/clamav/ChangeLog @@ -0,0 +1,151 @@ +# ChangeLog for net-mail/clamav +# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.1 2004/05/30 00:27:23 robbat2 Exp $ + +*clamav-0.71 (29 May 2004) + + 29 May 2004; Robin H. Johnson <robbat2@gentoo.org> clamav-0.67.ebuild, + clamav-0.68.1.ebuild, clamav-0.70.ebuild, clamav-0.71.ebuild, metadata.xml, + files/clamav-milter.README.gentoo, files/clamd.conf, files/clamd.rc: + move net-mail/clamav app-antivirus/clamav + +*clamav-0.71 (19 May 2004) + + 19 May 2004; Thomas Raschbacher <lordvan@gentoo.org> +clamav-0.71.ebuild: + version bump (see application ChangeLog for changes) + + 10 May 2004; Jeremy Huddleston <eradicator@gentoo.org> files/clamd.rc: + Fixed socket detection in startup script to properly use -S. + + 04 May 2004; Luca Barbato <lu_zero@gentoo.org> clamav-0.70.ebuild: + Marked ppc + + 30 Apr 2004; Bryan Østergaard <kloeri@gentoo.org> clamav-0.70.ebuild: + Stable on alpha. + + 29 Apr 2004; Jason Wever <weeve@gentoo.org> clamav-0.70.ebuild: + Stable on sparc wrt bug #46264. + + 29 Apr 2004; Thomas Raschbacher <lordvan@gentoo.org> clamav-0.68.ebuild, + clamav-0.70_rc.ebuild: + Marked clamav-0.70 stable x86 + Removed clamav-0.68 because of RAR bug + Removed clamav-0.70_rc + + 29 Apr 2004; Guy Martin <gmsoft@gentoo.org> clamav-0.70.ebuild: + Marked stable on hppa for bug #46264. + + 21 Apr 2004; Guy Martin <gmsoft@gentoo.org> clamav-0.68.1.ebuild: + Marked stable on hppa. + +*clamav-0.70 (17 Apr 2004) + + 17 Apr 2004; Thomas Raschbacher <lordvan@gentoo.org> clamav-0.70.ebuild: + version bump (lots of changes; see the application ChangeLog/Webpage) + + 07 Apr 2004; Seemant Kulleen <seemant@gentoo.org> clamav-0.68.1.ebuild: + stabled on x86, thanks for testing todd + + 03 Apr 2004; Lars Weiler <pylon@gentoo.org> clamav-0.68.1.ebuild: + stable on ppc as requested in bug #45357 + + 30 Mar 2004; Aron Griffis <agriffis@gentoo.org> clamav-0.68.1.ebuild: + Stable on alpha and ia64 for bug 45357 + + 30 Mar 2004; Thomas Raschbacher <lordvan@gentoo.org> clamav-0.68.1.ebuild, + clamav-0.68.ebuild, clamav-0.70_rc.ebuild: + added depend for dev-libs/gmp when crypt is in USE + +*clamav-0.68.1 (29 Mar 2004) + + 29 Mar 2004; Thomas Raschbacher <lordvan@gentoo.org> clamav-0.68.1.ebuild: + version bump (0.68-1); Bugzilla Bug #45357 + + 26 Mar 2004; Jason Wever <weeve@gentoo.org> clamav-0.68.ebuild: + Marked stable on sparc wrt bug #45357. + + 26 Mar 2004; Jon Portnoy <avenj@gentoo.org> clamav-0.68.ebuild : + Stable on AMD64. + +*clamav-0.68 (26 Mar 2004) + + 26 Mar 2004; <solar@gentoo.org> clamav-0.68.ebuild: + DoS vulnerability with processing of RAR archives. Bugzilla Bug #45357 + +*clamav-0.70_rc (21 Mar 2004) + + 21 Mar 2004; Thomas Raschbacher <lordvan@gentoo.org> clamav-0.70_rc.ebuild: + version bump (~arch) + + 21 Feb 2004; Hanno Boeck <hanno@gentoo.org> clamav-0.54-r1.ebuild, + clamav-0.60-r1.ebuild, clamav-0.60.ebuild, clamav-0.65.ebuild: + Removing all old ebuilds with security bugs. + + 17 Feb 2004; Aron Griffis <agriffis@gentoo.org> clamav-0.67.ebuild: + stable on alpha and ia64 + + 16 Feb 2004; Jason Wever <weeve@gentoo.org> clamav-0.67.ebuild: + Marked stable on sparc, fixes bug #41248. + +*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. + +*clamav-0.65 (20 Jan 2004) + + 20 Jan 2004; Hanno Boeck <hanno@gentoo.org> clamav-0.65.ebuild: + Version bump. Fixed download location and made it FHS-compilant. + + 16 Jan 2004; Bartosch Pixa <darkspecter@gentoo.org> clamav-0.60.ebuild: + set ppc in keywords + + 14 Dec 2003; <spider@gentoo.org> files/clamd.rc: + QA: fixing chown user.group to user:group, bug #35127 + +*clamav-0.60-r1 (27 Oct 2003) + + 27 Oct 2003; Nick Hadaway <raker@gentoo.org> clamav-0.60-r1.ebuild: + Added support for the milter use flag which builds clamav-milter. + Associated docs coming soon. + + 07 Oct 2003; Markus Nigbur <pyrania@gentoo.org> clamav-0.54-r1.ebuild, + clamav-0.60.ebuild: + Changed SRC_URI to sourceforge. + + 06 Sep 2003; Jason Wever <weeve@gentoo.org> clamav-0.60.ebuild: + Marked stable on sparc. + +*clamav-0.60 (19 Apr 2003) + + 27 Jun 2003; Mike Frysinger <vapier@gentoo.org> : + Filtered out large file support on glibc-2.2.x since it breaks. + + 19 Apr 2003; Preston A. Elder <prez@gentoo.org> clamav-0.60.ebuild, + files/digest-clamav-0.60: + Version bump + +*clamav-0.54-r1 (19 Apr 2003) + + 27 Jun 2003; Mike Frysinger <vapier@gentoo.org> : + Filtered out large file support on glibc-2.2.x since it breaks. + + 24 Apr 2003; Mike Frysinger <vapier@gentoo.org> : + Redid user/group addition since the last version was wrong + + 19 Apr 2003; Preston A. Elder <prez@gentoo.org> clamav-0.54-r1.ebuild: + Made ebuild provide virtual/virus + + 19 Apr 2003; Preston A. Elder <prez@gentoo.org> clamav-0.54-r1.ebuild, + files/digest-clamav-0.54 files/clamd.rc files/clamd.conf: + Automated user/group adding + +*clamav-0.54 (03 Feb 2003) + + 03 Feb 2003; Nick Hadaway <raker@gentoo.org> clamav-0.54.ebuild, + files/digest-clamav-0.54 : + Ebuild suggested by Pavel Tcholakov on bug #14580. I have a funny + feeling we are going to need an app-virus category soon. diff --git a/app-antivirus/clamav/Manifest b/app-antivirus/clamav/Manifest new file mode 100644 index 000000000000..4333a8682262 --- /dev/null +++ b/app-antivirus/clamav/Manifest @@ -0,0 +1,13 @@ +MD5 04b08e729911e9d36ce0945f455a0a92 clamav-0.71.ebuild 1427 +MD5 b00d20e83d42c1d5be93e0f4a4413dc9 clamav-0.67.ebuild 1319 +MD5 054c924dbedc14a2c2b5b4e9ced3db8f clamav-0.70.ebuild 1421 +MD5 de8eb97aa8733af83fc73a962dcb6ed2 ChangeLog 4963 +MD5 57d36878d5a3f7ba71d860a30095eec2 clamav-0.68.1.ebuild 1406 +MD5 7e32edfd72887a57b16ecd73f0f7a1a0 metadata.xml 184 +MD5 ad7d45b1be51c06986cb42c53e733d19 files/clamav-milter.README.gentoo 1311 +MD5 5ab8d333719ea5288bc8d078d7182ac3 files/digest-clamav-0.68.1 66 +MD5 a2d9e93fa7b5c61bbf79bdf79d3706e5 files/digest-clamav-0.67 64 +MD5 747929a7025eda197fe5af2143f97a64 files/digest-clamav-0.70 64 +MD5 4506954e47cda8c123e25422e146d732 files/digest-clamav-0.71 64 +MD5 e8dcbdecd955708ddc7c79399ffa6276 files/clamd.conf 166 +MD5 20489b310210bbb1ee44551995ffa73d files/clamd.rc 1391 diff --git a/app-antivirus/clamav/clamav-0.67.ebuild b/app-antivirus/clamav/clamav-0.67.ebuild new file mode 100644 index 000000000000..107e17835658 --- /dev/null +++ b/app-antivirus/clamav/clamav-0.67.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.67.ebuild,v 1.1 2004/05/30 00:27:23 robbat2 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 mips alpha hppa amd64 ia64" +IUSE="milter" + +DEPEND="virtual/glibc" +PROVIDE="virtual/antivirus" + +pkg_setup() { + enewgroup clamav + enewuser clamav -1 /bin/false /dev/null clamav + pwconv || die +} + +src_compile() { + has_version =sys-libs/glibc-2.2* && filter-flags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE + + 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/${PF}/clamav-milter.README.gentoo.gz" + fi +} diff --git a/app-antivirus/clamav/clamav-0.68.1.ebuild b/app-antivirus/clamav/clamav-0.68.1.ebuild new file mode 100644 index 000000000000..22b51515b614 --- /dev/null +++ b/app-antivirus/clamav/clamav-0.68.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.68.1.ebuild,v 1.1 2004/05/30 00:27:23 robbat2 Exp $ + +inherit eutils flag-o-matic +MY_P="${PN}-0.68-1" +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 ~mips alpha hppa amd64 ia64" +IUSE="milter crypt" + +DEPEND="virtual/glibc + 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-flags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE + + 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/${PF}/clamav-milter.README.gentoo.gz" + fi +} diff --git a/app-antivirus/clamav/clamav-0.70.ebuild b/app-antivirus/clamav/clamav-0.70.ebuild new file mode 100644 index 000000000000..7c7afa7a18b8 --- /dev/null +++ b/app-antivirus/clamav/clamav-0.70.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.70.ebuild,v 1.1 2004/05/30 00:27:23 robbat2 Exp $ + +inherit eutils flag-o-matic + +#MY_P="${PN}-0.70-rc" +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 sparc ~mips alpha hppa amd64 ~ia64" +IUSE="milter crypt" + +DEPEND="virtual/glibc + 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-flags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE + + 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/${PF}/clamav-milter.README.gentoo.gz" + fi +} diff --git a/app-antivirus/clamav/clamav-0.71.ebuild b/app-antivirus/clamav/clamav-0.71.ebuild new file mode 100644 index 000000000000..d069e658abf6 --- /dev/null +++ b/app-antivirus/clamav/clamav-0.71.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.71.ebuild,v 1.1 2004/05/30 00:27:23 robbat2 Exp $ + +inherit eutils flag-o-matic + +#MY_P="${PN}-0.70-rc" +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 ~sparc ~mips ~alpha ~hppa ~amd64 ~ia64" +IUSE="milter crypt" + +DEPEND="virtual/glibc + 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-flags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE + + 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/${PF}/clamav-milter.README.gentoo.gz" + fi +} diff --git a/app-antivirus/clamav/files/clamav-milter.README.gentoo b/app-antivirus/clamav/files/clamav-milter.README.gentoo new file mode 100644 index 000000000000..42b397b4d91f --- /dev/null +++ b/app-antivirus/clamav/files/clamav-milter.README.gentoo @@ -0,0 +1,60 @@ +Nick Hadaway +raker@gentoo.org +10/27/2003 +Setting up clamav-milter on Gentoo Linux + + +Step 1 - Configure clamd + + mv /etc/clamav.conf /etc/clamav.conf.dist + nano -w /etc/clamav.conf + + # This is my /etc/clamav.conf + LogFile /tmp/clamd.log + LogFileMaxSize 16M + LogTime + LogSyslog + PidFile /var/run/clamd.pid + DataDirectory /usr/share/clamav + LocalSocket /var/run/clamd.sock + StreamSaveToDisk + MaxDirectoryRecursion 15 + ScanMail + ScanArchive + ArchiveMaxFileSize 10M + ArchiveMaxRecursion 5 + ArchiveMaxFiles 1000 + +Step 2 - Tell the init script to start clamd as well as freshclam + + nano -w /etc/conf.d/clamd + + START_CLAMD=yes + +Step 3 - Start clamd + + /etc/init.d/clamd start + +Step 4 - Edit sendmail.mc + + Add these lines to sendmail.mc before any any other + INPUT_MAIL_FILTER lines and before MAILER(local) + NOTE: ANY INPUT_MAIL_FILTER definitions put before these lines + will be discarded due to the use of confINPUT_MAIL_FILTERS + Make this your first mail filter. :) + + INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clmilter.sock, F=, T=S:4m;R:4m')dnl + define(`confINPUT_MAIL_FILTERS', `clmilter')dnl + +Step 5 - Rebuild sendmail.cf + + cd /etc/mail + m4 sendmail.mc > sendmail.cf + +Step 6 - Start clamav-milter + + /usr/sbin/clamav-milter -blo /var/run/clmilter.sock + +Step 7 - Restart sendmail + + /etc/init.d/sendmail restart diff --git a/app-antivirus/clamav/files/clamd.conf b/app-antivirus/clamav/files/clamd.conf new file mode 100644 index 000000000000..94be9e1e8408 --- /dev/null +++ b/app-antivirus/clamav/files/clamd.conf @@ -0,0 +1,9 @@ +# Config file for /etc/init.d/clamd + +START_CLAMD=no +CLAMD_OPTS="" +CLAMD_LOG="" + +START_FRESHCLAM=yes +FRESHCLAM_OPTS="-d -c 2" +FRESHCLAM_LOG="/var/log/clam-update.log" diff --git a/app-antivirus/clamav/files/clamd.rc b/app-antivirus/clamav/files/clamd.rc new file mode 100644 index 000000000000..3f0feaaf35a3 --- /dev/null +++ b/app-antivirus/clamav/files/clamd.rc @@ -0,0 +1,48 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/files/clamd.rc,v 1.1 2004/05/30 00:27:23 robbat2 Exp $ + +depend() { + need net +} + +start() { + if [ "${START_CLAMD}" = "yes" ]; then + if [ -S "/tmp/clamd" ]; then + rm -f /tmp/clamd + fi + if [ -n "${CLAMD_LOG}" -a ! -f "${CLAMD_LOG}" ]; then + touch "${CLAMD_LOG}" + chown clamav:clamav "${CLAMD_LOG}" + fi + ebegin "Starting clamd" + start-stop-daemon --start --quiet \ + --exec /usr/sbin/clamd -- ${CLAMD_OPTS} + eend $? "Failed to start clamd" + fi + if [ "${START_FRESHCLAM}" = "yes" ]; then + if [ -n "${FRESHCLAM_LOG}" -a ! -f "${FRESHCLAM_LOG}" ]; then + touch "${FRESHCLAM_LOG}" + chown clamav:clamav "${FRESHCLAM_LOG}" + FRESHCLAM_OPTS="${FRESHCLAM_OPTS} -l ${FRESHCLAM_LOG}" + fi + ebegin "Starting freshclam" + start-stop-daemon --start --quiet \ + --exec /usr/bin/freshclam -- ${FRESHCLAM_OPTS} -l ${FRESHCLAM_LOG} + eend $? "Failed to start freshclam" + fi +} + +stop() { + if [ "${START_CLAMD}" = "yes" ]; then + ebegin "Stopping clamd" + start-stop-daemon --stop --quiet --name clamd + eend $? "Failed to stop clamd" + fi + if [ "${START_FRESHCLAM}" = "yes" ]; then + ebegin "Stopping freshclam" + start-stop-daemon --stop --quiet --name freshclam + eend $? "Failed to stop freshclam" + fi +} diff --git a/app-antivirus/clamav/files/digest-clamav-0.67 b/app-antivirus/clamav/files/digest-clamav-0.67 new file mode 100644 index 000000000000..65890f38b9a8 --- /dev/null +++ b/app-antivirus/clamav/files/digest-clamav-0.67 @@ -0,0 +1 @@ +MD5 6d854be864037f82fef1457bb9cabdff clamav-0.67.tar.gz 2279656 diff --git a/app-antivirus/clamav/files/digest-clamav-0.68.1 b/app-antivirus/clamav/files/digest-clamav-0.68.1 new file mode 100644 index 000000000000..1e9f26242fa5 --- /dev/null +++ b/app-antivirus/clamav/files/digest-clamav-0.68.1 @@ -0,0 +1 @@ +MD5 3986d26d2fd17bcd133def5d73665b0f clamav-0.68-1.tar.gz 2170863 diff --git a/app-antivirus/clamav/files/digest-clamav-0.70 b/app-antivirus/clamav/files/digest-clamav-0.70 new file mode 100644 index 000000000000..fcb278d02897 --- /dev/null +++ b/app-antivirus/clamav/files/digest-clamav-0.70 @@ -0,0 +1 @@ +MD5 2599a2e6b06d1f8ca09fdef8bc17625c clamav-0.70.tar.gz 2347104 diff --git a/app-antivirus/clamav/files/digest-clamav-0.71 b/app-antivirus/clamav/files/digest-clamav-0.71 new file mode 100644 index 000000000000..71d65b01b825 --- /dev/null +++ b/app-antivirus/clamav/files/digest-clamav-0.71 @@ -0,0 +1 @@ +MD5 096cffd2633cbac5a14b7080b6f67a67 clamav-0.71.tar.gz 2607615 diff --git a/app-antivirus/clamav/metadata.xml b/app-antivirus/clamav/metadata.xml new file mode 100644 index 000000000000..0f4f00996a87 --- /dev/null +++ b/app-antivirus/clamav/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>net-mail</herd> +<herd>antivirus</herd> +</pkgmetadata> |