From f6528ac86d1a9dc96170011ae98ee0160b28abda Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Wed, 4 Jul 2018 02:41:02 +0000 Subject: 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 --- chapter06/acl.xml | 42 ++++++++++++------------------------------ chapter06/attr.xml | 38 +++++++++++++------------------------- 2 files changed, 25 insertions(+), 55 deletions(-) (limited to 'chapter06') diff --git a/chapter06/acl.xml b/chapter06/acl.xml index df058f721..cb5be400e 100644 --- a/chapter06/acl.xml +++ b/chapter06/acl.xml @@ -42,35 +42,18 @@ Installation of Acl - Modify the documentation directory so that it is a versioned - directory: - -sed -i -e 's|/@pkg_name@|&-@pkg_version@|' include/builddefs.in - - Fix some broken tests: - -sed -i "s:| sed.*::g" test/{sbits-restore,cp,misc}.test - - Fix a problem in the test procedures caused by changes in perl-5.26: - -sed -i 's/{(/\\{(/' test/run - - Additionally, fix a bug that causes getfacl -e - to segfault on overly long group name: - -sed -i -e "/TABS-1;/a if (x > (TABS-1)) x = (TABS-1);" \ - libacl/__acl_to_any_text.c - Prepare Acl for compilation: -./configure --prefix=/usr \ - --bindir=/bin \ - --disable-static \ - --libexecdir=/usr/lib +./configure --prefix=/usr \ + --bindir=/bin \ + --disable-static \ + --libexecdir=/usr/lib \ + --docdir=/usr/share/doc/acl-&acl-version; -./configure --prefix=/usr \ - --disable-static \ - --libexecdir=/usr/lib +./configure --prefix=/usr \ + --disable-static \ + --libexecdir=/usr/lib \ + --docdir=/usr/share/doc/acl-&acl-version; Compile the package: @@ -78,14 +61,13 @@ The Acl tests need to be run on a filesystem that supports access controls after Coreutils has been built with the - Acl libraries. If desired, return to this package and run make -j1 - tests after Coreutils has been built + Acl libraries. If desired, return to this package and run make + check after Coreutils has been built later in this chapter. Install the package: -make install install-dev install-lib -chmod -v 755 /usr/lib/libacl.so +make install The shared library needs to be moved to /lib, and as a result the 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 @@ Installation of Attr - Modify the documentation directory so that it is a versioned - directory: - -sed -i -e 's|/@pkg_name@|&-@pkg_version@|' include/builddefs.in - - Prevent installation of manual pages that were already installed by - the package: - -sed -i -e "/SUBDIRS/s|man[25]||g" man/Makefile - - Fix a problem in the test procedures caused by changes in perl-5.26: - -sed -i 's:{(:\\{(:' test/run - Prepare Attr for compilation: -./configure --prefix=/usr \ - --bindir=/bin \ - --disable-static +./configure --prefix=/usr \ + --bindir=/bin \ + --disable-static \ + --sysconfdir=/etc \ + --docdir=/usr/share/doc/attr-&attr-version; -./configure --prefix=/usr \ - --disable-static +./configure --prefix=/usr \ + --disable-static \ + --sysconfdir=/etc \ + --docdir=/usr/share/doc/attr-&attr-version; Compile the package: make 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: + attributes such as the ext2, ext3, or ext4 filesystems. + To test the results, issue: -make -j1 tests root-tests +make check Install the package: -make install install-dev install-lib -chmod -v 755 /usr/lib/libattr.so +make install The shared library needs to be moved to /lib, and as a result the -- cgit v1.2.3-54-g00ecf