mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 22:42:14 +08:00
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:
parent
d265d4c5cc
commit
1784132239
@ -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">
|
||||
|
@ -47,6 +47,9 @@
|
||||
<listitem>
|
||||
<para>[krejzi] - shadow 4.1.5.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[krejzi] - attr 2.4.46.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
|
@ -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 > test/sort-getfattr-output << "EOF" &&
|
||||
#! /usr/bin/perl -w
|
||||
undef $/;
|
||||
print join("\n\n", sort split(/\n\n/, <>)), "\n\n";
|
||||
EOF
|
||||
<screen><userinput>sed -i -e 's|/@pkg_name@|&-@pkg_version@|' \
|
||||
include/builddefs.in &&
|
||||
|
||||
chmod 755 test/sort-getfattr-output &&
|
||||
sed -i -e 's|/@pkg_name@|&-@pkg_version@|' \
|
||||
-e 's|@prefix|$(DESTDIR)&|' \
|
||||
-e 's|@libexec|$(DESTDIR)&|' \
|
||||
include/builddefs.in &&
|
||||
|
||||
./configure --prefix=/usr --libexecdir=/usr/lib &&
|
||||
INSTALL_USER=root INSTALL_GROUP=root ./configure \
|
||||
--prefix=/usr --libdir=/lib \
|
||||
--libexecdir=/usr/lib &&
|
||||
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 &&
|
||||
chmod -v 755 /usr/lib/libattr.{so.1.1.0,la} &&
|
||||
chown -v root.root /usr/lib/libattr.{a,la,so.1.1.0} &&
|
||||
chown -v root.root /usr/share/man/man*/*attr*</userinput></screen>
|
||||
chmod -v 0755 /lib/libattr.so.1.1.0 &&
|
||||
rm -v /lib/libattr.{a,la,so} &&
|
||||
ln -sfv ../../lib/libattr.so.1 /usr/lib/libattr.so &&</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para><command>cat > 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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user