source: BOOK/final-system/common/attr.xml@ e6e3962

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since e6e3962 was d0123a37, checked in by William Harrington <kb0iic@…>, 11 years ago

Tidy up attr multilib library install and use readlink for attr in all section dynmic library linking.

  • Property mode set to 100644
File size: 3.6 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
8<sect1 id="ch-system-attr" role="wrap">
9 <?dbhtml filename="attr.html"?>
10
11 <title>Attr-&attr-version;</title>
12
13 <indexterm zone="ch-system-attr">
14 <primary sortas="a-Attr">Attr</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>Attr is a library for getting and setting POSIX.1e
21 (formerly POSIX 6) draft 15 capabilities.</para>
22
23 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of Attr</title>
27
28 <para os="a">Prepare Attr for compilation:</para>
29
30<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
31
32 <para os="c">Compile the package:</para>
33
34<screen os="d"><userinput>make</userinput></screen>
35
36 <para os="e">This package does not come with a test suite.</para>
37
38 <para os="f">Install the package:</para>
39
40<screen os="g"><userinput>make install install-dev install-lib</userinput></screen>
41
42 <para os="h">Move the shared library to <filename class="directory">/lib</filename>
43 and recreate the symlink in <filename class="directory">/usr/lib</filename>:</para>
44
45<screen os="i"><userinput>mv -v /usr/lib/libattr.so.* /lib
46ln -sfv ../../lib/$(readlink /usr/lib/libattr.so) /usr/lib/libattr.so</userinput></screen>
47
48 <para os="j">Set the proper permissions on the shared library:</para>
49
50<screen os="k"><userinput>chmod 755 -v /lib/libattr.so.1.1.0</userinput></screen>
51
52 </sect2>
53
54 <sect2 id="contents-attr" role="content">
55 <title>Contents of Attr</title>
56
57 <segmentedlist>
58 <segtitle>Installed programs</segtitle>
59 <segtitle>Installed libraries</segtitle>
60 <segtitle>Installed directories</segtitle>
61
62 <seglistitem>
63 <seg>attr, getfattr, setfattr</seg>
64 <seg>libattr.[a,so]</seg>
65 <seg>/usr/include/attr</seg>
66 </seglistitem>
67 </segmentedlist>
68
69 <variablelist>
70 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
71 <?dbfo list-presentation="list"?>
72 <?dbhtml list-presentation="table"?>
73
74 <varlistentry id="attr">
75 <term><command>attr</command></term>
76 <listitem>
77 <para>Manage extended attributes on filesystem objects</para>
78 <indexterm zone="ch-system-attr attr">
79 <primary sortas="b-attr">attr</primary>
80 </indexterm>
81 </listitem>
82 </varlistentry>
83
84 <varlistentry id="getfattr">
85 <term><command>getfattr</command></term>
86 <listitem>
87 <para>Get extended attributes of filesystem objects</para>
88 <indexterm zone="ch-system-attr getfattr">
89 <primary sortas="b-getfattr">getfattr</primary>
90 </indexterm>
91 </listitem>
92 </varlistentry>
93
94 <varlistentry id="setfattr">
95 <term><command>setfattr</command></term>
96 <listitem>
97 <para>Set extended attributes of filesystem objects</para>
98 <indexterm zone="ch-system-attr setfattr">
99 <primary sortas="b-setfattr">setfattr</primary>
100 </indexterm>
101 </listitem>
102 </varlistentry>
103
104 <varlistentry id="libattr">
105 <term><filename class="libraryfile">libattr</filename></term>
106 <listitem>
107 <para>Library to manage extended attributes on filesystem objects</para>
108 <indexterm zone="ch-system-attr libattr">
109 <primary sortas="c-libattr">libattr</primary>
110 </indexterm>
111 </listitem>
112 </varlistentry>
113
114 </variablelist>
115
116 </sect2>
117
118</sect1>
Note: See TracBrowser for help on using the repository browser.