From ecf6ab17869f4356a69c40ecee34dda26c300237 Mon Sep 17 00:00:00 2001 From: Nick Hadaway Date: Mon, 7 Oct 2002 13:27:17 +0000 Subject: Cleaned out crusty ebuilds. 1.14 has some fixes for admin alerts and for usage with SpamAssassin... Closes bug #8422 --- net-mail/qmail-scanner/ChangeLog | 9 ++- .../files/digest-qmail-scanner-1.12-r1 | 1 - .../qmail-scanner/files/digest-qmail-scanner-1.14 | 1 + .../qmail-scanner/qmail-scanner-1.12-r1.ebuild | 73 --------------------- net-mail/qmail-scanner/qmail-scanner-1.14.ebuild | 74 ++++++++++++++++++++++ 5 files changed, 83 insertions(+), 75 deletions(-) delete mode 100644 net-mail/qmail-scanner/files/digest-qmail-scanner-1.12-r1 create mode 100644 net-mail/qmail-scanner/files/digest-qmail-scanner-1.14 delete mode 100644 net-mail/qmail-scanner/qmail-scanner-1.12-r1.ebuild create mode 100644 net-mail/qmail-scanner/qmail-scanner-1.14.ebuild (limited to 'net-mail/qmail-scanner') diff --git a/net-mail/qmail-scanner/ChangeLog b/net-mail/qmail-scanner/ChangeLog index 704a9f299c71..e8d01262cb22 100644 --- a/net-mail/qmail-scanner/ChangeLog +++ b/net-mail/qmail-scanner/ChangeLog @@ -1,6 +1,13 @@ # 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.2 2002/08/15 23:22:29 raker Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/qmail-scanner/ChangeLog,v 1.3 2002/10/07 13:27:17 raker Exp $ + +*qmail-scanner-1.14 (07 Oct 2002) + + 17 Oct 2002; Nick Hadaway + qmail-scanner-1.14.ebuild, files/digest-qmail-scanner-1.14 : + Version bump. Fixes some bugs with alert reporting and for usage with + SpamAssassin. *qmail-scanner-1.13 (15 Aug 2002) diff --git a/net-mail/qmail-scanner/files/digest-qmail-scanner-1.12-r1 b/net-mail/qmail-scanner/files/digest-qmail-scanner-1.12-r1 deleted file mode 100644 index 46a52cdfbb94..000000000000 --- a/net-mail/qmail-scanner/files/digest-qmail-scanner-1.12-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 a0e60f61d363b0675f443fa3fcdcd9ec qmail-scanner-1.12.tgz 115488 diff --git a/net-mail/qmail-scanner/files/digest-qmail-scanner-1.14 b/net-mail/qmail-scanner/files/digest-qmail-scanner-1.14 new file mode 100644 index 000000000000..e4037b4d9cbb --- /dev/null +++ b/net-mail/qmail-scanner/files/digest-qmail-scanner-1.14 @@ -0,0 +1 @@ +MD5 cee9cea651a614793ec1b642c3fa782c qmail-scanner-1.14.tgz 113087 diff --git a/net-mail/qmail-scanner/qmail-scanner-1.12-r1.ebuild b/net-mail/qmail-scanner/qmail-scanner-1.12-r1.ebuild deleted file mode 100644 index 65a967efad48..000000000000 --- a/net-mail/qmail-scanner/qmail-scanner-1.12-r1.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# 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.12-r1.ebuild,v 1.4 2002/09/23 21:55:51 vapier 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 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 -} diff --git a/net-mail/qmail-scanner/qmail-scanner-1.14.ebuild b/net-mail/qmail-scanner/qmail-scanner-1.14.ebuild new file mode 100644 index 000000000000..3ff391c64984 --- /dev/null +++ b/net-mail/qmail-scanner/qmail-scanner-1.14.ebuild @@ -0,0 +1,74 @@ +# 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.14.ebuild,v 1.1 2002/10/07 13:27:17 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" +RDEPEND="${DEPEND}" + +SLOT="0" +LICENSE="GPL-2" +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 +} -- cgit v1.2.3-65-gdbad