source: postlfs/security/attr.xml@ 32dfb13c

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 32dfb13c was 09fde38, checked in by Randy McMurchy <randy@…>, 14 years ago

Added LFS version check information to various packages

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

  • Property mode set to 100644
File size: 6.4 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 attr-download-http "http://mirror.dknss.com/nongnu/attr/attr-&attr-version;.src.tar.gz">
8 <!ENTITY attr-download-http "http://mirrors.zerg.biz/nongnu/attr/attr-&attr-version;.src.tar.gz"> -->
9 <!ENTITY attr-download-http " ">
10 <!ENTITY attr-download-ftp "ftp://oss.sgi.com/projects/xfs/cmd_tars-oct_09/attr-&attr-version;.src.tar.gz">
11 <!ENTITY attr-md5sum "adeefe65c5ad1febe46da185c5bfd5d4">
12 <!ENTITY attr-size "309 KB">
13 <!ENTITY attr-buildsize "3 MB">
14 <!ENTITY attr-time "0.1 SBU">
15]>
16
17<sect1 id="attr" xreflabel="attr-&attr-version;">
18 <?dbhtml filename="attr.html"?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>attr-&attr-version;</title>
26
27 <indexterm zone="attr">
28 <primary sortas="a-attr">attr</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to attr</title>
33
34 <para>The <application>attr</application> package contains utilities to
35 administer the extended attributes on filesystem objects.</para>
36
37 <para>&lfssvn_checked;20101029&lfssvn_checked2;</para>
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>Download (HTTP): <ulink url="&attr-download-http;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download (FTP): <ulink url="&attr-download-ftp;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download MD5 sum: &attr-md5sum;</para>
49 </listitem>
50 <listitem>
51 <para>Download size: &attr-size;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated disk space required: &attr-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time: &attr-time;</para>
58 </listitem>
59 </itemizedlist>
60
61 <para condition="html" role="usernotes">User Notes:
62 <ulink url="&blfs-wiki;/attr"/></para>
63
64 </sect2>
65
66 <sect2 role="installation">
67 <title>Installation of attr</title>
68
69 <para>Install <application>attr</application> by running the following
70 commands:</para>
71
72<screen><userinput>sed -i -e 's|/@pkg_name@|&amp;-@pkg_version@|' \
73 -e 's|@prefix|$(DESTDIR)&amp;|' \
74 -e 's|@libexec|$(DESTDIR)&amp;|' \
75 include/builddefs.in &amp;&amp;
76
77./configure --prefix=/usr --libexecdir=/usr/lib &amp;&amp;
78make</userinput></screen>
79
80 <para>There are three sets of tests that come with this package. Issue the
81 following to execute all three:
82 <command>make tests root-tests ext-tests</command>. For meaningful results,
83 the tests need to be carried out on a file system that supports extended
84 attributes. Some failures will occur due to a missing script called
85 <filename>sort-getfattr-output</filename> which is not part of the
86 tarball.</para>
87
88 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
89
90<screen role="root"><userinput>make install install-dev install-lib &amp;&amp;
91chmod -v 755 /usr/lib/libattr.{la,so.1.1.0}</userinput></screen>
92
93 </sect2>
94
95 <sect2 role="commands">
96 <title>Command Explanations</title>
97
98 <para><command>sed ... include/builddefs.in</command>: This command
99 modifies the documentation directory so that it is a versioned
100 directory and also adds support for a DESTDIR installation.</para>
101
102 <para><command>chmod ...</command>: This command modifies the permissions
103 of installed library files to standards.</para>
104
105 </sect2>
106
107 <sect2 role="configuration">
108 <title>Configuring attr</title>
109 <sect3><title>Configuration Information</title>
110
111 <para>There is no configuration to <application>attr</application> itself,
112 but to get any use out of <application>attr</application>, a filesystem
113 needs to support extended attributes.</para>
114
115 <para>One way to achieve this is to add the user_xattr option to an ext3
116 filesystem in the <filename>/etc/fstab</filename> file as shown
117 below:</para>
118
119<screen># file system mount-point type options dump fsck
120# order
121
122/dev/sda1 / ext3 defaults,acl,user_xattr 0 2</screen>
123
124 </sect3>
125
126 </sect2>
127
128 <sect2 role="content">
129 <title>Contents</title>
130
131 <segmentedlist>
132 <segtitle>Installed Programs</segtitle>
133 <segtitle>Installed Library</segtitle>
134 <segtitle>Installed Directories</segtitle>
135
136 <seglistitem>
137 <seg>attr, getfattr, and setfattr</seg>
138 <seg>libattr.{so,a}</seg>
139 <seg>/usr/{include/attr,share/doc/attr-&attr-version;}</seg>
140 </seglistitem>
141 </segmentedlist>
142
143 <variablelist>
144 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
145 <?dbfo list-presentation="list"?>
146 <?dbhtml list-presentation="table"?>
147
148 <varlistentry id="attr-prog">
149 <term><command>attr</command></term>
150 <listitem>
151 <para>extends attributes on filesystem objects.</para>
152 <indexterm zone="attr attr">
153 <primary sortas="b-attr">attr</primary>
154 </indexterm>
155 </listitem>
156 </varlistentry>
157
158 <varlistentry id="getfattr">
159 <term><command>getfattr</command></term>
160 <listitem>
161 <para>gets the extended attributes of filesystem objects.</para>
162 <indexterm zone="attr getfattr">
163 <primary sortas="b-getfattr">getfattr</primary>
164 </indexterm>
165 </listitem>
166 </varlistentry>
167
168 <varlistentry id="setfattr">
169 <term><command>setfattr</command></term>
170 <listitem>
171 <para>sets the extended attributes of filesystem objects.</para>
172 <indexterm zone="attr setfattr">
173 <primary sortas="b-setfattr">setfattr</primary>
174 </indexterm>
175 </listitem>
176 </varlistentry>
177
178 <varlistentry id="libattr">
179 <term><filename class='libraryfile'>libattr.{so,a}</filename></term>
180 <listitem>
181 <para>contains the <application>attr</application> API functions.</para>
182 <indexterm zone="attr libattr">
183 <primary sortas="c-libattr">libattr.{so,a}</primary>
184 </indexterm>
185 </listitem>
186 </varlistentry>
187
188 </variablelist>
189
190 </sect2>
191
192</sect1>
Note: See TracBrowser for help on using the repository browser.