diff options
author | Nick Hadaway <raker@gentoo.org> | 2003-02-15 19:36:57 +0000 |
---|---|---|
committer | Nick Hadaway <raker@gentoo.org> | 2003-02-15 19:36:57 +0000 |
commit | b3ef26bae2cae948252b84dabeb49dc2cbf58218 (patch) | |
tree | 52b0fbad0a66aab35e60eac3d0364466052c8fc1 /net-mail | |
parent | Added mips to keywords (diff) | |
download | historical-b3ef26bae2cae948252b84dabeb49dc2cbf58218.tar.gz historical-b3ef26bae2cae948252b84dabeb49dc2cbf58218.tar.bz2 historical-b3ef26bae2cae948252b84dabeb49dc2cbf58218.zip |
Version bump.
Diffstat (limited to 'net-mail')
-rw-r--r-- | net-mail/qmail-scanner/ChangeLog | 8 | ||||
-rw-r--r-- | net-mail/qmail-scanner/files/digest-qmail-scanner-1.16 | 1 | ||||
-rw-r--r-- | net-mail/qmail-scanner/qmail-scanner-1.16.ebuild | 86 |
3 files changed, 94 insertions, 1 deletions
diff --git a/net-mail/qmail-scanner/ChangeLog b/net-mail/qmail-scanner/ChangeLog index 2a43a171414d..3a9789dd2f43 100644 --- a/net-mail/qmail-scanner/ChangeLog +++ b/net-mail/qmail-scanner/ChangeLog @@ -1,6 +1,12 @@ # 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.7 2003/02/12 08:15:11 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/qmail-scanner/ChangeLog,v 1.8 2003/02/15 19:36:57 raker Exp $ + +*qmail-scanner-1.16 (15 Feb 2003) + + 15 Feb 2003; Nick Hadaway <raker@gentoo.org> qmail-scanner-1.16.ebuild, + files/digest-qmail-scanner-1.16 : + Version bump. Adds keepdir stuff to /var directories. *qmail-scanner-1.15 (21 Jan 2003) diff --git a/net-mail/qmail-scanner/files/digest-qmail-scanner-1.16 b/net-mail/qmail-scanner/files/digest-qmail-scanner-1.16 new file mode 100644 index 000000000000..8cd551a81271 --- /dev/null +++ b/net-mail/qmail-scanner/files/digest-qmail-scanner-1.16 @@ -0,0 +1 @@ +MD5 37b89fc12ef602886fe2bed7a2551309 qmail-scanner-1.16.tgz 117703 diff --git a/net-mail/qmail-scanner/qmail-scanner-1.16.ebuild b/net-mail/qmail-scanner/qmail-scanner-1.16.ebuild new file mode 100644 index 000000000000..2b7701363c8e --- /dev/null +++ b/net-mail/qmail-scanner/qmail-scanner-1.16.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.ebuild,v 1.1 2003/02/15 19:36:57 raker 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=">=sys-devel/perl-5.6.1-r1 + >=dev-perl/Time-HiRes-01.20-r2 + >=net-mail/tnef-1.1.1 + >=net-mail/f-prot-3.12a + >=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" + +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 +} |