pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/libsrs2 Initial import of libsrs2, a C implementa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/500183463073
branches:  trunk
changeset: 360441:500183463073
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Thu Mar 30 01:55:57 2017 +0000

description:
Initial import of libsrs2, a C implementation of the Sender Rewriting
Scheme for SMTP forwarding.

SPF (and related systems) present a challenge to forwarders, since the
envelope sender address might be seen by the destination as a forgery by
the forwarding host. Forwarding services must rewrite the envelope
sender address, while encapsulating the original sender and preventing
relay attacks by spammers.

The Sender Rewriting Scheme, or SRS, provides a standard for this
rewriting which makes forwarding compatible with these address
verification schemes, preserves bounce functionality and is not
vulnerable to attacks by spammers.

diffstat:

 mail/libsrs2/DESCR         |  10 ++++++++++
 mail/libsrs2/Makefile      |  17 +++++++++++++++++
 mail/libsrs2/PLIST         |   4 ++++
 mail/libsrs2/buildlink3.mk |  12 ++++++++++++
 mail/libsrs2/distinfo      |   6 ++++++
 5 files changed, 49 insertions(+), 0 deletions(-)

diffs (69 lines):

diff -r 9aeceb3775ca -r 500183463073 mail/libsrs2/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/libsrs2/DESCR        Thu Mar 30 01:55:57 2017 +0000
@@ -0,0 +1,10 @@
+SPF (and related systems) present a challenge to forwarders, since the
+envelope sender address might be seen by the destination as a forgery by
+the forwarding host. Forwarding services must rewrite the envelope
+sender address, while encapsulating the original sender and preventing
+relay attacks by spammers.
+
+The Sender Rewriting Scheme, or SRS, provides a standard for this
+rewriting which makes forwarding compatible with these address
+verification schemes, preserves bounce functionality and is not
+vulnerable to attacks by spammers.
diff -r 9aeceb3775ca -r 500183463073 mail/libsrs2/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/libsrs2/Makefile     Thu Mar 30 01:55:57 2017 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2017/03/30 01:55:57 schmonz Exp $
+
+DISTNAME=      libsrs2-1.0.18
+CATEGORIES=    mail
+MASTER_SITES=  http://www.libsrs2.org/srs/
+
+MAINTAINER=    schmonz%NetBSD.org@localhost
+HOMEPAGE=      http://www.libsrs2.org/
+COMMENT=       Implementation of the Sender Rewriting Scheme for SMTP forwarding
+LICENSE=       gnu-gpl-v2 OR modified-bsd
+
+CONFLICTS+=    p5-Mail-SRS-[0-9]*
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
+
+.include "../../mk/bsd.pkg.mk"
diff -r 9aeceb3775ca -r 500183463073 mail/libsrs2/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/libsrs2/PLIST        Thu Mar 30 01:55:57 2017 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2017/03/30 01:55:58 schmonz Exp $
+bin/srs
+include/srs2.h
+lib/libsrs2.la
diff -r 9aeceb3775ca -r 500183463073 mail/libsrs2/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/libsrs2/buildlink3.mk        Thu Mar 30 01:55:57 2017 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/03/30 01:55:58 schmonz Exp $
+
+BUILDLINK_TREE+=       libsrs2
+
+.if !defined(LIBSRS2_BUILDLINK3_MK)
+LIBSRS2_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libsrs2+=        libsrs2>=1.0.18
+BUILDLINK_PKGSRCDIR.libsrs2?=  ../../mail/libsrs2
+.endif # LIBSRS2_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -libsrs2
diff -r 9aeceb3775ca -r 500183463073 mail/libsrs2/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/libsrs2/distinfo     Thu Mar 30 01:55:57 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/03/30 01:55:58 schmonz Exp $
+
+SHA1 (libsrs2-1.0.18.tar.gz) = db9452e5207bb573eca4b3409c201f1e0275d300
+RMD160 (libsrs2-1.0.18.tar.gz) = 7efa96f457ebac45178afa84aeaeb28834a1f4e7
+SHA512 (libsrs2-1.0.18.tar.gz) = b9c189caa227487e90566f65430345f09a3d545fc286a3eb0c445aee3a74905c1a9248ce78b36a7cfb6a2936f6cd1efbe99ba7b8df49a613a81c6435396f5422
+Size (libsrs2-1.0.18.tar.gz) = 295748 bytes



Home | Main Index | Thread Index | Old Index