Index: head/dns/Makefile =================================================================== --- head/dns/Makefile (revision 402927) +++ head/dns/Makefile (revision 402928) @@ -1,207 +1,208 @@ # $FreeBSD$ # COMMENT = Domain Name Service tools SUBDIR += adns SUBDIR += adsuck SUBDIR += ares SUBDIR += autotrust SUBDIR += axfr2acl SUBDIR += bind-tools SUBDIR += bind10 SUBDIR += bind9-devel SUBDIR += bind910 SUBDIR += bind99 SUBDIR += bindgraph SUBDIR += bundy SUBDIR += c-ares SUBDIR += checkdns SUBDIR += cli53 SUBDIR += credns SUBDIR += crossip SUBDIR += curvedns SUBDIR += ddclient SUBDIR += ddns SUBDIR += denominator SUBDIR += dhisd SUBDIR += djbdns SUBDIR += djbdns-tools SUBDIR += dlint SUBDIR += dnrd SUBDIR += dns2tcp SUBDIR += dns_balance SUBDIR += dnscap SUBDIR += dnscheck SUBDIR += dnscheckengine SUBDIR += dnscrypt-proxy SUBDIR += dnscrypt-wrapper SUBDIR += dnsdbck SUBDIR += dnsdist SUBDIR += dnsflood SUBDIR += dnshistory SUBDIR += dnsjava SUBDIR += dnsmasq SUBDIR += dnsmasq-devel SUBDIR += dnsmax-perl SUBDIR += dnsperf SUBDIR += dnsproxy SUBDIR += dnsreflector SUBDIR += dnstable SUBDIR += dnstop SUBDIR += dnstracer SUBDIR += dnsutl SUBDIR += dnswalk SUBDIR += dnswall SUBDIR += doc SUBDIR += dualserver SUBDIR += erlang-idna SUBDIR += ez-ipupdate SUBDIR += fastresolve SUBDIR += firedns SUBDIR += fpdns SUBDIR += gdnsd SUBDIR += gdnsd2 SUBDIR += getdns SUBDIR += ghtool SUBDIR += hesiod SUBDIR += hostdb SUBDIR += hs-dns SUBDIR += hs-gnuidn SUBDIR += idnkit SUBDIR += idnkit2 SUBDIR += inadyn SUBDIR += inadyn-mt SUBDIR += ipcheck SUBDIR += ironsides SUBDIR += knot1 SUBDIR += knot2 SUBDIR += ldapdns SUBDIR += ldns SUBDIR += ldnsm SUBDIR += libasr SUBDIR += libasr-devel SUBDIR += libbind SUBDIR += libdjbdns SUBDIR += libidn SUBDIR += libidn2 + SUBDIR += libpsl SUBDIR += linux-c6-libasyncns SUBDIR += linux-f10-libasyncns SUBDIR += mDNSResponder_nss SUBDIR += maradns SUBDIR += mdnsd SUBDIR += mydns SUBDIR += mydns-ng SUBDIR += noip SUBDIR += nsd SUBDIR += nsd3 SUBDIR += nslint SUBDIR += nsping SUBDIR += nss_mdns SUBDIR += nss_resinit SUBDIR += odsclient SUBDIR += opendd SUBDIR += opendnssec SUBDIR += opendnssec13 SUBDIR += openresolv SUBDIR += p5-AnyEvent-CacheDNS SUBDIR += p5-AnyEvent-DNS-EtcHosts SUBDIR += p5-BIND-Conf_Parser SUBDIR += p5-BIND-Config-Parser SUBDIR += p5-DNS-Config SUBDIR += p5-DNS-EasyDNS SUBDIR += p5-DNS-Ldns SUBDIR += p5-DNS-Zone SUBDIR += p5-DNS-ZoneParse SUBDIR += p5-Data-Validate-Domain SUBDIR += p5-IO-Async-Resolver-DNS SUBDIR += p5-Mozilla-PublicSuffix SUBDIR += p5-Net-Amazon-Route53 SUBDIR += p5-Net-Bonjour SUBDIR += p5-Net-DNS SUBDIR += p5-Net-DNS-Async SUBDIR += p5-Net-DNS-Check SUBDIR += p5-Net-DNS-Codes SUBDIR += p5-Net-DNS-Lite SUBDIR += p5-Net-DNS-Match SUBDIR += p5-Net-DNS-RR-SRV-Helper SUBDIR += p5-Net-DNS-Resolver-Programmable SUBDIR += p5-Net-DNS-SEC SUBDIR += p5-Net-DNS-TestNS SUBDIR += p5-Net-DNS-ToolKit SUBDIR += p5-Net-DNS-Zone-Parser SUBDIR += p5-Net-DNS-ZoneFile-Fast SUBDIR += p5-Net-DNSBL-MultiDaemon SUBDIR += p5-Net-DNSBL-Statistics SUBDIR += p5-Net-DRI SUBDIR += p5-Net-Domain-ExpireDate SUBDIR += p5-Net-Domain-TLD SUBDIR += p5-Net-LibIDN SUBDIR += p5-Net-Nslookup SUBDIR += p5-Net-RBLClient SUBDIR += p5-Net-RNDC SUBDIR += p5-POE-Component-Client-DNS SUBDIR += p5-POE-Component-Client-DNS-Recursive SUBDIR += p5-POE-Component-Client-DNSBL SUBDIR += p5-POE-Component-Resolver SUBDIR += p5-POE-Component-Server-DNS SUBDIR += p5-POE-Filter-DNS-TCP SUBDIR += p5-Stanford-DNSserver SUBDIR += p5-Tie-DNS SUBDIR += p5-URBL-Prepare SUBDIR += p5-pgeodns SUBDIR += pdnsd SUBDIR += pear-File_DNS SUBDIR += pear-Horde_Idna SUBDIR += pear-Net_DNS SUBDIR += pear-Net_DNS2 SUBDIR += powerdns SUBDIR += powerdns-recursor SUBDIR += public_suffix_list SUBDIR += py-adns SUBDIR += py-bonjour SUBDIR += py-dns SUBDIR += py-dns3 SUBDIR += py-dnspython SUBDIR += py-easyzone SUBDIR += py-idna SUBDIR += py-idnkit2 SUBDIR += py-ldns SUBDIR += py-namebench SUBDIR += py-publicsuffix SUBDIR += py-pydnstable SUBDIR += py-pywdns SUBDIR += py-twistedNames SUBDIR += radns SUBDIR += rbldnsd SUBDIR += rbllookup SUBDIR += rbllookup-ng SUBDIR += renewck SUBDIR += rpsl2acl SUBDIR += rubygem-dnsruby SUBDIR += rubygem-net-dns SUBDIR += rubygem-public_suffix SUBDIR += rubygem-public_suffix_service SUBDIR += samba-nsupdate SUBDIR += scavenge SUBDIR += sheerdns SUBDIR += sleuth SUBDIR += sshfp SUBDIR += tinystats SUBDIR += totd SUBDIR += udns SUBDIR += unbound SUBDIR += updatedd SUBDIR += validns SUBDIR += vhostcname SUBDIR += vizone SUBDIR += walker SUBDIR += wdns SUBDIR += whoseip SUBDIR += wrapsrv SUBDIR += yadifa SUBDIR += zkt SUBDIR += zonecheck SUBDIR += zonenotify .include Index: head/dns/libpsl/Makefile =================================================================== --- head/dns/libpsl/Makefile (nonexistent) +++ head/dns/libpsl/Makefile (revision 402928) @@ -0,0 +1,54 @@ +# Created by: Sunpoet Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= libpsl +PORTVERSION= 0.11.0 +DISTVERSIONPREFIX= ${PORTNAME}- +CATEGORIES= dns + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= C library to handle the Public Suffix List + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= public_suffix_list>=0:${PORTSDIR}/dns/public_suffix_list \ + xsltproc:${PORTSDIR}/textproc/libxslt + +OPTIONS_DEFINE= NLS +OPTIONS_SINGLE= IDNA +OPTIONS_SINGLE_IDNA= ICU IDN IDN2 +OPTIONS_DEFAULT=ICU +ICU_DESC= Use devel/icu (IDNA2008 UTS\#46 library) +IDN_DESC= Use dns/libidn (IDNA2003 library) +IDN2_DESC= Use dns/libidn2 (IDNA2008 library) + +CONFIGURE_ARGS= --enable-man \ + --with-psl-file=${LOCALBASE}/share/public_suffix_list/public_suffix_list.dat \ + --with-psl-testfile=${LOCALBASE}/share/public_suffix_list/test_psl.txt +GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip +PATHFIX_MAKEFILEIN= Makefile.am +USE_LDCONFIG= yes +USES= autoreconf libtool pathfix pkgconfig + +GH_ACCOUNT= rockdaboot +USE_GITHUB= yes + +ICU_CONFIGURE_ON= --enable-builtin=libicu --enable-runtime=libicu +ICU_LIB_DEPENDS= libicuuc.so:${PORTSDIR}/devel/icu +IDN_CONFIGURE_ON= --enable-builtin=libidn --enable-runtime=libidn +IDN_LIB_DEPENDS= libidn.so:${PORTSDIR}/dns/libidn \ + libunistring.so:${PORTSDIR}/devel/libunistring +IDN_USES= iconv +IDN2_CONFIGURE_ON= --enable-builtin=libidn2 --enable-runtime=libidn2 +IDN2_LIB_DEPENDS= libidn2.so:${PORTSDIR}/dns/libidn2 \ + libunistring.so:${PORTSDIR}/devel/libunistring +IDN2_USES= iconv +NLS_CPPFLAGS= -DENABLE_NLS=1 +NLS_USES= gettext + +post-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/psl2c ${STAGEDIR}${PREFIX}/bin/ + +.include Property changes on: head/dns/libpsl/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/dns/libpsl/distinfo =================================================================== --- head/dns/libpsl/distinfo (nonexistent) +++ head/dns/libpsl/distinfo (revision 402928) @@ -0,0 +1,2 @@ +SHA256 (rockdaboot-libpsl-libpsl-0.11.0_GH0.tar.gz) = 60d0fea883f5bbe141542b53e7fedc7f6d1713c0789474fc2ccd67fd06563398 +SIZE (rockdaboot-libpsl-libpsl-0.11.0_GH0.tar.gz) = 43866 Property changes on: head/dns/libpsl/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/dns/libpsl/files/patch-configure.ac =================================================================== --- head/dns/libpsl/files/patch-configure.ac (nonexistent) +++ head/dns/libpsl/files/patch-configure.ac (revision 402928) @@ -0,0 +1,27 @@ +--- configure.ac.orig 2015-09-23 12:52:04 UTC ++++ configure.ac +@@ -33,24 +33,6 @@ AM_GNU_GETTEXT([external],[need-ngettext + AM_GNU_GETTEXT_VERSION([0.18.1]) + + # +-# check for gtk-doc +-# +-m4_ifdef([GTK_DOC_CHECK], [ +-GTK_DOC_CHECK([1.15],[--flavour no-tmpl]) +-],[ +-AM_CONDITIONAL([ENABLE_GTK_DOC], false) +-]) +-# needed for some older versions of gtk-doc +-m4_ifdef([GTK_DOC_USE_LIBTOOL], [], [ +-AM_CONDITIONAL([GTK_DOC_USE_LIBTOOL], false) +-]) +- +-if test x"$have_gtk_doc" = xyes -a x"$enable_gtk_doc" = xyes; then +- AC_CONFIG_FILES([docs/libpsl/Makefile docs/libpsl/version.xml]) +- AC_SUBST([LIBPSL_DOCS], [docs/libpsl]) +-fi +- +-# + # enable creation of man pages + # + AC_ARG_ENABLE(man,[AC_HELP_STRING([--enable-man], Property changes on: head/dns/libpsl/files/patch-configure.ac ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/dns/libpsl/files/patch-src-psl.c =================================================================== --- head/dns/libpsl/files/patch-src-psl.c (nonexistent) +++ head/dns/libpsl/files/patch-src-psl.c (revision 402928) @@ -0,0 +1,22 @@ +--- src/psl.c.orig 2015-09-23 12:52:04 UTC ++++ src/psl.c +@@ -54,8 +54,10 @@ + # define ngettext(STRING1,STRING2,N) STRING2 + #endif + +-#include ++#include ++#include + #include ++#include + #include + #include + #include +@@ -87,7 +89,6 @@ + #endif + + #include +-#include + + /* number of elements within an array */ + #define countof(a) (sizeof(a)/sizeof(*(a))) Property changes on: head/dns/libpsl/files/patch-src-psl.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/dns/libpsl/files/patch-src-psl2c.c =================================================================== --- head/dns/libpsl/files/patch-src-psl2c.c (nonexistent) +++ head/dns/libpsl/files/patch-src-psl2c.c (revision 402928) @@ -0,0 +1,11 @@ +--- src/psl2c.c.orig 2015-09-23 12:52:04 UTC ++++ src/psl2c.c +@@ -246,7 +246,7 @@ int main(int argc, const char **argv) + + _print_psl_entries(fpout, psl->suffixes, "suffixes"); + +- snprintf(cmd, cmdsize, "sha1sum %s", argv[1]); ++ snprintf(cmd, cmdsize, "sha1 %s", argv[1]); + if ((pp = popen(cmd, "r"))) { + if (fscanf(pp, "%63[0-9a-zA-Z]", checksum) < 1) + *checksum = 0; Property changes on: head/dns/libpsl/files/patch-src-psl2c.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/dns/libpsl/pkg-descr =================================================================== --- head/dns/libpsl/pkg-descr (nonexistent) +++ head/dns/libpsl/pkg-descr (revision 402928) @@ -0,0 +1,23 @@ +A "public suffix" is a domain name under which Internet users can directly +register own names. + +Browsers and other web clients can use it to +- avoid privacy-leaking "supercookies" +- avoid privacy-leaking "super domain" certificates [1] +- domain highlighting parts of the domain in a user interface +- sorting domain lists by site + +Libpsl... +- has built-in PSL data for fast access +- allows to load PSL data from files +- checks if a given domain is a "public suffix" +- provides immediate cookie domain verification +- finds the longest public part of a given domain +- finds the shortest private part of a given domain +- works with international domains (UTF-8 and IDNA2008 Punycode) +- is thread-safe +- handles IDNA2008 UTS#46 (libicu is used by psl2c if installed) + +[1] http://lists.gnu.org/archive/html/bug-wget/2014-03/msg00093.html + +WWW: https://github.com/rockdaboot/libpsl Property changes on: head/dns/libpsl/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/dns/libpsl/pkg-plist =================================================================== --- head/dns/libpsl/pkg-plist (nonexistent) +++ head/dns/libpsl/pkg-plist (revision 402928) @@ -0,0 +1,8 @@ +bin/psl +bin/psl2c +include/libpsl.h +lib/libpsl.a +lib/libpsl.so +lib/libpsl.so.0 +lib/libpsl.so.0.4.0 +libdata/pkgconfig/libpsl.pc Property changes on: head/dns/libpsl/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property