Changeset 208950b for postlfs


Ignore:
Timestamp:
11/05/2010 03:56:42 PM (13 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
2be957e
Parents:
9a788838
Message:

Modified the acl instructions to support a DESTDIR installation and modified permissions of installed library files to standards

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8665 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/security/acl.xml

    r9a788838 r208950b  
    66
    77  <!ENTITY acl-download-http "http://mirrors.zerg.biz/nongnu/acl/acl-&acl-version;.src.tar.gz">
    8   <!ENTITY acl-download-ftp  "ftp://oss.sgi.com/projects/xfs/cmd_tars-oct_09/acl-&acl-version;.src.tar.gz">
     8  <!-- <!ENTITY acl-download-ftp  "ftp://oss.sgi.com/projects/xfs/cmd_tars-oct_09/acl-&acl-version;.src.tar.gz"> -->
     9  <!ENTITY acl-download-ftp  " ">
    910  <!ENTITY acl-md5sum        "181445894cca986da9ae0099d5ce2d08">
    1011  <!ENTITY acl-size          "362 KB">
     
    7273    commands:</para>
    7374
    74 <screen><userinput>sed -i "s|/@pkg_name@|&amp;-@pkg_version@|" include/builddefs.in &amp;&amp;
     75<screen><userinput>sed -i -e 's|/@pkg_name@|&amp;-@pkg_version@|' \
     76       -e 's|@prefix|$(DESTDIR)&amp;|'         \
     77       -e 's|@libexec|$(DESTDIR)&amp;|'        \
     78    include/builddefs.in &amp;&amp;
     79
    7580./configure --prefix=/usr --libexecdir=/usr/lib &amp;&amp;
    7681make</userinput></screen>
     
    8085    <application>Coreutils</application> is re-installed after
    8186    <application>acl</application> is installed so that the extra acl bit
    82     displays correctly on a ls command. Some failures will occur due to a
    83     missing script called sort-getfattr-output which is not part fo the
     87    displays correctly on a <command>ls</command> command. Some failures will
     88    occur due to a missing script called
     89    <filename>sort-getfattr-output</filename> which is not part of the
    8490    tarball.</para>
    8591
    8692    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    8793
    88 <screen role="root"><userinput>make install install-dev install-lib</userinput></screen>
     94<screen role="root"><userinput>make install install-dev install-lib &amp;&amp;
     95install -v -m644 doc/*.txt /usr/share/doc/acl-&acl-version; &amp;&amp;
     96chmod -v 755 /usr/lib/libacl.{la,so.1.1.0}</userinput></screen>
    8997
    9098    <para>You should now re-install <application><ulink
     
    102110
    103111    <para><command>sed -i ... include/builddefs.in</command>: This command
    104     changes the documentation directory to a versioned directory.</para>
     112    changes the documentation directory to a versioned directory and provides
     113    for a DESTDIR installation.</para>
     114
     115    <para><command>chmod ...</command>: This command modifies the permissions
     116    of installed library files to standards.</para>
    105117
    106118  </sect2>
    107119
    108120  <sect2 role="configuration">
    109     <title>Configuring attr</title>
     121    <title>Configuring acl</title>
    110122    <sect3><title>Configuration Information</title>
    111123
     
    115127
    116128      <para>One way to achieve this is to add the acl option to an ext3
    117       filesystem in the /etc/fstab file as shown below.</para>
     129      filesystem in the <filename>/etc/fstab</filename> file as shown
     130      below:</para>
    118131
    119132<screen># file system  mount-point  type   options                 dump  fsck
Note: See TracChangeset for help on using the changeset viewer.