summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/libsrs2/DESCR10
-rw-r--r--mail/libsrs2/Makefile17
-rw-r--r--mail/libsrs2/PLIST4
-rw-r--r--mail/libsrs2/buildlink3.mk12
-rw-r--r--mail/libsrs2/distinfo6
5 files changed, 49 insertions, 0 deletions
diff --git a/mail/libsrs2/DESCR b/mail/libsrs2/DESCR
new file mode 100644
index 00000000000..a74c5c5f300
--- /dev/null
+++ b/mail/libsrs2/DESCR
@@ -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 --git a/mail/libsrs2/Makefile b/mail/libsrs2/Makefile
new file mode 100644
index 00000000000..57d91a81f1b
--- /dev/null
+++ b/mail/libsrs2/Makefile
@@ -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
+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 --git a/mail/libsrs2/PLIST b/mail/libsrs2/PLIST
new file mode 100644
index 00000000000..2cdab129b4d
--- /dev/null
+++ b/mail/libsrs2/PLIST
@@ -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 --git a/mail/libsrs2/buildlink3.mk b/mail/libsrs2/buildlink3.mk
new file mode 100644
index 00000000000..55223a51276
--- /dev/null
+++ b/mail/libsrs2/buildlink3.mk
@@ -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 --git a/mail/libsrs2/distinfo b/mail/libsrs2/distinfo
new file mode 100644
index 00000000000..0ad262cf1da
--- /dev/null
+++ b/mail/libsrs2/distinfo
@@ -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