summaryrefslogtreecommitdiff
path: root/mail/libsrs2/buildlink3.mk
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2017-03-30 01:55:57 +0000
committerschmonz <schmonz@pkgsrc.org>2017-03-30 01:55:57 +0000
commit89dad9077f4056bb35332c68941a29a5e64ce9fb (patch)
tree566385df717ce84104f296405283ac14dfeca1d4 /mail/libsrs2/buildlink3.mk
parent53d8bac209ca5052792480a54ac05795ee9e9fb8 (diff)
downloadpkgsrc-89dad9077f4056bb35332c68941a29a5e64ce9fb.tar.gz
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 (limited to 'mail/libsrs2/buildlink3.mk')
-rw-r--r--mail/libsrs2/buildlink3.mk12
1 files changed, 12 insertions, 0 deletions
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