Changeset bf75b22 for postlfs


Ignore:
Timestamp:
01/10/2014 11:18:30 AM (10 years ago)
Author:
Igor Živković <igor@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 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:
7b55b1b
Parents:
41f3ac3
Message:

Update to libcap-2.24 and correct PAM module install location reported by Randy McMurphy.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/security/libcap.xml

    r41f3ac3 rbf75b22  
    77  <!ENTITY libcap-download-http "https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-&libcap-version;.tar.xz">
    88  <!ENTITY libcap-download-ftp  "ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-&libcap-version;.tar.xz">
    9   <!ENTITY libcap-md5sum        "09a185e4b0aa8a81a51c1e4d0eba7db0">
    10   <!ENTITY libcap-size          "57 KB">
     9  <!ENTITY libcap-md5sum        "d43ab9f680435a7fff35b4ace8d45b80">
     10  <!ENTITY libcap-size          "62 KB">
    1111  <!ENTITY libcap-buildsize     "1.5 MB">
    1212  <!ENTITY libcap-time          "0.1 SBU">
     
    5959    </itemizedlist>
    6060
    61     <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    62     <itemizedlist spacing="compact">
    63       <listitem>
    64         <para>
    65           Required patch:
    66           <ulink url="&patch-root;/libcap-&libcap-version;-uapi-1.patch"/>
    67         </para>
    68       </listitem>
    69     </itemizedlist>
    70 
    7161    <bridgehead renderas="sect3">libcap Dependencies</bridgehead>
    7262
     
    8878    commands:</para>
    8979
    90 <screen><userinput>patch -Np1 -i ../libcap-&libcap-version;-uapi-1.patch &amp;&amp;
     80<screen><userinput>sed -i 's:LIBDIR:PAM_&amp;:g' pam_cap/Makefile &amp;&amp;
    9181make</userinput></screen>
    9282
     
    10191    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    10292
    103 <screen role="root"><userinput>make RAISE_SETFCAP=no \
    104      prefix=/usr      \
    105      SBINDIR=/sbin install</userinput></screen>
     93<!-- dev note: make DESTDIR=<DESTDIR> prefix=/usr SBINDIR=<DESTDIR>/sbin PAM_LIBDIR=<DESTDIR>/lib RAISE_SETFCAP=no -->
     94
     95<screen role="root"><userinput>make prefix=/usr \
     96     SBINDIR=/sbin \
     97     PAM_LIBDIR=/lib \
     98     RAISE_SETFCAP=no install</userinput></screen>
    10699
    107100   <para>
     
    118111  <sect2 role="commands">
    119112    <title>Command Explanations</title>
     113
     114    <para>
     115      <command>sed -i '...'</command>, <parameter>PAM_LIBDIR=/lib</parameter>:
     116      These correct PAM module install location.
     117    </para>
    120118
    121119    <para><parameter>RAISE_SETFCAP=no</parameter>: This parameter skips trying
Note: See TracChangeset for help on using the changeset viewer.