diff options
-rw-r--r-- | mail/Makefile | 1 | ||||
-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 |
6 files changed, 80 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile index 950ce40a4a87..91373c92b3f2 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -252,6 +252,7 @@ SUBDIR += p5-Mail-RBL SUBDIR += p5-Mail-RFC822-Address SUBDIR += p5-Mail-SPF-Query + SUBDIR += p5-Mail-SRS SUBDIR += p5-Mail-Sender SUBDIR += p5-Mail-Sendmail SUBDIR += p5-Mail-SpamAssassin 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 |