source: networking/netlibs/libnsl.xml@ 288c825

10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 288c825 was c9aeb560, checked in by Tim Tassonis <stuff@…>, 4 years ago
  • Fix libnsl installation.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23768 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.0 KB
Line 
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
7 <!ENTITY libnsl-download-http "https://github.com/thkukuk/libnsl/releases/download/v&libnsl-version;/libnsl-&libnsl-version;.tar.xz">
8 <!ENTITY libnsl-download-ftp " ">
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">
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
35 be in glibc.
36 </para>
37
38 &lfs10_checked;
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
74<!--
75 Not needed. I fixed the url.
76
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>
88-->
89 <bridgehead renderas="sect3">libnsl Dependencies</bridgehead>
90
91 <bridgehead renderas="sect4">Required</bridgehead>
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 &amp;&amp;
110./configure --sysconfdir=/etc &amp;&amp;
111make</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 &amp;&amp;
122mv /usr/lib/libnsl.so.2* /lib &amp;&amp;
123ln -sfv ../../lib/libnsl.so.2.0.1 /usr/lib/libnsl.so</userinput></screen>
124
125 </sect2>
126
127 <sect2 role="commands">
128 <title>Command Explanations</title>
129
130<!-- there is no disable-static in the configure string
131 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
132 href="../../xincludes/static-libraries.xml"/>
133-->
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>
Note: See TracBrowser for help on using the repository browser.