glib-networking-2.54.1

Introduction to GLib Networking

The GLib Networking package contains Network related gio modules for GLib.

This package is known to build and work properly using an LFS-8.2 platform.

Package Information

GLib Networking Dependencies

Required

GLib-2.54.3, GnuTLS-3.6.2 and gsettings-desktop-schemas-3.24.1

Recommended

Optional

libproxy

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/glib-networking

Installation of GLib Networking

Install GLib Networking by running the following commands:

./configure --prefix=/usr             \
            --without-ca-certificates \
            --disable-static          &&
make

To test the results, issue: make -k check.

Now, as the root user:

make install

Command Explanations

--without-ca-certificates: This parameter forces use of PKCS #11 modules for TLS certificate validation instead of a bundle of certificates.

--disable-static: This switch prevents installation of static versions of the libraries.

Configuring Glib-networking

Config Files

/etc/profile.d/gio.sh

Configuration Information

For using the PKCS #11 modules, the GIO_USE_TLS variable should be set in the environment. This can be added to the Bash Startup Files (as the root user):

cat > /etc/profile.d/gio.sh << "EOF"
# Begin gio.sh

export GIO_USE_TLS=gnutls-pkcs11

# End gio.sh
EOF

Contents

Installed Program: None
Installed Libraries: libgiognomeproxy.so and libgiognutls.so (GIO Modules installed in /usr/lib/gio/modules)
Installed Directories: None

Last updated on 2018-02-24 15:05:35 -0800