aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dns/Makefile1
-rw-r--r--dns/public_suffix_list/Makefile30
-rw-r--r--dns/public_suffix_list/distinfo2
-rw-r--r--dns/public_suffix_list/pkg-descr8
4 files changed, 41 insertions, 0 deletions
diff --git a/dns/Makefile b/dns/Makefile
index fed475f82d8f..df36f4c9419c 100644
--- a/dns/Makefile
+++ b/dns/Makefile
@@ -156,6 +156,7 @@
SUBDIR += pear-Net_DNS2
SUBDIR += powerdns
SUBDIR += powerdns-recursor
+ SUBDIR += public_suffix_list
SUBDIR += py-adns
SUBDIR += py-bonjour
SUBDIR += py-dns
diff --git a/dns/public_suffix_list/Makefile b/dns/public_suffix_list/Makefile
new file mode 100644
index 000000000000..22ce2485ef77
--- /dev/null
+++ b/dns/public_suffix_list/Makefile
@@ -0,0 +1,30 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= public_suffix_list
+PORTVERSION= 0.0.0.20151203
+CATEGORIES= dns
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Public Suffix List by Mozilla
+
+LICENSE= MPL
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+NO_ARCH= yes
+NO_BUILD= yes
+
+PLIST_FILES= %%DATADIR%%/public_suffix_list.dat \
+ %%DATADIR%%/test_psl.txt
+
+GH_ACCOUNT= publicsuffix
+GH_PROJECT= list
+GH_TAGNAME= 0ee352b
+USE_GITHUB= yes
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${DATADIR}/
+ ${INSTALL_DATA} ${WRKSRC}/public_suffix_list.dat ${STAGEDIR}${DATADIR}/
+ ${INSTALL_DATA} ${WRKSRC}/tests/test_psl.txt ${STAGEDIR}${DATADIR}/
+
+.include <bsd.port.mk>
diff --git a/dns/public_suffix_list/distinfo b/dns/public_suffix_list/distinfo
new file mode 100644
index 000000000000..ddf3cc787589
--- /dev/null
+++ b/dns/public_suffix_list/distinfo
@@ -0,0 +1,2 @@
+SHA256 (publicsuffix-list-0.0.0.20151203-0ee352b_GH0.tar.gz) = b472514166089f115bcecb591a8339761631180bf78227772c1cff9473e430c5
+SIZE (publicsuffix-list-0.0.0.20151203-0ee352b_GH0.tar.gz) = 72428
diff --git a/dns/public_suffix_list/pkg-descr b/dns/public_suffix_list/pkg-descr
new file mode 100644
index 000000000000..f0773f9e6bee
--- /dev/null
+++ b/dns/public_suffix_list/pkg-descr
@@ -0,0 +1,8 @@
+The Public Suffix List
+
+A "public suffix" is one under which Internet users can (or historically could)
+directly register names. Some examples of public suffixes are .com, .co.uk and
+pvt.k12.ma.us. The Public Suffix List is a list of all known public suffixes.
+
+WWW: https://publicsuffix.org/
+WWW: https://github.com/publicsuffix/list/