2012-02-12 05:15:47 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2012-04-07 03:46:04 +08:00
|
|
|
<!ENTITY glib-networking-download-http
|
2018-03-28 11:39:22 +08:00
|
|
|
"&gnome-download-http;/glib-networking/2.56/glib-networking-&glib-networking-version;.tar.xz">
|
2013-02-12 02:51:17 +08:00
|
|
|
<!ENTITY glib-networking-download-ftp
|
2018-03-28 11:39:22 +08:00
|
|
|
"&gnome-download-ftp;/glib-networking/2.56/glib-networking-&glib-networking-version;.tar.xz">
|
2018-05-26 03:47:51 +08:00
|
|
|
<!ENTITY glib-networking-md5sum "456572f1e8fea32ef747541d64508a8e">
|
2018-03-28 03:22:49 +08:00
|
|
|
<!ENTITY glib-networking-size "164 KB">
|
2018-05-26 03:47:51 +08:00
|
|
|
<!ENTITY glib-networking-buildsize "4.8 MB (with tests)">
|
2016-09-21 08:20:38 +08:00
|
|
|
<!ENTITY glib-networking-time "0.1 SBU (with tests)">
|
2012-02-12 05:15:47 +08:00
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="glib-networking" xreflabel="glib-networking-&glib-networking-version;">
|
|
|
|
<?dbhtml filename="glib-networking.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>glib-networking-&glib-networking-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="glib-networking">
|
|
|
|
<primary sortas="a-glib-networking">glib-networking</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
2012-05-17 00:39:28 +08:00
|
|
|
<title>Introduction to GLib Networking</title>
|
2012-02-12 05:15:47 +08:00
|
|
|
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
The <application>GLib Networking</application> package contains
|
|
|
|
Network related gio modules for <application>GLib</application>.
|
|
|
|
</para>
|
2012-02-12 05:15:47 +08:00
|
|
|
|
2018-08-21 04:08:58 +08:00
|
|
|
&lfs83_checked;
|
2012-02-12 05:15:47 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&glib-networking-download-http;"/>
|
|
|
|
</para>
|
2012-02-12 05:15:47 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&glib-networking-download-ftp;"/>
|
|
|
|
</para>
|
2012-02-12 05:15:47 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &glib-networking-md5sum;
|
|
|
|
</para>
|
2012-02-12 05:15:47 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Download size: &glib-networking-size;
|
|
|
|
</para>
|
2012-02-12 05:15:47 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &glib-networking-buildsize;
|
|
|
|
</para>
|
2012-02-12 05:15:47 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &glib-networking-time;
|
|
|
|
</para>
|
2012-02-12 05:15:47 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2012-05-17 00:39:28 +08:00
|
|
|
<bridgehead renderas="sect3">GLib Networking Dependencies</bridgehead>
|
2012-02-12 05:15:47 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2012-04-07 03:46:04 +08:00
|
|
|
<para role="required">
|
2015-10-22 03:20:15 +08:00
|
|
|
<xref linkend="glib2"/>, <!-- needed because version is important -->
|
2018-03-28 03:22:49 +08:00
|
|
|
<xref linkend="gnutls"/>, and
|
2012-04-07 03:46:04 +08:00
|
|
|
<xref linkend="gsettings-desktop-schemas"/>
|
|
|
|
</para>
|
2012-02-12 05:15:47 +08:00
|
|
|
|
2012-05-01 20:35:38 +08:00
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
|
|
<para role="recommended">
|
2018-02-25 07:05:35 +08:00
|
|
|
<xref linkend="make-ca"/> and
|
2012-05-01 20:35:38 +08:00
|
|
|
<xref linkend="p11-kit"/>
|
|
|
|
</para>
|
|
|
|
|
2012-02-12 05:15:47 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2012-04-07 03:46:04 +08:00
|
|
|
<para role="optional">
|
2017-04-02 23:24:49 +08:00
|
|
|
<ulink url="https://github.com/libproxy/libproxy">libproxy</ulink>
|
2012-04-07 03:46:04 +08:00
|
|
|
</para>
|
2012-02-12 05:15:47 +08:00
|
|
|
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
2012-05-17 00:39:28 +08:00
|
|
|
<ulink url="&blfs-wiki;/glib-networking"/>
|
|
|
|
</para>
|
2012-02-12 05:15:47 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
2012-05-17 00:39:28 +08:00
|
|
|
<title>Installation of GLib Networking</title>
|
2012-02-12 05:15:47 +08:00
|
|
|
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Install <application>GLib Networking</application> by running the following
|
|
|
|
commands:
|
|
|
|
</para>
|
2012-02-12 05:15:47 +08:00
|
|
|
|
2018-03-29 04:59:36 +08:00
|
|
|
<screen><userinput>mkdir build &&
|
|
|
|
cd build &&
|
|
|
|
|
|
|
|
meson --prefix=/usr \
|
2018-03-28 03:22:49 +08:00
|
|
|
-Dlibproxy_support=false \
|
2018-08-15 01:08:52 +08:00
|
|
|
-Dca_certificates_path=/etc/ssl/ca-bundle.crt .. &&
|
2018-03-28 03:22:49 +08:00
|
|
|
ninja</userinput></screen>
|
2012-02-12 05:15:47 +08:00
|
|
|
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
2018-03-28 03:22:49 +08:00
|
|
|
To test the results, issue: <command>ninja test</command>.
|
2012-05-17 00:39:28 +08:00
|
|
|
</para>
|
2012-02-12 05:15:47 +08:00
|
|
|
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2012-02-12 05:15:47 +08:00
|
|
|
|
2018-03-28 03:22:49 +08:00
|
|
|
<screen role="root"><userinput>ninja install</userinput></screen>
|
2012-02-12 05:15:47 +08:00
|
|
|
|
|
|
|
</sect2>
|
2018-03-28 03:22:49 +08:00
|
|
|
<!--
|
2012-02-12 05:15:47 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
2018-03-28 03:22:49 +08:00
|
|
|
<parameter>- -without-ca-certificates</parameter>: This parameter forces
|
2017-07-05 07:28:56 +08:00
|
|
|
use of PKCS #11 modules for TLS certificate validation instead of a
|
|
|
|
bundle of certificates.
|
2012-05-17 00:39:28 +08:00
|
|
|
</para>
|
2012-02-12 05:15:47 +08:00
|
|
|
|
2012-04-07 03:46:04 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
2012-05-17 00:39:28 +08:00
|
|
|
href="../../xincludes/static-libraries.xml"/>
|
2012-02-12 05:15:47 +08:00
|
|
|
|
|
|
|
</sect2>
|
2018-03-28 03:22:49 +08:00
|
|
|
-->
|
2017-10-05 03:31:13 +08:00
|
|
|
<sect2 role="configuration">
|
|
|
|
<title>Configuring Glib-networking</title>
|
|
|
|
|
|
|
|
<sect3 id="glib-networking-config">
|
|
|
|
<title>Config Files</title>
|
|
|
|
<para>
|
|
|
|
<filename>/etc/profile.d/gio.sh</filename>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<indexterm zone="glib-networking glib-networking-config">
|
|
|
|
<primary
|
|
|
|
sortas="e-etc-profile.d-gio.sh">/etc/profile.d/gio.sh</primary>
|
|
|
|
</indexterm>
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3><title>Configuration Information</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
For using the PKCS #11 modules, the <envar>GIO_USE_TLS</envar> variable
|
|
|
|
should be set in the environment. This can be added to the Bash Startup
|
|
|
|
Files (as the <systemitem class="username">root</systemitem> user):
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>cat > /etc/profile.d/gio.sh << "EOF"
|
|
|
|
<literal># Begin gio.sh
|
|
|
|
|
|
|
|
export GIO_USE_TLS=gnutls-pkcs11
|
|
|
|
|
|
|
|
# End gio.sh</literal>
|
|
|
|
EOF</userinput></screen>
|
|
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
|
2012-02-12 05:15:47 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Program</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2012-04-07 03:46:04 +08:00
|
|
|
<seg>
|
2013-10-22 03:40:11 +08:00
|
|
|
None
|
2012-04-07 03:46:04 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2016-07-16 08:09:38 +08:00
|
|
|
libgiognomeproxy.so and libgiognutls.so (GIO Modules installed in
|
|
|
|
<filename class="directory">/usr/lib/gio/modules</filename>)
|
2012-04-07 03:46:04 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2013-10-22 03:40:11 +08:00
|
|
|
None
|
2012-04-07 03:46:04 +08:00
|
|
|
</seg>
|
2012-02-12 05:15:47 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|