Changeset ea6fdf5


Ignore:
Timestamp:
09/13/2023 10:30:12 PM (8 months ago)
Author:
Thomas Trepl <thomas@…>
Branches:
multilib
Children:
dc39c7b
Parents:
b0c238ac (diff), b91b12a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Automatic merge of trunk into multilib

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • .gitignore

    rb0c238ac rea6fdf5  
    11lfs-bootscripts-*.tar.xz
     2lfs-*.tar.xz
    23conditional.ent
    34version.ent
  • Makefile

    rb0c238ac rea6fdf5  
    225225all: book nochunks pdf dump-commands
    226226
    227 .PHONY : all book dump-commands nochunks pdf profile-html tmpdir validate md5sums wget-list version
    228 
     227dist:
     228        $(Q)DIST=/tmp/LFS-RELEASE ./git-version.sh $(REV)
     229        $(Q)rm -f lfs-$$(</tmp/LFS-RELEASE).tar.xz
     230        $(Q)tar cJf lfs-$$(</tmp/LFS-RELEASE).tar.xz \
     231                $(shell git ls-tree HEAD . --name-only) version.ent \
     232                -C /tmp LFS-RELEASE \
     233                --transform "s,^,lfs-$$(</tmp/LFS-RELEASE)/,"
     234        $(Q)echo "Generated XML tarball lfs-$$(</tmp/LFS-RELEASE).tar.xz"
     235
     236.PHONY : all book dump-commands nochunks pdf profile-html tmpdir validate md5sums wget-list version dist
     237
  • chapter08/glibc.xml

    rb0c238ac rea6fdf5  
    5555
    5656<screen><userinput remap="pre">patch -Np1 -i ../&glibc-memalign-patch;</userinput></screen>
     57
     58    <!-- CVE-2023-4527
     59         https://sourceware.org/bugzilla/show_bug.cgi?id=30842
     60         https://sourceware.org/ml/libc-alpha/2023-September/151522.html -->
     61    <para>Then fix a security vulnerability exploitable when the
     62    <option>no-aaaa</option> option is used in
     63    <filename>/etc/resolv.conf</filename>:</para>
     64
     65<screen><userinput remap="pre">sed \
     66  -E "/__res_context_search/\
     67      {N;N;s/(search \(([^,]*,){6}[^,]*)NULL/\1\&amp;alt_dns_packet_buffer/}" \
     68  -i resolv/nss_dns/dns-host.c</userinput></screen>
    5769
    5870    <para>The Glibc documentation recommends building Glibc
  • chapter08/stripping.xml

    rb0c238ac rea6fdf5  
    3030  dynamically linked binaries and shared libraries).</para>
    3131
    32   <para>The debugging symbols from selected libraries are preserved
    33   in separate files.  That debugging information is needed to run
    34   regression tests with <ulink
     32  <!-- TODO: Zstd is better than Zlib for both speed and size.
     33             Unfortunately Valgrind does not support Zstd-compressed debug
     34             info yet: https://bugs.kde.org/show_bug.cgi?id=469782 -->
     35  <para>The debugging symbols from selected libraries are compressed with
     36  <application>Zlib</application> and preserved in separate files.  That
     37  debugging information is needed to run regression tests with <ulink
    3538  url='&blfs-book;/general/valgrind.html'>valgrind</ulink> or <ulink
    3639  url='&blfs-book;/general/gdb.html'>gdb</ulink> later, in BLFS.
     
    7881cd /usr/lib
    7982for LIB in $save_usrlib; do
    80     objcopy --only-keep-debug $LIB $LIB.dbg
     83    objcopy --only-keep-debug --compress-debug-sections=zlib $LIB $LIB.dbg
    8184    cp $LIB /tmp/$LIB
    8285    strip --strip-unneeded /tmp/$LIB
  • git-version.sh

    rb0c238ac rea6fdf5  
    1 #!/bin/sh
     1#!/bin/bash
    22
    33if [ "$1" = sysv ]; then
     
    1414echo "<!ENTITY % sysv    \"$SYSV\">"     >  conditional.ent
    1515echo "<!ENTITY % systemd \"$SYSTEMD\">"  >> conditional.ent
     16
     17if [ -e LFS-RELEASE ]; then
     18        exit 0
     19fi
    1620
    1721if ! git status > /dev/null; then
     
    6670echo "<!ENTITY releasedate       \"$full_date\">"          >> version.ent
    6771echo "<!ENTITY copyrightdate     \"1999-$year\">"          >> version.ent
     72
     73[ -z "$DIST" ] || echo $version > "$DIST"
Note: See TracChangeset for help on using the changeset viewer.