glfs/networking/netlibs/libpsl.xml

176 lines
4.7 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY libpsl-download-http "https://github.com/rockdaboot/libpsl/releases/download/&libpsl-version;/libpsl-&libpsl-version;.tar.gz">
<!ENTITY libpsl-download-ftp " ">
<!ENTITY libpsl-md5sum "ad40b970dcb5117d559b62a1e0d8d827">
<!ENTITY libpsl-size "8.8 MB">
<!ENTITY libpsl-buildsize "54 MB">
<!ENTITY libpsl-time "0.1 SBU (including tests)">
]>
<sect1 id="libpsl" xreflabel="libpsl-&libpsl-version;">
<?dbhtml filename="libpsl.html"?>
<sect1info>
<date>$Date$</date>
</sect1info>
<title>libpsl-&libpsl-version;</title>
<indexterm zone="libpsl">
<primary sortas="a-libpsl">libpsl</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to libpsl</title>
<para>
The <application>libpsl</application> 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.
</para>
&lfs110a_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&libpsl-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&libpsl-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &libpsl-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &libpsl-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &libpsl-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &libpsl-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">libpsl Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="libidn2"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="gtk-doc"/> (for documentation) and
<xref linkend="valgrind"/> (for tests)
</para>
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/libpsl"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of libpsl</title>
<para>
Install <application>libpsl</application> by running the following
commands:
</para>
<screen><userinput>sed -i 's/env python/&amp;3/' src/psl-make-dafsa &amp;&amp;
./configure --prefix=/usr --disable-static &amp;&amp;
make</userinput></screen>
<para>
To test the results, issue: <command>make check</command>.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<command>sed -i ...</command>: This command forces the use of
<application>Python 3</application> in an utility.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
psl
</seg>
<seg>
libpsl.so
</seg>
<seg>
None
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="psl">
<term><command>psl</command></term>
<listitem>
<para>
queries the Public Suffix List
</para>
<indexterm zone="libpsl psl">
<primary sortas="b-psl">psl</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libpsl-lib">
<term><filename class="libraryfile">libpsl.so</filename></term>
<listitem>
<para>
contains a library used to access the Public Suffix List
</para>
<indexterm zone="libpsl libpsl-lib">
<primary sortas="c-libpsl">libpsl.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>