pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/libpsl Add a package for libpsl-0.20.2. PR pkg/53459.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/48403901e06f
branches:  trunk
changeset: 310959:48403901e06f
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sat Jul 28 12:25:20 2018 +0000

description:
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

diffstat:

 www/libpsl/DESCR         |  21 +++++++++++++++++++++
 www/libpsl/Makefile      |  29 +++++++++++++++++++++++++++++
 www/libpsl/PLIST         |   7 +++++++
 www/libpsl/buildlink3.mk |  14 ++++++++++++++
 www/libpsl/distinfo      |   6 ++++++
 5 files changed, 77 insertions(+), 0 deletions(-)

diffs (97 lines):

diff -r 2dcf509d844d -r 48403901e06f www/libpsl/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/libpsl/DESCR  Sat Jul 28 12:25:20 2018 +0000
@@ -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
diff -r 2dcf509d844d -r 48403901e06f www/libpsl/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/libpsl/Makefile       Sat Jul 28 12:25:20 2018 +0000
@@ -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"
diff -r 2dcf509d844d -r 48403901e06f www/libpsl/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/libpsl/PLIST  Sat Jul 28 12:25:20 2018 +0000
@@ -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
diff -r 2dcf509d844d -r 48403901e06f www/libpsl/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/libpsl/buildlink3.mk  Sat Jul 28 12:25:20 2018 +0000
@@ -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
diff -r 2dcf509d844d -r 48403901e06f www/libpsl/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/libpsl/distinfo       Sat Jul 28 12:25:20 2018 +0000
@@ -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