diff options
author | Nick Hadaway <raker@gentoo.org> | 2003-01-22 00:22:10 +0000 |
---|---|---|
committer | Nick Hadaway <raker@gentoo.org> | 2003-01-22 00:22:10 +0000 |
commit | 10b3c9965c6d08fe038845f9222ec8e08031d835 (patch) | |
tree | 06d4fc5bf3c3e3ad2e49b871a5aec843d182b8eb /net-mail/qmail-scanner | |
parent | New version (diff) | |
download | gentoo-2-10b3c9965c6d08fe038845f9222ec8e08031d835.tar.gz gentoo-2-10b3c9965c6d08fe038845f9222ec8e08031d835.tar.bz2 gentoo-2-10b3c9965c6d08fe038845f9222ec8e08031d835.zip |
Version bump. This one should be compatible with perl-5.8
Diffstat (limited to 'net-mail/qmail-scanner')
-rw-r--r-- | net-mail/qmail-scanner/ChangeLog | 8 | ||||
-rw-r--r-- | net-mail/qmail-scanner/files/digest-qmail-scanner-1.15 | 1 | ||||
-rw-r--r-- | net-mail/qmail-scanner/qmail-scanner-1.15.ebuild | 73 |
3 files changed, 81 insertions, 1 deletions
diff --git a/net-mail/qmail-scanner/ChangeLog b/net-mail/qmail-scanner/ChangeLog index a38a3d631daf..34ec1b32e53f 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 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/qmail-scanner/ChangeLog,v 1.5 2002/12/13 11:00:08 blizzy Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/qmail-scanner/ChangeLog,v 1.6 2003/01/22 00:22:10 raker Exp $ + +*qmail-scanner-1.15 (21 Jan 2003) + + 21 Jan 2003; Nick Hadaway <raker@gentoo.org> qmail-scanner-1.15.ebulid, + files/digest-qmail-scanner-1.15 : + Version bump. This one should be compatible with perl-5.8 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords diff --git a/net-mail/qmail-scanner/files/digest-qmail-scanner-1.15 b/net-mail/qmail-scanner/files/digest-qmail-scanner-1.15 new file mode 100644 index 000000000000..4540e222ea88 --- /dev/null +++ b/net-mail/qmail-scanner/files/digest-qmail-scanner-1.15 @@ -0,0 +1 @@ +MD5 3d81a80d6ae5f25377a2828e9b0a60d0 qmail-scanner-1.15.tgz 144287 diff --git a/net-mail/qmail-scanner/qmail-scanner-1.15.ebuild b/net-mail/qmail-scanner/qmail-scanner-1.15.ebuild new file mode 100644 index 000000000000..42385e64076e --- /dev/null +++ b/net-mail/qmail-scanner/qmail-scanner-1.15.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.15.ebuild,v 1.1 2003/01/22 00:22:10 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 + >=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-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 + 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 +} |