dns/libpsl 0.21.5_1 MidnightBSD
C library to handle the Public Suffix List
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- dns
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 |
|---|---|---|
| MidnightBSD | dns/libpsl | 0.21.5_1 |
| FreeBSD | dns/libpsl | 0.23.3 |
| OpenBSD | net/libpsl | 0.21.1p1 |
| NetBSD | www/libpsl | 0.23.3 |
| DragonFly | dns/libpsl | 0.21.5_2 |
| HardenedBSD | dns/libpsl | 0.23.3 |
| GhostBSD | dns/libpsl | 0.23.3 |
| OPNsense | dns/libpsl | 0.21.5_2 |
Install
Binary package:
mport install libpsl
From mports:
cd /usr/mports/dns/libpsl && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= libpsl>0:dns/libpsl
LIB_DEPENDS= libpsl.so:dns/libpsl
Dependencies
As this port's Makefile names them.
Build 1
public_suffix_list>=0: dns/public_suffix_list
Build dependencies 1
Configuration
Options name: dns_libpsl
| Option | Default | Description |
|---|---|---|
| ICU | off | Use devel/icu (IDNA2008 UTS#46 library) |
| IDN | off | Use dns/libidn (IDNA2003 library) |
| IDN2 | on | Use dns/libidn2 (IDNA2008 library) |
- USES
- localbase:ldflags meson pkgconfig python:build shebangfix tar:lz
- Service scripts
- none
Files
Manual pages 1
- psl(1)
pkg-plist 8
- bin/psl
- include/libpsl.h
- lib/libpsl.a
- lib/libpsl.so
- lib/libpsl.so.5
- lib/libpsl.so.5.3.5
- libdata/pkgconfig/libpsl.pc
- share/man/man1/psl.1.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| libpsl-0.21.5.tar.lz | 2.016549e+06 | 9a9f6a8c6edba650cf9ea55475cd172dd28487316804e9c73202d97572cd3a2d |
Master sites 1
- https://github.com/rockdaboot/libpsl/releases/download/0.21.5/