Author: wblaszcz
Date: 2009-11-08 01:38:06 -0700 (Sun, 08 Nov 2009)
New Revision: 8124
Added:
trunk/BOOK/postlfs/security/attr.xml
Modified:
trunk/BOOK/general.ent
trunk/BOOK/introduction/welcome/changelog.xml
trunk/BOOK/postlfs/security/security.xml
Log:
Added new package. attr-2.4.44
Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent 2009-11-08 02:40:08 UTC (rev 8123)
+++ trunk/BOOK/general.ent 2009-11-08 08:38:06 UTC (rev 8124)
@@ -92,6 +92,7 @@
<!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">
Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml 2009-11-08 02:40:08 UTC
(rev 8123)
+++ trunk/BOOK/introduction/welcome/changelog.xml 2009-11-08 08:38:06 UTC
(rev 8124)
@@ -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>
Added: trunk/BOOK/postlfs/security/attr.xml
===================================================================
--- trunk/BOOK/postlfs/security/attr.xml (rev 0)
+++ trunk/BOOK/postlfs/security/attr.xml 2009-11-08 08:38:06 UTC (rev
8124)
@@ -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>
Property changes on: trunk/BOOK/postlfs/security/attr.xml
___________________________________________________________________
Name: svn:keywords
+ LastChangedBy Date
Modified: trunk/BOOK/postlfs/security/security.xml
===================================================================
--- trunk/BOOK/postlfs/security/security.xml 2009-11-08 02:40:08 UTC (rev
8123)
+++ trunk/BOOK/postlfs/security/security.xml 2009-11-08 08:38:06 UTC (rev
8124)
@@ -59,5 +59,6 @@
<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>
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page