| Port details on branch 2023Q1 |
- libpsl C library to handle the Public Suffix List
- 0.22.0 dns
=20 0.21.5_2Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2015-12-04 12:23:40
- Last Update: 2026-06-28 14:18:49
- Commit Hash: fb55dd4
- People watching this port, also watch:: indexinfo, readline, libunistring, liblz4, libnghttp2
- License: MIT
- WWW:
- https://github.com/rockdaboot/libpsl
- 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
¦ ¦ ¦ ¦ 
- Manual pages:
-
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- To install the port:
- cd /usr/ports/dns/libpsl/ && make install clean
- To add the package, run one of these commands:
- pkg install dns/libpsl
- pkg install libpsl
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: libpsl
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1782510020
SHA256 (libpsl-0.22.0.tar.lz) = 98e65650e08a8d286c2ee71811a5bbf7331e33827f191645fbf708f9225bdef4
SIZE (libpsl-0.22.0.tar.lz) = 2109004
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- public_suffix_list>=0 : dns/public_suffix_list
- meson : devel/meson
- ninja : devel/ninja
- pkgconf>=1.3.0_1 : devel/pkgconf
- python3.12 : lang/python312
- Library dependencies:
-
- libidn2.so : dns/libidn2
- libunistring.so : devel/libunistring
- This port is required by:
- for Libraries
-
- devel/libsoup
- devel/libsoup3
- ftp/curl
- net-p2p/transmission-components
- net-p2p/tremotesf
- www/wget2
Configuration Options:
- ===> The following configuration options are available for libpsl-0.22.0:
====> 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
- Options name:
- dns_libpsl
- USES:
- localbase:ldflags meson pkgconfig python:build shebangfix tar:lz iconv
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|