diff options
author | Nick Hadaway <raker@gentoo.org> | 2002-08-15 23:22:29 +0000 |
---|---|---|
committer | Nick Hadaway <raker@gentoo.org> | 2002-08-15 23:22:29 +0000 |
commit | 62b6aeaec6b8feb5d8730aa04cbbfb86b4e016c4 (patch) | |
tree | 17e0891ff35026191cb1beee686866dab24deed7 /net-mail/qmail-scanner | |
parent | Updated incorrect coding syntax for the tls+ipv6 patch. (diff) | |
download | gentoo-2-62b6aeaec6b8feb5d8730aa04cbbfb86b4e016c4.tar.gz gentoo-2-62b6aeaec6b8feb5d8730aa04cbbfb86b4e016c4.tar.bz2 gentoo-2-62b6aeaec6b8feb5d8730aa04cbbfb86b4e016c4.zip |
Version bump.
Diffstat (limited to 'net-mail/qmail-scanner')
-rw-r--r-- | net-mail/qmail-scanner/ChangeLog | 11 | ||||
-rw-r--r-- | net-mail/qmail-scanner/files/digest-qmail-scanner-1.13 | 1 | ||||
-rw-r--r-- | net-mail/qmail-scanner/qmail-scanner-1.13.ebuild | 73 |
3 files changed, 82 insertions, 3 deletions
diff --git a/net-mail/qmail-scanner/ChangeLog b/net-mail/qmail-scanner/ChangeLog index c2502967efc8..704a9f299c71 100644 --- a/net-mail/qmail-scanner/ChangeLog +++ b/net-mail/qmail-scanner/ChangeLog @@ -1,10 +1,15 @@ # ChangeLog for net-mail/qmail-scanner # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/qmail-scanner/ChangeLog,v 1.1 2002/07/17 06:38:03 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/qmail-scanner/ChangeLog,v 1.2 2002/08/15 23:22:29 raker Exp $ + +*qmail-scanner-1.13 (15 Aug 2002) + + 15 Aug 2002; Nick Hadaway <raker@gentoo.org> + qmail-scanner-1.13.ebuild, files/digest-qmail-scanner-1.13 : + Version bump. *qmail-scanner-1.12-r1 (12 Jun 2002) 12 Jun 2002; Grant Goodyear <g2boojum@gentoo.org> - qmail-scanner-1.12-r1.ebuild files/digest-qmail-scanner-1.12-r1 : - + qmail-scanner-1.12-r1.ebuild, files/digest-qmail-scanner-1.12-r1 : Unmasked because upstream fixed some bugs. diff --git a/net-mail/qmail-scanner/files/digest-qmail-scanner-1.13 b/net-mail/qmail-scanner/files/digest-qmail-scanner-1.13 new file mode 100644 index 000000000000..f2bef7c26abf --- /dev/null +++ b/net-mail/qmail-scanner/files/digest-qmail-scanner-1.13 @@ -0,0 +1 @@ +MD5 45c4e2cb1c07bf7849b29a6f3a3f1524 qmail-scanner-1.13.tgz 126048 diff --git a/net-mail/qmail-scanner/qmail-scanner-1.13.ebuild b/net-mail/qmail-scanner/qmail-scanner-1.13.ebuild new file mode 100644 index 000000000000..c153340fd6ff --- /dev/null +++ b/net-mail/qmail-scanner/qmail-scanner-1.13.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2002 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.13.ebuild,v 1.1 2002/08/15 23:22:29 raker Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="E-Mail virus scanner for qmail." +HOMEPAGE="http://qmail-scanner.sourceforge.net" +SRC_URI="http://dl.sourceforge.net/qmail-scanner/${P}.tgz" + + +DEPEND=">=sys-devel/perl-5.6.1-r1 + >=dev-perl/Time-HiRes-01.20 + >=net-mail/tnef-1.1.1 + >=net-mail/f-prot-3.12a + >=net-mail/maildrop-1.3.9 + >=dev-perl/DB_File-1.803 + >=net-mail/qmail-1.03-r8 + >=app-arch/unzip-5.42-r1" + +SLOT="0" +LICENSE="GPL" +KEYWORDS="x86 sparc sparc64" + +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 + dodir /var/spool/qmailscan/quarantine + dodir /var/spool/qmailscan/quarantine/tmp + dodir /var/spool/qmailscan/quarantine/new + dodir /var/spool/qmailscan/quarantine/cur + dodir /var/spool/qmailscan/working + dodir /var/spool/qmailscan/working/tmp + dodir /var/spool/qmailscan/working/new + dodir /var/spool/qmailscan/working/cur + dodir /var/spool/qmailscan/archive + dodir /var/spool/qmailscan/archive/tmp + dodir /var/spool/qmailscan/archive/new + dodir /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 +} |