[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 " ">
|
---|
[cd6894be] | 9 | <!ENTITY libpsl-md5sum "2864d3eb744b378d68f5c4da25603459">
|
---|
| 10 | <!ENTITY libpsl-size "7.2 MB">
|
---|
| 11 | <!ENTITY libpsl-buildsize "51 MB">
|
---|
| 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 |
|
---|
[9c87711] | 34 | &lfs113_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">
|
---|
[721991c] | 74 | <xref linkend="libidn2"/>
|
---|
[1ad3510e] | 75 | </para>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 78 | <para role="optional">
|
---|
| 79 | <xref linkend="gtk-doc"/> (for documentation) and
|
---|
| 80 | <xref linkend="valgrind"/> (for tests)
|
---|
| 81 | </para>
|
---|
| 82 |
|
---|
| 83 | </sect2>
|
---|
| 84 |
|
---|
| 85 | <sect2 role="installation">
|
---|
| 86 | <title>Installation of libpsl</title>
|
---|
| 87 |
|
---|
| 88 | <para>
|
---|
| 89 | Install <application>libpsl</application> by running the following
|
---|
| 90 | commands:
|
---|
| 91 | </para>
|
---|
| 92 |
|
---|
[b02022b7] | 93 | <screen><userinput>mkdir build &&
|
---|
| 94 | cd build &&
|
---|
| 95 |
|
---|
| 96 | meson setup --prefix=/usr --buildtype=release &&
|
---|
| 97 |
|
---|
| 98 | ninja</userinput></screen>
|
---|
[1ad3510e] | 99 |
|
---|
| 100 | <para>
|
---|
[b02022b7] | 101 | To test the results, issue: <command>ninja test</command>.
|
---|
[1ad3510e] | 102 | </para>
|
---|
| 103 |
|
---|
| 104 | <para>
|
---|
| 105 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 106 | </para>
|
---|
| 107 |
|
---|
[b02022b7] | 108 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[1ad3510e] | 109 | </sect2>
|
---|
| 110 |
|
---|
[721991c] | 111 | <sect2 role="commands">
|
---|
| 112 | <title>Command Explanations</title>
|
---|
| 113 |
|
---|
[b02022b7] | 114 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 115 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
[721991c] | 116 |
|
---|
| 117 | </sect2>
|
---|
[1ad3510e] | 118 | <sect2 role="content">
|
---|
| 119 | <title>Contents</title>
|
---|
| 120 |
|
---|
| 121 | <segmentedlist>
|
---|
| 122 | <segtitle>Installed Program</segtitle>
|
---|
| 123 | <segtitle>Installed Library</segtitle>
|
---|
| 124 | <segtitle>Installed Directories</segtitle>
|
---|
| 125 |
|
---|
| 126 | <seglistitem>
|
---|
| 127 | <seg>
|
---|
| 128 | psl
|
---|
| 129 | </seg>
|
---|
| 130 | <seg>
|
---|
| 131 | libpsl.so
|
---|
| 132 | </seg>
|
---|
| 133 | <seg>
|
---|
| 134 | None
|
---|
| 135 | </seg>
|
---|
| 136 | </seglistitem>
|
---|
| 137 | </segmentedlist>
|
---|
| 138 |
|
---|
| 139 | <variablelist>
|
---|
| 140 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 141 | <?dbfo list-presentation="list"?>
|
---|
| 142 | <?dbhtml list-presentation="table"?>
|
---|
| 143 |
|
---|
| 144 | <varlistentry id="psl">
|
---|
| 145 | <term><command>psl</command></term>
|
---|
| 146 | <listitem>
|
---|
| 147 | <para>
|
---|
[4c24eb0a] | 148 | queries the Public Suffix List
|
---|
[1ad3510e] | 149 | </para>
|
---|
| 150 | <indexterm zone="libpsl psl">
|
---|
| 151 | <primary sortas="b-psl">psl</primary>
|
---|
| 152 | </indexterm>
|
---|
| 153 | </listitem>
|
---|
| 154 | </varlistentry>
|
---|
| 155 |
|
---|
| 156 | <varlistentry id="libpsl-lib">
|
---|
| 157 | <term><filename class="libraryfile">libpsl.so</filename></term>
|
---|
| 158 | <listitem>
|
---|
| 159 | <para>
|
---|
[4c24eb0a] | 160 | contains a library used to access the Public Suffix List
|
---|
[1ad3510e] | 161 | </para>
|
---|
| 162 | <indexterm zone="libpsl libpsl-lib">
|
---|
| 163 | <primary sortas="c-libpsl">libpsl.so</primary>
|
---|
| 164 | </indexterm>
|
---|
| 165 | </listitem>
|
---|
| 166 | </varlistentry>
|
---|
| 167 | </variablelist>
|
---|
| 168 | </sect2>
|
---|
[4c24eb0a] | 169 |
|
---|
[1ad3510e] | 170 | </sect1>
|
---|