fastports

libpsl 0.21.5_2

dns/libpsl

C library to handle the Public Suffix List

Category
dns
Maintainer
sunpoet@FreeBSD.org
WWW
https://github.com/rockdaboot/libpsl
License
MIT
USES
localbase:ldflags meson pkgconfig python:build shebangfix tar:lz iconv

Description

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 [1]
- 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 (libicu is used by psl2c if installed)

[1] http://lists.gnu.org/archive/html/bug-wget/2014-03/msg00093.html

Dependencies

Commit History

may be incomplete — full history at freebsd-ports on GitHub

Commit Credits Log message
0.21.5
ff33dd4700 files touched
Daniel Engberg (diizzy)
*/*: Bump consumers of devel/icu
...to avoid library mismatches
0.21.5
bae03bdd17 files touched
Nuno Teixeira (eduardo)
*/*: Bump consumers of dns/libidn
Reported by:	vvd
0.21.5
d94f59c10d files touched
Po-Chuan Hsieh (sunpoet)
dns/libpsl: Remove unnecessary substitution
- Cosmetic change
0.21.5
5e44dbd2e2 files touched
Daniel Engberg (diizzy)
dns/libpsl: Update to 0.21.5
Adjust Makefile to follow Porters Handbook more closely and for readability

Changelog: https://github.com/rockdaboot/libpsl/releases/tag/0.21.5

PR:		276315
Approved by:	portmgr (maintainer timeout, 2+ weeks)
0.21.2
fff7bad4e8 files touched
Muhammad Moinur Rahman (bofh)
*/*: Sanitize MANPREFIX for meson ports
In my previous some ports got slipped which are fixed here.

Approved by:	portmgr
0.21.2
e55b80195e files touched
Jan Beich (jbeich)
devel/icu: update to 74.1
Changes:	https://github.com/unicode-org/icu/releases/tag/release-74-1
Reported by:	GitHub (watch releases)
PR:		274317
Exp-run by:	antoine (incomplete)
Approved by:	fluffy
0.21.2
41a5ceaa96 files touched
Po-Chuan Hsieh (sunpoet)
dns/libpsl: Cosmetic change
0.21.2
f1f1a8be88 files touched
Jan Beich (jbeich)
devel/icu: update to 73.1
- Temporarily switch to GitHub auto archive (release artifacts are N/A atm)

Changes:	https://github.com/unicode-org/icu/releases/tag/release-73-1
Reported by:	GitHub (watch releases)
PR:		270422
Exp-run by:	antoine
0.21.2
bccc46e0b2 files touched
Po-Chuan Hsieh (sunpoet)
dns/libpsl: Convert to meson
- Remove NLS option
- Bump PORTREVISION for package change

PR:		269314
0.21.2
5592c5ea07 files touched
Po-Chuan Hsieh (sunpoet)
dns/libpsl: Change back to make
- Readd IDN and NLS options
- Do not install psl-make-dafsa because it requires Python
- Remove psl-make-dafsa.1
- Bump PORTREVISION for dependency and package change
0.21.2
f9ff6b1f78 files touched
Daniel Engberg (diizzy)
dns/libpsl: Update to 0.21.2 and switch to Meson
* Switch to Meson (simplifies patching and is faster)
* Drop IDN option, only allow IDNA2008 compatible libraries
* Switch default library to (lib)ICU as its a more common dependency
* Enable "make test"
* Install psl-make-dafsa binary not just manpage
* Modernize Makefile to follow Porters Handbook more closely

Changelog: https://github.com/rockdaboot/libpsl/releases/tag/0.21.2

PR:		268544
Approved by:	portmgr (maintainer timeout, 2+ weeks)
0.21.1
df6c65a026 files touched
Daniel Engberg (diizzy)
*/*: Bump PORTREVISION for consumers of libunistring
Reported by:	jbeich
0.21.1
dfe25d73e7 files touched
Jan Beich (jbeich)
devel/icu: update to 72.1
Changes:	https://github.com/unicode-org/icu/releases/tag/release-72-1
Reported by:	GitHub (watch releases)
PR:		266582
Exp-run by:	antoine
0.21.1
fb16dfecae files touched
Stefan Eßer (se)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
0.21.1
b7f05445c0 files touched
Stefan Eßer (se)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
0.21.1
66ee090cca files touched
Tobias C. Berner (tcberner)
dns: remove 'Created by' lines
A big Thank You to the original contributors of these ports:

  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Alex Samorukov <samm@freebsd.org>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Allan Jude <allanjude@freebsd.org>
  *  Amar Takhar <verm@drunkmonk.net>
  *  Anders Nordby <anders@fix.no>
  *  Andrew Greenwood <greenwood.andy@gmail.com>
  *  Anton Berezin <tobez@FreeBSD.org>
  *  Ashish SHUKLA <ashish@FreeBSD.org>
  *  Attila Nagy <bra@fsn.hu>
  *  Bas Kruit <baskruit@bsltwr.dhis.org>
  *  Bruce M. Simpson <bms@FreeBSD.org>
  *  Carlos J Puga Medina <cpm@fbsd.es>
  *  Chris St Denis (<chris@ctgameinfo.com>)
  *  Clement Laforet <clement@FreeBSD.org>
  *  Clement Laforet <sheepkiller@cultdeadsheep.org>
  *  Dan Langille <dvl@FreeBSD.org>
  *  Dan Pelleg <daniel+mdnsd@pelleg.org>
  *  Dan Smith <dan@algenta.com>
  *  David O'Brien (obrien@NUXI.com)
  *  Dean Hollister <dean@odyssey.apana.org.au>
  *  Dirk Froemberg <dirk@FreeBSD.org>
  *  Dmitry Pryadko <d.pryadko@rambler-co.ru>
  *  Dmitry Sivachenko <mitya@yandex-team.ru>
  *  Dominik Brettnacher <domi@saargate.de>
  *  Douglas Thrift <douglas@douglasthrift.net>
  *  Edwin Groothuis (edwin@mavetju.org)
  *  Edwin Groothuis <edwin@mavetju.org>
  *  Emanuel Haupt <ehaupt@FreeBSD.org>
  *  Emanuel Haupt <ehaupt@critical.ch>
  *  Eyal Soha <esoha@attbi.com>
  *  Filip Parag <filip@parag.rs>
  *  Filippo Natali <filippo.natali@gmail.com>
  *  Frank Behrens
  *  Gea-Suan Lin <gslin@gslin.org>
  *  Geoffroy Desvernay <dgeo@centrale-marseille.fr>
  *  George Reid <greid@ukug.uk.freebsd.org>
  *  Goran Mekić <meka@tilda.center>
  *  Hajimu UMEMOTO <ume@FreeBSD.org>
  *  Herve Quiroz <hq@FreeBSD.org>
  *  Hirohisa Yamaguchi <umq@ueo.co.jp>
  *  Hye-Shik Chang <perky@fallin.lv>
  *  Jaap Akkerhuis <jaap@NLnetLabs.nl>
  *  James FitzGibbon <jfitz@FreeBSD.org>
  *  Jase Thew <freebsd@beardz.net>
  *  Jimmy Bergman jimmy@sigint.se
  *  Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw>
  *  Joe Barbish
  *  Jov <amutu@amutu.com>
  *  Jui-Nan Lin <jnlin@freebsd.cs.nctu.edu.tw>
  *  Karl Dietz (Karl.Dietz@frankfurt.netsurf.de)
  *  Kirill Ponomarew <ponomarew@oberon.net>
  *  Koen Martens <gmc@sonologic.nl>
  *  Konstantin Saurbier <saurbier@math.uni-bielefeld.de>
  *  Kostya Lukin <lukin@okbmei.msk.su>
  *  Kris Kennaway <kris@FreeBSD.org>
  *  Kubilay Kocak <koobs@FreeBSD.org>
  *  Kurt Jaeger <fbsd-ports@opsec.eu>
  *  Leo Vandewoestijne <freebsd@dns-lab.com>
  *  Leo Vandewoestijne <freebsd@dns.company>
  *  MIHIRA Yoshiro <sanpei@jp.FreeBSD.org>
  *  Marcin Gondek <drixter@e-utp.net>
  *  Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
  *  Mark Felder <feld@FreeBSD.org>
  *  Mark Linimon <linimon@lonesome.com>
  *  Mark Pulford <mark@kyne.com.au>
  *  Martin Matuska <mm@FreeBSD.org>
  *  Martin Wilke <miwi@FreeBSD.org>
  *  Matthew Hunt <mph@pobox.com>
  *  Matthew Seaman
  *  Michael Cardell Widerkrantz <mc@hack.org>
  *  Moritz Warning <moritzwarning@web.de>
  *  Natacha Porte <natbsd@instinctive.eu>
  *  Neil Blakey-Milner
  *  Olivier Duchateau
  *  Paul Chvostek <paul@it.ca>
  *  Paul Dlug <paul@aps.org>
  *  Philippe Pepiot <phil@philpep.org>
  *  Piotr Kubaj <pkubaj@FreeBSD.org>
  *  Piotr Kubaj <pkubaj@anongoth.pl>
  *  Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  Rafal Lesniak <fbsd@grid.einherjar.de>
  *  Roman Shterenzon <roman@xpert.com>
  *  Rong-En Fan <rafan@FreeBSD.org>
  *  Roy Marples <roy@marples.name>
  *  Ryan Steinmetz <rpsfa@rit.edu>
  *  Ryan Steinmetz <zi@FreeBSD.org>
  *  Sahil Tandon <sahil@tandon.net>
  *  Seamus Venasse <svenasse@polaris.ca>
  *  Sergei Kolobov <sergei@FreeBSD.org>
  *  Sergei Kolobov <sergei@kolobov.com>
  *  Sergey Matveychuk <sem@FreeBSD.org>
  *  Sergey Skvortsov <skv@protey.ru>
  *  Simon Dick <simond@irrelevant.org>
  *  Stefan Esser <se@FreeBSD.org>
  *  Steve Wills <swills@FreeBSD.org>
  *  Steve Wills <swills@freebsd.org>
  *  Steven Honson
  *  Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
  *  Timothy Beyer <beyert@cs.ucr.edu>
  *  Waitman Gobble <waitman@waitman.net>
  *  Wen Heping <wen@FreeBSD.org>
  *  Wen Heping <wenheping@gmail.com>
  *  Zane C, Bowers <vvelox@vvelox.net>
  *  adamw
  *  alexis
  *  andrew@ugh.net.au
  *  bkhl
  *  clsung
  *  clsung@dragon2.net
  *  dglo@ssec.wisc.edu
  *  dnscheckengine-port@academ.com (Stan Barber)
  *  fenner
  *  geniusj@ods.org
  *  ijliao
  *  ismail.yenigul@endersys.com.tr
  *  krion
  *  mark@foster.cc
  *  n@nectar.com
  *  roam@FreeBSD.org
  *  rodrigc@FreeBSD.org
  *  rpsfa@rit.edu
  *  sten@blinkenlights.nl

With hat:	portmgr
0.21.1
268cee3b02 files touched
Jan Beich (jbeich)
devel/icu: update to 71.1
Changes:	https://github.com/unicode-org/icu/releases/tag/release-71-1
Reported by:	GitHub (watch releases)
PR:		262654
Exp-run by:	antoine
Approved by:	fluffy
0.21.1
97e347a3a6 files touched
Daniel Engberg (diizzy)
dns/libpsl: Don't rebuild man pages
Upstream confusingly refers to (re)generation of man pages as
"--enable-man" in configure script. Pages are already pre-built
so no need to rebuild

PR:		262954
Reported by:	gja822@narod.ru
Approved by:	portmgr (blanket)
0.21.1
f34ece3aa6 files touched
Jan Beich (jbeich)
devel/icu: update to 70.1
Changes:	https://github.com/unicode-org/icu/releases/tag/release-70-1
Reported by:	GitHub (watch releases)
PR:		258794
Exp-run by:	antoine
0.21.1
69d24a727d files touched
Jan Beich (jbeich)
devel/icu: update to 69.1
Changes:	https://github.com/unicode-org/icu/releases/tag/release-69-1
Reported by:	GitHub (watch releases)
0.21.1
305f148f48 files touched
Mathieu Arnold (mat)
Remove # $FreeBSD$ from Makefiles.
0.21.1
6d5d6429d5 files touched
Jan Beich (jbeich)
devel/icu: update to 68.1
Changes:	http://site.icu-project.org/download/68
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
Reported by:	GitHub (watch releases)
0.21.1
a014bafbb9 files touched
Sunpoet Po-Chuan Hsieh (sunpoet)
Use upstream release tarball
0.21.1
3091f770a8 files touched
Sunpoet Po-Chuan Hsieh (sunpoet)
Update to 0.21.1
Changes:	https://github.com/rockdaboot/libpsl/blob/master/NEWS
0.21.0
ffb8eb82e5 files touched
Jan Beich (jbeich)
devel/icu: update to 67.1
Changes:	http://site.icu-project.org/download/67
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
Reported by:	GitHub (watch releases)
0.21.0
f821cdc347 files touched
Jan Beich (jbeich)
devel/icu: update to 66.1
Changes:	http://site.icu-project.org/download/66
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
0.21.0
539428dc40 files touched
Sunpoet Po-Chuan Hsieh (sunpoet)
Cosmetic change
0.21.0
4bbb4133b2 files touched
Jan Beich (jbeich)
devel/icu: update to 65.1
Changes:	http://site.icu-project.org/download/65
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
0.21.0
672518a0b8 files touched
Sunpoet Po-Chuan Hsieh (sunpoet)
Update to 0.21.0
Changes:	https://github.com/rockdaboot/libpsl/blob/master/NEWS
0.20.2
2f31716e5c files touched
Yuri Victorovich (yuri)
dns/libidn: Update to 1.35
Bump 48 ports.
Previous update to 1.34 broke jabberd.

PR:		228048
0.20.2
480c577baa files touched
Jan Beich (jbeich)
devel/icu: update to 64.1
Changes:	http://site.icu-project.org/download/64
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
PR:		236325
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D19479
0.20.2
dc7a01a3c8 files touched
Sunpoet Po-Chuan Hsieh (sunpoet)
Update dns/libidn2 to 2.1.1
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://gitlab.com/libidn/libidn2/blob/master/NEWS
0.20.2
06e735460e files touched
Sunpoet Po-Chuan Hsieh (sunpoet)
Update dns/libidn2 to 2.1.0
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://gitlab.com/libidn/libidn2/blob/master/NEWS
0.20.2
91f9922c6f files touched
Jan Beich (jbeich)
devel/icu: update to 63.1
Changes:	http://site.icu-project.org/download/63
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
PR:		232300
Exp-run by:	antoine
0.20.2
3beb732dad files touched
Jan Beich (jbeich)
devel/icu: update to 62.1
Changes:	http://site.icu-project.org/download/62
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
PR:		229359
Exp-run by:	antoine (only 10.4)
0.20.2
3f134a23ba files touched
Sunpoet Po-Chuan Hsieh (sunpoet)
Fix NLS option
- Clean up CONFIGURE_ARGS
0.20.2
9e72245619 files touched
Sunpoet Po-Chuan Hsieh (sunpoet)
Fix overlinking
- Bump PORTREVISION for package change
0.20.2
6ca3e8a3cb files touched
Sunpoet Po-Chuan Hsieh (sunpoet)
Update to 0.20.2
- Change default IDNA library from libicu to libidn2: upstream changed it since 0.18.0

Changes:	https://github.com/rockdaboot/libpsl/blob/master/NEWS
0.20.1
ae60358af5 files touched
Jan Beich (jbeich)
devel/icu: update to 61.1
Changes:	http://site.icu-project.org/download/61
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
PR:		227042
Exp-run by:	antoine
MFH:		2018Q2 (required by Firefox 61)
0.20.1
3b63c52143 files touched
Sunpoet Po-Chuan Hsieh (sunpoet)
Update dns/libpsl to 0.20.1
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://github.com/rockdaboot/libpsl/blob/master/NEWS
		https://github.com/rockdaboot/libpsl/blob/libpsl-0.20.1/NEWS
0.20.0
5a86ebc1e7 files touched
Sunpoet Po-Chuan Hsieh (sunpoet)
Update dns/libpsl to 0.20.0
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://github.com/rockdaboot/libpsl/blob/master/NEWS
0.19.1
a36a533071 files touched
Sunpoet Po-Chuan Hsieh (sunpoet)
Update to 0.19.1
Changes:	https://github.com/rockdaboot/libpsl/blob/master/NEWS
0.18.0
99b0558e42 files touched
Jan Beich (jbeich)
devel/icu: update to 60.1
Changes:	http://site.icu-project.org/download/60
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
PR:		223373
Exp-run by:	antoine
0.18.0
a382198617 files touched
Jan Beich (jbeich)
devel/icu: update to 59.1
- Temporarily keep C++98 working in consumers for Clang's default -std=

Changes:	http://site.icu-project.org/download/59
PR:		218788
Submitted by:	takefu@airport.fm, dcarmich@dcarmichael.net (early version)
Exp-run by:	antoine
0.18.0
0c178ac258 files touched
Sunpoet Po-Chuan Hsieh (sunpoet)
Update to 0.18.0
Changes:	https://github.com/rockdaboot/libpsl/blob/master/NEWS
0.17.0
44d7b87512 files touched
Sunpoet Po-Chuan Hsieh (sunpoet)
Use UTF-8 locale to ensure psl-make-dafsa processing
The error message using C locale is as follows:

./psl-make-dafsa --output-format=cxx+ "/usr/local/share/public_suffix_list/public_suffix_list.dat" suffixes_dafsa.c
Traceback (most recent call last):
  File "./psl-make-dafsa", line 695, in <module>
    sys.exit(main())
  File "./psl-make-dafsa", line 689, in main
    outfile.write(converter(parser(infile, utf_mode, codecs), utf_mode, codecs))
  File "./psl-make-dafsa", line 559, in parse_psl
    for line in infile:
  File "/usr/local/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 7619: ordinal not in range(128)
0.17.0
f25253a22a files touched
Sunpoet Po-Chuan Hsieh (sunpoet)
Update to 0.17.0
Changes:	https://github.com/rockdaboot/libpsl/blob/master/NEWS
0.16.1
3c043e26a7 files touched
Sunpoet Po-Chuan Hsieh (sunpoet)
- Add USES=localbase:ldflags
0.16.1
619c99ffbb files touched
Sunpoet Po-Chuan Hsieh (sunpoet)
- Update to 0.16.1 - Bump PORTREVISION for dependent ports
Changes:	https://github.com/rockdaboot/libpsl/blob/master/NEWS
0.16.0
7951f57490 files touched
Sunpoet Po-Chuan Hsieh (sunpoet)
- Update to 0.16.0 - Bump PORTREVISION for dependent ports
Changes:	https://github.com/rockdaboot/libpsl/blob/master/NEWS

Load all commits →