Changeset ff96923


Ignore:
Timestamp:
07/26/2021 01:10:18 AM (10 months ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, arm, ml-11.0, multilib, trunk, xry111/clfs-ng, xry111/glibc-2.34, xry111/lfs-next
Children:
3388c22, de28837
Parents:
ff5c009
Message:

Package updates and stripping fixes
Add workaround to strip libraries correctly.
Update to shadow-4.9.
Update to util-linux 2.37.1.

Files:
8 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    rff5c009 rff96923  
    4848      <itemizedlist>
    4949        <listitem>
     50          <para>[bdubbs] - Add workaround to strip libraries
     51          correctly.</para>
     52        </listitem>
     53        <listitem>
    5054          <para>[xry111] - Add workaround to install Binutils-2.37 man pages
    5155          correctly.</para>
     56        </listitem>
     57        <listitem>
     58          <para>[bdubbs] - Update to shadow-4.9. Fixes
     59          <ulink url="&lfs-ticket-root;4891">#4891</ulink>.</para>
     60        </listitem>
     61        <listitem>
     62          <para>[bdubbs] - Update to util-linux 2.37.1. Fixes
     63          <ulink url="&lfs-ticket-root;4890">#4890</ulink>.</para>
    5264        </listitem>
    5365      </itemizedlist>
  • chapter01/whatsnew.xml

    rff5c009 rff96923  
    229229      <para>Sed-&sed-version;</para>
    230230    </listitem>-->
    231     <!--<listitem>
     231    <listitem>
    232232      <para>Shadow-&shadow-version;</para>
    233     </listitem>-->
     233    </listitem>
    234234    <listitem revision="sysv">
    235235      <para>Sysklogd-&sysklogd-version;</para>
  • chapter03/packages.xml

    rff5c009 rff96923  
    742742      </listitem>
    743743    </varlistentry>
    744 
     744<!--
    745745    <varlistentry>
    746746      <term>Util-linux Man Pages - <token>&util-linux-man-size;</token>:</term>
     
    756756      </listitem>
    757757    </varlistentry>
    758 
     758-->
    759759    <varlistentry>
    760760      <term>Vim (&vim-version;) - <token>&vim-size;</token>:</term>
  • chapter08/binutils.xml

    rff5c009 rff96923  
    5858Ask your system administrator to create more.</computeroutput></screen>
    5959
    60     <para>A glitch in the building system causes the shipped man pages to
     60    <para>An error in the building system causes the shipped man pages to
    6161    be empty.  Workaround the issue and remove the shipped man pages, so the
    62     building system will regenerate man pages correctly:</para>
     62    man pages will be regenerated correctly:</para>
    6363
    6464<screen><userinput remap="pre">sed -i '63d' etc/texi2pod.pl
  • chapter08/shadow.xml

    rff5c009 rff96923  
    9090<screen role="nodump"><userinput>sed -i 's:DICTPATH.*:DICTPATH\t/lib/cracklib/pw_dict:' etc/login.defs</userinput></screen>
    9191    </note>
    92 
     92<!--
    9393    <para>Make a minor change to make the first group number generated
    9494    by useradd 1000:</para>
    9595
    9696<screen><userinput remap="pre">sed -i 's/1000/999/' etc/useradd</userinput></screen>
    97 
     97-->
    9898    <para>Prepare Shadow for compilation:</para>
    9999
     
    125125    <para>Compile the package:</para>
    126126
    127 <screen><userinput remap="make">make</userinput></screen>
     127    <screen><userinput remap="make">make</userinput></screen>
    128128
    129129    <para>This package does not come with a test suite.</para>
     
    131131    <para>Install the package:</para>
    132132
    133 <screen><userinput remap="install">make exec_prefix=/usr install</userinput></screen>
     133    <screen><userinput remap="install">make exec_prefix=/usr install
     134make -C man install-man
     135mkdir -p /etc/default
     136useradd -D --gid 999</userinput></screen>
    134137
    135138  </sect2>
  • chapter08/strippingagain.xml

    rff5c009 rff96923  
    3535<!--<screen><userinput>save_lib="ld-2.25.so libc-2.25.so libpthread-2.25.so libthread_db-1.0.so"-->
    3636<screen><userinput>save_usrlib="ld-&glibc-version;.so libc-&glibc-version;.so libpthread-&glibc-version;.so libthread_db-&libthread_db-version;.so
    37              libquadmath.so.&libquadmath-version; libstdc++.so.&libstdcpp-version;
     37             libquadmath.so.&libquadmath-version; libstdc++.so.&libstdcpp-version; libz.so.&zlib-version;
    3838             libitm.so.&libitm-version; libatomic.so.&libatomic-version;" <!-- libcilkrts.so.&libcilkrts-version;-->
    3939
     
    4242for LIB in $save_usrlib; do
    4343    objcopy --only-keep-debug $LIB $LIB.dbg
    44     strip --strip-unneeded $LIB
    45     objcopy --add-gnu-debuglink=$LIB.dbg $LIB
     44    cp $LIB /tmp/$LIB
     45    strip --strip-unneeded /tmp/$LIB
     46    objcopy --add-gnu-debuglink=$LIB.dbg /tmp/$LIB
     47    install -vm755 /tmp/$LIB /usr/lib
     48    rm /tmp/$LIB
    4649done
    4750
     
    5962   -exec strip --strip-debug {} ';'
    6063
    61 find /usr/lib -type f -name \*.so* ! -name \*dbg \
     64find /usr/lib -type f -name \*.so* ! -name \*dbg ! -name libz.so* \
    6265   -exec strip --strip-unneeded {} ';'
    6366
  • chapter08/util-linux.xml

    rff5c009 rff96923  
    9595<screen role="nodump"><userinput>bash tests/run.sh --srcdir=$PWD --builddir=$PWD</userinput></screen>
    9696    </warning>
    97 
     97<!--
    9898    <note><para>There is one test that depends on the configuration of the kernel.
    9999    If CONFIG_USER_NS or CONFIG_PID_NS are not set, the tests will hang forever.
     
    102102    <screen><userinput remap="test">rm tests/ts/lsns/ioctl_ns</userinput></screen>
    103103    </note>
    104 
     104-->
    105105<screen><userinput remap="test">chown -Rv tester .
    106106su tester -c "make -k check"</userinput></screen>
     
    109109
    110110<screen><userinput remap="install">make install</userinput></screen>
    111 
     111<!--
    112112  <para>Finally, install the man pages:</para>
    113113
    114 <screen><userinput remap="install">tar -xf ../util-linux-man-pages-&util-linux-version;.tar.xz --directory /usr/share/man --strip-components=1</userinput></screen>
    115 
     114<screen><userinput remap="install">tar -xf ../util-linux-man-pages-&util-linux-version;.tar.xz - -directory /usr/share/man - -strip-components=1</userinput></screen>
     115-->
    116116  </sect2>
    117117
  • packages.ent

    rff5c009 rff96923  
    622622<!ENTITY sed-fin-sbu "0.5 SBU">
    623623
    624 <!ENTITY shadow-version "4.8.1">
    625 <!ENTITY shadow-size "1,574 KB">
    626 <!ENTITY shadow-url "&github;/shadow-maint/shadow/releases/download/&shadow-version;/shadow-&shadow-version;.tar.xz">
    627 <!ENTITY shadow-md5 "4b05eff8a427cf50e615bda324b5bc45">
     624<!ENTITY shadow-version "4.9">
     625<!ENTITY shadow-size "3,870 KB">
     626<!ENTITY shadow-url "&github;/shadow-maint/shadow/releases/download/v&shadow-version;/shadow-&shadow-version;.tar.gz">
     627<!ENTITY shadow-md5 "b3c150ebef96d46afd51ef244ef506c8">
    628628<!ENTITY shadow-home "https://shadow-maint.github.io/shadow/">
    629629<!ENTITY shadow-fin-du "45 MB">
     
    708708
    709709<!ENTITY util-linux-minor "2.37">
    710 <!ENTITY util-linux-version "2.37"> <!-- 2.33.x -->
    711 <!ENTITY util-linux-size "5,390 KB">
     710<!ENTITY util-linux-version "2.37.1"> <!-- 2.33.x -->
     711<!ENTITY util-linux-size "5,497 KB">
    712712<!ENTITY util-linux-url "&kernel;linux/utils/util-linux/v&util-linux-minor;/util-linux-&util-linux-version;.tar.xz">
    713 <!ENTITY util-linux-md5 "75eb0a648098332d4042f1646eca4069">
     713<!ENTITY util-linux-md5 "6d244f0f59247e9109f47d6e5dd0556b">
    714714<!ENTITY util-linux-home "https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/">
    715 <!ENTITY util-linux-man-url "&anduin-sources;/util-linux-man-pages-&util-linux-version;.tar.xz">
    716 <!ENTITY util-linux-man-md5 "882fdfd411f2a8d9fdf6635458539ff4">
    717 <!ENTITY util-linux-man-size "149 KB">
    718715<!ENTITY util-linux-tmp-du "134 MB">
    719716<!ENTITY util-linux-tmp-sbu "0.7 SBU">
Note: See TracChangeset for help on using the changeset viewer.