瀏覽代碼

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
Matthew Burgess 18 年之前
父節點
當前提交
2c69ed4864
共有 4 個文件被更改,包括 10 次插入13 次删除
  1. 6 0
      chapter01/changelog.xml
  2. 2 4
      chapter06/db.xml
  3. 2 5
      chapter06/ncurses.xml
  4. 0 4
      chapter06/readline.xml

+ 6 - 0
chapter01/changelog.xml

@@ -39,6 +39,12 @@
     <listitem>
       <para>2007-02-09</para>
       <itemizedlist>
+        <listitem>
+          <para>[matthew] - Remove some <command>chmod</command> and
+          <command>chown</command> commands from DB, NCurses and Readline as
+          they are no longer required with recent upstream versions. Fixes
+          <ulink url="&lfs-ticket-root;1953">#1953</ulink></para>
+        </listitem>
         <listitem>
           <para>[matthew] - Upgrade to Udev-105. Fixes
           <ulink url="&lfs-ticket-root;1949">#1949</ulink></para>

+ 2 - 4
chapter06/db.xml

@@ -107,11 +107,9 @@
 
     </variablelist>
 
-    <para>Fix the ownerships of the installed files:</para>
+    <para>Fix the ownership of the installed documentation:</para>
 
-<screen><userinput>chown -v root:root /usr/bin/db_* \
-    /usr/lib/libdb* /usr/include/db* &amp;&amp;
-chown -Rv root:root /usr/share/doc/db-&db-version;</userinput></screen>
+<screen><userinput>chown -Rv root:root /usr/share/doc/db-&db-version;</userinput></screen>
 
   </sect2>
 

+ 2 - 5
chapter06/ncurses.xml

@@ -89,11 +89,8 @@
 
 <screen><userinput>make install</userinput></screen>
 
-    <para>Give the Ncurses libraries execute permissions:</para>
-
-<screen><userinput>chmod -v 755 /usr/lib/*.&ncurses-version;</userinput></screen>
-
-    <para>Fix a library that should not be executable:</para>
+    <para>Correct the permissions of a library that should not be executable:
+    </para>
 
 <screen><userinput>chmod -v 644 /usr/lib/libncurses++w.a</userinput></screen>
 

+ 0 - 4
chapter06/readline.xml

@@ -78,10 +78,6 @@ sed -i '/{OLDSUFF}/c:' support/shlib-install</userinput></screen>
 
 <screen><userinput>make install</userinput></screen>
 
-    <para>Give Readline's dynamic libraries more appropriate permissions:</para>
-
-<screen><userinput>chmod -v 755 /lib/lib{readline,history}.so*</userinput></screen>
-
     <para>Now move the static libraries to a more appropriate location:</para>
 
 <screen><userinput>mv -v /lib/lib{readline,history}.a /usr/lib</userinput></screen>