summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/p5-Mail-SRS/DESCR14
-rw-r--r--mail/p5-Mail-SRS/Makefile23
-rw-r--r--mail/p5-Mail-SRS/PLIST1
-rw-r--r--mail/p5-Mail-SRS/distinfo5
-rw-r--r--mail/p5-Mail-SRS/patches/patch-aa27
5 files changed, 70 insertions, 0 deletions
diff --git a/mail/p5-Mail-SRS/DESCR b/mail/p5-Mail-SRS/DESCR
new file mode 100644
index 00000000000..81f26306e40
--- /dev/null
+++ b/mail/p5-Mail-SRS/DESCR
@@ -0,0 +1,14 @@
+The Sender Rewriting Scheme preserves .forward functionality in an
+SPF-compliant world.
+
+SPF requires the SMTP client IP to match the envelope sender
+(return-path). When a message is forwarded through an intermediate
+server, that intermediate server may need to rewrite the return-path to
+remain SPF compliant. If the message bounces, that intermediate server
+needs to validate the bounce and forward the bounce to the original
+sender.
+
+SRS provides a convention for return-path rewriting which allows
+multiple forwarding servers to compact the return-path. SRS also
+provides an authentication mechanism to ensure that purported bounces
+are not arbitrarily forwarded.
diff --git a/mail/p5-Mail-SRS/Makefile b/mail/p5-Mail-SRS/Makefile
new file mode 100644
index 00000000000..c213d1fcded
--- /dev/null
+++ b/mail/p5-Mail-SRS/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/03/29 19:49:04 tv Exp $
+
+DISTNAME= Mail-SRS-0.30
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= mail perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mail/}
+
+MAINTAINER= tv@duh.org
+HOMEPAGE= http://www.anarres.org/projects/srs/
+COMMENT= SMTP envelope sender rewriting for SPF-compliant forwarding
+
+DEPENDS+= p5-DB_File>=1.806:../../databases/p5-DB_File
+DEPENDS+= p5-Digest-HMAC>=1.01:../../security/p5-Digest-HMAC
+DEPENDS+= p5-MLDBM>=2.01:../../databases/p5-MLDBM
+DEPENDS+= p5-Storable>=2.04:../../devel/p5-Storable
+BUILD_DEPENDS+= p5-Test-Simple>=0.40:../../devel/p5-Test-Simple
+
+USE_BUILDLINK3= YES
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Mail/SRS/.packlist
+PERL5_REQD= 5.6.0
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/p5-Mail-SRS/PLIST b/mail/p5-Mail-SRS/PLIST
new file mode 100644
index 00000000000..766778f0cf2
--- /dev/null
+++ b/mail/p5-Mail-SRS/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/03/29 19:49:04 tv Exp $
diff --git a/mail/p5-Mail-SRS/distinfo b/mail/p5-Mail-SRS/distinfo
new file mode 100644
index 00000000000..6f99f68f31f
--- /dev/null
+++ b/mail/p5-Mail-SRS/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/03/29 19:49:04 tv Exp $
+
+SHA1 (Mail-SRS-0.30.tar.gz) = cdbb5f79be7e8293e37c4520676156a77b520e38
+Size (Mail-SRS-0.30.tar.gz) = 26296 bytes
+SHA1 (patch-aa) = 266ae0983d23a0fc3dc743ff606fa6de289c0aae
diff --git a/mail/p5-Mail-SRS/patches/patch-aa b/mail/p5-Mail-SRS/patches/patch-aa
new file mode 100644
index 00000000000..f659ee10c58
--- /dev/null
+++ b/mail/p5-Mail-SRS/patches/patch-aa
@@ -0,0 +1,27 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/03/29 19:49:04 tv Exp $
+
+--- Makefile.PL.orig Wed Feb 18 07:46:46 2004
++++ Makefile.PL
+@@ -1,6 +1,8 @@
+ use 5.006;
+ use ExtUtils::MakeMaker;
+
++open(STDIN, '</dev/null');
++
+ # Thanks to YAML
+ my @programs = ();
+ for (split "\n", <<'QUERIES') {
+@@ -21,11 +23,11 @@ WriteMakefile(
+ 'Test::More' => 0.40,
+ 'MLDBM' => 2.01,
+ 'Storable' => 2.04,
+- 'DB_File' => 1.806,
++ 'DB_File' => 0,
+ 'Fcntl' => 0,
+ 'Carp' => 0,
+ 'Exporter' => 0,
+- 'Getopt::Long' => 2.30,
++ 'Getopt::Long' => 0,
+ }, # e.g., Module::Name => 1.1
+ ABSTRACT_FROM => 'lib/Mail/SRS.pm', # retrieve abstract from module
+ AUTHOR => 'Shevek <cpan@anarres.org>',