svn commit: r426720 - in head/dns: . libnspsl libnspsl/files

Olivier Duchateau olivierd at FreeBSD.org
Mon Nov 21 14:04:27 UTC 2016


Author: olivierd
Date: Mon Nov 21 14:04:24 2016
New Revision: 426720
URL: https://svnweb.freebsd.org/changeset/ports/426720

Log:
  Library to generate static code representation of the Public suffix list.
  The public suffix list is a database of top level domain names. The database
  allows an application to determine if if a domain name requires an additional
  label to be valid.
  
  The principle use in a web browser is to restrict supercookies being set
  although it can also serve secondary purposes in the UI such as domain
  highlighting.
  
  WWW: http://www.netsurf-browser.org/

Added:
  head/dns/libnspsl/
  head/dns/libnspsl/Makefile   (contents, props changed)
  head/dns/libnspsl/distinfo   (contents, props changed)
  head/dns/libnspsl/files/
  head/dns/libnspsl/files/patch-Makefile   (contents, props changed)
  head/dns/libnspsl/files/patch-libnspsl.pc.in   (contents, props changed)
  head/dns/libnspsl/pkg-descr   (contents, props changed)
  head/dns/libnspsl/pkg-plist   (contents, props changed)
Modified:
  head/dns/Makefile

Modified: head/dns/Makefile
==============================================================================
--- head/dns/Makefile	Mon Nov 21 13:59:41 2016	(r426719)
+++ head/dns/Makefile	Mon Nov 21 14:04:24 2016	(r426720)
@@ -90,6 +90,7 @@
     SUBDIR += libdjbdns
     SUBDIR += libidn
     SUBDIR += libidn2
+    SUBDIR += libnspsl
     SUBDIR += libpsl
     SUBDIR += linux-c6-libasyncns
     SUBDIR += linux-c7-libasyncns

Added: head/dns/libnspsl/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/libnspsl/Makefile	Mon Nov 21 14:04:24 2016	(r426720)
@@ -0,0 +1,29 @@
+# Created by: Olivier Duchateau
+# $FreeBSD$
+
+PORTNAME=	libnspsl
+PORTVERSION=	0.1.0
+CATEGORIES=	dns
+MASTER_SITES=	http://download.netsurf-browser.org/libs/releases/
+DISTNAME=	${PORTNAME}-${PORTVERSION}-src
+
+MAINTAINER=	olivierd at FreeBSD.org
+COMMENT=	NetSurf public suffix list handling
+
+LICENSE=	MIT
+
+BUILD_DEPENDS=	netsurf-buildsystem>=1.5:devel/netsurf-buildsystem
+
+USES=	gmake
+USE_LDCONFIG=	yes
+
+MAKE_ENV+=	COMPONENT_TYPE="lib-shared"
+
+WRKSRC=	${WRKDIR}/${DISTNAME:S/-src//}
+
+PLIST_SUB+=	VERSION=${PORTVERSION}
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnspsl.so*
+
+.include <bsd.port.mk>

Added: head/dns/libnspsl/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/libnspsl/distinfo	Mon Nov 21 14:04:24 2016	(r426720)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1479721220
+SHA256 (libnspsl-0.1.0-src.tar.gz) = be9030bdffa4135e95861465201e43f18f2cbba24555952aed7fa59b99ce6e74
+SIZE (libnspsl-0.1.0-src.tar.gz) = 299718

Added: head/dns/libnspsl/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/libnspsl/files/patch-Makefile	Mon Nov 21 14:04:24 2016	(r426720)
@@ -0,0 +1,13 @@
+--- Makefile.orig	2016-11-19 10:09:21 UTC
++++ Makefile
+@@ -44,8 +44,8 @@ include $(NSBUILD)/Makefile.top
+ # Extra installation rules
+ I := /$(INCLUDEDIR)
+ INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/nspsl.h
+-INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR)/pkgconfig:lib$(COMPONENT).pc.in
+-INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR):$(OUTPUT)
++INSTALL_ITEMS := $(INSTALL_ITEMS) /libdata/pkgconfig:lib$(COMPONENT).pc.in
++INSTALL_ITEMS := $(INSTALL_ITEMS) /lib:$(OUTPUT)
+ 
+ # obtain public suffix list database from upstream
+ public_suffix_list.dat:

Added: head/dns/libnspsl/files/patch-libnspsl.pc.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/libnspsl/files/patch-libnspsl.pc.in	Mon Nov 21 14:04:24 2016	(r426720)
@@ -0,0 +1,10 @@
+--- libnspsl.pc.in.orig	2016-11-19 10:09:21 UTC
++++ libnspsl.pc.in
+@@ -1,6 +1,6 @@
+ prefix=PREFIX
+ exec_prefix=${prefix}
+-libdir=${exec_prefix}/LIBDIR
++libdir=${exec_prefix}/lib
+ includedir=${prefix}/INCLUDEDIR
+ 
+ Name: libnspsl

Added: head/dns/libnspsl/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/libnspsl/pkg-descr	Mon Nov 21 14:04:24 2016	(r426720)
@@ -0,0 +1,10 @@
+Library to generate static code representation of the Public suffix list.
+The public suffix list is a database of top level domain names. The database
+allows an application to determine if if a domain name requires an additional
+label to be valid.
+
+The principle use in a web browser is to restrict supercookies being set
+although it can also serve secondary purposes in the UI such as domain
+highlighting.
+
+WWW: http://www.netsurf-browser.org/

Added: head/dns/libnspsl/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/libnspsl/pkg-plist	Mon Nov 21 14:04:24 2016	(r426720)
@@ -0,0 +1,5 @@
+include/nspsl.h
+lib/libnspsl.so
+lib/libnspsl.so.0
+lib/libnspsl.so.%%VERSION%%
+libdata/pkgconfig/libnspsl.pc


More information about the svn-ports-all mailing list