source: postlfs/security/attr.xml@ 42ad0e6c

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 42ad0e6c was 42ad0e6c, checked in by Randy McMurchy <randy@…>, 14 years ago

Updated the download URL for the attr package

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

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