summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authoradrianp <adrianp>2008-02-05 21:59:32 +0000
committeradrianp <adrianp>2008-02-05 21:59:32 +0000
commitc705676b87e268b75783a3c73fefe66fcc7ab5a7 (patch)
tree533fc983f7fbcaa328e5c93746ca93ed49fe4e76 /mail
parente6550081286a9355112b0189dc876649b1a44a5c (diff)
downloadpkgsrc-c705676b87e268b75783a3c73fefe66fcc7ab5a7.tar.gz
libspf2 implements the Sender Policy Framework, a part of the SPF/SRS
protocol pair. libspf2 is a library which allows email systems such as Sendmail, Postfix, Exim, Zmailer and MS Exchange to check SPF records and make sure that the email is authorized by the domain name that it is coming from. This prevents email forgery, commonly used by spammers, scammers and email viruses/worms.
Diffstat (limited to 'mail')
-rw-r--r--mail/libspf2/DESCR6
-rw-r--r--mail/libspf2/Makefile14
-rw-r--r--mail/libspf2/PLIST25
-rw-r--r--mail/libspf2/buildlink3.mk19
-rw-r--r--mail/libspf2/distinfo5
5 files changed, 69 insertions, 0 deletions
diff --git a/mail/libspf2/DESCR b/mail/libspf2/DESCR
new file mode 100644
index 00000000000..d65393d71ca
--- /dev/null
+++ b/mail/libspf2/DESCR
@@ -0,0 +1,6 @@
+libspf2 implements the Sender Policy Framework, a part of the SPF/SRS
+protocol pair. libspf2 is a library which allows email systems such as
+Sendmail, Postfix, Exim, Zmailer and MS Exchange to check SPF records
+and make sure that the email is authorized by the domain name that it
+is coming from. This prevents email forgery, commonly used by spammers,
+scammers and email viruses/worms.
diff --git a/mail/libspf2/Makefile b/mail/libspf2/Makefile
new file mode 100644
index 00000000000..1b306677269
--- /dev/null
+++ b/mail/libspf2/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/02/05 21:59:32 adrianp Exp $
+
+DISTNAME= libspf2-1.2.5
+CATEGORIES= mail
+MASTER_SITES= http://www.libspf2.org/spf/
+
+MAINTAINER= adrianp@NetBSD.org
+HOMEPAGE= http://www.libspf2.org/
+COMMENT= Implementation of the Sender Policy Framework
+
+GNU_CONFIGURE= YES
+USE_LIBTOOL= YES
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/libspf2/PLIST b/mail/libspf2/PLIST
new file mode 100644
index 00000000000..4661b1377c3
--- /dev/null
+++ b/mail/libspf2/PLIST
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/02/05 21:59:32 adrianp Exp $
+bin/spf_example
+bin/spf_example_static
+bin/spfd
+bin/spfd_static
+bin/spfquery
+bin/spfquery_static
+bin/spftest
+bin/spftest_static
+include/spf2/spf.h
+include/spf2/spf_dns.h
+include/spf2/spf_dns_cache.h
+include/spf2/spf_dns_null.h
+include/spf2/spf_dns_resolv.h
+include/spf2/spf_dns_test.h
+include/spf2/spf_dns_zone.h
+include/spf2/spf_lib_version.h
+include/spf2/spf_dns_rr.h
+include/spf2/spf_log.h
+include/spf2/spf_record.h
+include/spf2/spf_request.h
+include/spf2/spf_response.h
+include/spf2/spf_server.h
+lib/libspf2.la
+@dirrm include/spf2
diff --git a/mail/libspf2/buildlink3.mk b/mail/libspf2/buildlink3.mk
new file mode 100644
index 00000000000..88d647d28af
--- /dev/null
+++ b/mail/libspf2/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/02/05 21:59:32 adrianp Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBSPF2_BUILDLINK3_MK:= ${LIBSPF2_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= libspf2
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibspf2}
+BUILDLINK_PACKAGES+= libspf2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libspf2
+
+.if ${LIBSPF2_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.libspf2+= libspf2>=1.2.5
+BUILDLINK_PKGSRCDIR.libspf2?= ../../mail/libspf2
+.endif # LIBSPF2_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/mail/libspf2/distinfo b/mail/libspf2/distinfo
new file mode 100644
index 00000000000..5847a2dc7ee
--- /dev/null
+++ b/mail/libspf2/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/02/05 21:59:32 adrianp Exp $
+
+SHA1 (libspf2-1.2.5.tar.gz) = 8d6a22da78b056564419852b516109c663e2c177
+RMD160 (libspf2-1.2.5.tar.gz) = 7f53005709551dfe8a1db28c5c8195caff64b7da
+Size (libspf2-1.2.5.tar.gz) = 517945 bytes