[blfs-book] r11672 - trunk/BOOK/postlfs/security

krejzi at higgs.linuxfromscratch.org krejzi at higgs.linuxfromscratch.org
Thu Aug 22 13:45:41 PDT 2013


Author: krejzi
Date: Thu Aug 22 13:45:41 2013
New Revision: 11672

Log:
minor acl fixes.

Modified:
   trunk/BOOK/postlfs/security/acl.xml
   trunk/BOOK/postlfs/security/attr.xml

Modified: trunk/BOOK/postlfs/security/acl.xml
==============================================================================
--- trunk/BOOK/postlfs/security/acl.xml	Thu Aug 22 07:14:46 2013	(r11671)
+++ trunk/BOOK/postlfs/security/acl.xml	Thu Aug 22 13:45:41 2013	(r11672)
@@ -78,7 +78,7 @@
 
 INSTALL_USER=root  \
 INSTALL_GROUP=root \
-./configure --prefix=/usr --libdir=/lib --libexecdir=/usr/lib &&
+./configure --prefix=/usr --libexecdir=/usr/lib --disable-static &&
 make</userinput></screen>
 
     <para>For meaningful results, the tests need to be carried out on a file
@@ -90,11 +90,10 @@
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
 
 <!-- Package uses DIST_ROOT instead of DESTDIR -->
-<screen role="root"><userinput>make install install-dev install-lib                           &&
-chmod -v 0755 /lib/libacl.so.1.1.0                             &&
-rm -v /lib/libacl.{a,la,so}                                    &&
-ln -sfv ../../lib/libacl.so.1 /usr/lib/libacl.so               &&
-sed -i "s|libdir='/lib'|libdir='/usr/lib'|" /usr/lib/libacl.la &&
+<screen role="root"><userinput>make install install-dev install-lib             &&
+chmod -v 755 /usr/lib/libacl.so                  &&
+mv -v /usr/lib/libacl.so.* /lib                  &&
+ln -sfv ../../lib/libacl.so.1 /usr/lib/libacl.so &&
 install -v -m644 doc/*.txt /usr/share/doc/acl-&acl-version;</userinput></screen>
 
     <para>You should now re-install <application><ulink
@@ -129,9 +128,8 @@
     modifies the documentation directory so that it is a versioned
     directory.</para>
 
-    <para><command>sed -i ... /usr/lib/libacl.la</command>: This command
-    corrects the location of the installed static library as referenced
-    in the libtool archive.</para>
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+      href="../../xincludes/static-libraries.xml"/>
 
   </sect2>
 

Modified: trunk/BOOK/postlfs/security/attr.xml
==============================================================================
--- trunk/BOOK/postlfs/security/attr.xml	Thu Aug 22 07:14:46 2013	(r11671)
+++ trunk/BOOK/postlfs/security/attr.xml	Thu Aug 22 13:45:41 2013	(r11672)
@@ -84,7 +84,7 @@
 
 <!-- Package uses DIST_ROOT instead of DESTDIR -->
 <screen role="root"><userinput>make install install-dev install-lib &&
-chmod -v 755 /usr/lib/libattr.so.1.1.0 &&
+chmod -v 755 /usr/lib/libattr.so &&
 mv -v /usr/lib/libattr.so.* /lib &&
 ln -sfv ../../lib/libattr.so.1 /usr/lib/libattr.so</userinput></screen>
 



More information about the blfs-book mailing list