• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修訂3f46dbc9bcde94ba09cd43936fc6d44fdf6a2c14 (tree)
時間2023-03-06 22:01:35
作者matsuand <30614168+matsuand@user...>
Commitermatsuand

Log Message

[BLFS] Update Linux-PAM-1.5.2 apache-ant-1.10.13 bash_shell_startup_files.sh curl-7.87.0 dhcpcd fcron fop-2.8 git-2.39.1 glib-2.72.2 gnupg-2.4.0 gnutls-3.7.8 OpenJDK-19.0.2+7 js-91.10.0 libcap-2.64 libedit--20221030-3.1 libgpg-error-1.46 libidn2-2.3.4 libksba-1.6.3 libpsl-1.6.3 libssh2-1.10.0 libtasn1-4.19.0 libunistring-1.1 libxml2-2.10.3 libxslt-1.1.37 make-ca-1.12 nettle-3.8.1 openjdk-19.0.2 openssh-9.2p1 pcre2-10.42 polkit-0.120 popt-1.19 rustc-1.60.0 shadow-4.11.1 systemd-251

Change Summary

差異

--- a/BLFS/Linux-PAM.sh
+++ b/BLFS/Linux-PAM.sh
@@ -3,7 +3,7 @@
33 . ./_blfsset.sh
44
55 APPNAME=Linux-PAM
6-VER=1.5.1
6+VER=1.5.2
77 TARGET=$APPNAME-$VER
88 TARGETBALL=$DLD/$TARGET.tar.xz
99 TARGETDIR=$TARGET
@@ -44,14 +44,16 @@ Making
4444 make \
4545 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
4646
47+rm -fv /etc/pam.d/other
48+
4749 Installing
48-porg -lp $TARGET -E`pwd` "make install" \
50+porg -lp $TARGET -E$PWD "make install" \
4951 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
5052
5153 chmod 4755 /sbin/unix_chkpwd
5254
5355 install -dm755 /etc/pam.d
54-cat > /etc/pam.d/system-account << "EOF"
56+cat > /etc/pam.d/system-account << "EOF" &&
5557 # Begin /etc/pam.d/system-account
5658
5759 account required pam_unix.so
@@ -62,7 +64,7 @@ porg -lp+ $TARGET "
6264 touch /etc/pam.d/system-account" \
6365 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
6466
65-cat > /etc/pam.d/system-auth << "EOF"
67+cat > /etc/pam.d/system-auth << "EOF" &&
6668 # Begin /etc/pam.d/system-auth
6769
6870 auth required pam_unix.so
--- a/BLFS/_blfsset.sh
+++ b/BLFS/_blfsset.sh
@@ -25,8 +25,8 @@ XORGWRK=$WRK/Xorg
2525
2626 QTDIR=/opt/qt
2727
28-BOOTSCRIPTDATE=20211123
29-S_BOOTSCRIPTDATE=20211123
28+BOOTSCRIPTDATE=20220720
29+S_BOOTSCRIPTDATE=20220720
3030
3131 mkdir -pv $LOG $TME
3232
--- a/BLFS/apache-ant.sh
+++ b/BLFS/apache-ant.sh
@@ -3,7 +3,7 @@
33 . ./_blfsset.sh
44
55 APPNAME=apache-ant
6-VER=1.10.12
6+VER=1.10.13
77 TARGET=$APPNAME-$VER
88 TARGETBALL=$DLD/${TARGET}-src.tar.xz
99 TARGETDIR=$TARGET
@@ -27,6 +27,11 @@ cd $TARGETDIR
2727 echo Bootstrapping...
2828 ./bootstrap.sh \
2929 1> $LOG/$TARGET.0_bootstrap.log 2>&1 || exit 1
30+
31+sed -e 's|ftp.software.ibm.com|anduin.linuxfromscratch.org|' \
32+ -e 's|software/awdtools/netrexx|BLFS/apache-ant|' \
33+ -i fetch.xml
34+
3035 bootstrap/bin/ant -f fetch.xml -Ddest=optional \
3136 1> $LOG/$TARGET.0_bootstrap.log 2>&1 || exit 1
3237
@@ -44,7 +49,6 @@ porg -lp+ $TARGET "\
4449 ln -sfv ant-$VER /opt/ant" \
4550 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
4651
47-porg -lp+ $TARGET "\
4852 cat > /etc/profile.d/ant.sh << EOF
4953 # Begin /etc/profile.d/ant.sh
5054
@@ -53,7 +57,8 @@ export ANT_HOME=/opt/ant
5357
5458 # End /etc/profile.d/ant.sh
5559 EOF
56-" \
60+porg -lp+ $TARGET "\
61+touch /etc/profile.d/ant.sh" \
5762 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
5863
5964 TimeEnd
--- a/BLFS/bash_shell_startup_files.sh
+++ b/BLFS/bash_shell_startup_files.sh
@@ -19,7 +19,7 @@ pathremove () {
1919 local IFS=':'
2020 local NEWPATH
2121 local DIR
22- local PATHVARIABLE=${2:-PATH}
22+ local PATHVARIABLE=${2:-PATH}
2323 for DIR in ${!PATHVARIABLE} ; do
2424 if [ "$DIR" != "$1" ] ; then
2525 NEWPATH=${NEWPATH:+$NEWPATH:}$DIR
@@ -40,16 +40,25 @@ pathappend () {
4040 export $PATHVARIABLE="${!PATHVARIABLE:+${!PATHVARIABLE}:}$1"
4141 }
4242
43+export -f pathremove pathprepend pathappend
4344
4445 # Set the initial path
45-export PATH=/bin:/usr/bin
46+export PATH=/usr/bin
47+
48+# Attempt to provide backward compatibility with LFS earlier than 11
49+if [ ! -L /bin ]; then
50+ pathappend /bin
51+fi
4652
4753 if [ $EUID -eq 0 ] ; then
48- pathappend /sbin:/usr/sbin
54+ pathappend /usr/sbin
55+ if [ ! -L /sbin ]; then
56+ pathappend /sbin
57+ fi
4958 unset HISTFILE
5059 fi
5160
52-# Setup some environment variables.
61+# Set up some environment variables.
5362 export HISTSIZE=1000
5463 export HISTIGNORE="&:[bf]g:exit"
5564
@@ -58,7 +67,7 @@ export XDG_DATA_DIRS=${XDG_DATA_DIRS:-/usr/share/}
5867 export XDG_CONFIG_DIRS=${XDG_CONFIG_DIRS:-/etc/xdg/}
5968 export XDG_RUNTIME_DIR=${XDG_RUNTIME_DIR:-/tmp/xdg-$USER}
6069
61-# Setup a red prompt for root and a green one for users.
70+# Set up a red prompt for root and a green one for users.
6271 NORMAL="\[\e[0m\]"
6372 RED="\[\e[1;31m\]"
6473 GREEN="\[\e[1;32m\]"
@@ -74,8 +83,7 @@ for script in /etc/profile.d/*.sh ; do
7483 fi
7584 done
7685
77-# Now to clean up
78-unset pathremove pathprepend pathappend
86+unset script RED GREEN NORMAL
7987
8088 # End /etc/profile
8189 EOF
@@ -146,13 +154,17 @@ if [ -d /usr/local/sbin -a $EUID -eq 0 ]; then
146154 pathprepend /usr/local/sbin
147155 fi
148156
157+if [ -d /usr/local/share ]; then
158+ pathprepend /usr/local/share XDG_DATA_DIRS
159+fi
160+
149161 # Set some defaults before other applications add to these paths.
150162 pathappend /usr/share/man MANPATH
151163 pathappend /usr/share/info INFOPATH
152164 EOF
153165
154166 cat > /etc/profile.d/readline.sh << "EOF"
155-# Setup the INPUTRC environment variable.
167+# Set up the INPUTRC environment variable.
156168 if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ] ; then
157169 INPUTRC=/etc/inputrc
158170 fi
@@ -160,7 +172,7 @@ export INPUTRC
160172 EOF
161173
162174 cat > /etc/profile.d/umask.sh << "EOF"
163-# By default we want the umask to get set.
175+# By default, the umask should be set.
164176 if [ "$(id -gn)" = "$(id -un)" -a $EUID -gt 99 ] ; then
165177 umask 002
166178 else
@@ -179,6 +191,8 @@ EOF
179191
180192 cat > /etc/profile.d/i18n.sh << "EOF"
181193 # Set up i18n variables
194+#. /etc/locale.conf
195+#export LANG
182196 export LANG=ja_JP.UTF-8
183197 EOF
184198
@@ -195,8 +209,8 @@ cat > /etc/bashrc << "EOF"
195209 # should go into ~/.bash_profile. Personal aliases and functions should
196210 # go into ~/.bashrc
197211
198-# Provides a colored /bin/ls command. Used in conjunction with code in
199-# /etc/profile.
212+# Provides colored /bin/ls and /bin/grep commands. Used in conjunction
213+# with code in /etc/profile.
200214
201215 alias ls='ls --color=auto'
202216 alias grep='grep --color=auto'
--- a/BLFS/curl.sh
+++ b/BLFS/curl.sh
@@ -3,7 +3,7 @@
33 . ./_blfsset.sh
44
55 APPNAME=curl
6-VER=7.83.1
6+VER=7.87.0
77 TARGET=curl-$VER
88 TARGETBALL=$DLD/$TARGET.tar.xz
99 TARGETDIR=$TARGET
--- a/BLFS/dhcpcd.sh
+++ b/BLFS/dhcpcd.sh
@@ -33,10 +33,17 @@ chown -v dhcpcd:dhcpcd /var/lib/dhcpcd
3333
3434 cd $TARGETDIR
3535
36+sed '/Deny everything else/i SECCOMP_ALLOW(__NR_getrandom),' \
37+ -i src/privsep-linux.c
38+
3639 Configuring
37-./configure --libexecdir=/lib/dhcpcd \
38- --dbdir=/var/lib/dhcpcd \
39- --privsepuser=dhcpcd \
40+# Build dhcpcd without privilege separation
41+./configure --prefix=/usr \
42+ --sysconfdir=/etc \
43+ --libexecdir=/usr/lib/dhcpcd \
44+ --dbdir=/var/lib/dhcpcd \
45+ --runstatedir=/run \
46+ --disable-privsep \
4047 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
4148
4249 Making
--- a/BLFS/fcron.sh
+++ b/BLFS/fcron.sh
@@ -49,12 +49,12 @@ make \
4949 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
5050
5151 Installing
52-paco -p $TARGET "make install" \
52+porg -lp $TARGET "make install" \
5353 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
5454
5555 TimeEnd
5656
5757 cd ..
5858 RemoveSrcDir
59-PacoingDone
59+PorgingDone
6060
--- a/BLFS/fop.sh
+++ b/BLFS/fop.sh
@@ -3,7 +3,7 @@
33 . ./_blfsset.sh
44
55 APPNAME=fop
6-VER=2.6
6+VER=2.8
77 TARGET=$APPNAME-$VER
88 TARGETDIR=$TARGET
99 TARGETBALL=$DLD/${TARGET}-src.tar.gz
@@ -28,7 +28,7 @@ unzip $DLD/offo-hyphenation.zip
2828 cp offo-hyphenation/hyph/* fop/hyph
2929 rm -rf offo-hyphenation
3030
31-tar -xf $DLD/apache-maven-3.6.3-bin.tar.gz -C /tmp
31+tar -xf $DLD/apache-maven-3.8.6-bin.tar.gz -C /tmp
3232
3333 sed -i '\@</javad@i\
3434 <arg value="-Xdoclint:none"/>\
@@ -36,13 +36,13 @@ sed -i '\@</javad@i\
3636 <arg value="--ignore-source-errors"/>' \
3737 fop/build.xml
3838
39-cp $DLD/{pdf,font}box-2.0.23.jar fop/lib
39+cp $DLD/{pdf,font}box-2.0.27.jar fop/lib
4040
4141 cd fop
4242
4343 echo Building \(ant compile\)...
4444 LC_ALL=en_US.UTF-8
45-PATH=$PATH:/tmp/apache-maven-3.6.3/bin
45+PATH=$PATH:/tmp/apache-maven-3.8.6/bin
4646 ant all javadocs \
4747 1> $LOG/$TARGET.2_build.log 2>&1 || (echo Error detected!)
4848
@@ -59,7 +59,7 @@ porg -lp+ $TARGET "\
5959 ln -v -sfn fop-$VER /opt/fop" \
6060 1>> $LOG/$TARGET.3_install.log 2>&1 || (echo Error2 detected!)
6161
62-rm -rf /tmp/apache-maven-3.6.3
62+rm -rf /tmp/apache-maven-3.8.6
6363
6464 porg -lp+ $TARGET "\
6565 cat > /etc/profile.d/fop.sh << "EOF"
--- a/BLFS/git.sh
+++ b/BLFS/git.sh
@@ -3,7 +3,7 @@
33 . ./_blfsset.sh
44
55 APPNAME=git
6-VER=2.36.1
6+VER=2.39.1
77 TARGET=$APPNAME-$VER
88 TARGETBALL=$DLD/$TARGET.tar.xz
99 TARGETDIR=$TARGET
@@ -40,7 +40,7 @@ make \
4040
4141 Installing
4242 porg -lp $TARGET -E$PWD "\
43-make perllibdir=/usr/lib/perl5/5.34/site_perl install" \
43+make perllibdir=/usr/lib/perl5/5.36/site_perl install" \
4444 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
4545
4646 porg -lp+ $TARGET -E$PWD "\
--- a/BLFS/glib2.sh
+++ b/BLFS/glib2.sh
@@ -3,7 +3,7 @@
33 . ./_blfsset.sh
44
55 APPNAME=glib
6-VER=2.72.0
6+VER=2.72.2
77 TARGET=$APPNAME-$VER
88 TARGETBALL=$DLD/$TARGET.tar.xz
99 TARGETDIR=$TARGET
@@ -26,8 +26,10 @@ TimeStart
2626 cd $TARGETDIR
2727
2828 Patching
29-patch -Np1 -i $DLD/glib-$VER-skip_warnings-1.patch \
29+patch -Np1 -i $DLD/glib-$VER-fix_xdgmime-1.patch \
3030 1> $LOG/$TARGET.0_patch.log 2>&1 || exit 1
31+patch -Np1 -i $DLD/glib-$VER-skip_warnings-1.patch \
32+ 1>> $LOG/$TARGET.0_patch.log 2>&1 || exit 1
3133
3234 mkdir build
3335 cd build
--- a/BLFS/gnupg2.sh
+++ b/BLFS/gnupg2.sh
@@ -4,7 +4,7 @@
44
55 APPNAME=gnupg
66 APPVER=2
7-VER=2.3.6
7+VER=2.4.0
88 TARGET=$APPNAME-$VER
99 TARGETBALL=$DLD/$TARGET.tar.bz2
1010 TARGETDIR=$TARGET
@@ -27,11 +27,14 @@ TimeStart
2727
2828 cd $TARGETDIR
2929
30+mkdir build
31+cd build
32+
3033 Configuring
31-./configure --prefix=/usr \
32- --localstatedir=/var \
33- --sysconfdir=/etc \
34- --docdir=/usr/share/doc/gnupg-$VER \
34+../configure --prefix=/usr \
35+ --localstatedir=/var \
36+ --sysconfdir=/etc \
37+ --docdir=/usr/share/doc/gnupg-$VER \
3538 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
3639
3740 Making
@@ -44,7 +47,7 @@ porg -lp $TARGET "make install" \
4447
4548 TimeEnd
4649
47-cd ..
50+cd ../..
4851 RemoveSrcDir
4952 PorgingDone
5053
--- a/BLFS/gnutls.sh
+++ b/BLFS/gnutls.sh
@@ -3,7 +3,7 @@
33 . ./_blfsset.sh
44
55 APPNAME=gnutls
6-VER=3.7.6
6+VER=3.7.8
77 TARGET=$APPNAME-$VER
88 TARGETBALL=$DLD/$TARGET.tar.xz
99 TARGETDIR=$APPNAME-$VER
--- a/BLFS/jdk-x64.sh
+++ b/BLFS/jdk-x64.sh
@@ -2,12 +2,12 @@
22
33 . ./_blfsset.sh
44
5-APPNAME=jdk
6-VER=1.8.0_31
7-UVER=8u31
5+APPNAME=OpenJDK
6+VER=19.0.2+7
7+UVER=$VER
88 TARGET=$APPNAME-$VER
9-TARGETDIR=${APPNAME}$VER
10-TARGETBALL=jdk-$UVER-linux-x64.tar.gz
9+TARGETDIR=$APPNAME-$UVER-x86_64-bin
10+TARGETBALL=OpenJDK-$UVER-x86_64-bin.tar.xz
1111
1212 echo $TARGET
1313
@@ -19,43 +19,76 @@ START=`date +'%Y/%m/%d %H:%M:%S.%N'`
1919
2020 cd $TARGETDIR
2121
22-install -v -m755 -d /opt/jdk-$UVER
22+install -v -m755 -d /opt/OpenJDK-$UVER-bin
2323
24-porg -lp+ $TARGET "mv -v * /opt/jdk-$UVER" \
24+porg -lp+ $TARGET "mv -v * /opt/OpenJDK-$UVER-bin" \
2525 1> $LOG/$TARGET.1_move.log 2>&1 || exit 1
2626
27-chown -v -R root:root /opt/jdk-$UVER\
27+chown -v -R root:root /opt/OpenJDK-$UVER-bin \
2828 1> $LOG/$TARGET.2_chown.log 2>&1 || exit 1
2929
30-cd /opt
30+porg -lp+ $TARGET "\
31+ln -sfn OpenJDK-$UVER-bin /opt/jdk"
3132
32-porg -lp+ $TARGET "ln -v -nsf jdk-$UVER /opt/jdk"
33-
34-cat > /etc/profile.d/jdk.sh << "EOF"
35-# Begin /etc/profile.d/jdk.sh
33+cat > /etc/profile.d/openjdk.sh << "EOF"
34+# Begin /etc/profile.d/openjdk.sh
3635
3736 # Set JAVA_HOME directory
3837 JAVA_HOME=/opt/jdk
3938
4039 # Adjust PATH
41-pathappend ${JAVA_HOME}/bin PATH
40+pathappend $JAVA_HOME/bin
41+
42+# Add to MANPATH
43+pathappend $JAVA_HOME/man MANPATH
44+
45+# Auto Java CLASSPATH: Copy jar files to, or create symlinks in, the
46+# /usr/share/java directory.
47+
48+AUTO_CLASSPATH_DIR=/usr/share/java
4249
43-# Auto Java CLASSPATH
44-# Copy jar files to, or create symlinks in this directory
45-AUTO_CLASSPATH_DIR=/usr/lib/classpath
4650 pathprepend . CLASSPATH
51+
4752 for dir in `find ${AUTO_CLASSPATH_DIR} -type d 2>/dev/null`; do
4853 pathappend $dir CLASSPATH
4954 done
5055
51-export JAVA_HOME CLASSPATH
52-unset AUTO_CLASSPATH_DIR
53-unset dir
56+for jar in `find ${AUTO_CLASSPATH_DIR} -name "*.jar" 2>/dev/null`; do
57+ pathappend $jar CLASSPATH
58+done
59+
60+export JAVA_HOME
61+unset AUTO_CLASSPATH_DIR dir jar
62+
63+# End /etc/profile.d/openjdk.sh
64+EOF
65+porg -lp+ $TARGET "touch /etc/profile.d/openjdk.sh"
5466
55-# End /etc/profile.d/jdk.sh
67+cat > /etc/sudoers.d/java << "EOF"
68+Defaults env_keep += JAVA_HOME
69+Defaults env_keep += CLASSPATH
5670 EOF
71+porg -lp+ $TARGET "\
72+touch /etc/sudoers.d/java"
73+
74+cat >> /etc/man_db.conf << "EOF" &&
75+# Begin Java addition
76+MANDATORY_MANPATH /opt/jdk/man
77+MANPATH_MAP /opt/jdk/bin /opt/jdk/man
78+MANDB_MAP /opt/jdk/man /var/cache/man/jdk
79+# End Java addition
80+EOF
81+porg -lp+ $TARGET "\
82+touch /etc/man_db.conf"
83+
84+mkdir -p /var/cache/man
85+mandb -c /opt/jdk/man
86+
87+porg -lp+ $TARGET "\
88+ln -sfv /etc/pki/tls/java/cacerts /opt/jdk/lib/security/cacerts"
5789
58-porg -lp+ $TARGET "touch /etc/profile.d/jdk.sh"
90+porg -lp+ $TARGET "\
91+/opt/jdk/bin/keytool -list -cacerts"
5992
6093 END=`date +'%Y/%m/%d %H:%M:%S.%N'`
6194
--- a/BLFS/js.sh
+++ b/BLFS/js.sh
@@ -3,17 +3,16 @@
33 . ./_blfsset.sh
44
55 APPNAME=js
6-VER=17.0.0
6+VER=91.10.0
77 TARGET=$APPNAME-$VER
8-TARGETBALL=$DLD/mozjs$VER.tar.gz
9-TARGETDIR=moz$APPNAME$VER
8+TARGETBALL=$DLD/firefox-${VER}esr.source.tar.xz
9+TARGETDIR=firefox-${VER}
1010
1111 echo $TARGET
1212
1313 . $WRK/_checkRequired.sh \
14- libffi nspr python-2 zip
15-. $WRK/_checkOptions.sh \
16- doxygen makedepend
14+ icu rustc which
15+. $WRK/_checkOptions.sh ""
1716 . $WRK/_checkTarball.sh
1817 . $WRK/_checkExit.sh "$1" || exit $?
1918
@@ -25,16 +24,18 @@ TimeStart
2524
2625 cd $TARGETDIR
2726
28-cd js/src
29-
30-sed -i 's/(defined\((@TEMPLATE_FILE)\))/\1/' config/milestone.pl
27+mkdir obj
28+cd obj
3129
3230 Configuring
33-./configure --prefix=/usr \
34- --enable-readline \
35- --enable-threadsafe \
36- --with-system-ffi \
37- --with-system-nspr \
31+CC=gcc CXX=g++ \
32+sh ../js/src/configure.in --prefix=/usr \
33+ --with-intl-api \
34+ --with-system-zlib \
35+ --with-system-icu \
36+ --disable-jemalloc \
37+ --disable-debug-symbols \
38+ --enable-readline \
3839 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
3940
4041 Making
@@ -42,18 +43,17 @@ make \
4243 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
4344
4445 Installing
45-porg -lp $TARGET "make install" \
46+porg -lp $TARGET -E$PWD "make install" \
4647 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
47-
48-find /usr/include/js-17.0/ \
49- /usr/lib/libmozjs-17.0.a \
50- /usr/lib/pkgconfig/mozjs-17.0.pc \
51- -type f -exec chmod -v 644 {} \; \
48+porg -lp+ $TARGET "\
49+rm -v /usr/lib/libjs_static.ajs" \
5250 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
5351
52+sed -i '/@NSPR_CFLAGS@/d' /usr/bin/js91-config
53+
5454 TimeEnd
5555
56-cd ../../..
56+cd ../..
5757 RemoveSrcDir
5858 PorgingDone
5959
--- a/BLFS/libcap.sh
+++ b/BLFS/libcap.sh
@@ -3,7 +3,7 @@
33 . ./_blfsset.sh
44
55 APPNAME=libcap
6-VER=2.46
6+VER=2.64
77 TARGET=$APPNAME-$VER
88 DLD=/mnt/lfs/download/LFS
99 TARGETBALL=$DLD/$APPNAME-$VER.tar.xz
--- a/BLFS/libedit.sh
+++ b/BLFS/libedit.sh
@@ -4,9 +4,9 @@
44
55 APPNAME=libedit
66 VER=3.1
7-TARGET=$APPNAME-20210910-$VER
7+TARGET=$APPNAME-20221030-$VER
88 TARGETBALL=$DLD/$TARGET.tar.gz
9-TARGETDIR=$APPNAME-20210910-$VER
9+TARGETDIR=$APPNAME-20221030-$VER
1010
1111 echo $TARGET
1212
--- a/BLFS/libgpg-error.sh
+++ b/BLFS/libgpg-error.sh
@@ -3,7 +3,7 @@
33 . ./_blfsset.sh
44
55 APPNAME=libgpg-error
6-VER=1.43
6+VER=1.46
77 TARGET=$APPNAME-$VER
88 TARGETBALL=$DLD/$TARGET.tar.bz2
99 TARGETDIR=$TARGET
--- a/BLFS/libidn2.sh
+++ b/BLFS/libidn2.sh
@@ -3,7 +3,7 @@
33 . ./_blfsset.sh
44
55 APPNAME=libidn2
6-VER=2.3.2
6+VER=2.3.4
77 TARGET=$APPNAME-$VER
88 TARGETBALL=$DLD/$TARGET.tar.gz
99 TARGETDIR=$TARGET
--- a/BLFS/libksba.sh
+++ b/BLFS/libksba.sh
@@ -3,7 +3,7 @@
33 . ./_blfsset.sh
44
55 APPNAME=libksba
6-VER=1.5.0
6+VER=1.6.3
77 TARGET=$APPNAME-$VER
88 TARGETBALL=$DLD/$TARGET.tar.bz2
99 TARGETDIR=$TARGET
--- a/BLFS/libpsl.sh
+++ b/BLFS/libpsl.sh
@@ -3,7 +3,7 @@
33 . ./_blfsset.sh
44
55 APPNAME=libpsl
6-VER=0.21.1
6+VER=0.21.2
77 TARGET=$APPNAME-$VER
88 TARGETBALL=$DLD/$TARGET.tar.gz
99 TARGETDIR=$TARGET
@@ -28,7 +28,7 @@ cd $TARGETDIR
2828 sed -i 's/env python/&3/' src/psl-make-dafsa
2929
3030 Configuring
31-./configure --prefix=/usr --disable-static \
31+./configure --prefix=/usr --disable-static PYTHON=python3 \
3232 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
3333
3434 Making
--- a/BLFS/libssh2.sh
+++ b/BLFS/libssh2.sh
@@ -3,7 +3,7 @@
33 . ./_blfsset.sh
44
55 APPNAME=libssh2
6-VER=1.9.0
6+VER=1.10.0
77 TARGET=$APPNAME-$VER
88 TARGETBALL=$DLD/$TARGET.tar.gz
99 TARGETDIR=$TARGET
@@ -44,7 +44,7 @@ make \
4444 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
4545
4646 Installing
47-porg -lp $TARGET "make install" \
47+porg -lp $TARGET -E$PWD "make install" \
4848 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
4949
5050 TimeEnd
--- a/BLFS/libtasn1.sh
+++ b/BLFS/libtasn1.sh
@@ -3,7 +3,7 @@
33 . ./_blfsset.sh
44
55 APPNAME=libtasn1
6-VER=4.18.0
6+VER=4.19.0
77 TARGET=$APPNAME-$VER
88 TARGETBALL=$DLD/$TARGET.tar.gz
99 TARGETDIR=$TARGET
--- a/BLFS/libunistring.sh
+++ b/BLFS/libunistring.sh
@@ -3,7 +3,7 @@
33 . ./_blfsset.sh
44
55 APPNAME=libunistring
6-VER=1.0
6+VER=1.1
77 TARGET=$APPNAME-$VER
88 TARGETBALL=$DLD/$TARGET.tar.xz
99 TARGETDIR=$TARGET
--- a/BLFS/libxml2.sh
+++ b/BLFS/libxml2.sh
@@ -3,7 +3,7 @@
33 . ./_blfsset.sh
44
55 APPNAME=libxml2
6-VER=2.9.14
6+VER=2.10.3
77 TARGET=$APPNAME-$VER
88 TARGETBALL=$DLD/$TARGET.tar.xz
99 TARGETDIR=$TARGET
@@ -31,11 +31,12 @@ cd $TARGETDIR
3131 #sed -i '/if Py/{s/Py/(Py/;s/)/))/}' python/{types.c,libxml.c}
3232
3333 Configuring
34-./configure --prefix=/usr \
35- --disable-static \
36- --with-history \
37- --with-python=/usr/bin/python3 \
38- --docdir=/usr/share/doc/libxml2-$VER \
34+./configure --prefix=/usr \
35+ --sysconfdir=/etc \
36+ --disable-static \
37+ --with-history \
38+ PYTHON=/usr/bin/python3 \
39+ --docdir=/usr/share/doc/libxml2-$VER \
3940 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
4041
4142 Making
--- a/BLFS/libxslt.sh
+++ b/BLFS/libxslt.sh
@@ -3,7 +3,7 @@
33 . ./_blfsset.sh
44
55 APPNAME=libxslt
6-VER=1.1.35
6+VER=1.1.37
77 TARGET=$APPNAME-$VER
88 TARGETBALL=$DLD/$TARGET.tar.xz
99 TARGETDIR=$TARGET
@@ -11,7 +11,7 @@ TARGETDIR=$TARGET
1111 echo $TARGET
1212
1313 . $WRK/_checkRequired.sh libxml2
14-. $WRK/_checkOptions.sh python-2 libgcrypt
14+. $WRK/_checkOptions.sh libgcrypt
1515 . $WRK/_checkTarball.sh
1616 . $WRK/_checkExit.sh "$1" || exit $?
1717
@@ -30,11 +30,12 @@ cd $TARGETDIR
3030 sed -i s/3000/5000/ libxslt/transform.c doc/xsltproc.{1,xml}
3131
3232 Configuring
33-./configure --prefix=/usr --disable-static --without-python \
33+./configure --prefix=/usr \
34+ --disable-static \
35+ --docdir=/usr/share/doc/libxslt-$VER \
36+ PYTHON=/usr/bin/python3 \
3437 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
3538
36-sed -e 's@\$Date\$@16 February 2022@' -i doc/xsltproc.1
37-
3839 Making
3940 make \
4041 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
--- a/BLFS/make-ca.sh
+++ b/BLFS/make-ca.sh
@@ -3,7 +3,7 @@
33 . ./_blfsset.sh
44
55 APPNAME=make-ca
6-VER=1.10
6+VER=1.12
77 TARGET=$APPNAME-$VER
88 TARGETBALL=$DLD/$TARGET.tar.xz
99 TARGETDIR=$TARGET
--- a/BLFS/nettle.sh
+++ b/BLFS/nettle.sh
@@ -3,7 +3,7 @@
33 . ./_blfsset.sh
44
55 APPNAME=nettle
6-VER=3.8
6+VER=3.8.1
77 TARGET=$APPNAME-$VER
88 TARGETBALL=$DLD/$TARGET.tar.gz
99 TARGETDIR=$TARGET
--- a/BLFS/openjdk.sh
+++ b/BLFS/openjdk.sh
@@ -3,11 +3,11 @@
33 . ./_blfsset.sh
44
55 APPNAME=openjdk
6-VER=14.0.1
6+VER=19.0.2
77 VERADD=+7
88 TARGET=$APPNAME-$VER
9-TARGETDIR=jdk14u-jdk-$VER$VERADD
10-TARGETBALL=$DLD/jdk-$VER$VERADD.tar.bz2
9+TARGETDIR=jdk19u-jdk-$VER-ga
10+TARGETBALL=$DLD/jdk-$VER-ga.tar.gz
1111
1212 echo $TARGET
1313
@@ -25,28 +25,20 @@ TimeStart
2525
2626 cd $TARGETDIR || (echo Not found directory: $TARGETDIR && exit 1)
2727
28-Patching
29-patch -p1 -i $DLD/openjdk-14.0.1-make_4.3_fix-1.patch \
30- 1> $LOG/$TARGET.0_patch.log 2>&1 || exit 1
31-
32-sed -i /sysctl/d \
33- src/jdk.incubator.jpackage/unix/native/libapplauncher/PosixPlatform.cpp
34-
3528 Configuring
3629 unset JAVA_HOME
37-bash configure --enable-unlimited-crypto \
38- --with-extra-cflags="$CFLAGS -fcommon" \
39- --disable-warnings-as-errors \
40- --with-stdc++lib=dynamic \
41- --with-giflib=system \
42- --with-jtreg=$PWD/jtreg \
43- --with-lcms=system \
44- --with-libjpeg=system \
45- --with-libpng=system \
46- --with-zlib=system \
47- --with-version-build="7" \
48- --with-version-pre="" \
49- --with-version-opt="" \
30+bash configure --enable-unlimited-crypto \
31+ --disable-warnings-as-errors \
32+ --with-stdc++lib=dynamic \
33+ --with-giflib=system \
34+ --with-jtreg=$PWD/jtreg \
35+ --with-lcms=system \
36+ --with-libjpeg=system \
37+ --with-libpng=system \
38+ --with-zlib=system \
39+ --with-version-build="7" \
40+ --with-version-pre="" \
41+ --with-version-opt="" \
5042 --with-cacerts-file=/etc/pki/tls/java/cacerts \
5143 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
5244
--- a/BLFS/openssh.sh
+++ b/BLFS/openssh.sh
@@ -3,7 +3,7 @@
33 . ./_blfsset.sh
44
55 APPNAME=openssh
6-VER=9.0p1
6+VER=9.2p1
77 TARGET=$APPNAME-$VER
88 TARGETBALL=$DLD/$TARGET.tar.gz
99 TARGETDIR=$TARGET
--- a/BLFS/pcre2.sh
+++ b/BLFS/pcre2.sh
@@ -3,7 +3,7 @@
33 . ./_blfsset.sh
44
55 APPNAME=pcre2
6-VER=10.40
6+VER=10.42
77 TARGET=$APPNAME-$VER
88 TARGETBALL=$DLD/$TARGET.tar.bz2
99 TARGETDIR=$TARGET
--- a/BLFS/polkit.sh
+++ b/BLFS/polkit.sh
@@ -3,7 +3,7 @@
33 . ./_blfsset.sh
44
55 APPNAME=polkit
6-VER=0.113
6+VER=0.120
77 TARGET=$APPNAME-$VER
88 TARGETBALL=$DLD/$TARGET.tar.gz
99 TARGETDIR=$TARGET
@@ -19,9 +19,9 @@ echo $TARGET
1919 . $WRK/_checkExit.sh "$1" || exit $?
2020
2121 if [ ${OPTION_LinuxPAM} -eq "1" ]; then
22- export WITHAUTHFW="--with-authfw=pam "
22+ export WITHAUTHFW=" "
2323 else
24- export WITHAUTHFW="--with-authfw=shadow "
24+ export WITHAUTHFW="-Dauthfw=shadow "
2525 fi
2626
2727 cd $SRC
@@ -36,21 +36,36 @@ groupadd -fg 27 polkitd &&
3636 useradd -c "PolicyKit Daemon Owner" -d /etc/polkit-1 -u 27 \
3737 -g polkitd -s /bin/false polkitd
3838
39+sed '/0,/s/^/#/' -i meson_post_install.py &&
40+sed '/policy,/d' -i actions/meson.build \
41+ -i src/examples/meson.build
42+
43+Patching
44+patch -Np1 -i $DLD/polkit-$VER-security_fixes-1.patch \
45+ 1> $LOG/$TARGET.0_patch.log 2>&1 || exit 1
46+patch -Np1 -i $DLD/polkit-$VER-js91-1.patch \
47+ 1>> $LOG/$TARGET.0_patch.log 2>&1 || exit 1
48+
49+mkdir build
50+cd build
51+
3952 Configuring
40-./configure --prefix=/usr \
41- --sysconfdir=/etc \
42- --localstatedir=/var \
43- $WITHAUTHFW \
44- --disable-static \
45- --disable-man-pages \
53+meson --prefix=/usr \
54+ --buildtype=release \
55+ -Dman=true \
56+ -Dsession_tracking=libsystemd-login \
57+ -Dtests=true \
58+ $WITHAUTHFW \
59+ .. \
4660 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
4761
4862 Making
49-make -j1 \
63+ninja -j1 \
5064 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
5165
5266 Installing
53-porg -lp $TARGET "make install" \
67+porg -lp $TARGET -E$PWD "\
68+ninja install" \
5469 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
5570
5671 cat > /etc/pam.d/polkit-1 << "EOF"
@@ -67,7 +82,7 @@ porg -lp+ $TARGET "touch /etc/pam.d/polkit-1"
6782
6883 TimeEnd
6984
70-cd ..
85+cd ../..
7186 RemoveSrcDir
7287 PorgingDone
7388
--- a/BLFS/popt.sh
+++ b/BLFS/popt.sh
@@ -3,7 +3,7 @@
33 . ./_blfsset.sh
44
55 APPNAME=popt
6-VER=1.18
6+VER=1.19
77 TARGET=$APPNAME-$VER
88 TARGETBALL=$DLD/$TARGET.tar.gz
99 TARGETDIR=$TARGET
@@ -11,7 +11,8 @@ TARGETDIR=$TARGET
1111 echo $TARGET
1212
1313 . $WRK/_checkRequired.sh ""
14-. $WRK/_checkOptions.sh ""
14+. $WRK/_checkOptions.sh \
15+ doxygen
1516 . $WRK/_checkTarball.sh
1617 . $WRK/_checkExit.sh "$1" || exit $?
1718
@@ -32,7 +33,7 @@ make \
3233 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
3334
3435 Installing
35-porg -lp $TARGET "make install" \
36+porg -lp $TARGET -E$PWD "make install" \
3637 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
3738
3839 TimeEnd
--- a/BLFS/rustc.sh
+++ b/BLFS/rustc.sh
@@ -3,7 +3,7 @@
33 . ./_blfsset.sh
44
55 APPNAME=rustc
6-VER=1.47.0
6+VER=1.60.0
77 TARGET=$APPNAME-$VER
88 TARGETBALL=$DLD/$TARGET-src.tar.gz
99 TARGETDIR=$TARGET-src
@@ -78,7 +78,6 @@ export RUSTFLAGS="$RUSTFLAGS -C link-args=-lffi"
7878 python3 ./x.py build --exclude src/tools/miri \
7979 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
8080
81-PWD=`pwd`
8281 Installing
8382 export LIBSSH2_SYS_USE_PKG_CONFIG=1
8483 porg -lp $TARGET -E$PWD "\
--- a/BLFS/shadow.sh
+++ b/BLFS/shadow.sh
@@ -3,7 +3,7 @@
33 . ./_blfsset.sh
44
55 APPNAME=shadow
6-VER=4.8.1
6+VER=4.11.1
77 TARGET=$APPNAME-$VER
88 TARGETBALL=$LFS/download/LFS/$TARGET.tar.xz
99 TARGETDIR=$TARGET
@@ -11,7 +11,7 @@ TARGETDIR=$TARGET
1111 echo $TARGET
1212
1313 . $WRK/_checkRequired.sh \
14- Linux-PAM cracklib
14+ Linux-PAM
1515 . $WRK/_checkOptions.sh ""
1616 . $WRK/_checkTarball.sh
1717 . $WRK/_checkExit.sh "$1" || exit $?
@@ -31,12 +31,13 @@ find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;
3131
3232 sed -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD SHA512@' \
3333 -e 's@/var/spool/mail@/var/mail@' \
34- -i etc/login.defs
35-
36-sed -i 's/1000/999/' etc/useradd
34+ -e '/PATH=/{s@/sbin:@@;s@/bin:@@}' \
35+ -i etc/login.defs
3736
3837 Configuring
39-./configure --sysconfdir=/etc --with-group-name-max-length=32 \
38+./configure --sysconfdir=/etc \
39+ --disable-static \
40+ --with-group-name-max-length=32 \
4041 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
4142
4243 Making
@@ -44,10 +45,12 @@ make \
4445 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
4546
4647 Installing
47-porg -lp $TARGET "make install" \
48+porg -lp $TARGET -E$PWD "\
49+make exec_prefix=/usr install" \
4850 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
49-
50-sed -i 's/yes/no/' /etc/default/useradd
51+porg -lp+ $TARGET "\
52+make -C man install-man" \
53+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
5154
5255 porg -lp+ $TARGET "\
5356 install -v -m644 /etc/login.defs /etc/login.defs.orig" \
@@ -145,7 +148,8 @@ auth sufficient pam_rootok.so
145148 auth include system-auth
146149
147150 # limit su to users in the wheel group
148-auth required pam_wheel.so use_uid
151+# disabled by default
152+#auth required pam_wheel.so use_uid
149153
150154 # include system account settings
151155 account include system-account
@@ -160,28 +164,42 @@ session include system-session
160164 EOF
161165 porg -lp+ $TARGET "touch /etc/pam.d/su"
162166
163-cat > /etc/pam.d/chage << "EOF"
164-#Begin /etc/pam.d/chage
167+cat > /etc/pam.d/chpasswd << "EOF"
168+# Begin /etc/pam.d/chpasswd
165169
166170 # always allow root
167171 auth sufficient pam_rootok.so
168172
169-# include system defaults for auth account and session
173+# include system auth and account settings
170174 auth include system-auth
171175 account include system-account
172-session include system-session
176+password include system-password
177+
178+# End /etc/pam.d/chpasswd
179+EOF
180+porg -lp+ $TARGET "touch /etc/pam.d/chpasswd"
173181
174-# Always permit for authentication updates
175-password required pam_permit.so
182+porg -lp+ $TARGET "\
183+sed -e s/chpasswd/newusers/ /etc/pam.d/chpasswd >/etc/pam.d/newusers"
184+
185+cat > /etc/pam.d/chage << "EOF"
186+# Begin /etc/pam.d/chage
187+
188+# always allow root
189+auth sufficient pam_rootok.so
190+
191+# include system auth and account settings
192+auth include system-auth
193+account include system-account
176194
177195 # End /etc/pam.d/chage
178196 EOF
179197 porg -lp+ $TARGET "touch /etc/pam.d/chage"
180198
181-for PROGRAM in chfn chgpasswd chpasswd chsh groupadd groupdel \
182- groupmems groupmod newusers useradd userdel usermod
199+for PROGRAM in chfn chgpasswd chsh groupadd groupdel \
200+ groupmems groupmod useradd userdel usermod
183201 do
184- install -m644 /etc/pam.d/chage /etc/pam.d/${PROGRAM}
202+ install -v -m644 /etc/pam.d/chage /etc/pam.d/${PROGRAM}
185203 sed -i "s/chage/$PROGRAM/" /etc/pam.d/${PROGRAM}
186204 porg -lp+ $TARGET "touch /etc/pam.d/${PROGRAM}"
187205 done
--- a/BLFS/systemd.sh
+++ b/BLFS/systemd.sh
@@ -3,7 +3,7 @@
33 . ./_blfsset.sh
44
55 APPNAME=systemd
6-VER=247
6+VER=251
77 TARGET=$APPNAME-$VER
88 LFSDLD=$LFS/download/LFS
99 TARGETBALL=$LFSDLD/$TARGET.tar.gz
@@ -26,35 +26,27 @@ TimeStart
2626
2727 cd $TARGETDIR
2828
29-Patching
30-patch -Np1 -i $LFSDLD/systemd-$VER-upstream_fixes-1.patch \
31- 1> $LOG/$TARGET.0_patch.log 2>&1 || exit 1
32-
33-sed -i 's/GROUP="render", //' rules.d/50-udev-default.rules.in
29+sed -i -e 's/GROUP="render"/GROUP="video"/' \
30+ -e 's/GROUP="sgx", //' rules.d/50-udev-default.rules.in
3431
3532 mkdir build
3633 cd build
3734
3835 Configuring
3936 meson --prefix=/usr \
40- -Dblkid=true \
41- -Dbuildtype=release \
37+ --buildtype=release \
4238 -Ddefault-dnssec=no \
4339 -Dfirstboot=false \
4440 -Dinstall-tests=false \
4541 -Dldconfig=false \
4642 -Dman=auto \
47- -Drootprefix= \
48- -Drootlibdir=/lib \
49- -Dsplit-usr=true \
5043 -Dsysusers=false \
5144 -Drpmmacrosdir=no \
52- -Db_lto=false \
5345 -Dhomed=false \
5446 -Duserdb=false \
5547 -Dmode=release \
5648 -Dpamconfdir=/etc/pam.d \
57- -Ddocdir=/usr/share/doc/systemd-$VER \
49+ -Ddocdir=/usr/share/doc/systemd-251 \
5850 .. \
5951 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
6052
@@ -105,6 +97,6 @@ password required pam_deny.so
10597 EOF
10698 porg -lp+ $TARGET "touch /etc/pam.d/system-user"
10799
108-systemctl daemon-reload
109-systemctl start multi-user.target
100+#systemctl daemon-reload
101+#systemctl start multi-user.target
110102