diff --git a/appendices/dependencies.xml b/appendices/dependencies.xml
index 1bc00058b..0354345d3 100644
--- a/appendices/dependencies.xml
+++ b/appendices/dependencies.xml
@@ -37,6 +37,78 @@
the LFS book and then go back an rebuild the LFS package. In several cases,
reinstallation is addressed in BLFS.
+
+ acl
+
+
+ &dependencies;
+
+
+ Attr, Bash, Binutils, Coreutils, GCC, Gettext, Grep, M4, Make,
+ Perl, Sed, and Texinfo
+
+
+
+
+ &testsuites;
+
+
+ Automake, Diffutils, Findutils, and Libtool
+
+
+
+
+ &before;
+
+
+ Systemd
+
+
+
+
+ &external;
+
+
+ None
+
+
+
+
+ attr
+
+
+ &dependencies;
+
+
+ Bash, Binutils, Coreutils, GCC, Gettext, Grep, M4, Make,
+ Perl, Sed, and Texinfo
+
+
+
+
+ &testsuites;
+
+
+ Automake, Diffutils, Findutils, and Libtool
+
+
+
+
+ &before;
+
+
+ Systemd
+
+
+
+
+ &external;
+
+
+ None
+
+
+
Autoconf
diff --git a/bootscripts/lfs/lib/services/init-functions b/bootscripts/lfs/lib/services/init-functions
index f6be0dccb..06a7f588c 100644
--- a/bootscripts/lfs/lib/services/init-functions
+++ b/bootscripts/lfs/lib/services/init-functions
@@ -363,7 +363,7 @@ killproc()
fi
# For signals that do not expect a program to exit, simply
- # let kill do it's job, and evaluate kills return for value
+ # let kill do its job, and evaluate kill's return for value
else # check_sig_type - signal is not used to terminate program
for pid in ${pidlist}; do
diff --git a/bootscripts/lfs/sysconfig/modules b/bootscripts/lfs/sysconfig/modules
index 1c8493d45..0fce3f31f 100644
--- a/bootscripts/lfs/sysconfig/modules
+++ b/bootscripts/lfs/sysconfig/modules
@@ -10,7 +10,7 @@
# Notes : The syntax of this file is as follows:
# [ ...]
#
-# Each module should be on it's own line, and any options that you want
+# Each module should be on its own line, and any options that you want
# passed to the module should follow it. The line deliminator is either
# a space or a tab.
########################################################################
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index ddd9713eb..aaeb178ca 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -35,6 +35,15 @@
-->
+
+ 2014-03-21
+
+
+ [bdubbs] - Added acl and attr to the book.
+
+
+
+
2014-03-12
diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml
index 2b91cf506..99f2d005d 100644
--- a/chapter01/whatsnew.xml
+++ b/chapter01/whatsnew.xml
@@ -226,6 +226,12 @@
Added:
+
+ acl-2.2.52
+
+
+ attr-2.4.47
+
eudev-1.5.1
diff --git a/chapter03/packages.xml b/chapter03/packages.xml
index fb4ca06c6..58c5d543d 100644
--- a/chapter03/packages.xml
+++ b/chapter03/packages.xml
@@ -15,11 +15,20 @@
- Autoconf (&autoconf-version;) - &autoconf-size;:
+ Acl (&acl-version;) - &acl-size;:
- Home page:
- Download:
- MD5 sum: &autoconf-md5;
+ Home page:
+ Download:
+ MD5 sum: &acl-md5;
+
+
+
+
+ Attr (&attr-version;) - &attr-size;:
+
+ Home page:
+ Download:
+ MD5 sum: &attr-md5;
diff --git a/chapter06/acl.xml b/chapter06/acl.xml
new file mode 100644
index 000000000..785963da4
--- /dev/null
+++ b/chapter06/acl.xml
@@ -0,0 +1,150 @@
+
+
+ %general-entities;
+]>
+
+
+
+
+
+ acl
+ &acl-version;
+ &acl-url;
+
+
+ Acl-&acl-version;
+
+
+ Acl
+
+
+
+
+
+ The Acl package contains utilities to administer Access Control Lists,
+ which are used to define more fine-grained discretionary access rights for
+ files and directories.
+
+
+ &buildtime;
+ &diskspace;
+
+
+ &acl-ch6-sbu;
+ &acl-ch6-du;
+
+
+
+
+
+
+ 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
+
+ Prepare Acl for compilation:
+
+./configure --prefix=/usr \
+ --bindir=/bin \
+ --libexecdir=/usr/lib
+
+ Compile the package:
+
+make
+
+ 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
+ tests 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
+
+ The shared library needs to be moved to
+ /lib, and as a result the
+ .so file in
+ /usr/lib will need to be recreated:
+
+mv -v /usr/lib/libacl.so.* /lib
+ln -sfv ../../lib/$(readlink /usr/lib/libacl.so) /usr/lib/libacl.so
+
+
+
+
+ Contents of Acl
+
+
+ Installed programs
+ Installed library
+ Installed directories
+
+
+ chacl, getfacl, and setacl
+ libacl.{a,so}
+ /usr/include/acl, /usr/share/doc/acl-&acl-version;
+
+
+
+
+ Short Descriptions
+
+
+
+
+ chacl
+
+ Changes the access control list of a file
+ or directory.
+
+ chacl
+
+
+
+
+
+ getfacl
+
+ Gets file access control lists.
+
+ getfacl
+
+
+
+
+
+ setacl
+
+ Sets file access control lists.
+
+ setacl
+
+
+
+
+
+ libacl
+
+ Contains the Acl API functions.
+
+ libacl
+
+
+
+
+
+
+
+
+
diff --git a/chapter06/attr.xml b/chapter06/attr.xml
new file mode 100644
index 000000000..cc50a2690
--- /dev/null
+++ b/chapter06/attr.xml
@@ -0,0 +1,147 @@
+
+
+ %general-entities;
+]>
+
+
+
+
+
+ attr
+ &attr-version;
+ &attr-url;
+
+
+ Attr-&attr-version;
+
+
+ Attr
+
+
+
+
+
+ The attr package contains utilities to administer the extended
+ attributes on filesystem objects.
+
+
+ &buildtime;
+ &diskspace;
+
+
+ &attr-ch6-sbu;
+ &attr-ch6-du;
+
+
+
+
+
+
+ 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
+
+ Prepare Attr for compilation:
+
+./configure --prefix=/usr --bindir=/bin
+
+ 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. To test the
+ results, issue:
+
+make tests root-tests
+
+ Install the package:
+
+make install install-dev install-lib
+chmod -v 755 /usr/lib/libattr.so
+
+ The shared library needs to be moved to
+ /lib, and as a result the
+ .so file in
+ /usr/lib will need to be recreated:
+
+mv -v /usr/lib/libattr.so.* /lib
+ln -sfv ../../lib/$(readlink /usr/lib/libattr.so) /usr/lib/libattr.so
+
+
+
+
+ Contents of Attr
+
+
+ Installed programs
+ Installed library
+ Installed directories
+
+
+ attr, getfattr, and setattr
+ libattr.{a,so}
+ /usr/include/attr, /usr/share/doc/attr-&attr-version;
+
+
+
+
+ Short Descriptions
+
+
+
+
+ attr
+
+ Extends attributes on filesystem objects
+
+ attr
+
+
+
+
+
+ getfattr
+
+ Gets the extended attributes of filesystem objects.
+
+ getfattr
+
+
+
+
+
+ setattr
+
+ Sets the extended attributes of filesystem objects
+
+ setattr
+
+
+
+
+
+ libattr
+
+ Contains the Attr API functions.
+
+ libattr
+
+
+
+
+
+
+
+
+
diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml
index 3c2949978..170f09efe 100644
--- a/chapter06/chapter06.xml
+++ b/chapter06/chapter06.xml
@@ -32,6 +32,8 @@
+
+
diff --git a/chapter06/e2fsprogs.xml b/chapter06/e2fsprogs.xml
index 9ca778a04..7aca00f9e 100644
--- a/chapter06/e2fsprogs.xml
+++ b/chapter06/e2fsprogs.xml
@@ -61,6 +61,7 @@ cd build
CFLAGS=-I/tools/include \
PKG_CONFIG_PATH=/tools/lib/pkgconfig \
../configure --prefix=/usr \
+ --bindir=/bin \
--with-root-prefix="" \
--enable-elf-shlibs \
--disable-libblkid \
@@ -80,7 +81,8 @@ PKG_CONFIG_PATH=/tools/lib/pkgconfig \
- --with-root-prefix=""
+ --with-root-prefix="" and
+ --bindir=/bin
Certain programs (such as the e2fsck
program) are considered essential programs. When, for example,
diff --git a/chapter09/reboot.xml b/chapter09/reboot.xml
index 9d84732ef..cbe1542db 100644
--- a/chapter09/reboot.xml
+++ b/chapter09/reboot.xml
@@ -44,7 +44,7 @@
If you want to access your new system from a remote system
within a comfortable GUI environment, install openssh and it's
+ url='&blfs-root;/view/svn/postlfs/openssh.html'>openssh and its
prerequsite, openssl.
diff --git a/general.ent b/general.ent
index 1a9f0945a..936fa3fbb 100644
--- a/general.ent
+++ b/general.ent
@@ -1,5 +1,5 @@
-
-
+
+
@@ -34,6 +34,7 @@
+
%packages-entities;
diff --git a/packages.ent b/packages.ent
index 639dac08f..78fa35ce0 100644
--- a/packages.ent
+++ b/packages.ent
@@ -7,6 +7,22 @@
Allowed deviation in disk usage : 2% -->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -322,7 +338,7 @@
-
+
@@ -332,7 +348,7 @@
-
+
@@ -391,7 +407,7 @@
-
+
@@ -439,7 +455,7 @@
-
+
@@ -515,7 +531,7 @@
-
+
diff --git a/prologue/standards.xml b/prologue/standards.xml
index a4dbd2d7e..95865bd55 100644
--- a/prologue/standards.xml
+++ b/prologue/standards.xml
@@ -113,7 +113,7 @@
LSB Core:
At, Batch (a part of At), Cpio, Ed, Fcrontab, Initd-tools,
- Lsb_release, PAM, Sendmail (or Postfix or Exim)
+ Lsb_release, PAM, Pax, Sendmail (or Postfix or Exim), time
@@ -165,7 +165,7 @@
LSB Core:
- time (executable) and pax
+ None