Sat Jul 28 12:25:20 2018 UTC ()
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


(bsiegert)
diff -r0 -r1.1 pkgsrc/www/libpsl/DESCR
diff -r0 -r1.1 pkgsrc/www/libpsl/Makefile
diff -r0 -r1.1 pkgsrc/www/libpsl/PLIST
diff -r0 -r1.1 pkgsrc/www/libpsl/buildlink3.mk
diff -r0 -r1.1 pkgsrc/www/libpsl/distinfo

File Added: pkgsrc/www/libpsl/DESCR
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

File Added: pkgsrc/www/libpsl/Makefile
# $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
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"

File Added: pkgsrc/www/libpsl/PLIST
@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

File Added: pkgsrc/www/libpsl/buildlink3.mk
# $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

File Added: pkgsrc/www/libpsl/distinfo
$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