summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2004-05-30 00:27:23 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2004-05-30 00:27:23 +0000
commit781bfbde809cb0e30053d8bc096672e308dbdd1b (patch)
tree5ff5eaa9a27baca71d92dd9c4e3ede429ab8e54e /app-antivirus
parentnew categories from net-mail splittup (diff)
downloadhistorical-781bfbde809cb0e30053d8bc096672e308dbdd1b.tar.gz
historical-781bfbde809cb0e30053d8bc096672e308dbdd1b.tar.bz2
historical-781bfbde809cb0e30053d8bc096672e308dbdd1b.zip
move net-mail/clamav app-antivirus/clamav
Diffstat (limited to 'app-antivirus')
-rw-r--r--app-antivirus/clamav/ChangeLog151
-rw-r--r--app-antivirus/clamav/Manifest13
-rw-r--r--app-antivirus/clamav/clamav-0.67.ebuild48
-rw-r--r--app-antivirus/clamav/clamav-0.68.1.ebuild50
-rw-r--r--app-antivirus/clamav/clamav-0.70.ebuild52
-rw-r--r--app-antivirus/clamav/clamav-0.71.ebuild52
-rw-r--r--app-antivirus/clamav/files/clamav-milter.README.gentoo60
-rw-r--r--app-antivirus/clamav/files/clamd.conf9
-rw-r--r--app-antivirus/clamav/files/clamd.rc48
-rw-r--r--app-antivirus/clamav/files/digest-clamav-0.671
-rw-r--r--app-antivirus/clamav/files/digest-clamav-0.68.11
-rw-r--r--app-antivirus/clamav/files/digest-clamav-0.701
-rw-r--r--app-antivirus/clamav/files/digest-clamav-0.711
-rw-r--r--app-antivirus/clamav/metadata.xml6
-rw-r--r--app-antivirus/f-prot/Manifest14
-rw-r--r--app-antivirus/vlnx/Manifest8
16 files changed, 515 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..8c2023071080
--- /dev/null
+++ b/app-antivirus/clamav/Manifest
@@ -0,0 +1,13 @@
+MD5 7020ec0ef15b13b5ee4f3ccd36ed1f64 clamav-0.71.ebuild 1431
+MD5 a8c950257f8608454f37e47fadef4548 clamav-0.67.ebuild 1324
+MD5 d5f2e9e88793a7e6e05354878ce4ab89 clamav-0.70.ebuild 1425
+MD5 64dd2c71d8cc197fa7f1677d0c927f7b ChangeLog 5261
+MD5 bd92b81fb7f8dd8a7d65b5a4fe282b05 clamav-0.68.1.ebuild 1411
+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 a5161819927c7692066780933a3d1591 files/clamd.rc 1392
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>
diff --git a/app-antivirus/f-prot/Manifest b/app-antivirus/f-prot/Manifest
new file mode 100644
index 000000000000..a2cbe4d7ff22
--- /dev/null
+++ b/app-antivirus/f-prot/Manifest
@@ -0,0 +1,14 @@
+MD5 239dd4598dc7c99f18a1d8fc7535eaf8 f-prot-4.2.1.ebuild 1060
+MD5 c7b6107216c9fb3279401646d1a5ea26 f-prot-4.3.1.ebuild 1060
+MD5 bbfcc80165ccfb1d70981982a033e7ca f-prot-4.4.1.ebuild 1124
+MD5 34022d6eb59ea0f4da651d42a3e64cde f-prot-4.3.5.ebuild 1124
+MD5 54e84e36a87c41bc586b0c40fd785837 f-prot-4.3.0.ebuild 1061
+MD5 44cefc9c88dbae934bbb44e4b723e503 ChangeLog 3350
+MD5 45b42e062b70460f0304d1ebe48d82ab metadata.xml 218
+MD5 a0d8a4b2496ccf4e4e81411bd7f14d4d f-prot-4.3.2.ebuild 1124
+MD5 aca1bdab97a08537bf776f637aa6cb38 files/digest-f-prot-4.2.1 70
+MD5 fe21444540d27c390e9b614d62f5c839 files/digest-f-prot-4.3.0 70
+MD5 e19967ada0b4a8864988cc04b6cc8521 files/digest-f-prot-4.3.1 70
+MD5 835269ea994ea7f625aeca865052ac09 files/digest-f-prot-4.3.2 70
+MD5 16f6aa441ded8d0246eabe77933894b0 files/digest-f-prot-4.3.5 70
+MD5 6ed6ab62b8c5b373a83eebf95a9a0e8c files/digest-f-prot-4.4.1 70
diff --git a/app-antivirus/vlnx/Manifest b/app-antivirus/vlnx/Manifest
new file mode 100644
index 000000000000..cc62415a5df9
--- /dev/null
+++ b/app-antivirus/vlnx/Manifest
@@ -0,0 +1,8 @@
+MD5 70c2e16e2902b69230c0d946ab3495cb vlnx-414e-r2.ebuild 1067
+MD5 f3ea8198d29966e157df72aaadfdc271 vlnx-416e.ebuild 999
+MD5 5bc537f6aa43633660c3f7b206d35f1a ChangeLog 1986
+MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161
+MD5 5a856af918b22adc1ae21917d9910052 files/vlnx-416e-envd 41
+MD5 b3adc49af0bcd712e302e8b8a05d0a16 files/digest-vlnx-416e 119
+MD5 5a856af918b22adc1ae21917d9910052 files/vlnx-414e-envd 41
+MD5 15edffaa6916d8c80256fe7fb6c6317c files/digest-vlnx-414e-r2 119