From owner-svn-ports-head@freebsd.org Mon Nov 21 14:04:26 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DE6D1C4CCBE; Mon, 21 Nov 2016 14:04:26 +0000 (UTC) (envelope-from olivierd@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 995AE162C; Mon, 21 Nov 2016 14:04:26 +0000 (UTC) (envelope-from olivierd@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uALE4Pp9083963; Mon, 21 Nov 2016 14:04:25 GMT (envelope-from olivierd@FreeBSD.org) Received: (from olivierd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uALE4PIA083956; Mon, 21 Nov 2016 14:04:25 GMT (envelope-from olivierd@FreeBSD.org) Message-Id: <201611211404.uALE4PIA083956@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: olivierd set sender to olivierd@FreeBSD.org using -f From: Olivier Duchateau Date: Mon, 21 Nov 2016 14:04:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r426720 - in head/dns: . libnspsl libnspsl/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Nov 2016 14:04:27 -0000 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@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 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