From 2c69ed48649f6980bf10bb7b28173937cb7a6543 Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Fri, 9 Feb 2007 20:57:08 +0000 Subject: [PATCH] Remove some chmod commands as newer upstream releases mean they are no longer necessary. Fixes #1953. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7918 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 6 ++++++ chapter06/db.xml | 6 ++---- chapter06/ncurses.xml | 7 ++----- chapter06/readline.xml | 4 ---- 4 files changed, 10 insertions(+), 13 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 1a162c163..bf656eac0 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -39,6 +39,12 @@ 2007-02-09 + + [matthew] - Remove some chmod and + chown commands from DB, NCurses and Readline as + they are no longer required with recent upstream versions. Fixes + #1953 + [matthew] - Upgrade to Udev-105. Fixes #1949 diff --git a/chapter06/db.xml b/chapter06/db.xml index 367f85e65..ecedf09f9 100644 --- a/chapter06/db.xml +++ b/chapter06/db.xml @@ -107,11 +107,9 @@ - Fix the ownerships of the installed files: + Fix the ownership of the installed documentation: -chown -v root:root /usr/bin/db_* \ - /usr/lib/libdb* /usr/include/db* && -chown -Rv root:root /usr/share/doc/db-&db-version; +chown -Rv root:root /usr/share/doc/db-&db-version; diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml index ae9235fbd..b931834f9 100644 --- a/chapter06/ncurses.xml +++ b/chapter06/ncurses.xml @@ -89,11 +89,8 @@ make install - Give the Ncurses libraries execute permissions: - -chmod -v 755 /usr/lib/*.&ncurses-version; - - Fix a library that should not be executable: + Correct the permissions of a library that should not be executable: + chmod -v 644 /usr/lib/libncurses++w.a diff --git a/chapter06/readline.xml b/chapter06/readline.xml index f7d5d96f9..4bffc3648 100644 --- a/chapter06/readline.xml +++ b/chapter06/readline.xml @@ -78,10 +78,6 @@ sed -i '/{OLDSUFF}/c:' support/shlib-install make install - Give Readline's dynamic libraries more appropriate permissions: - -chmod -v 755 /lib/lib{readline,history}.so* - Now move the static libraries to a more appropriate location: mv -v /lib/lib{readline,history}.a /usr/lib