修訂 | 47e177763e0771a4074b773ca2a6982395958c6b (tree) |
---|---|
時間 | 2023-11-01 12:31:24 |
作者 | matsuand <30614168+matsuand@user...> |
Commiter | matsuand |
[LFS] r12.0-44.
@@ -8,7 +8,7 @@ TARGET=gcc-$VER | ||
8 | 8 | TARGETBALL=$TARGET.tar.xz |
9 | 9 | TARGETDIR=$TARGET |
10 | 10 | |
11 | -VER_mpfr=4.2.0 | |
11 | +VER_mpfr=4.2.1 | |
12 | 12 | VER_gmp=6.3.0 |
13 | 13 | VER_gmp2=${VER_gmp} |
14 | 14 | VER_mpc=1.3.1 |
@@ -47,6 +47,7 @@ echo \ \ Configuring... | ||
47 | 47 | --build=$(../scripts/config.guess) \ |
48 | 48 | --enable-kernel=4.14 \ |
49 | 49 | --with-headers=$LFS/usr/include \ |
50 | + --disable-nscd \ | |
50 | 51 | libc_cv_slibdir=/usr/lib \ |
51 | 52 | 1> $LOG/$CHAP.$TARGET.1_conf.log 2>&1 || exit 1 |
52 | 53 |
@@ -44,7 +44,7 @@ echo \ \ Installing... | ||
44 | 44 | make DESTDIR=$LFS install \ |
45 | 45 | 1> $LOG/$CHAP.$TARGET.3_install.log 2>&1 |
46 | 46 | |
47 | -rm -v $LFS/usr/lib/lib{stdc++,stdc++fs,supc++}.la | |
47 | +rm -v $LFS/usr/lib/lib{stdc++{,exp,fs},supc++}.la | |
48 | 48 | |
49 | 49 | TimeEnd chap5 |
50 | 50 |
@@ -2,7 +2,7 @@ | ||
2 | 2 | |
3 | 3 | CHAP=6 |
4 | 4 | APPNAME=coreutils |
5 | -VER=9.3 | |
5 | +VER=9.4 | |
6 | 6 | TARGET=$APPNAME-$VER |
7 | 7 | TARGETBALL=$TARGET.tar.xz |
8 | 8 | TARGETDIR=$TARGET |
@@ -8,7 +8,7 @@ TARGET=$APPNAME-$VER | ||
8 | 8 | TARGETBALL=$TARGET.tar.xz |
9 | 9 | TARGETDIR=$TARGET |
10 | 10 | |
11 | -VER_mpfr=4.2.0 | |
11 | +VER_mpfr=4.2.1 | |
12 | 12 | VER_gmp=6.3.0 |
13 | 13 | VER_gmp2=${VER_gmp} |
14 | 14 | VER_mpc=1.3.1 |
@@ -2,7 +2,7 @@ | ||
2 | 2 | |
3 | 3 | CHAP=6 |
4 | 4 | APPNAME=gzip |
5 | -VER=1.12 | |
5 | +VER=1.13 | |
6 | 6 | TARGET=$APPNAME-$VER |
7 | 7 | TARGETBALL=$TARGET.tar.xz |
8 | 8 | TARGETDIR=$TARGET |
@@ -46,7 +46,6 @@ dialout:x:10: | ||
46 | 46 | audio:x:11: |
47 | 47 | video:x:12: |
48 | 48 | utmp:x:13: |
49 | -usb:x:14: | |
50 | 49 | cdrom:x:15: |
51 | 50 | adm:x:16: |
52 | 51 | messagebus:x:18: |
@@ -2,7 +2,7 @@ | ||
2 | 2 | |
3 | 3 | CHAP=7 |
4 | 4 | APPNAME=python |
5 | -VER=3.11.4 | |
5 | +VER=3.11.5 | |
6 | 6 | TARGET=$APPNAME-$VER |
7 | 7 | TARGETBALL=Python-$VER.tar.xz |
8 | 8 | TARGETDIR=Python-$VER |
@@ -2,7 +2,7 @@ | ||
2 | 2 | |
3 | 3 | CHAP=7 |
4 | 4 | APPNAME=util-linux |
5 | -VER=2.39.1 | |
5 | +VER=2.39.2 | |
6 | 6 | TARGET=$APPNAME-$VER |
7 | 7 | TARGETBALL=$TARGET.tar.xz |
8 | 8 | TARGETDIR=$TARGET |
@@ -16,6 +16,7 @@ | ||
16 | 16 | ./8tcl.sh || exit 1 |
17 | 17 | ./8expect.sh || exit 1 |
18 | 18 | ./8dejagnu.sh || exit 1 |
19 | +./8pkgconf.sh || exit 1 | |
19 | 20 | ./8binutils.sh || exit 1 |
20 | 21 | ./8gmp.sh || exit 1 |
21 | 22 | ./8mpfr.sh || exit 1 |
@@ -26,7 +27,6 @@ | ||
26 | 27 | ./8libxcrypt.sh || exit 1 |
27 | 28 | ./8shadow.sh || exit 1 |
28 | 29 | ./8gcc.sh || exit 1 |
29 | -./8pkgconf.sh || exit 1 | |
30 | 30 | ./8ncurses.sh || exit 1 |
31 | 31 | ./8sed.sh || exit 1 |
32 | 32 | ./8psmisc.sh || exit 1 |
@@ -2,7 +2,7 @@ | ||
2 | 2 | |
3 | 3 | CHAP=8 |
4 | 4 | APPNAME=coreutils |
5 | -VER=9.3 | |
5 | +VER=9.4 | |
6 | 6 | TARGET=$APPNAME-$VER |
7 | 7 | TARGETBALL=$TARGET.tar.xz |
8 | 8 | TARGETDIR=$TARGET |
@@ -2,7 +2,7 @@ | ||
2 | 2 | |
3 | 3 | CHAP=8 |
4 | 4 | APPNAME=dbus |
5 | -VER=1.14.8 | |
5 | +VER=1.14.10 | |
6 | 6 | TARGET=$APPNAME-$VER |
7 | 7 | TARGETBALL=$TARGET.tar.xz |
8 | 8 | TARGETDIR=$TARGET |
@@ -38,6 +38,9 @@ porg -lp $TARGET "make install" \ | ||
38 | 38 | porg -lp+ $TARGET "\ |
39 | 39 | ln -sv flex /usr/bin/lex" \ |
40 | 40 | 1>> $LOG/$CHAP.$TARGET.3_install.log 2>&1 || exit 1 |
41 | +porg -lp+ $TARGET "\ | |
42 | +ln -sv flex.1 /usr/share/man/man1/lex.1" \ | |
43 | + 1>> $LOG/$CHAP.$TARGET.3_install.log 2>&1 || exit 1 | |
41 | 44 | |
42 | 45 | TimeEnd chap8 |
43 | 46 |
@@ -67,6 +67,9 @@ chown -v -R root:root \ | ||
67 | 67 | porg -lp+ $TARGET "\ |
68 | 68 | ln -svr /usr/bin/cpp /usr/lib" \ |
69 | 69 | 1>> $LOG/$CHAP.$TARGET.3_install.log 2>&1 || exit 1 |
70 | +porg -lp+ $TARGET "\ | |
71 | +ln -sv gcc.1 /usr/share/man/man1/cc.1" \ | |
72 | + 1>> $LOG/$CHAP.$TARGET.3_install.log 2>&1 || exit 1 | |
70 | 73 | |
71 | 74 | porg -lp+ $TARGET "\ |
72 | 75 | ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/$VER/liblto_plugin.so \ |
@@ -27,12 +27,9 @@ cd $TARGETDIR | ||
27 | 27 | echo \ \ Patching... |
28 | 28 | patch -Np1 -i $DLD/glibc-$VER-fhs-1.patch \ |
29 | 29 | 1> $LOG/$CHAP.$TARGET.0_patch.log 2>&1 || exit 1 |
30 | -patch -Np1 -i $DLD/glibc-$VER-memalign_fix-1.patch \ | |
30 | +patch -Np1 -i $DLD/glibc-2.38-upstream_fixes-1.patch \ | |
31 | 31 | 1>> $LOG/$CHAP.$TARGET.0_patch.log 2>&1 || exit 1 |
32 | 32 | |
33 | -sed '/width -=/s/workend - string/number_length/' \ | |
34 | - -i stdio-common/vfprintf-process-arg.c | |
35 | - | |
36 | 33 | mkdir build |
37 | 34 | cd build |
38 | 35 |
@@ -44,6 +41,7 @@ echo \ \ Configuring... | ||
44 | 41 | --enable-kernel=4.14 \ |
45 | 42 | --enable-stack-protector=strong \ |
46 | 43 | --with-headers=/usr/include \ |
44 | + --disable-nscd \ | |
47 | 45 | libc_cv_slibdir=/usr/lib \ |
48 | 46 | 1> $LOG/$CHAP.$TARGET.1_conf.log 2>&1 || exit 1 |
49 | 47 |
@@ -100,11 +98,11 @@ porg -lp+ $TARGET "localedef -i zh_CN -f GB18030 zh_CN.GB18030" | ||
100 | 98 | cat > /etc/nsswitch.conf << "EOF" |
101 | 99 | # Begin /etc/nsswitch.conf |
102 | 100 | |
103 | -passwd: files | |
104 | -group: files | |
105 | -shadow: files | |
101 | +passwd: files systemd | |
102 | +group: files systemd | |
103 | +shadow: files systemd | |
106 | 104 | |
107 | -hosts: files dns | |
105 | +hosts: mymachines resolve [!UNAVAIL=return] files myhostname dns | |
108 | 106 | networks: files |
109 | 107 | |
110 | 108 | protocols: files |
@@ -2,7 +2,7 @@ | ||
2 | 2 | |
3 | 3 | CHAP=8 |
4 | 4 | APPNAME=gzip |
5 | -VER=1.12 | |
5 | +VER=1.13 | |
6 | 6 | TARGET=$APPNAME-$VER |
7 | 7 | TARGETBALL=$TARGET.tar.xz |
8 | 8 | TARGETDIR=$TARGET |
@@ -2,7 +2,7 @@ | ||
2 | 2 | |
3 | 3 | CHAP=8 |
4 | 4 | APPNAME=iana-etc |
5 | -VER=20230810 | |
5 | +VER=20230912 | |
6 | 6 | TARGET=$APPNAME-$VER |
7 | 7 | TARGETBALL=$TARGET.tar.gz |
8 | 8 | TARGETDIR=$TARGET |
@@ -2,7 +2,7 @@ | ||
2 | 2 | |
3 | 3 | CHAP=8 |
4 | 4 | APPNAME=iproute2 |
5 | -VER=6.4.0 | |
5 | +VER=6.5.0 | |
6 | 6 | TARGET=$APPNAME-$VER |
7 | 7 | TARGETBALL=$TARGET.tar.xz |
8 | 8 | TARGETDIR=$TARGET |
@@ -2,7 +2,7 @@ | ||
2 | 2 | |
3 | 3 | CHAP=8 |
4 | 4 | APPNAME=kbd |
5 | -VER=2.6.1 | |
5 | +VER=2.6.2 | |
6 | 6 | TARGET=$APPNAME-$VER |
7 | 7 | TARGETBALL=$TARGET.tar.xz |
8 | 8 | TARGETDIR=$TARGET |
@@ -2,7 +2,7 @@ | ||
2 | 2 | |
3 | 3 | CHAP=8 |
4 | 4 | APPNAME=mpfr |
5 | -VER=4.2.0 | |
5 | +VER=4.2.1 | |
6 | 6 | TARGET=$APPNAME-$VER |
7 | 7 | TARGETBALL=$TARGET.tar.xz |
8 | 8 | TARGETDIR=$TARGET |
@@ -22,10 +22,6 @@ TimeStart | ||
22 | 22 | |
23 | 23 | cd $TARGETDIR |
24 | 24 | |
25 | -sed -e 's/+01,234,567/+1,234,567 /' \ | |
26 | - -e 's/13.10Pd/13Pd/' \ | |
27 | - -i tests/tsprintf.c | |
28 | - | |
29 | 25 | echo \ \ Configuring... |
30 | 26 | ./configure --prefix=/usr \ |
31 | 27 | --disable-static \ |
@@ -2,7 +2,7 @@ | ||
2 | 2 | |
3 | 3 | CHAP=8 |
4 | 4 | APPNAME=pkgconf |
5 | -VER=2.0.1 | |
5 | +VER=2.0.3 | |
6 | 6 | TARGET=$APPNAME-$VER |
7 | 7 | TARGETBALL=$TARGET.tar.xz |
8 | 8 | TARGETDIR=$TARGET |
@@ -22,7 +22,7 @@ TimeStart | ||
22 | 22 | |
23 | 23 | cd $TARGETDIR |
24 | 24 | |
25 | -sed -i '1330,1336s|^|//|' cli/main.c | |
25 | +sed -i 's/str\(cmp.*package\)/strn\1, strlen(pkg->why)/' cli/main.c | |
26 | 26 | |
27 | 27 | echo \ \ Configuring... |
28 | 28 | ./configure --prefix=/usr \ |
@@ -2,7 +2,7 @@ | ||
2 | 2 | |
3 | 3 | CHAP=8 |
4 | 4 | APPNAME=procps-ng |
5 | -VER=4.0.3 | |
5 | +VER=4.0.4 | |
6 | 6 | TARGET=$APPNAME-$VER |
7 | 7 | TARGETBALL=$TARGET.tar.xz |
8 | 8 | TARGETDIR=$TARGET |
@@ -31,7 +31,7 @@ echo \ \ Configuring... | ||
31 | 31 | 1> $LOG/$CHAP.$TARGET.1_conf.log 2>&1 || exit 1 |
32 | 32 | |
33 | 33 | echo \ \ Making... |
34 | -make \ | |
34 | +make src_w_LDADD='$(LDADD) -lsystemd' \ | |
35 | 35 | 1> $LOG/$CHAP.$TARGET.2_make.log 2>&1 || exit 1 |
36 | 36 | |
37 | 37 | echo \ \ Installing... |
@@ -2,7 +2,7 @@ | ||
2 | 2 | |
3 | 3 | CHAP=8 |
4 | 4 | APPNAME=python |
5 | -VER=3.11.4 | |
5 | +VER=3.11.5 | |
6 | 6 | TARGET=$APPNAME-$VER |
7 | 7 | TARGETBALL=Python-$VER.tar.xz |
8 | 8 | TARGETDIR=Python-$VER |
@@ -2,7 +2,7 @@ | ||
2 | 2 | |
3 | 3 | CHAP=8 |
4 | 4 | APPNAME=shadow |
5 | -VER=4.13 | |
5 | +VER=4.14.0 | |
6 | 6 | TARGET=$APPNAME-$VER |
7 | 7 | TARGETBALL=${APPNAME}-$VER.tar.xz |
8 | 8 | TARGETDIR=$TARGET |
@@ -27,10 +27,9 @@ find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \; | ||
27 | 27 | find man -name Makefile.in -exec sed -i 's/getspnam\.3 / /' {} \; |
28 | 28 | find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \; |
29 | 29 | |
30 | -sed -e 's:#ENCRYPT_METHOD DES:ENCRYPT_METHOD SHA512:' \ | |
31 | - -e 's@#\(SHA_CRYPT_..._ROUNDS 5000\)@\100@' \ | |
32 | - -e 's:/var/spool/mail:/var/mail:' \ | |
33 | - -e '/PATH=/{s@/sbin:@@;s@/bin:@@}' \ | |
30 | +sed -e 's:#ENCRYPT_METHOD DES:ENCRYPT_METHOD YESCRYPT:' \ | |
31 | + -e 's:/var/spool/mail:/var/mail:' \ | |
32 | + -e '/PATH=/{s@/sbin:@@;s@/bin:@@}' \ | |
34 | 33 | -i etc/login.defs |
35 | 34 | |
36 | 35 | touch /usr/bin/passwd |
@@ -39,6 +38,7 @@ echo \ \ Configuring... | ||
39 | 38 | ./configure --sysconfdir=/etc \ |
40 | 39 | --disable-static \ |
41 | 40 | --with-{b,yes}crypt \ |
41 | + --without-libbsd \ | |
42 | 42 | --with-group-name-max-length=32 \ |
43 | 43 | 1> $LOG/$CHAP.$TARGET.1_conf.log 2>&1 || exit 1 |
44 | 44 |
@@ -8,14 +8,14 @@ save_usrlib="$(cd /usr/lib; ls ld-linux*[^g]) | ||
8 | 8 | libc.so.6 |
9 | 9 | libthread_db.so.1 |
10 | 10 | libquadmath.so.0.0.0 |
11 | - libstdc++.so.6.0.31 | |
11 | + libstdc++.so.6.0.32 | |
12 | 12 | libitm.so.1.0.0 |
13 | 13 | libatomic.so.1.2.0" |
14 | 14 | |
15 | 15 | cd /usr/lib |
16 | 16 | |
17 | 17 | for LIB in $save_usrlib; do |
18 | - objcopy --only-keep-debug $LIB $LIB.dbg | |
18 | + objcopy --only-keep-debug --compress-debug-sections=zlib $LIB $LIB.dbg | |
19 | 19 | cp $LIB /tmp/$LIB |
20 | 20 | strip --strip-unneeded /tmp/$LIB |
21 | 21 | objcopy --add-gnu-debuglink=$LIB.dbg /tmp/$LIB |
@@ -30,7 +30,8 @@ online_usrlib="libbfd-2.41.so | ||
30 | 30 | libncursesw.so.6.4 |
31 | 31 | libm.so.6 |
32 | 32 | libreadline.so.8.2 |
33 | - libz.so.1.2.13 | |
33 | + libz.so.1.3 | |
34 | + libzstd.so.1.5.5 | |
34 | 35 | $(cd /usr/lib; find libnss*.so* -type f)" |
35 | 36 | |
36 | 37 | for BIN in $online_usrbin; do |
@@ -45,6 +45,7 @@ meson setup \ | ||
45 | 45 | -Dmode=release \ |
46 | 46 | -Dpamconfdir=no \ |
47 | 47 | -Ddev-kvm-mode=0660 \ |
48 | + -Dnobody-group=nogroup \ | |
48 | 49 | -Ddocdir=/usr/share/doc/systemd-$VER \ |
49 | 50 | .. \ |
50 | 51 | 1> $LOG/$CHAP.$TARGET.1_conf.log 2>&1 || exit 1 |
@@ -2,7 +2,7 @@ | ||
2 | 2 | |
3 | 3 | CHAP=8 |
4 | 4 | APPNAME=util-linux |
5 | -VER=2.39.1 | |
5 | +VER=2.39.2 | |
6 | 6 | TARGET=$APPNAME-$VER |
7 | 7 | TARGETBALL=$TARGET.tar.xz |
8 | 8 | TARGETDIR=$TARGET |
@@ -2,7 +2,7 @@ | ||
2 | 2 | |
3 | 3 | CHAP=8 |
4 | 4 | APPNAME=vim |
5 | -VER=9.0.1677 | |
5 | +VER=9.0.1837 | |
6 | 6 | TARGET=$APPNAME-$VER |
7 | 7 | TARGETBALL=$TARGET.tar.gz |
8 | 8 | TARGETDIR=$TARGET |
@@ -2,7 +2,7 @@ | ||
2 | 2 | |
3 | 3 | CHAP=8 |
4 | 4 | APPNAME=wheel |
5 | -VER=0.41.1 | |
5 | +VER=0.41.2 | |
6 | 6 | TARGET=$APPNAME-$VER |
7 | 7 | TARGETBALL=$TARGET.tar.gz |
8 | 8 | TARGETDIR=$TARGET |
@@ -2,9 +2,9 @@ | ||
2 | 2 | |
3 | 3 | CHAP=8 |
4 | 4 | APPNAME=zlib |
5 | -VER=1.2.13 | |
5 | +VER=1.3 | |
6 | 6 | TARGET=$APPNAME-$VER |
7 | -TARGETBALL=$TARGET.tar.xz | |
7 | +TARGETBALL=$TARGET.tar.gz | |
8 | 8 | TARGETDIR=$TARGET |
9 | 9 | |
10 | 10 | echo $TARGET |
@@ -1,7 +1,7 @@ | ||
1 | 1 | BOOTSCRIPTVER=20230728 |
2 | -SVNVER=lfs-r11.3-217 | |
2 | +SVNVER=lfs-r12.0-44 | |
3 | 3 | SYSDVER=$SVNVER-systemd |
4 | -LINUX_VER=6.4.10 | |
4 | +LINUX_VER=6.5.3 | |
5 | 5 | |
6 | 6 | case `uname -m` in |
7 | 7 | i?86) |