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

clfs-3.0.0-systemd systemd
Last change on this file since 8cd97f2 was f698055a, checked in by Chris Staub <chris@…>, 10 years ago

Improve consistency in package installation lists, mainly removing 'and'

  • Property mode set to 100644
File size: 4.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
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">Apply a sed to install the documentation with a versioned
29 directory:</para>
30
31<screen os="b"><userinput>sed -i -e 's|/@pkg_name@|&amp;-@pkg_version@|' include/builddefs.in</userinput></screen>
32
33 <para os="c">Prepare Attr for compilation:</para>
34
35<screen os="d"><userinput>./configure --prefix=/usr</userinput></screen>
36
37 <para os="e">Compile the package:</para>
38
39<screen os="f"><userinput>make</userinput></screen>
40
41 <para os="g">The tests need to run with a filesystem which supports extended
42 attributes. Test the results:</para>
43
44<screen os="h"><userinput remap="test">make -j1 tests root-tests</userinput></screen>
45
46 <para os="i">Install the package:</para>
47
48<screen os="j"><userinput>make install install-dev install-lib</userinput></screen>
49
50 <para os="k">Move the shared library to <filename class="directory">/lib
51 </filename> and recreate the symlink in <filename class="directory">/usr/lib
52 </filename>:</para>
53
54<screen os="l"><userinput>mv -v /usr/lib/libattr.so.* /lib
55ln -sfv ../../lib/$(readlink /usr/lib/libattr.so) /usr/lib/libattr.so</userinput></screen>
56
57 <para os="m">Set the proper permissions on the shared library:</para>
58
59<screen os="n"><userinput>chmod 755 -v /lib/libattr.so.1.1.0</userinput></screen>
60
61 </sect2>
62
63 <sect2 id="contents-attr" role="content">
64 <title>Contents of Attr</title>
65
66 <segmentedlist>
67 <segtitle>Installed programs</segtitle>
68 <segtitle>Installed libraries</segtitle>
69 <segtitle>Installed directories</segtitle>
70
71 <seglistitem>
72 <seg>attr, getfattr, setfattr</seg>
73 <seg>libattr.[a,so]</seg>
74 <seg>/usr/include/attr, /usr/share/doc/attr-&attr-version;</seg>
75 </seglistitem>
76 </segmentedlist>
77
78 <variablelist>
79 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
80 <?dbfo list-presentation="list"?>
81 <?dbhtml list-presentation="table"?>
82
83 <varlistentry id="attr">
84 <term><command>attr</command></term>
85 <listitem>
86 <para>Manage extended attributes on filesystem objects</para>
87 <indexterm zone="ch-system-attr attr">
88 <primary sortas="b-attr">attr</primary>
89 </indexterm>
90 </listitem>
91 </varlistentry>
92
93 <varlistentry id="getfattr">
94 <term><command>getfattr</command></term>
95 <listitem>
96 <para>Get extended attributes of filesystem objects</para>
97 <indexterm zone="ch-system-attr getfattr">
98 <primary sortas="b-getfattr">getfattr</primary>
99 </indexterm>
100 </listitem>
101 </varlistentry>
102
103 <varlistentry id="setfattr">
104 <term><command>setfattr</command></term>
105 <listitem>
106 <para>Set extended attributes of filesystem objects</para>
107 <indexterm zone="ch-system-attr setfattr">
108 <primary sortas="b-setfattr">setfattr</primary>
109 </indexterm>
110 </listitem>
111 </varlistentry>
112
113 <varlistentry id="libattr">
114 <term><filename class="libraryfile">libattr</filename></term>
115 <listitem>
116 <para>Library to manage extended attributes on filesystem objects</para>
117 <indexterm zone="ch-system-attr libattr">
118 <primary sortas="c-libattr">libattr</primary>
119 </indexterm>
120 </listitem>
121 </varlistentry>
122
123 </variablelist>
124
125 </sect2>
126
127</sect1>
Note: See TracBrowser for help on using the repository browser.