FreeBSD Ports

dns/libpsl 0.23.3

C library to handle the Public Suffix List

Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
028547b39a
License
MIT
Categories
dns
Package size
67.3 KiB, 167.8 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

Install

As a binary package — by origin, or by package name:

pkg install dns/libpsl
pkg install libpsl

From the ports tree:

cd /usr/ports/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

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.23.30.23.30.21.1_60.21.5_20.23.3
FreeBSD:14:quarterly0.23.30.23.3n/a0.21.5_20.23.3
FreeBSD:15:latest0.23.30.23.3n/a0.21.5_20.21.5_2
FreeBSD:15:quarterly0.23.30.23.3n/an/an/a
FreeBSD:16:latest0.23.30.23.3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

The full lists below include those, and their dependencies in turn.

All build dependencies 13
All run dependencies 3
Required by 4385

The first 100 are listed.

Configuration

Options name: dns_libpsl

OptionDefaultDescription
ICUoffUse devel/icu (IDNA2008 UTS#46 library)
IDNoffUse dns/libidn (IDNA2003 library)
IDN2onUse 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.8
  • libdata/pkgconfig/libpsl.pc
  • share/man/man1/psl.1.gz
distinfo 1
FileSizeSHA256
libpsl-0.23.3.tar.lz2.126455e+069e60f70c9806f5e3f36581e9c05e9d817767953da3428c08e0ed9b9ad321d444
Master sites 1
  • https://github.com/rockdaboot/libpsl/releases/download/0.23.3/

Commit history 2

DateCommitCreditsLog message
028547b39a Po-Chuan Hsieh dns/libpsl: Update to 0.23.3
Changes: https://github.com/rockdaboot/libpsl/releases
14b161343a Po-Chuan Hsieh dns/libpsl: Update to 0.23.0
Changes: https://github.com/rockdaboot/libpsl/releases