aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/attr.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2018-07-04 02:41:02 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2018-07-04 02:41:02 +0000
commitf6528ac86d1a9dc96170011ae98ee0160b28abda (patch)
treeba4ca14c9023b52f86540ecf3b4764325443fbab /chapter06/attr.xml
parentdb1ed0172ad42bd109c8dbdca90253077f4e7c34 (diff)
Update to attr-2.4.48.
Update to acl-2.2.53. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11428 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/attr.xml')
-rw-r--r--chapter06/attr.xml38
1 files changed, 13 insertions, 25 deletions
diff --git a/chapter06/attr.xml b/chapter06/attr.xml
index f81df844c..56c9fa848 100644
--- a/chapter06/attr.xml
+++ b/chapter06/attr.xml
@@ -41,44 +41,32 @@
<sect2 role="installation">
<title>Installation of Attr</title>
- <para>Modify the documentation directory so that it is a versioned
- directory:</para>
-
-<screen><userinput remap="pre">sed -i -e 's|/@pkg_name@|&amp;-@pkg_version@|' include/builddefs.in</userinput></screen>
-
- <para>Prevent installation of manual pages that were already installed by
- the <xref linkend="man-pages"/> package:</para>
-
-<screen><userinput remap="pre">sed -i -e "/SUBDIRS/s|man[25]||g" man/Makefile</userinput></screen>
-
- <para>Fix a problem in the test procedures caused by changes in perl-5.26:</para>
-
-<screen><userinput remap="pre">sed -i 's:{(:\\{(:' test/run</userinput></screen>
-
<para>Prepare Attr for compilation:</para>
-<screen revision="sysv"><userinput remap="configure">./configure --prefix=/usr \
- --bindir=/bin \
- --disable-static</userinput></screen>
+<screen revision="sysv"><userinput remap="configure">./configure --prefix=/usr \
+ --bindir=/bin \
+ --disable-static \
+ --sysconfdir=/etc \
+ --docdir=/usr/share/doc/attr-&attr-version;</userinput></screen>
-<screen revision="systemd"><userinput remap="configure">./configure --prefix=/usr \
- --disable-static</userinput></screen>
+<screen revision="systemd"><userinput remap="configure">./configure --prefix=/usr \
+ --disable-static \
+ --sysconfdir=/etc \
+ --docdir=/usr/share/doc/attr-&attr-version;</userinput></screen>
<para>Compile the package:</para>
<screen><userinput remap="make">make</userinput></screen>
<para>The tests need to be run on a filesystem that supports extended
- attributes such as the ext2, ext3, or ext4 filesystems. The tests are also
- known to fail if running multiple simultaneous tests (-j option greater than
- 1). To test the results, issue:</para>
+ attributes such as the ext2, ext3, or ext4 filesystems.
+ To test the results, issue:</para>
-<screen><userinput remap="test">make -j1 tests root-tests</userinput></screen>
+<screen><userinput remap="test">make check</userinput></screen>
<para>Install the package:</para>
-<screen><userinput remap="install">make install install-dev install-lib
-chmod -v 755 /usr/lib/libattr.so</userinput></screen>
+<screen><userinput remap="install">make install</userinput></screen>
<para>The shared library needs to be moved to
<filename class="directory">/lib</filename>, and as a result the