Changeset 161691d


Ignore:
Timestamp:
01/04/2020 09:00:15 AM (22 months ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 9.1, 9.1-rc1, cross-chap5, ml-11.0, multilib, old-trunk, trunk, xry111/git-transition, xry111/glibc-2.34, xry111/tester-nohack, xry111/usr-move
Children:
7e42b39
Parents:
96ef299
Message:

Fix various issues in libcap-2.29

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11719 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • appendices/dependencies.xml

    r96ef299 r161691d  
    404404
    405405        <seglistitem>
    406          <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc, GMP, Grep, Make,
    407          Patch, Perl, Sed, and Texinfo</seg>
     406         <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc, GMP, Grep, Libcap,
     407         Make, Patch, Perl, Sed, and Texinfo</seg>
    408408        </seglistitem>
    409409      </segmentedlist>
  • chapter01/changelog.xml

    r96ef299 r161691d  
    4444       -->
    4545    <listitem>
     46      <para>2020-01-04</para>
     47      <itemizedlist>
     48        <listitem>
     49          <para>[pierre] - Fix various issues in libcap-2.29, and
     50          update dependencies.</para>
     51        </listitem>
     52      </itemizedlist>
     53    </listitem>
     54
     55    <listitem>
    4656      <para>2020-01-01</para>
    4757      <itemizedlist>
  • chapter06/libcap.xml

    r96ef299 r161691d  
    4444    <title>Installation of Libcap</title>
    4545
    46     <para>Prevent a static library from being installed:</para>
     46    <para>Prevent two static libraries from being installed:</para>
    4747
    48 <screen><userinput remap="pre">sed -i '/install.*STALIBNAME/d' libcap/Makefile</userinput></screen>
     48<screen><userinput remap="pre">sed -i '/install.*STA...LIBNAME/d' libcap/Makefile</userinput></screen>
     49
     50    <para>Fix a file with wrong syntax:</para>
     51
     52<screen><userinput remap="pre">sed -i '/libpsx/,$d' libcap/libcap.pc.in</userinput></screen>
    4953
    5054    <para>Compile the package:</para>
    5155
    52 <screen><userinput remap="make">make</userinput></screen>
     56<screen><userinput remap="make">make lib=lib</userinput></screen>
    5357
    5458    <para>This package does not come with a test suite.</para>
     
    5660    <para>Install the package:</para>
    5761
    58 <screen><userinput remap="install">make RAISE_SETFCAP=no lib=lib prefix=/usr install
    59 chmod -v 755 /usr/lib/libcap.so.&libcap-version;</userinput></screen>
     62<screen><userinput remap="install">make lib=lib install
     63chmod -v 755 /lib/libcap.so.&libcap-version;</userinput></screen>
    6064
    6165    <variablelist>
     
    6367
    6468      <varlistentry>
    65         <term><parameter>RAISE_SETFCAP=no</parameter></term>
    66         <listitem>
    67           <para>This parameter skips trying to use <command>setcap</command>
    68           on itself. This avoids an installation error if the kernel or file
    69           system does not support extended capabilities.</para>
    70         </listitem>
    71       </varlistentry>
    72 
    73       <varlistentry>
    7469        <term><parameter>lib=lib</parameter></term>
    7570        <listitem>
    7671          <para>This parameter installs the library in
    77           <filename>$prefix/lib</filename> rather than
    78           <filename>$prefix/lib64</filename> on x86_64. It has no effect on
     72          <filename>/lib</filename> rather than
     73          <filename>/lib64</filename> on x86_64. It has no effect on
    7974          x86.</para>
    8075        </listitem>
     
    8277 
    8378    </variablelist>
    84 
    85     <para>The shared library needs to be moved to
    86     <filename class="directory">/lib</filename>, and as a result the
    87     <filename class="extension">.so</filename> file in
    88     <filename class="directory">/usr/lib</filename> will need to be recreated:</para>
    89 
    90 <screen><userinput remap="install">mv -v /usr/lib/libcap.so.* /lib
    91 ln -sfv ../../lib/$(readlink /usr/lib/libcap.so) /usr/lib/libcap.so</userinput></screen>
    9279
    9380  </sect2>
  • chapter06/systemd.xml

    r96ef299 r161691d  
    5252
    5353    <para>Because we have not yet installed the final version of Util-Linux,
    54     create links to the libraries in the approprite location:</para>
     54    create links to the libraries in the appropriate location:</para>
    5555
    5656<screen><userinput remap="pre">for file in /tools/lib/lib{blkid,mount,uuid}.so*; do
  • general.ent

    r96ef299 r161691d  
    1 <!ENTITY version         "SVN-20200101">
     1<!ENTITY version         "SVN-20200104">
    22<!ENTITY short-version   "svn">  <!-- Used below in &blfs-book;
    33                                      Change to x.y for release but not -rc releases -->
    44<!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
    55
    6 <!ENTITY versiond        "20200101-systemd">
     6<!ENTITY versiond        "20200104-systemd">
    77<!ENTITY short-versiond  "systemd">
    88<!ENTITY generic-versiond "systemd">
    99
    10 <!ENTITY releasedate     "January 1st, 2020">
     10<!ENTITY releasedate     "January 4th, 2020">
    1111
    1212<!ENTITY copyrightdate   "1999-2020"><!-- jhalfs needs a literal dash, not &ndash; -->
Note: See TracChangeset for help on using the changeset viewer.