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