glfs/networking/netlibs/libnsl.xml
Tim Tassonis c9aeb560d9 - Fix libnsl installation.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23768 af4574ff-66df-0310-9fd7-8a98e5e911e0
2020-09-27 12:51:26 +00:00

184 lines
5.0 KiB
XML

<?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;
<!ENTITY libnsl-download-http "https://github.com/thkukuk/libnsl/releases/download/v&libnsl-version;/libnsl-&libnsl-version;.tar.xz">
<!ENTITY libnsl-download-ftp " ">
<!ENTITY libnsl-md5sum "9214f674bd0c2bcfdd6c1da0cadb061f">
<!ENTITY libnsl-size "314 KB">
<!ENTITY libnsl-buildsize "8.4 MB">
<!ENTITY libnsl-time "0.1 SBU">
]>
<sect1 id="libnsl" xreflabel="libnsl-&libnsl-version;">
<?dbhtml filename="libnsl.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>libnsl-&libnsl-version;</title>
<indexterm zone="libnsl">
<primary sortas="a-libnsl">libnsl</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to libnsl</title>
<para>
The <application>libnsl</application> package contains the public client
interface for NIS(YP) and NIS+. It replaces the NIS library that used to
be in glibc.
</para>
&lfs10_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing='compact'>
<listitem>
<para>
Download (HTTP): <ulink url="&libnsl-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&libnsl-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &libnsl-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &libnsl-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &libnsl-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &libnsl-time;
</para>
</listitem>
</itemizedlist>
<!--
Not needed. I fixed the url.
<note>
<para>
The <application>libnsl</application> source tarball shown above
downloads with the correct name, libnsl-&libnsl-version;.tar.gz, if
using a standard web browser. If you prefer to use a command line
program such as wget, you normally would obtain &libnsl-version;.tar.gz.
To obtain this package with the proper filename, run:
<screen><userinput>wget -c https://github.com/thkukuk/libnsl/archive/v1.2.0.tar.gz -O libnsl-&libnsl-version;.tar.gz</userinput></screen>
</para>
</note>
-->
<bridgehead renderas="sect3">libnsl Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="rpcsvc-proto"/> and <xref linkend="libtirpc"/>
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/libnsl"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of libnsl</title>
<para>
Install <application>libnsl</application> by running the following
commands:
</para>
<screen><userinput>autoreconf -fi &amp;&amp;
./configure --sysconfdir=/etc &amp;&amp;
make</userinput></screen>
<para>
This package does not come with a test suite.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install &amp;&amp;
mv /usr/lib/libnsl.so.2* /lib &amp;&amp;
ln -sfv ../../lib/libnsl.so.2.0.1 /usr/lib/libnsl.so</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<!-- there is no disable-static in the configure string
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/static-libraries.xml"/>
-->
<para>
<command>mv -v /usr/lib/libnsl.so.2* ...</command>: Move shared
libraries into /lib so they are available before /usr is mounted.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
None
</seg>
<seg>
libnsl.{a,so}
</seg>
<seg>
None
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libnsl-lib">
<term><filename class="libraryfile">libnsl.{a,so}</filename></term>
<listitem>
<para>
provides the NIS (YP) API functions required by other programs.
</para>
<indexterm zone="libnsl libnsl-lib">
<primary sortas="c-libnsl">libnsl.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>