summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPreston A. Elder <prez@gentoo.org>2003-04-19 23:18:35 +0000
committerPreston A. Elder <prez@gentoo.org>2003-04-19 23:18:35 +0000
commit47ac75c546c411917c406e217a972db17110973f (patch)
treea8b75ea87a89070074d9fdaee5ed4c114e0eb8b6 /net-mail/qmail-scanner
parentadd libwww-perl dependency, fix cvs header in ebuild (diff)
downloadhistorical-47ac75c546c411917c406e217a972db17110973f.tar.gz
historical-47ac75c546c411917c406e217a972db17110973f.tar.bz2
historical-47ac75c546c411917c406e217a972db17110973f.zip
Added 1.16-r1, using virtual/virus.
Diffstat (limited to 'net-mail/qmail-scanner')
-rw-r--r--net-mail/qmail-scanner/ChangeLog7
-rw-r--r--net-mail/qmail-scanner/files/digest-qmail-scanner-1.16-r11
-rw-r--r--net-mail/qmail-scanner/qmail-scanner-1.16-r1.ebuild86
3 files changed, 93 insertions, 1 deletions
diff --git a/net-mail/qmail-scanner/ChangeLog b/net-mail/qmail-scanner/ChangeLog
index 3a9789dd2f43..465e44922fd1 100644
--- a/net-mail/qmail-scanner/ChangeLog
+++ b/net-mail/qmail-scanner/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-mail/qmail-scanner
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/qmail-scanner/ChangeLog,v 1.8 2003/02/15 19:36:57 raker Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/qmail-scanner/ChangeLog,v 1.9 2003/04/19 23:18:35 prez Exp $
+
+*qmail-scanner-1.16-r1 (19 Apr 2003)
+
+ 19 Apr 2003; Preston A. Elder <prez@gentoo.org> qmail-scanner-1.16-r1.ebuild,
+ Made dependant on virtual/virus not f-prot specifically.
*qmail-scanner-1.16 (15 Feb 2003)
diff --git a/net-mail/qmail-scanner/files/digest-qmail-scanner-1.16-r1 b/net-mail/qmail-scanner/files/digest-qmail-scanner-1.16-r1
new file mode 100644
index 000000000000..8cd551a81271
--- /dev/null
+++ b/net-mail/qmail-scanner/files/digest-qmail-scanner-1.16-r1
@@ -0,0 +1 @@
+MD5 37b89fc12ef602886fe2bed7a2551309 qmail-scanner-1.16.tgz 117703
diff --git a/net-mail/qmail-scanner/qmail-scanner-1.16-r1.ebuild b/net-mail/qmail-scanner/qmail-scanner-1.16-r1.ebuild
new file mode 100644
index 000000000000..1a941cfa71a3
--- /dev/null
+++ b/net-mail/qmail-scanner/qmail-scanner-1.16-r1.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/qmail-scanner/qmail-scanner-1.16-r1.ebuild,v 1.1 2003/04/19 23:18:35 prez Exp $
+
+S=${WORKDIR}/${P}
+
+DESCRIPTION="E-Mail virus scanner for qmail."
+HOMEPAGE="http://qmail-scanner.sourceforge.net/"
+SRC_URI="mirror://sourceforge/qmail-scanner/${P}.tgz"
+
+DEPEND=">=dev-lang/perl-5.6.1-r1
+ >=dev-perl/Time-HiRes-01.20-r2
+ >=net-mail/tnef-1.1.1
+ >=net-mail/maildrop-1.3.9
+ >=dev-perl/DB_File-1.803-r2
+ >=net-mail/qmail-1.03-r8
+ >=app-arch/unzip-5.42-r1
+ virtual/virus"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~sparc"
+
+src_compile () {
+ yes | PATH=${PATH}:/opt/f-prot ./configure \
+ --domain localhost \
+ || die "./configure failed!"
+}
+
+src_install () {
+
+ # Create Directory Structure
+ diropts -m 755 -o qmailq -g qmail
+ dodir /var/spool/qmailscan
+ keepdir /var/spool/qmailscan
+ dodir /var/spool/qmailscan/quarantine
+ keepdir /var/spool/qmailscan/quarantine
+ dodir /var/spool/qmailscan/quarantine/tmp
+ keepdir /var/spool/qmailscan/quarantine/tmp
+ dodir /var/spool/qmailscan/quarantine/new
+ keepdir /var/spool/qmailscan/quarantine/new
+ dodir /var/spool/qmailscan/quarantine/cur
+ keepdir /var/spool/qmailscan/quarantine/cur
+ dodir /var/spool/qmailscan/working
+ keepdir /var/spool/qmailscan/working
+ dodir /var/spool/qmailscan/working/tmp
+ keepdir /var/spool/qmailscan/working/tmp
+ dodir /var/spool/qmailscan/working/new
+ keepdir /var/spool/qmailscan/working/new
+ dodir /var/spool/qmailscan/working/cur
+ keepdir /var/spool/qmailscan/working/cur
+ dodir /var/spool/qmailscan/archive
+ keepdir /var/spool/qmailscan/archive
+ dodir /var/spool/qmailscan/archive/tmp
+ keepdir /var/spool/qmailscan/archive/tmp
+ dodir /var/spool/qmailscan/archive/new
+ keepdir /var/spool/qmailscan/archive/new
+ dodir /var/spool/qmailscan/archive/cur
+ keepdir /var/spool/qmailscan/archive/cur
+
+ # Install standard quarantine attachments file
+ insinto /var/spool/qmailscan
+ insopts -m 644 -o qmailq -g qmail
+ doins quarantine-attachments.txt
+
+ # Install qmail-scanner script
+ insinto /var/qmail/bin
+ insopts -m 4755 -o qmailq -g qmail
+ doins qmail-scanner-queue.pl
+
+ # Install documentation
+ dodoc README CHANGES COPYING
+ dohtml README.html
+}
+
+pkg_postinst () {
+ # Setup perlscanner + Version Info
+ /var/qmail/bin/qmail-scanner-queue.pl -z
+ /var/qmail/bin/qmail-scanner-queue.pl -g
+
+ einfo
+ einfo "NOTICE:"
+ einfo "Set QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl"
+ einfo "in your /etc/tcp.smtp file to activate qmail-scanner."
+ einfo
+}