[a15d5e1] | 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 |
|
---|
[49a84b87] | 7 | <!ENTITY libnsl-download-http "https://github.com/thkukuk/libnsl/archive/v&libnsl-version;/libnsl-&libnsl-version;.tar.gz">
|
---|
[a15d5e1] | 8 | <!ENTITY libnsl-download-ftp " ">
|
---|
[e433be0] | 9 | <!ENTITY libnsl-md5sum "05222024777e12e2f6d48f2e7d067ac7">
|
---|
| 10 | <!ENTITY libnsl-size "208 KB">
|
---|
| 11 | <!ENTITY libnsl-buildsize "9.3 MB">
|
---|
| 12 | <!ENTITY libnsl-time "0.2 SBU">
|
---|
[a15d5e1] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libnsl" xreflabel="libnsl-&libnsl-version;">
|
---|
| 16 | <?dbhtml filename="libnsl.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>libnsl-&libnsl-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="libnsl">
|
---|
| 26 | <primary sortas="a-libnsl">libnsl</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to libnsl</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | The <application>libnsl</application> package contains the public client
|
---|
| 34 | interface for NIS(YP) and NIS+. It replaces the NIS library that used to
|
---|
[8ca7994] | 35 | be in glibc.
|
---|
[a15d5e1] | 36 | </para>
|
---|
| 37 |
|
---|
[34fe2633] | 38 | &lfs91_checked;
|
---|
[a15d5e1] | 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing='compact'>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&libnsl-download-http;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&libnsl-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download MD5 sum: &libnsl-md5sum;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Download size: &libnsl-size;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated disk space required: &libnsl-buildsize;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>
|
---|
| 69 | Estimated build time: &libnsl-time;
|
---|
| 70 | </para>
|
---|
| 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
[49a84b87] | 74 | <!--
|
---|
| 75 | Not needed. I fixed the url.
|
---|
| 76 |
|
---|
[8ca7994] | 77 | <note>
|
---|
| 78 | <para>
|
---|
| 79 | The <application>libnsl</application> source tarball shown above
|
---|
| 80 | downloads with the correct name, libnsl-&libnsl-version;.tar.gz, if
|
---|
| 81 | using a standard web browser. If you prefer to use a command line
|
---|
| 82 | program such as wget, you normally would obtain &libnsl-version;.tar.gz.
|
---|
| 83 | To obtain this package with the proper filename, run:
|
---|
| 84 |
|
---|
| 85 | <screen><userinput>wget -c https://github.com/thkukuk/libnsl/archive/v1.2.0.tar.gz -O libnsl-&libnsl-version;.tar.gz</userinput></screen>
|
---|
| 86 | </para>
|
---|
| 87 | </note>
|
---|
[49a84b87] | 88 | -->
|
---|
[a15d5e1] | 89 | <bridgehead renderas="sect3">libnsl Dependencies</bridgehead>
|
---|
| 90 |
|
---|
[8427861] | 91 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[a15d5e1] | 92 | <para role="required">
|
---|
| 93 | <xref linkend="rpcsvc-proto"/> and <xref linkend="libtirpc"/>
|
---|
| 94 | </para>
|
---|
| 95 |
|
---|
| 96 | <para condition="html" role="usernotes">User Notes:
|
---|
| 97 | <ulink url="&blfs-wiki;/libnsl"/>
|
---|
| 98 | </para>
|
---|
| 99 | </sect2>
|
---|
| 100 |
|
---|
| 101 | <sect2 role="installation">
|
---|
| 102 | <title>Installation of libnsl</title>
|
---|
| 103 |
|
---|
| 104 | <para>
|
---|
| 105 | Install <application>libnsl</application> by running the following
|
---|
| 106 | commands:
|
---|
| 107 | </para>
|
---|
| 108 |
|
---|
| 109 | <screen><userinput>autoreconf -fi &&
|
---|
| 110 | ./configure --sysconfdir=/etc &&
|
---|
| 111 | make</userinput></screen>
|
---|
| 112 |
|
---|
| 113 | <para>
|
---|
| 114 | This package does not come with a test suite.
|
---|
| 115 | </para>
|
---|
| 116 |
|
---|
| 117 | <para>
|
---|
| 118 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 119 | </para>
|
---|
| 120 |
|
---|
| 121 | <screen role="root"><userinput>make install &&
|
---|
| 122 | mv /usr/lib/libnsl.so.2* /lib &&
|
---|
| 123 | ln -sfv ../../lib/libnsl.so.2.0.0 /usr/lib/libnsl.so</userinput></screen>
|
---|
| 124 |
|
---|
| 125 | </sect2>
|
---|
| 126 |
|
---|
| 127 | <sect2 role="commands">
|
---|
| 128 | <title>Command Explanations</title>
|
---|
| 129 |
|
---|
[aa41434] | 130 | <!-- there is no disable-static in the configure string
|
---|
[a15d5e1] | 131 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 132 | href="../../xincludes/static-libraries.xml"/>
|
---|
[aa41434] | 133 | -->
|
---|
[a15d5e1] | 134 | <para>
|
---|
| 135 | <command>mv -v /usr/lib/libnsl.so.2* ...</command>: Move shared
|
---|
| 136 | libraries into /lib so they are available before /usr is mounted.
|
---|
| 137 | </para>
|
---|
| 138 |
|
---|
| 139 | </sect2>
|
---|
| 140 |
|
---|
| 141 | <sect2 role="content">
|
---|
| 142 | <title>Contents</title>
|
---|
| 143 |
|
---|
| 144 | <segmentedlist>
|
---|
| 145 | <segtitle>Installed Programs</segtitle>
|
---|
| 146 | <segtitle>Installed Libraries</segtitle>
|
---|
| 147 | <segtitle>Installed Directories</segtitle>
|
---|
| 148 |
|
---|
| 149 | <seglistitem>
|
---|
| 150 | <seg>
|
---|
| 151 | None
|
---|
| 152 | </seg>
|
---|
| 153 | <seg>
|
---|
| 154 | libnsl.{a,so}
|
---|
| 155 | </seg>
|
---|
| 156 | <seg>
|
---|
| 157 | None
|
---|
| 158 | </seg>
|
---|
| 159 | </seglistitem>
|
---|
| 160 | </segmentedlist>
|
---|
| 161 |
|
---|
| 162 | <variablelist>
|
---|
| 163 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 164 | <?dbfo list-presentation="list"?>
|
---|
| 165 | <?dbhtml list-presentation="table"?>
|
---|
| 166 |
|
---|
| 167 | <varlistentry id="libnsl-lib">
|
---|
| 168 | <term><filename class="libraryfile">libnsl.{a,so}</filename></term>
|
---|
| 169 | <listitem>
|
---|
| 170 | <para>
|
---|
| 171 | provides the NIS (YP) API functions required by other programs.
|
---|
| 172 | </para>
|
---|
| 173 | <indexterm zone="libnsl libnsl-lib">
|
---|
| 174 | <primary sortas="c-libnsl">libnsl.so</primary>
|
---|
| 175 | </indexterm>
|
---|
| 176 | </listitem>
|
---|
| 177 | </varlistentry>
|
---|
| 178 |
|
---|
| 179 | </variablelist>
|
---|
| 180 |
|
---|
| 181 | </sect2>
|
---|
| 182 |
|
---|
| 183 | </sect1>
|
---|