mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 22:42:14 +08:00
Added new package. attr-2.4.44
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8124 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
26bf05f73b
commit
2ac4928ffb
@ -92,6 +92,7 @@ $Date$
|
||||
<!ENTITY polkit-version "0.94">
|
||||
<!ENTITY polkit-gnome-version "0.94">
|
||||
<!ENTITY consolekit-version "0.3.0">
|
||||
<!ENTITY attr-version "2.4.44">
|
||||
|
||||
<!-- Chapter 5 -->
|
||||
<!ENTITY reiser-version "3.6.21">
|
||||
|
@ -50,6 +50,9 @@
|
||||
<para>[dj] - Bumped xorg download releases to 7.5-2 to account for
|
||||
dropped driver packages.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[wblaszcz] - Added new package. attr-2.4.44.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
|
169
postlfs/security/attr.xml
Normal file
169
postlfs/security/attr.xml
Normal file
@ -0,0 +1,169 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY attr-download-http "http://mirror.dknss.com/nongnu/attr/attr-&attr-version;.src.tar.gz">
|
||||
<!ENTITY attr-download-ftp " ">
|
||||
<!ENTITY attr-md5sum "d132c119831c27350e10b9f885711adc">
|
||||
<!ENTITY attr-size "309 KB">
|
||||
<!ENTITY attr-buildsize "3 MB">
|
||||
<!ENTITY attr-time "0.1 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="attr" xreflabel="attr-&attr-version;">
|
||||
<?dbhtml filename="attr.html"?>
|
||||
|
||||
<sect1info>
|
||||
<othername>$LastChangedBy$</othername>
|
||||
<date>$Date$</date>
|
||||
</sect1info>
|
||||
|
||||
<title>attr-&attr-version;</title>
|
||||
|
||||
<indexterm zone="attr">
|
||||
<primary sortas="a-attr">attr</primary>
|
||||
</indexterm>
|
||||
|
||||
<sect2 role="package">
|
||||
<title>Introduction to attr</title>
|
||||
|
||||
<para>The <application>attr</application> package contains utilities to
|
||||
administer the extended attributes on filesystem objects.</para>
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>Download (HTTP): <ulink url="&attr-download-http;"/></para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download (FTP): <ulink url="&attr-download-ftp;"/></para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download MD5 sum: &attr-md5sum;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download size: &attr-size;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Estimated disk space required: &attr-buildsize;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Estimated build time: &attr-time;</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<para condition="html" role="usernotes">User Notes:
|
||||
<ulink url="&blfs-wiki;/attr"/></para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="installation">
|
||||
<title>Installation of attr</title>
|
||||
|
||||
<para>Install <application>attr</application> by running the following
|
||||
commands:</para>
|
||||
|
||||
<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>There are three sets of tests that come with this package. Issue the
|
||||
following to execute all three:
|
||||
<command>make tests root-tests ext-tests</command>. For meaningful results,
|
||||
the tests need to be carried out on a file system that supports extended
|
||||
attributes. Some failures will occur due to a missing script called
|
||||
sort-getfattr-output which is not part fo the tarball.</para>
|
||||
|
||||
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
||||
|
||||
<screen role="root"><userinput>make install install-dev install-lib &&
|
||||
mv /usr/share/doc/attr /usr/share/doc/attr-&attr-version;</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="configuration">
|
||||
<title>Configuring attr</title>
|
||||
<sect3><title>Configuration Information</title>
|
||||
|
||||
<para>There is no configuration to <application>attr</application> itself,
|
||||
but to get any use out of <application>attr</application>, a filesystem
|
||||
needs to support extended attributes.</para>
|
||||
|
||||
<para>One way to achieve this is to add the user_xattr option to an ext3
|
||||
filesystem in the /etc/fstab file as shown below.</para>
|
||||
|
||||
<screen># file system mount-point type options dump fsck
|
||||
# order
|
||||
|
||||
/dev/sda1 / ext3 defaults,acl,user_xattr 0 2</screen>
|
||||
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="content">
|
||||
<title>Contents</title>
|
||||
|
||||
<segmentedlist>
|
||||
<segtitle>Installed Programs</segtitle>
|
||||
<segtitle>Installed Library</segtitle>
|
||||
<segtitle>Installed Directories</segtitle>
|
||||
|
||||
<seglistitem>
|
||||
<seg>attr, getfattr, and setfattr</seg>
|
||||
<seg>libattr.{so,a}</seg>
|
||||
<seg>/usr/{include/attr,share/doc/attr-&attr-version;}</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
<variablelist>
|
||||
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
||||
<?dbfo list-presentation="list"?>
|
||||
<?dbhtml list-presentation="table"?>
|
||||
|
||||
<varlistentry id="attr-prog">
|
||||
<term><command>attr</command></term>
|
||||
<listitem>
|
||||
<para>extends attributes on filesystem objects.</para>
|
||||
<indexterm zone="attr attr">
|
||||
<primary sortas="b-attr">attr</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="getfattr">
|
||||
<term><command>getfattr</command></term>
|
||||
<listitem>
|
||||
<para>gets the extended attributes of filesystem objects.</para>
|
||||
<indexterm zone="attr getfattr">
|
||||
<primary sortas="b-getfattr">getfattr</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="setfattr">
|
||||
<term><command>setfattr</command></term>
|
||||
<listitem>
|
||||
<para>sets the extended attributes of filesystem objects.</para>
|
||||
<indexterm zone="attr setfattr">
|
||||
<primary sortas="b-setfattr">setfattr</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="libattr">
|
||||
<term><filename class='libraryfile'>libattr.{so,a}</filename></term>
|
||||
<listitem>
|
||||
<para>contains the <application>attr</application> API functions.</para>
|
||||
<indexterm zone="attr libattr">
|
||||
<primary sortas="c-libattr">libattr.{so,a}</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
</variablelist>
|
||||
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
@ -59,5 +59,6 @@ $Date$
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="polkit.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="polkit-gnome.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="consolekit.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="attr.xml"/>
|
||||
|
||||
</chapter>
|
||||
|
Loading…
Reference in New Issue
Block a user