attr 2.4.46

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9674 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Krejzi 2012-03-11 17:46:32 +00:00
parent d265d4c5cc
commit 1784132239
3 changed files with 21 additions and 32 deletions

View File

@ -112,7 +112,7 @@ $Date$
<!ENTITY accountsservice-version "0.6.15">
<!ENTITY acl-version "2.2.51">
<!ENTITY attr-version "2.4.44">
<!ENTITY attr-version "2.4.46">
<!ENTITY consolekit-version "0.4.5">
<!ENTITY cracklib-version "2.8.18">
<!ENTITY cyrus-sasl-version "2.1.25">

View File

@ -47,6 +47,9 @@
<listitem>
<para>[krejzi] - shadow 4.1.5.</para>
</listitem>
<listitem>
<para>[krejzi] - attr 2.4.46.</para>
</listitem>
</itemizedlist>
</listitem>

View File

@ -4,13 +4,11 @@
<!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-http "http://mirrors.zerg.biz/nongnu/attr/attr-&attr-version;.src.tar.gz"> -->
<!ENTITY attr-download-http " ">
<!ENTITY attr-download-ftp "ftp://oss.sgi.com/projects/xfs/cmd_tars-oct_09/attr-&attr-version;.src.tar.gz">
<!ENTITY attr-md5sum "adeefe65c5ad1febe46da185c5bfd5d4">
<!ENTITY attr-size "309 KB">
<!ENTITY attr-buildsize "3 MB">
<!ENTITY attr-download-http "http://download.savannah.gnu.org/releases/attr/attr-&attr-version;.src.tar.gz">
<!ENTITY attr-download-ftp " ">
<!ENTITY attr-md5sum "db557c17fdfa4f785333ecda08654010">
<!ENTITY attr-size "332 KB">
<!ENTITY attr-buildsize "3.5 MB">
<!ENTITY attr-time "0.1 SBU">
]>
@ -41,9 +39,9 @@
<listitem>
<para>Download (HTTP): <ulink url="&attr-download-http;"/></para>
</listitem>
<listitem>
<!-- <listitem>
<para>Download (FTP): <ulink url="&attr-download-ftp;"/></para>
</listitem>
</listitem> -->
<listitem>
<para>Download MD5 sum: &attr-md5sum;</para>
</listitem>
@ -69,19 +67,12 @@
<para>Install <application>attr</application> by running the following
commands:</para>
<screen><userinput>cat &gt; test/sort-getfattr-output &lt;&lt; "EOF" &amp;&amp;
#! /usr/bin/perl -w
undef $/;
print join("\n\n", sort split(/\n\n/, &lt;&gt;)), "\n\n";
EOF
<screen><userinput>sed -i -e 's|/@pkg_name@|&amp;-@pkg_version@|' \
include/builddefs.in &amp;&amp;
chmod 755 test/sort-getfattr-output &amp;&amp;
sed -i -e 's|/@pkg_name@|&amp;-@pkg_version@|' \
-e 's|@prefix|$(DESTDIR)&amp;|' \
-e 's|@libexec|$(DESTDIR)&amp;|' \
include/builddefs.in &amp;&amp;
./configure --prefix=/usr --libexecdir=/usr/lib &amp;&amp;
INSTALL_USER=root INSTALL_GROUP=root ./configure \
--prefix=/usr --libdir=/lib \
--libexecdir=/usr/lib &amp;&amp;
make</userinput></screen>
<para>There are three sets of tests that come with this package. Issue the
@ -92,25 +83,20 @@ make</userinput></screen>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<!-- Package uses DIST_ROOT instead of DESTDIR -->
<screen role="root"><userinput>make install install-dev install-lib &amp;&amp;
chmod -v 755 /usr/lib/libattr.{so.1.1.0,la} &amp;&amp;
chown -v root.root /usr/lib/libattr.{a,la,so.1.1.0} &amp;&amp;
chown -v root.root /usr/share/man/man*/*attr*</userinput></screen>
chmod -v 0755 /lib/libattr.so.1.1.0 &amp;&amp;
rm -v /lib/libattr.{a,la,so} &amp;&amp;
ln -sfv ../../lib/libattr.so.1 /usr/lib/libattr.so &amp;&amp;</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para><command>cat &gt; test/sort-getfattr-output ... EOF</command>: This
command creates a missing test script.</para>
<para><command>sed ... include/builddefs.in</command>: This command
modifies the documentation directory so that it is a versioned
directory and also adds support for a DESTDIR installation.</para>
<para><command>chmod ...</command>: This command modifies the permissions
of installed library files to standards.</para>
directory.</para>
</sect2>