[7236a20] | 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 |
|
---|
[f8efa5b] | 7 | <!ENTITY glib-networking-download-http
|
---|
[aeae4f6d] | 8 | "&gnome-download-http;/glib-networking/2.56/glib-networking-&glib-networking-version;.tar.xz">
|
---|
[0d7900a] | 9 | <!ENTITY glib-networking-download-ftp
|
---|
[aeae4f6d] | 10 | "&gnome-download-ftp;/glib-networking/2.56/glib-networking-&glib-networking-version;.tar.xz">
|
---|
[16e43a1e] | 11 | <!ENTITY glib-networking-md5sum "f9e720a79014cc7d07eabd02ade0ae4e">
|
---|
| 12 | <!ENTITY glib-networking-size "164 KB">
|
---|
| 13 | <!ENTITY glib-networking-buildsize "4.7 MB (with tests)">
|
---|
[3ec938d] | 14 | <!ENTITY glib-networking-time "0.1 SBU (with tests)">
|
---|
[7236a20] | 15 | ]>
|
---|
| 16 |
|
---|
| 17 | <sect1 id="glib-networking" xreflabel="glib-networking-&glib-networking-version;">
|
---|
| 18 | <?dbhtml filename="glib-networking.html"?>
|
---|
| 19 |
|
---|
| 20 | <sect1info>
|
---|
| 21 | <othername>$LastChangedBy$</othername>
|
---|
| 22 | <date>$Date$</date>
|
---|
| 23 | </sect1info>
|
---|
| 24 |
|
---|
| 25 | <title>glib-networking-&glib-networking-version;</title>
|
---|
| 26 |
|
---|
| 27 | <indexterm zone="glib-networking">
|
---|
| 28 | <primary sortas="a-glib-networking">glib-networking</primary>
|
---|
| 29 | </indexterm>
|
---|
| 30 |
|
---|
| 31 | <sect2 role="package">
|
---|
[7ded7e3] | 32 | <title>Introduction to GLib Networking</title>
|
---|
[7236a20] | 33 |
|
---|
[7ded7e3] | 34 | <para>
|
---|
| 35 | The <application>GLib Networking</application> package contains
|
---|
| 36 | Network related gio modules for <application>GLib</application>.
|
---|
| 37 | </para>
|
---|
[7236a20] | 38 |
|
---|
[d3e0d850] | 39 | &lfs82_checked;
|
---|
[7236a20] | 40 |
|
---|
| 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
[7ded7e3] | 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&glib-networking-download-http;"/>
|
---|
| 46 | </para>
|
---|
[7236a20] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[7ded7e3] | 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&glib-networking-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
[7236a20] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[7ded7e3] | 54 | <para>
|
---|
| 55 | Download MD5 sum: &glib-networking-md5sum;
|
---|
| 56 | </para>
|
---|
[7236a20] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[7ded7e3] | 59 | <para>
|
---|
| 60 | Download size: &glib-networking-size;
|
---|
| 61 | </para>
|
---|
[7236a20] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[7ded7e3] | 64 | <para>
|
---|
| 65 | Estimated disk space required: &glib-networking-buildsize;
|
---|
| 66 | </para>
|
---|
[7236a20] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[7ded7e3] | 69 | <para>
|
---|
| 70 | Estimated build time: &glib-networking-time;
|
---|
| 71 | </para>
|
---|
[7236a20] | 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
[7ded7e3] | 75 | <bridgehead renderas="sect3">GLib Networking Dependencies</bridgehead>
|
---|
[7236a20] | 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[f8efa5b] | 78 | <para role="required">
|
---|
[e730427e] | 79 | <xref linkend="glib2"/>, <!-- needed because version is important -->
|
---|
[16e43a1e] | 80 | <xref linkend="gnutls"/>, and
|
---|
[f8efa5b] | 81 | <xref linkend="gsettings-desktop-schemas"/>
|
---|
| 82 | </para>
|
---|
[7236a20] | 83 |
|
---|
[4c2be438] | 84 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 85 | <para role="recommended">
|
---|
[2198a32] | 86 | <xref linkend="make-ca"/> and
|
---|
[4c2be438] | 87 | <xref linkend="p11-kit"/>
|
---|
| 88 | </para>
|
---|
| 89 |
|
---|
[7236a20] | 90 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[f8efa5b] | 91 | <para role="optional">
|
---|
[9be39a1] | 92 | <ulink url="https://github.com/libproxy/libproxy">libproxy</ulink>
|
---|
[f8efa5b] | 93 | </para>
|
---|
[7236a20] | 94 |
|
---|
| 95 | <para condition="html" role="usernotes">User Notes:
|
---|
[7ded7e3] | 96 | <ulink url="&blfs-wiki;/glib-networking"/>
|
---|
| 97 | </para>
|
---|
[7236a20] | 98 | </sect2>
|
---|
| 99 |
|
---|
| 100 | <sect2 role="installation">
|
---|
[7ded7e3] | 101 | <title>Installation of GLib Networking</title>
|
---|
[7236a20] | 102 |
|
---|
[7ded7e3] | 103 | <para>
|
---|
| 104 | Install <application>GLib Networking</application> by running the following
|
---|
| 105 | commands:
|
---|
| 106 | </para>
|
---|
[7236a20] | 107 |
|
---|
[a059d7e] | 108 | <screen><userinput>mkdir build &&
|
---|
| 109 | cd build &&
|
---|
| 110 |
|
---|
| 111 | meson --prefix=/usr \
|
---|
[16e43a1e] | 112 | -Dlibproxy_support=false \
|
---|
| 113 | -Dca_certificates_path=/etc/ssl/ca-bundle.crt &&
|
---|
| 114 | ninja</userinput></screen>
|
---|
[7236a20] | 115 |
|
---|
[7ded7e3] | 116 | <para>
|
---|
[16e43a1e] | 117 | To test the results, issue: <command>ninja test</command>.
|
---|
[7ded7e3] | 118 | </para>
|
---|
[7236a20] | 119 |
|
---|
[7ded7e3] | 120 | <para>
|
---|
| 121 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 122 | </para>
|
---|
[7236a20] | 123 |
|
---|
[16e43a1e] | 124 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[7236a20] | 125 |
|
---|
| 126 | </sect2>
|
---|
[16e43a1e] | 127 | <!--
|
---|
[7236a20] | 128 | <sect2 role="commands">
|
---|
| 129 | <title>Command Explanations</title>
|
---|
| 130 |
|
---|
[7ded7e3] | 131 | <para>
|
---|
[16e43a1e] | 132 | <parameter>- -without-ca-certificates</parameter>: This parameter forces
|
---|
[1ac799b] | 133 | use of PKCS #11 modules for TLS certificate validation instead of a
|
---|
| 134 | bundle of certificates.
|
---|
[7ded7e3] | 135 | </para>
|
---|
[7236a20] | 136 |
|
---|
[f8efa5b] | 137 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7ded7e3] | 138 | href="../../xincludes/static-libraries.xml"/>
|
---|
[7236a20] | 139 |
|
---|
| 140 | </sect2>
|
---|
[16e43a1e] | 141 | -->
|
---|
[b7a300f7] | 142 | <sect2 role="configuration">
|
---|
| 143 | <title>Configuring Glib-networking</title>
|
---|
| 144 |
|
---|
| 145 | <sect3 id="glib-networking-config">
|
---|
| 146 | <title>Config Files</title>
|
---|
| 147 | <para>
|
---|
| 148 | <filename>/etc/profile.d/gio.sh</filename>
|
---|
| 149 | </para>
|
---|
| 150 |
|
---|
| 151 | <indexterm zone="glib-networking glib-networking-config">
|
---|
| 152 | <primary
|
---|
| 153 | sortas="e-etc-profile.d-gio.sh">/etc/profile.d/gio.sh</primary>
|
---|
| 154 | </indexterm>
|
---|
| 155 | </sect3>
|
---|
| 156 |
|
---|
| 157 | <sect3><title>Configuration Information</title>
|
---|
| 158 |
|
---|
| 159 | <para>
|
---|
| 160 | For using the PKCS #11 modules, the <envar>GIO_USE_TLS</envar> variable
|
---|
| 161 | should be set in the environment. This can be added to the Bash Startup
|
---|
| 162 | Files (as the <systemitem class="username">root</systemitem> user):
|
---|
| 163 | </para>
|
---|
| 164 |
|
---|
| 165 | <screen role="root"><userinput>cat > /etc/profile.d/gio.sh << "EOF"
|
---|
| 166 | <literal># Begin gio.sh
|
---|
| 167 |
|
---|
| 168 | export GIO_USE_TLS=gnutls-pkcs11
|
---|
| 169 |
|
---|
| 170 | # End gio.sh</literal>
|
---|
| 171 | EOF</userinput></screen>
|
---|
| 172 | </sect3>
|
---|
| 173 | </sect2>
|
---|
| 174 |
|
---|
[7236a20] | 175 | <sect2 role="content">
|
---|
| 176 | <title>Contents</title>
|
---|
| 177 |
|
---|
| 178 | <segmentedlist>
|
---|
| 179 | <segtitle>Installed Program</segtitle>
|
---|
| 180 | <segtitle>Installed Libraries</segtitle>
|
---|
| 181 | <segtitle>Installed Directories</segtitle>
|
---|
| 182 |
|
---|
| 183 | <seglistitem>
|
---|
[f8efa5b] | 184 | <seg>
|
---|
[598d4ef3] | 185 | None
|
---|
[f8efa5b] | 186 | </seg>
|
---|
| 187 | <seg>
|
---|
[3fdc9b0] | 188 | libgiognomeproxy.so and libgiognutls.so (GIO Modules installed in
|
---|
| 189 | <filename class="directory">/usr/lib/gio/modules</filename>)
|
---|
[f8efa5b] | 190 | </seg>
|
---|
| 191 | <seg>
|
---|
[598d4ef3] | 192 | None
|
---|
[f8efa5b] | 193 | </seg>
|
---|
[7236a20] | 194 | </seglistitem>
|
---|
| 195 | </segmentedlist>
|
---|
| 196 |
|
---|
| 197 | </sect2>
|
---|
| 198 |
|
---|
| 199 | </sect1>
|
---|