pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/libpsl



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Sat Jul 28 12:25:20 UTC 2018

Added Files:
        pkgsrc/www/libpsl: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
Add a package for libpsl-0.20.2. PR pkg/53459.

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 (see post from Jeffry Walton) 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


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/www/libpsl/DESCR pkgsrc/www/libpsl/Makefile \
    pkgsrc/www/libpsl/PLIST pkgsrc/www/libpsl/buildlink3.mk \
    pkgsrc/www/libpsl/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/www/libpsl/DESCR
diff -u /dev/null pkgsrc/www/libpsl/DESCR:1.1
--- /dev/null   Sat Jul 28 12:25:20 2018
+++ pkgsrc/www/libpsl/DESCR     Sat Jul 28 12:25:20 2018
@@ -0,0 +1,21 @@
+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 (see post from Jeffry Walton) 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
Index: pkgsrc/www/libpsl/Makefile
diff -u /dev/null pkgsrc/www/libpsl/Makefile:1.1
--- /dev/null   Sat Jul 28 12:25:20 2018
+++ pkgsrc/www/libpsl/Makefile  Sat Jul 28 12:25:20 2018
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2018/07/28 12:25:20 bsiegert Exp $
+
+DISTNAME=      libpsl-0.20.2
+CATEGORIES=    www
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=rockdaboot/}
+GITHUB_RELEASE=        ${DISTNAME}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/rockdaboot/libpsl/
+COMMENT=       Library to handle the Public Suffix List
+LICENSE=       mit
+
+USE_TOOLS+=    gmake pkg-config
+USE_LIBTOOL=   yes
+USE_LANGUAGES= c c++
+GNU_CONFIGURE= yes
+
+PYTHON_FOR_BUILD_ONLY= yes
+REPLACE_PYTHON=                src/psl-make-dafsa
+
+CONFIGURE_ARGS+=       --disable-gtk-doc
+CONFIGURE_ARGS+=       --enable-runtime=libicu
+
+PKGCONFIG_OVERRIDE+=   libpsl.pc.in
+
+.include "../../lang/python/application.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../textproc/icu/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/libpsl/PLIST
diff -u /dev/null pkgsrc/www/libpsl/PLIST:1.1
--- /dev/null   Sat Jul 28 12:25:20 2018
+++ pkgsrc/www/libpsl/PLIST     Sat Jul 28 12:25:20 2018
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2018/07/28 12:25:20 bsiegert Exp $
+bin/psl
+include/libpsl.h
+lib/libpsl.la
+lib/pkgconfig/libpsl.pc
+man/man1/psl-make-dafsa.1
+man/man1/psl.1
Index: pkgsrc/www/libpsl/buildlink3.mk
diff -u /dev/null pkgsrc/www/libpsl/buildlink3.mk:1.1
--- /dev/null   Sat Jul 28 12:25:20 2018
+++ pkgsrc/www/libpsl/buildlink3.mk     Sat Jul 28 12:25:20 2018
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/07/28 12:25:20 bsiegert Exp $
+
+BUILDLINK_TREE+=       libpsl
+
+.if !defined(LIBPSL_BUILDLINK3_MK)
+LIBPSL_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libpsl+= libpsl>=0.20.2
+BUILDLINK_PKGSRCDIR.libpsl?=   ../../www/libpsl
+
+#.include "../../textproc/icu/buildlink3.mk"
+.endif # LIBPSL_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -libpsl
Index: pkgsrc/www/libpsl/distinfo
diff -u /dev/null pkgsrc/www/libpsl/distinfo:1.1
--- /dev/null   Sat Jul 28 12:25:20 2018
+++ pkgsrc/www/libpsl/distinfo  Sat Jul 28 12:25:20 2018
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/07/28 12:25:20 bsiegert Exp $
+
+SHA1 (libpsl-0.20.2.tar.gz) = 890376d6038652911cfa853ccfb5b993ae0743ee
+RMD160 (libpsl-0.20.2.tar.gz) = 418230d331d2976c111263f3c1280d47929f48cb
+SHA512 (libpsl-0.20.2.tar.gz) = fa9f6f7f0447d9fe00f5dfca5262c56ff26217eea44d0f7fc1e5d982224c41874e753f0aa06dd9e5d7d03d4f04e3dacd4f36034cc8dd0fc6e2c28b49a23e62fe
+Size (libpsl-0.20.2.tar.gz) = 9228099 bytes



Home | Main Index | Thread Index | Old Index