The libpsl package provides a library for accessing and resolving information from the Public Suffix List (PSL). The PSL is a set of domain names beyond the standard suffixes, such as .com.
This package is known to build and work properly using an LFS 11.3 platform.
Download (HTTP): https://github.com/rockdaboot/libpsl/releases/download/0.21.2/libpsl-0.21.2.tar.gz
Download MD5 sum: 2864d3eb744b378d68f5c4da25603459
Download size: 7.2 MB
Estimated disk space required: 51 MB
Estimated build time: less than 0.1 SBU (including tests)
GTK-Doc-1.33.2 (for documentation) and Valgrind-3.20.0 (for tests)
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/libpsl
Install libpsl by running the following commands:
sed -i 's/env python/&3/' src/psl-make-dafsa && ./configure --prefix=/usr --disable-static PYTHON=python3 && make
To test the results, issue: make check.
Now, as the root
user:
make install
sed -i ...: This command forces the use of Python 3 in an utility.