pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/p5-Mail-SRS Moved from pkgsrc-wip (http://pkgsrc-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8ab4e4e7c70b
branches:  trunk
changeset: 471655:8ab4e4e7c70b
user:      tv <tv%pkgsrc.org@localhost>
date:      Mon Mar 29 19:49:04 2004 +0000

description:
Moved from pkgsrc-wip (http://pkgsrc-wip.sourceforge.net/):

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.

diffstat:

 mail/p5-Mail-SRS/DESCR            |  14 ++++++++++++++
 mail/p5-Mail-SRS/Makefile         |  23 +++++++++++++++++++++++
 mail/p5-Mail-SRS/PLIST            |   1 +
 mail/p5-Mail-SRS/distinfo         |   5 +++++
 mail/p5-Mail-SRS/patches/patch-aa |  27 +++++++++++++++++++++++++++
 5 files changed, 70 insertions(+), 0 deletions(-)

diffs (90 lines):

diff -r 0777b7ac78b1 -r 8ab4e4e7c70b mail/p5-Mail-SRS/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/p5-Mail-SRS/DESCR    Mon Mar 29 19:49:04 2004 +0000
@@ -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 -r 0777b7ac78b1 -r 8ab4e4e7c70b mail/p5-Mail-SRS/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/p5-Mail-SRS/Makefile Mon Mar 29 19:49:04 2004 +0000
@@ -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@localhost
+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 -r 0777b7ac78b1 -r 8ab4e4e7c70b mail/p5-Mail-SRS/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/p5-Mail-SRS/PLIST    Mon Mar 29 19:49:04 2004 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/03/29 19:49:04 tv Exp $
diff -r 0777b7ac78b1 -r 8ab4e4e7c70b mail/p5-Mail-SRS/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/p5-Mail-SRS/distinfo Mon Mar 29 19:49:04 2004 +0000
@@ -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 -r 0777b7ac78b1 -r 8ab4e4e7c70b mail/p5-Mail-SRS/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/p5-Mail-SRS/patches/patch-aa Mon Mar 29 19:49:04 2004 +0000
@@ -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@localhost>',



Home | Main Index | Thread Index | Old Index