From 615a56582820d63d362a15e3f9130a68c1766df2 Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Thu, 7 Feb 2008 19:47:39 +0000 Subject: Upgrade to Coreutils-6.10. Fixes #2133. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8470 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/chapter06.xml | 1 - chapter06/coreutils.xml | 31 +++++++----- chapter06/mktemp.xml | 126 ------------------------------------------------ 3 files changed, 19 insertions(+), 139 deletions(-) delete mode 100644 chapter06/mktemp.xml (limited to 'chapter06') diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml index ecd970612..2e59bd4bf 100644 --- a/chapter06/chapter06.xml +++ b/chapter06/chapter06.xml @@ -56,7 +56,6 @@ - diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml index 3d8288366..3d7be3c19 100644 --- a/chapter06/coreutils.xml +++ b/chapter06/coreutils.xml @@ -41,12 +41,6 @@ Installation of Coreutils - The version of the function futimens used - by Coreutils is incompatible with the version that current - Glibc provides, so we'll rename the function: - -sed -i 's/futimens/gl_&/' src/{copy,touch}.c lib/utimens.{c,h} - A known issue with the uname program from this package is that the -p switch always returns unknown. The following patch @@ -54,11 +48,6 @@ patch -Np1 -i ../&coreutils-uname-patch; - Prevent Coreutils from installing binaries that will be installed by - other packages later: - -patch -Np1 -i ../&coreutils-suppress-patch; - POSIX requires that programs from Coreutils recognize character boundaries correctly even in multibyte locales. The following patch fixes this non-compliance and other internationalization-related bugs: @@ -78,7 +67,20 @@ Now prepare Coreutils for compilation: -./configure --prefix=/usr +./configure --prefix=/usr --enable-install-program=hostname --enable-no-install-program=kill + + + The meaning of the configure options: + + + --enable-no-install-program=kill + + The purpose of this switch is to prevent Coreutils from + installing binaries that will be installed by other packages later. + + + + Compile the package: @@ -100,6 +102,11 @@ echo "dummy:x:1000:nobody" >> /etc/group + Fix some of the permissions so that the non-root user can compile and + run the tests: + +chown -v nobody gnulib-tests/.deps + Now run the tests: su-tools nobody -s /bin/bash -c "make RUN_EXPENSIVE_TESTS=yes check" diff --git a/chapter06/mktemp.xml b/chapter06/mktemp.xml deleted file mode 100644 index 4a9aac7e4..000000000 --- a/chapter06/mktemp.xml +++ /dev/null @@ -1,126 +0,0 @@ - - - %general-entities; -]> - - - - - - mktemp - &mktemp-version; -
&mktemp-url;
-
- - Mktemp-&mktemp-version; - - - Mktemp - - - - - - <para>The Mktemp package contains programs used to create secure temporary - files in shell scripts.</para> - - <segmentedlist> - <segtitle>&buildtime;</segtitle> - <segtitle>&diskspace;</segtitle> - - <seglistitem> - <seg>&mktemp-ch6-sbu;</seg> - <seg>&mktemp-ch6-du;</seg> - </seglistitem> - </segmentedlist> - - </sect2> - - <sect2 role="installation"> - <title>Installation of Mktemp - - Many scripts still use the deprecated - tempfile program, which has functionality similar - to mktemp. Patch Mktemp to include a - tempfile wrapper: - -patch -Np1 -i ../&mktemp-tempfile-patch; - - Prepare Mktemp for compilation: - -./configure --prefix=/usr --with-libc - - - The meaning of the configure options: - - - --with-libc - - This causes the mktemp program to use the - mkstemp and mkdtemp - functions from the system C library instead of its own implementation - of them. - - - - - - Compile the package: - -make - - This package does not come with a test suite. - - Install the package: - -make install -make install-tempfile - - - - - Contents of Mktemp - - - Installed programs - - - mktemp and tempfile - - - - - Short Descriptions - - - - - mktemp - - Creates temporary files in a secure manner; it is used in - scripts - - mktemp - - - - - - tempfile - - Creates temporary files in a less secure manner than - mktemp; it is installed for - backwards-compatibility - - tempfile - - - - - - - - -
-- cgit v1.2.3-54-g00ecf