diff options
author | Oliver Eikemeier <eik@FreeBSD.org> | 2004-05-27 12:01:02 +0000 |
---|---|---|
committer | Oliver Eikemeier <eik@FreeBSD.org> | 2004-05-27 12:01:02 +0000 |
commit | 58ce00a575a2513d7bfa31ad1649db6147455354 (patch) | |
tree | 274768206b49f34c3c1ef4530b2b599074b1c3ca /mail/p5-Mail-SRS | |
parent | ed754524b9978e10c97a789205e56ace5bd49c28 (diff) |
add Mail::SRS - Interface to Sender Rewriting Scheme
PR: 67118
Submitted by: snowchyld@mokney.org
Reviewed by: mat
Notes
Notes:
svn path=/head/; revision=110125
Diffstat (limited to 'mail/p5-Mail-SRS')
-rw-r--r-- | mail/p5-Mail-SRS/Makefile | 35 | ||||
-rw-r--r-- | mail/p5-Mail-SRS/distinfo | 2 | ||||
-rw-r--r-- | mail/p5-Mail-SRS/files/patch-Makefile.PL | 23 | ||||
-rw-r--r-- | mail/p5-Mail-SRS/pkg-descr | 5 | ||||
-rw-r--r-- | mail/p5-Mail-SRS/pkg-plist | 14 |
5 files changed, 79 insertions, 0 deletions
diff --git a/mail/p5-Mail-SRS/Makefile b/mail/p5-Mail-SRS/Makefile new file mode 100644 index 000000000000..32b376f8c8fa --- /dev/null +++ b/mail/p5-Mail-SRS/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: p5-Mail-SRS +# Date created: 24 May 2004 +# Whom: snowchyld +# +# $FreeBSD$ +# + +PORTNAME= Mail-SRS +PORTVERSION= 0.30 +CATEGORIES= mail perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Mail +PKGNAMEPREFIX= p5- + +MAINTAINER= mail-srs-bsd-port@snowchyld.org +COMMENT= Sender Rewriting Scheme + +BUILD_DEPENDS= ${SITE_PERL}/Digest/HMAC_SHA1.pm:${PORTSDIR}/security/p5-Digest-HMAC \ + ${SITE_PERL}/MLDBM.pm:${PORTSDIR}/databases/p5-MLDBM \ + ${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long \ + ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable +RUN_DEPENDS= ${BUILD_DEPENDS} + +MAN3= Mail::SRS.3 \ + Mail::SRS::DB.3 \ + Mail::SRS::Daemon.3 \ + Mail::SRS::Guarded.3 \ + Mail::SRS::Reversible.3 \ + Mail::SRS::Shortcut.3 +MAN1= srs.1 \ + srsd.1 + +PERL_CONFIGURE= yes + +.include <bsd.port.mk> diff --git a/mail/p5-Mail-SRS/distinfo b/mail/p5-Mail-SRS/distinfo new file mode 100644 index 000000000000..59e003023dae --- /dev/null +++ b/mail/p5-Mail-SRS/distinfo @@ -0,0 +1,2 @@ +MD5 (Mail-SRS-0.30.tar.gz) = 042c49598e0a71b8dfeb78d9e642e032 +SIZE (Mail-SRS-0.30.tar.gz) = 26296 diff --git a/mail/p5-Mail-SRS/files/patch-Makefile.PL b/mail/p5-Mail-SRS/files/patch-Makefile.PL new file mode 100644 index 000000000000..a5dc3364d017 --- /dev/null +++ b/mail/p5-Mail-SRS/files/patch-Makefile.PL @@ -0,0 +1,23 @@ +--- Makefile.PL.orig Tue Feb 24 21:35:53 2004 ++++ Makefile.PL Thu May 27 13:27:13 2004 +@@ -1,18 +1,9 @@ +-use 5.006; + use ExtUtils::MakeMaker; + + # Thanks to YAML + my @programs = (); +-for (split "\n", <<'QUERIES') { +-srs|y|SRS command line interface +-srsd|y|SRS address translation daemon +-QUERIES +- my ($program, $default, $description) = split /\|/, $_; +- if (prompt("Do you want to install '$program', the $description?", +- $default) =~ /^y/) { +- push(@programs, $program); +- } +-} ++push(@programs, "srs"); ++push(@programs, "srsd"); + + WriteMakefile( + 'NAME' => 'Mail::SRS', diff --git a/mail/p5-Mail-SRS/pkg-descr b/mail/p5-Mail-SRS/pkg-descr new file mode 100644 index 000000000000..0d1bdd63eb7d --- /dev/null +++ b/mail/p5-Mail-SRS/pkg-descr @@ -0,0 +1,5 @@ +Mail::SRS provides an interface to the Sender Rewriting Scheme . + +WWW: http://www.anarres.org/projects/srs/ +- snowchyld + <mail-srs-bsd-port@snowchyld.org> diff --git a/mail/p5-Mail-SRS/pkg-plist b/mail/p5-Mail-SRS/pkg-plist new file mode 100644 index 000000000000..d8be1ed57871 --- /dev/null +++ b/mail/p5-Mail-SRS/pkg-plist @@ -0,0 +1,14 @@ +%%SITE_PERL%%/Mail/SRS/DB.pm +%%SITE_PERL%%/Mail/SRS/Daemon.pm +%%SITE_PERL%%/Mail/SRS/Guarded.pm +%%SITE_PERL%%/Mail/SRS/Reversable.pm +%%SITE_PERL%%/Mail/SRS/Reversible.pm +%%SITE_PERL%%/Mail/SRS/Shortcut.pm +%%SITE_PERL%%/Mail/SRS.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail/SRS/.packlist +bin/srs +bin/srsd +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail/SRS +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail 2>/dev/null || true +@dirrm %%SITE_PERL%%/Mail/SRS +@unexec rmdir %D/%%SITE_PERL%%/Mail 2>/dev/null || true |