[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[1ad3510e] | 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 " ">
|
---|
[12dc86b] | 9 | <!ENTITY libpsl-md5sum "870a798ee9860b6e77896548428dba7b">
|
---|
| 10 | <!ENTITY libpsl-size "7.3 MB">
|
---|
| 11 | <!ENTITY libpsl-buildsize "50 MB">
|
---|
[cd6894be] | 12 | <!ENTITY libpsl-time "less than 0.1 SBU (including tests)">
|
---|
[1ad3510e] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libpsl" xreflabel="libpsl-&libpsl-version;">
|
---|
| 16 | <?dbhtml filename="libpsl.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>libpsl-&libpsl-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="libpsl">
|
---|
| 22 | <primary sortas="a-libpsl">libpsl</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to libpsl</title>
|
---|
| 27 |
|
---|
| 28 | <para>
|
---|
| 29 | The <application>libpsl</application> package provides a library for
|
---|
| 30 | accessing and resolving information from the Public Suffix List (PSL). The PSL
|
---|
| 31 | is a set of domain names beyond the standard suffixes, such as .com.
|
---|
| 32 | </para>
|
---|
| 33 |
|
---|
[e375445] | 34 | &lfs122_checked;
|
---|
[1ad3510e] | 35 |
|
---|
| 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>
|
---|
| 40 | Download (HTTP): <ulink url="&libpsl-download-http;"/>
|
---|
| 41 | </para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>
|
---|
| 45 | Download (FTP): <ulink url="&libpsl-download-ftp;"/>
|
---|
| 46 | </para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
| 50 | Download MD5 sum: &libpsl-md5sum;
|
---|
| 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
| 55 | Download size: &libpsl-size;
|
---|
| 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
| 60 | Estimated disk space required: &libpsl-buildsize;
|
---|
| 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Estimated build time: &libpsl-time;
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
| 69 |
|
---|
| 70 | <bridgehead renderas="sect3">libpsl Dependencies</bridgehead>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 73 | <para role="required">
|
---|
[781a61d9] | 74 | <xref linkend="libidn2"/> and
|
---|
| 75 | <xref linkend='libunistring'/>
|
---|
[1ad3510e] | 76 | </para>
|
---|
| 77 |
|
---|
| 78 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 79 | <para role="optional">
|
---|
| 80 | <xref linkend="gtk-doc"/> (for documentation) and
|
---|
| 81 | <xref linkend="valgrind"/> (for tests)
|
---|
| 82 | </para>
|
---|
| 83 |
|
---|
| 84 | </sect2>
|
---|
| 85 |
|
---|
| 86 | <sect2 role="installation">
|
---|
| 87 | <title>Installation of libpsl</title>
|
---|
| 88 |
|
---|
| 89 | <para>
|
---|
| 90 | Install <application>libpsl</application> by running the following
|
---|
| 91 | commands:
|
---|
| 92 | </para>
|
---|
| 93 |
|
---|
[b02022b7] | 94 | <screen><userinput>mkdir build &&
|
---|
| 95 | cd build &&
|
---|
| 96 |
|
---|
| 97 | meson setup --prefix=/usr --buildtype=release &&
|
---|
| 98 |
|
---|
| 99 | ninja</userinput></screen>
|
---|
[1ad3510e] | 100 |
|
---|
| 101 | <para>
|
---|
[b02022b7] | 102 | To test the results, issue: <command>ninja test</command>.
|
---|
[1ad3510e] | 103 | </para>
|
---|
| 104 |
|
---|
| 105 | <para>
|
---|
| 106 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 107 | </para>
|
---|
| 108 |
|
---|
[b02022b7] | 109 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[1ad3510e] | 110 | </sect2>
|
---|
| 111 |
|
---|
[721991c] | 112 | <sect2 role="commands">
|
---|
| 113 | <title>Command Explanations</title>
|
---|
| 114 |
|
---|
[b02022b7] | 115 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 116 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
[721991c] | 117 |
|
---|
| 118 | </sect2>
|
---|
[1ad3510e] | 119 | <sect2 role="content">
|
---|
| 120 | <title>Contents</title>
|
---|
| 121 |
|
---|
| 122 | <segmentedlist>
|
---|
| 123 | <segtitle>Installed Program</segtitle>
|
---|
| 124 | <segtitle>Installed Library</segtitle>
|
---|
| 125 | <segtitle>Installed Directories</segtitle>
|
---|
| 126 |
|
---|
| 127 | <seglistitem>
|
---|
| 128 | <seg>
|
---|
| 129 | psl
|
---|
| 130 | </seg>
|
---|
| 131 | <seg>
|
---|
| 132 | libpsl.so
|
---|
| 133 | </seg>
|
---|
| 134 | <seg>
|
---|
| 135 | None
|
---|
| 136 | </seg>
|
---|
| 137 | </seglistitem>
|
---|
| 138 | </segmentedlist>
|
---|
| 139 |
|
---|
| 140 | <variablelist>
|
---|
| 141 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 142 | <?dbfo list-presentation="list"?>
|
---|
| 143 | <?dbhtml list-presentation="table"?>
|
---|
| 144 |
|
---|
| 145 | <varlistentry id="psl">
|
---|
| 146 | <term><command>psl</command></term>
|
---|
| 147 | <listitem>
|
---|
| 148 | <para>
|
---|
[4c24eb0a] | 149 | queries the Public Suffix List
|
---|
[1ad3510e] | 150 | </para>
|
---|
| 151 | <indexterm zone="libpsl psl">
|
---|
| 152 | <primary sortas="b-psl">psl</primary>
|
---|
| 153 | </indexterm>
|
---|
| 154 | </listitem>
|
---|
| 155 | </varlistentry>
|
---|
| 156 |
|
---|
| 157 | <varlistentry id="libpsl-lib">
|
---|
| 158 | <term><filename class="libraryfile">libpsl.so</filename></term>
|
---|
| 159 | <listitem>
|
---|
| 160 | <para>
|
---|
[4c24eb0a] | 161 | contains a library used to access the Public Suffix List
|
---|
[1ad3510e] | 162 | </para>
|
---|
| 163 | <indexterm zone="libpsl libpsl-lib">
|
---|
| 164 | <primary sortas="c-libpsl">libpsl.so</primary>
|
---|
| 165 | </indexterm>
|
---|
| 166 | </listitem>
|
---|
| 167 | </varlistentry>
|
---|
| 168 | </variablelist>
|
---|
| 169 | </sect2>
|
---|
[4c24eb0a] | 170 |
|
---|
[1ad3510e] | 171 | </sect1>
|
---|