dns/libpsl 0.21.5_2 DragonFly
C library to handle the Public Suffix List
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MIT
- Categories
- dns
- Package size
- 60.2 KiB, 161.2 KiB installed
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
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | dns/libpsl | 0.21.5_2 |
| FreeBSD | dns/libpsl | 0.23.3 |
| OpenBSD | net/libpsl | 0.21.1p1 |
| NetBSD | www/libpsl | 0.23.3 |
| MidnightBSD | dns/libpsl | 0.21.5_1 |
Install
Binary package:
pkg install libpsl
From DPorts:
cd /usr/dports/dns/libpsl && make install clean