[1ad3510e] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[700cd09] | 7 | <!ENTITY libpsl-download-http "https://github.com/rockdaboot/libpsl/releases/download/&libpsl-version;/libpsl-&libpsl-version;.tar.gz">
|
---|
[1ad3510e] | 8 | <!ENTITY libpsl-download-ftp " ">
|
---|
[700cd09] | 9 | <!ENTITY libpsl-md5sum "ad40b970dcb5117d559b62a1e0d8d827">
|
---|
[1ad3510e] | 10 | <!ENTITY libpsl-size "8.8 MB">
|
---|
| 11 | <!ENTITY libpsl-buildsize "54 MB">
|
---|
[700cd09] | 12 | <!ENTITY libpsl-time "0.1 SBU (including tests)">
|
---|
[1ad3510e] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libpsl" xreflabel="libpsl-&libpsl-version;">
|
---|
| 16 | <?dbhtml filename="libpsl.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>libpsl-&libpsl-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="libpsl">
|
---|
| 25 | <primary sortas="a-libpsl">libpsl</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to libpsl</title>
|
---|
| 30 |
|
---|
| 31 | <para>
|
---|
| 32 | The <application>libpsl</application> package provides a library for
|
---|
| 33 | accessing and resolving information from the Public Suffix List (PSL). The PSL
|
---|
| 34 | is a set of domain names beyond the standard suffixes, such as .com.
|
---|
| 35 | </para>
|
---|
| 36 |
|
---|
[8c415ea] | 37 | &lfs111_checked;
|
---|
[1ad3510e] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&libpsl-download-http;"/>
|
---|
| 44 | </para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&libpsl-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
| 53 | Download MD5 sum: &libpsl-md5sum;
|
---|
| 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Download size: &libpsl-size;
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Estimated disk space required: &libpsl-buildsize;
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>
|
---|
| 68 | Estimated build time: &libpsl-time;
|
---|
| 69 | </para>
|
---|
| 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect3">libpsl Dependencies</bridgehead>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 76 | <para role="required">
|
---|
[721991c] | 77 | <xref linkend="libidn2"/>
|
---|
[1ad3510e] | 78 | </para>
|
---|
| 79 |
|
---|
| 80 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 81 | <para role="optional">
|
---|
| 82 | <xref linkend="gtk-doc"/> (for documentation) and
|
---|
| 83 | <xref linkend="valgrind"/> (for tests)
|
---|
| 84 | </para>
|
---|
| 85 |
|
---|
| 86 | <para condition="html" role="usernotes">
|
---|
| 87 | User Notes: <ulink url="&blfs-wiki;/libpsl"/>
|
---|
| 88 | </para>
|
---|
| 89 | </sect2>
|
---|
| 90 |
|
---|
| 91 | <sect2 role="installation">
|
---|
| 92 | <title>Installation of libpsl</title>
|
---|
| 93 |
|
---|
| 94 | <para>
|
---|
| 95 | Install <application>libpsl</application> by running the following
|
---|
| 96 | commands:
|
---|
| 97 | </para>
|
---|
| 98 |
|
---|
[721991c] | 99 | <screen><userinput>sed -i 's/env python/&3/' src/psl-make-dafsa &&
|
---|
| 100 | ./configure --prefix=/usr --disable-static &&
|
---|
[1ad3510e] | 101 | make</userinput></screen>
|
---|
| 102 |
|
---|
| 103 | <para>
|
---|
| 104 | To test the results, issue: <command>make check</command>.
|
---|
| 105 | </para>
|
---|
| 106 |
|
---|
| 107 | <para>
|
---|
| 108 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 109 | </para>
|
---|
| 110 |
|
---|
| 111 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 112 | </sect2>
|
---|
| 113 |
|
---|
[721991c] | 114 | <sect2 role="commands">
|
---|
| 115 | <title>Command Explanations</title>
|
---|
| 116 |
|
---|
| 117 | <para>
|
---|
| 118 | <command>sed -i ...</command>: This command forces the use of
|
---|
[ec76b4f] | 119 | <application>Python 3</application> in an utility even if
|
---|
| 120 | the outdated <application>Python 2</application> is installed.
|
---|
[721991c] | 121 | </para>
|
---|
| 122 |
|
---|
| 123 | </sect2>
|
---|
[1ad3510e] | 124 | <sect2 role="content">
|
---|
| 125 | <title>Contents</title>
|
---|
| 126 |
|
---|
| 127 | <segmentedlist>
|
---|
| 128 | <segtitle>Installed Program</segtitle>
|
---|
| 129 | <segtitle>Installed Library</segtitle>
|
---|
| 130 | <segtitle>Installed Directories</segtitle>
|
---|
| 131 |
|
---|
| 132 | <seglistitem>
|
---|
| 133 | <seg>
|
---|
| 134 | psl
|
---|
| 135 | </seg>
|
---|
| 136 | <seg>
|
---|
| 137 | libpsl.so
|
---|
| 138 | </seg>
|
---|
| 139 | <seg>
|
---|
| 140 | None
|
---|
| 141 | </seg>
|
---|
| 142 | </seglistitem>
|
---|
| 143 | </segmentedlist>
|
---|
| 144 |
|
---|
| 145 | <variablelist>
|
---|
| 146 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 147 | <?dbfo list-presentation="list"?>
|
---|
| 148 | <?dbhtml list-presentation="table"?>
|
---|
| 149 |
|
---|
| 150 | <varlistentry id="psl">
|
---|
| 151 | <term><command>psl</command></term>
|
---|
| 152 | <listitem>
|
---|
| 153 | <para>
|
---|
[4c24eb0a] | 154 | queries the Public Suffix List
|
---|
[1ad3510e] | 155 | </para>
|
---|
| 156 | <indexterm zone="libpsl psl">
|
---|
| 157 | <primary sortas="b-psl">psl</primary>
|
---|
| 158 | </indexterm>
|
---|
| 159 | </listitem>
|
---|
| 160 | </varlistentry>
|
---|
| 161 |
|
---|
| 162 | <varlistentry id="libpsl-lib">
|
---|
| 163 | <term><filename class="libraryfile">libpsl.so</filename></term>
|
---|
| 164 | <listitem>
|
---|
| 165 | <para>
|
---|
[4c24eb0a] | 166 | contains a library used to access the Public Suffix List
|
---|
[1ad3510e] | 167 | </para>
|
---|
| 168 | <indexterm zone="libpsl libpsl-lib">
|
---|
| 169 | <primary sortas="c-libpsl">libpsl.so</primary>
|
---|
| 170 | </indexterm>
|
---|
| 171 | </listitem>
|
---|
| 172 | </varlistentry>
|
---|
| 173 | </variablelist>
|
---|
| 174 | </sect2>
|
---|
[4c24eb0a] | 175 |
|
---|
[1ad3510e] | 176 | </sect1>
|
---|