[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 | <para condition="html" role="usernotes">
|
---|
| 84 | User Notes: <ulink url="&blfs-wiki;/libpsl"/>
|
---|
| 85 | </para>
|
---|
| 86 | </sect2>
|
---|
| 87 |
|
---|
| 88 | <sect2 role="installation">
|
---|
| 89 | <title>Installation of libpsl</title>
|
---|
| 90 |
|
---|
| 91 | <para>
|
---|
| 92 | Install <application>libpsl</application> by running the following
|
---|
| 93 | commands:
|
---|
| 94 | </para>
|
---|
| 95 |
|
---|
[b02022b7] | 96 | <screen><userinput>mkdir build &&
|
---|
| 97 | cd build &&
|
---|
| 98 |
|
---|
| 99 | meson setup --prefix=/usr --buildtype=release &&
|
---|
| 100 |
|
---|
| 101 | ninja</userinput></screen>
|
---|
[1ad3510e] | 102 |
|
---|
| 103 | <para>
|
---|
[b02022b7] | 104 | To test the results, issue: <command>ninja test</command>.
|
---|
[1ad3510e] | 105 | </para>
|
---|
| 106 |
|
---|
| 107 | <para>
|
---|
| 108 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 109 | </para>
|
---|
| 110 |
|
---|
[b02022b7] | 111 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[1ad3510e] | 112 | </sect2>
|
---|
| 113 |
|
---|
[721991c] | 114 | <sect2 role="commands">
|
---|
| 115 | <title>Command Explanations</title>
|
---|
| 116 |
|
---|
[b02022b7] | 117 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 118 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
[721991c] | 119 |
|
---|
| 120 | </sect2>
|
---|
[1ad3510e] | 121 | <sect2 role="content">
|
---|
| 122 | <title>Contents</title>
|
---|
| 123 |
|
---|
| 124 | <segmentedlist>
|
---|
| 125 | <segtitle>Installed Program</segtitle>
|
---|
| 126 | <segtitle>Installed Library</segtitle>
|
---|
| 127 | <segtitle>Installed Directories</segtitle>
|
---|
| 128 |
|
---|
| 129 | <seglistitem>
|
---|
| 130 | <seg>
|
---|
| 131 | psl
|
---|
| 132 | </seg>
|
---|
| 133 | <seg>
|
---|
| 134 | libpsl.so
|
---|
| 135 | </seg>
|
---|
| 136 | <seg>
|
---|
| 137 | None
|
---|
| 138 | </seg>
|
---|
| 139 | </seglistitem>
|
---|
| 140 | </segmentedlist>
|
---|
| 141 |
|
---|
| 142 | <variablelist>
|
---|
| 143 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 144 | <?dbfo list-presentation="list"?>
|
---|
| 145 | <?dbhtml list-presentation="table"?>
|
---|
| 146 |
|
---|
| 147 | <varlistentry id="psl">
|
---|
| 148 | <term><command>psl</command></term>
|
---|
| 149 | <listitem>
|
---|
| 150 | <para>
|
---|
[4c24eb0a] | 151 | queries the Public Suffix List
|
---|
[1ad3510e] | 152 | </para>
|
---|
| 153 | <indexterm zone="libpsl psl">
|
---|
| 154 | <primary sortas="b-psl">psl</primary>
|
---|
| 155 | </indexterm>
|
---|
| 156 | </listitem>
|
---|
| 157 | </varlistentry>
|
---|
| 158 |
|
---|
| 159 | <varlistentry id="libpsl-lib">
|
---|
| 160 | <term><filename class="libraryfile">libpsl.so</filename></term>
|
---|
| 161 | <listitem>
|
---|
| 162 | <para>
|
---|
[4c24eb0a] | 163 | contains a library used to access the Public Suffix List
|
---|
[1ad3510e] | 164 | </para>
|
---|
| 165 | <indexterm zone="libpsl libpsl-lib">
|
---|
| 166 | <primary sortas="c-libpsl">libpsl.so</primary>
|
---|
| 167 | </indexterm>
|
---|
| 168 | </listitem>
|
---|
| 169 | </varlistentry>
|
---|
| 170 | </variablelist>
|
---|
| 171 | </sect2>
|
---|
[4c24eb0a] | 172 |
|
---|
[1ad3510e] | 173 | </sect1>
|
---|