FreshPorts -- The Place For Ports notbugIf you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
libpsl C library to handle the Public Suffix List
0.20.2_1 dns on this many watch lists=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 04 Dec 2015 12:23:40
License: MIT
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

WWW: https://github.com/rockdaboot/libpsl
SVNWeb : Homepage : PortsMon
    Pseudo-pkg-plist information, but much better, from make generate-plist
    Expand this list (14 items)
  1. /usr/local/share/licenses/libpsl-0.20.2_1/catalog.mk
  2. /usr/local/share/licenses/libpsl-0.20.2_1/LICENSE
  3. /usr/local/share/licenses/libpsl-0.20.2_1/MIT
  4. bin/psl
  5. include/libpsl.h
  6. lib/libpsl.a
  7. lib/libpsl.so
  8. lib/libpsl.so.5
  9. lib/libpsl.so.5.3.1
  10. libdata/pkgconfig/libpsl.pc
  11. man/man1/psl-make-dafsa.1.gz
  12. man/man1/psl.1.gz
  13. @postexec /sbin/ldconfig -m /usr/local/lib
  14. @postunexec /sbin/ldconfig -R
  15. Collapse this list.

To install the port: cd /usr/ports/dns/libpsl/ && make install clean
To add the package: pkg install libpsl

PKGNAME: libpsl

distinfo:

TIMESTAMP = 1524845247
SHA256 (rockdaboot-libpsl-libpsl-0.20.2_GH0.tar.gz) = 7aa949fd3fdba61b0dc7b3f4c2520263b942c189746e157f48436386eca3398e
SIZE (rockdaboot-libpsl-libpsl-0.20.2_GH0.tar.gz) = 8589843


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. public_suffix_list>=0 : dns/public_suffix_list
  2. xsltproc : textproc/libxslt
  3. autoconf-2.69 : devel/autoconf
  4. autoheader-2.69 : devel/autoconf
  5. autoreconf-2.69 : devel/autoconf
  6. aclocal-1.15 : devel/automake
  7. automake-1.15 : devel/automake
  8. libtoolize : devel/libtool
  9. pkgconf>=1.3.0_1 : devel/pkgconf
  10. python2.7 : lang/python27
  11. msgfmt : devel/gettext-tools
Library dependencies:
  1. libidn2.so : dns/libidn2
  2. libunistring.so : devel/libunistring
  3. libintl.so : devel/gettext-runtime
  4. libiconv.so : converters/libiconv
There are no ports dependent upon this port

Configuration Options
===> The following configuration options are available for libpsl-0.20.2_1:
     NLS=on: Native Language Support
====> Options available for the single IDNA: you have to select exactly one of them
     ICU=off: Use devel/icu (IDNA2008 UTS#46 library)
     IDN=off: Use dns/libidn (IDNA2003 library)
     IDN2=on: Use dns/libidn2 (IDNA2008 library)
===> Use 'make config' to modify these settings

USES:
autoreconf libtool localbase:ldflags pathfix pkgconfig python:build shebangfix gettext iconv

Master Sites:
  1. https://codeload.github.com/rockdaboot/libpsl/tar.gz/libpsl-0.20.2?dummy=/

Number of commits found: 25

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
05 May 2018 22:24:42
Original commit files touched by this commit  0.20.2_1
Revision:469169
sunpoet search for other commits by this committer
Fix NLS option

- Clean up CONFIGURE_ARGS
05 May 2018 17:21:13
Original commit files touched by this commit  0.20.2_1
Revision:469134
sunpoet search for other commits by this committer
Fix overlinking

- Bump PORTREVISION for package change
27 Apr 2018 18:52:13
Original commit files touched by this commit  0.20.2
Revision:468480
sunpoet search for other commits by this committer
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
06 Apr 2018 15:53:17
Original commit files touched by this commit  0.20.1_1
Revision:466648
jbeich search for other commits by this committer
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)
27 Feb 2018 13:24:14
Original commit files touched by this commit  0.20.1
Revision:463125
sunpoet search for other commits by this committer
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
23 Feb 2018 19:23:57
Original commit files touched by this commit  0.20.0
Revision:462716
sunpoet search for other commits by this committer
Update dns/libpsl to 0.20.0

- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://github.com/rockdaboot/libpsl/blob/master/NEWS
10 Nov 2017 19:10:06
Original commit files touched by this commit  0.19.1
Revision:453922
sunpoet search for other commits by this committer
Update to 0.19.1

Changes:	https://github.com/rockdaboot/libpsl/blob/master/NEWS
09 Nov 2017 02:31:48
Original commit files touched by this commit  0.18.0_2
Revision:453790
jbeich search for other commits by this committer
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
25 Sep 2017 00:02:36
Original commit files touched by this commit  0.18.0_1
Revision:450556  Sanity Test Failure
jbeich search for other commits by this committer
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
21 Jul 2017 17:28:59
Original commit files touched by this commit  0.18.0
Revision:446322
sunpoet search for other commits by this committer
Update to 0.18.0

Changes:	https://github.com/rockdaboot/libpsl/blob/master/NEWS
07 Apr 2017 23:16:15
Original commit files touched by this commit  0.17.0
Revision:437963
sunpoet search for other commits by this committer
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)
17 Jan 2017 17:20:48
Original commit files touched by this commit  0.17.0
Revision:431755
sunpoet search for other commits by this committer
Update to 0.17.0

Changes:	https://github.com/rockdaboot/libpsl/blob/master/NEWS
18 Dec 2016 15:21:49
Original commit files touched by this commit  0.16.1
Revision:428861
sunpoet search for other commits by this committer
- Add USES=localbase:ldflags
17 Dec 2016 12:50:19
Original commit files touched by this commit  0.16.1
Revision:428728
sunpoet search for other commits by this committer
- Update to 0.16.1
- Bump PORTREVISION for dependent ports

Changes:	https://github.com/rockdaboot/libpsl/blob/master/NEWS
12 Dec 2016 20:57:42
Original commit files touched by this commit  0.16.0
Revision:428433
sunpoet search for other commits by this committer
- Update to 0.16.0
- Bump PORTREVISION for dependent ports

Changes:	https://github.com/rockdaboot/libpsl/blob/master/NEWS
19 Nov 2016 18:21:20
Original commit files touched by this commit  0.15.0_1
Revision:426525
jbeich search for other commits by this committer
devel/icu: update to 58.1

Changes:	http://site.icu-project.org/download/58
PR:		214384
Exp-run by:	antoine
Approved by:	office (bapt)
19 Nov 2016 17:03:09
Original commit files touched by this commit  0.15.0
Revision:426401
sunpoet search for other commits by this committer
- Update to 0.15.0

Changes:	https://github.com/rockdaboot/libpsl/blob/master/NEWS
21 Oct 2016 15:21:13
Original commit files touched by this commit  0.13.0_3
Revision:424427
mat search for other commits by this committer
Use USES=pathfix where applicable.

PR:		213195
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D8093
24 Sep 2016 11:06:57
Original commit files touched by this commit  0.13.0_3
Revision:422711
tijl search for other commits by this committer
- Update devel/icu to 57.1.
- Clean up the Makefile.
- Follow some upstream recommendations (--with-data-packaging=archive,
  --disable-renaming, -DICU_NO_USER_DATA_OVERRIDE).
- Patch makefiles to install static libraries with INSTALL_DATA so they
  aren't stripped.
- Patch config/mh-bsd-gcc to sync with config/mh-linux-gcc.
- Fix endianness detection in ICU.  The code wanted to use BYTE_ORDER
  defined in machine/endian.h, but this isn't visible because ICU is
  compiled with _XOPEN_SOURCE.  Patch the code to use _BYTE_ORDER instead.
- Compile ICU with C++11 compiler to enable move constructors.
- Patch ICU to fix a problem with atomics in the case of a C++11 compiler
  without C++11 header <atomic> (like Clang on FreeBSD 9).
- Bump all ports that depend on it due to library version change.
- Add USES=compiler:c++0x to some ports that pick up -std=c++0x from ICU
  pkgconfig files.
- Add USES=compiler:c++11-lib to graphics/libcdr01 because it also needs
  a C++11 runtime library now.  Add this to all ports that depend on it
  so their executables load the right libstdc++.so on FreeBSD 9.

PR:		205120
Exp-run by:	antoine
Approved by:	portmgr (antoine)
24 Aug 2016 18:22:21
Original commit files touched by this commit  0.13.0_2
Revision:420812
novel search for other commits by this committer
dns/libpsl: fix configure with NLS disabled

Add gettext-tools to NLS_USES_OFF because otherwise it fails
to configure.

While here, pet portlint by moving PORTREVISION to proper place.

PR:		210342
Submitted by:	matthew@reztek.cz
Approved by:	maintainer timeout (>1 month)
06 Jul 2016 22:10:14
Original commit files touched by this commit  0.13.0_2
Revision:418153
mat search for other commits by this committer
Bump PORTREVISION for the icu revert.

This time not bumping lang/php70, but devel/php70-intl which is the one
really depending on icu.

PR:		205120
With hat:	portmgr
Sponsored by:	Absolight
06 Jul 2016 07:34:13
Original commit files touched by this commit  0.13.0_1
Revision:418119
gahr search for other commits by this committer
devel/icu: bump PORTREVISION on dependent ports
09 Apr 2016 12:29:38
Original commit files touched by this commit  0.13.0
Revision:412809
sunpoet search for other commits by this committer
- Update to 0.13.0
- Bump PORTREVISION for dns/libpsl shlib change

Changes:	https://github.com/rockdaboot/libpsl/blob/master/NEWS
01 Apr 2016 14:00:57
Original commit files touched by this commit  0.11.0
Revision:412346
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
04 Dec 2015 12:23:12
Original commit files touched by this commit  0.11.0
Revision:402928
sunpoet search for other commits by this committer
- Add libpsl 0.11.0

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

WWW: https://github.com/rockdaboot/libpsl

Number of commits found: 25

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
bind912May 21
xorg-server*May 20
curlMay 16
chromiumMay 11
wavpackMay 11
jenkinsMay 10
jenkins-ltsMay 10
firefoxMay 09
firefox-esrMay 09
libxulMay 09
linux-firefoxMay 09
linux-flashplayerMay 09
linux-seamonkeyMay 09
linux-thunderbirdMay 09
seamonkeyMay 09

9 vulnerabilities affecting 109 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2018-05-21 04:12:47


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 34329
Broken 105
Deprecated 136
Ignore 337
Forbidden 2
Restricted 162
No CDROM 77
Vulnerable 32
Expired 9
Set to expire 124
Interactive 0
new 24 hours 5
new 48 hours41
new 7 days142
new fortnight224
new month3512

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2018 Dan Langille. All rights reserved.