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