修訂 | 3f46dbc9bcde94ba09cd43936fc6d44fdf6a2c14 (tree) |
---|---|
時間 | 2023-03-06 22:01:35 |
作者 | matsuand <30614168+matsuand@user...> |
Commiter | matsuand |
[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
@@ -3,7 +3,7 @@ | ||
3 | 3 | . ./_blfsset.sh |
4 | 4 | |
5 | 5 | APPNAME=Linux-PAM |
6 | -VER=1.5.1 | |
6 | +VER=1.5.2 | |
7 | 7 | TARGET=$APPNAME-$VER |
8 | 8 | TARGETBALL=$DLD/$TARGET.tar.xz |
9 | 9 | TARGETDIR=$TARGET |
@@ -44,14 +44,16 @@ Making | ||
44 | 44 | make \ |
45 | 45 | 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1 |
46 | 46 | |
47 | +rm -fv /etc/pam.d/other | |
48 | + | |
47 | 49 | Installing |
48 | -porg -lp $TARGET -E`pwd` "make install" \ | |
50 | +porg -lp $TARGET -E$PWD "make install" \ | |
49 | 51 | 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1 |
50 | 52 | |
51 | 53 | chmod 4755 /sbin/unix_chkpwd |
52 | 54 | |
53 | 55 | install -dm755 /etc/pam.d |
54 | -cat > /etc/pam.d/system-account << "EOF" | |
56 | +cat > /etc/pam.d/system-account << "EOF" && | |
55 | 57 | # Begin /etc/pam.d/system-account |
56 | 58 | |
57 | 59 | account required pam_unix.so |
@@ -62,7 +64,7 @@ porg -lp+ $TARGET " | ||
62 | 64 | touch /etc/pam.d/system-account" \ |
63 | 65 | 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1 |
64 | 66 | |
65 | -cat > /etc/pam.d/system-auth << "EOF" | |
67 | +cat > /etc/pam.d/system-auth << "EOF" && | |
66 | 68 | # Begin /etc/pam.d/system-auth |
67 | 69 | |
68 | 70 | auth required pam_unix.so |
@@ -25,8 +25,8 @@ XORGWRK=$WRK/Xorg | ||
25 | 25 | |
26 | 26 | QTDIR=/opt/qt |
27 | 27 | |
28 | -BOOTSCRIPTDATE=20211123 | |
29 | -S_BOOTSCRIPTDATE=20211123 | |
28 | +BOOTSCRIPTDATE=20220720 | |
29 | +S_BOOTSCRIPTDATE=20220720 | |
30 | 30 | |
31 | 31 | mkdir -pv $LOG $TME |
32 | 32 |
@@ -3,7 +3,7 @@ | ||
3 | 3 | . ./_blfsset.sh |
4 | 4 | |
5 | 5 | APPNAME=apache-ant |
6 | -VER=1.10.12 | |
6 | +VER=1.10.13 | |
7 | 7 | TARGET=$APPNAME-$VER |
8 | 8 | TARGETBALL=$DLD/${TARGET}-src.tar.xz |
9 | 9 | TARGETDIR=$TARGET |
@@ -27,6 +27,11 @@ cd $TARGETDIR | ||
27 | 27 | echo Bootstrapping... |
28 | 28 | ./bootstrap.sh \ |
29 | 29 | 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 | + | |
30 | 35 | bootstrap/bin/ant -f fetch.xml -Ddest=optional \ |
31 | 36 | 1> $LOG/$TARGET.0_bootstrap.log 2>&1 || exit 1 |
32 | 37 |
@@ -44,7 +49,6 @@ porg -lp+ $TARGET "\ | ||
44 | 49 | ln -sfv ant-$VER /opt/ant" \ |
45 | 50 | 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1 |
46 | 51 | |
47 | -porg -lp+ $TARGET "\ | |
48 | 52 | cat > /etc/profile.d/ant.sh << EOF |
49 | 53 | # Begin /etc/profile.d/ant.sh |
50 | 54 |
@@ -53,7 +57,8 @@ export ANT_HOME=/opt/ant | ||
53 | 57 | |
54 | 58 | # End /etc/profile.d/ant.sh |
55 | 59 | EOF |
56 | -" \ | |
60 | +porg -lp+ $TARGET "\ | |
61 | +touch /etc/profile.d/ant.sh" \ | |
57 | 62 | 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1 |
58 | 63 | |
59 | 64 | TimeEnd |
@@ -19,7 +19,7 @@ pathremove () { | ||
19 | 19 | local IFS=':' |
20 | 20 | local NEWPATH |
21 | 21 | local DIR |
22 | - local PATHVARIABLE=${2:-PATH} | |
22 | + local PATHVARIABLE=${2:-PATH} | |
23 | 23 | for DIR in ${!PATHVARIABLE} ; do |
24 | 24 | if [ "$DIR" != "$1" ] ; then |
25 | 25 | NEWPATH=${NEWPATH:+$NEWPATH:}$DIR |
@@ -40,16 +40,25 @@ pathappend () { | ||
40 | 40 | export $PATHVARIABLE="${!PATHVARIABLE:+${!PATHVARIABLE}:}$1" |
41 | 41 | } |
42 | 42 | |
43 | +export -f pathremove pathprepend pathappend | |
43 | 44 | |
44 | 45 | # 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 | |
46 | 52 | |
47 | 53 | if [ $EUID -eq 0 ] ; then |
48 | - pathappend /sbin:/usr/sbin | |
54 | + pathappend /usr/sbin | |
55 | + if [ ! -L /sbin ]; then | |
56 | + pathappend /sbin | |
57 | + fi | |
49 | 58 | unset HISTFILE |
50 | 59 | fi |
51 | 60 | |
52 | -# Setup some environment variables. | |
61 | +# Set up some environment variables. | |
53 | 62 | export HISTSIZE=1000 |
54 | 63 | export HISTIGNORE="&:[bf]g:exit" |
55 | 64 |
@@ -58,7 +67,7 @@ export XDG_DATA_DIRS=${XDG_DATA_DIRS:-/usr/share/} | ||
58 | 67 | export XDG_CONFIG_DIRS=${XDG_CONFIG_DIRS:-/etc/xdg/} |
59 | 68 | export XDG_RUNTIME_DIR=${XDG_RUNTIME_DIR:-/tmp/xdg-$USER} |
60 | 69 | |
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. | |
62 | 71 | NORMAL="\[\e[0m\]" |
63 | 72 | RED="\[\e[1;31m\]" |
64 | 73 | GREEN="\[\e[1;32m\]" |
@@ -74,8 +83,7 @@ for script in /etc/profile.d/*.sh ; do | ||
74 | 83 | fi |
75 | 84 | done |
76 | 85 | |
77 | -# Now to clean up | |
78 | -unset pathremove pathprepend pathappend | |
86 | +unset script RED GREEN NORMAL | |
79 | 87 | |
80 | 88 | # End /etc/profile |
81 | 89 | EOF |
@@ -146,13 +154,17 @@ if [ -d /usr/local/sbin -a $EUID -eq 0 ]; then | ||
146 | 154 | pathprepend /usr/local/sbin |
147 | 155 | fi |
148 | 156 | |
157 | +if [ -d /usr/local/share ]; then | |
158 | + pathprepend /usr/local/share XDG_DATA_DIRS | |
159 | +fi | |
160 | + | |
149 | 161 | # Set some defaults before other applications add to these paths. |
150 | 162 | pathappend /usr/share/man MANPATH |
151 | 163 | pathappend /usr/share/info INFOPATH |
152 | 164 | EOF |
153 | 165 | |
154 | 166 | cat > /etc/profile.d/readline.sh << "EOF" |
155 | -# Setup the INPUTRC environment variable. | |
167 | +# Set up the INPUTRC environment variable. | |
156 | 168 | if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ] ; then |
157 | 169 | INPUTRC=/etc/inputrc |
158 | 170 | fi |
@@ -160,7 +172,7 @@ export INPUTRC | ||
160 | 172 | EOF |
161 | 173 | |
162 | 174 | 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. | |
164 | 176 | if [ "$(id -gn)" = "$(id -un)" -a $EUID -gt 99 ] ; then |
165 | 177 | umask 002 |
166 | 178 | else |
@@ -179,6 +191,8 @@ EOF | ||
179 | 191 | |
180 | 192 | cat > /etc/profile.d/i18n.sh << "EOF" |
181 | 193 | # Set up i18n variables |
194 | +#. /etc/locale.conf | |
195 | +#export LANG | |
182 | 196 | export LANG=ja_JP.UTF-8 |
183 | 197 | EOF |
184 | 198 |
@@ -195,8 +209,8 @@ cat > /etc/bashrc << "EOF" | ||
195 | 209 | # should go into ~/.bash_profile. Personal aliases and functions should |
196 | 210 | # go into ~/.bashrc |
197 | 211 | |
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. | |
200 | 214 | |
201 | 215 | alias ls='ls --color=auto' |
202 | 216 | alias grep='grep --color=auto' |
@@ -3,7 +3,7 @@ | ||
3 | 3 | . ./_blfsset.sh |
4 | 4 | |
5 | 5 | APPNAME=curl |
6 | -VER=7.83.1 | |
6 | +VER=7.87.0 | |
7 | 7 | TARGET=curl-$VER |
8 | 8 | TARGETBALL=$DLD/$TARGET.tar.xz |
9 | 9 | TARGETDIR=$TARGET |
@@ -33,10 +33,17 @@ chown -v dhcpcd:dhcpcd /var/lib/dhcpcd | ||
33 | 33 | |
34 | 34 | cd $TARGETDIR |
35 | 35 | |
36 | +sed '/Deny everything else/i SECCOMP_ALLOW(__NR_getrandom),' \ | |
37 | + -i src/privsep-linux.c | |
38 | + | |
36 | 39 | 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 \ | |
40 | 47 | 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1 |
41 | 48 | |
42 | 49 | Making |
@@ -49,12 +49,12 @@ make \ | ||
49 | 49 | 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1 |
50 | 50 | |
51 | 51 | Installing |
52 | -paco -p $TARGET "make install" \ | |
52 | +porg -lp $TARGET "make install" \ | |
53 | 53 | 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1 |
54 | 54 | |
55 | 55 | TimeEnd |
56 | 56 | |
57 | 57 | cd .. |
58 | 58 | RemoveSrcDir |
59 | -PacoingDone | |
59 | +PorgingDone | |
60 | 60 |
@@ -3,7 +3,7 @@ | ||
3 | 3 | . ./_blfsset.sh |
4 | 4 | |
5 | 5 | APPNAME=fop |
6 | -VER=2.6 | |
6 | +VER=2.8 | |
7 | 7 | TARGET=$APPNAME-$VER |
8 | 8 | TARGETDIR=$TARGET |
9 | 9 | TARGETBALL=$DLD/${TARGET}-src.tar.gz |
@@ -28,7 +28,7 @@ unzip $DLD/offo-hyphenation.zip | ||
28 | 28 | cp offo-hyphenation/hyph/* fop/hyph |
29 | 29 | rm -rf offo-hyphenation |
30 | 30 | |
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 | |
32 | 32 | |
33 | 33 | sed -i '\@</javad@i\ |
34 | 34 | <arg value="-Xdoclint:none"/>\ |
@@ -36,13 +36,13 @@ sed -i '\@</javad@i\ | ||
36 | 36 | <arg value="--ignore-source-errors"/>' \ |
37 | 37 | fop/build.xml |
38 | 38 | |
39 | -cp $DLD/{pdf,font}box-2.0.23.jar fop/lib | |
39 | +cp $DLD/{pdf,font}box-2.0.27.jar fop/lib | |
40 | 40 | |
41 | 41 | cd fop |
42 | 42 | |
43 | 43 | echo Building \(ant compile\)... |
44 | 44 | 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 | |
46 | 46 | ant all javadocs \ |
47 | 47 | 1> $LOG/$TARGET.2_build.log 2>&1 || (echo Error detected!) |
48 | 48 |
@@ -59,7 +59,7 @@ porg -lp+ $TARGET "\ | ||
59 | 59 | ln -v -sfn fop-$VER /opt/fop" \ |
60 | 60 | 1>> $LOG/$TARGET.3_install.log 2>&1 || (echo Error2 detected!) |
61 | 61 | |
62 | -rm -rf /tmp/apache-maven-3.6.3 | |
62 | +rm -rf /tmp/apache-maven-3.8.6 | |
63 | 63 | |
64 | 64 | porg -lp+ $TARGET "\ |
65 | 65 | cat > /etc/profile.d/fop.sh << "EOF" |
@@ -3,7 +3,7 @@ | ||
3 | 3 | . ./_blfsset.sh |
4 | 4 | |
5 | 5 | APPNAME=git |
6 | -VER=2.36.1 | |
6 | +VER=2.39.1 | |
7 | 7 | TARGET=$APPNAME-$VER |
8 | 8 | TARGETBALL=$DLD/$TARGET.tar.xz |
9 | 9 | TARGETDIR=$TARGET |
@@ -40,7 +40,7 @@ make \ | ||
40 | 40 | |
41 | 41 | Installing |
42 | 42 | 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" \ | |
44 | 44 | 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1 |
45 | 45 | |
46 | 46 | porg -lp+ $TARGET -E$PWD "\ |
@@ -3,7 +3,7 @@ | ||
3 | 3 | . ./_blfsset.sh |
4 | 4 | |
5 | 5 | APPNAME=glib |
6 | -VER=2.72.0 | |
6 | +VER=2.72.2 | |
7 | 7 | TARGET=$APPNAME-$VER |
8 | 8 | TARGETBALL=$DLD/$TARGET.tar.xz |
9 | 9 | TARGETDIR=$TARGET |
@@ -26,8 +26,10 @@ TimeStart | ||
26 | 26 | cd $TARGETDIR |
27 | 27 | |
28 | 28 | Patching |
29 | -patch -Np1 -i $DLD/glib-$VER-skip_warnings-1.patch \ | |
29 | +patch -Np1 -i $DLD/glib-$VER-fix_xdgmime-1.patch \ | |
30 | 30 | 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 | |
31 | 33 | |
32 | 34 | mkdir build |
33 | 35 | cd build |
@@ -4,7 +4,7 @@ | ||
4 | 4 | |
5 | 5 | APPNAME=gnupg |
6 | 6 | APPVER=2 |
7 | -VER=2.3.6 | |
7 | +VER=2.4.0 | |
8 | 8 | TARGET=$APPNAME-$VER |
9 | 9 | TARGETBALL=$DLD/$TARGET.tar.bz2 |
10 | 10 | TARGETDIR=$TARGET |
@@ -27,11 +27,14 @@ TimeStart | ||
27 | 27 | |
28 | 28 | cd $TARGETDIR |
29 | 29 | |
30 | +mkdir build | |
31 | +cd build | |
32 | + | |
30 | 33 | 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 \ | |
35 | 38 | 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1 |
36 | 39 | |
37 | 40 | Making |
@@ -44,7 +47,7 @@ porg -lp $TARGET "make install" \ | ||
44 | 47 | |
45 | 48 | TimeEnd |
46 | 49 | |
47 | -cd .. | |
50 | +cd ../.. | |
48 | 51 | RemoveSrcDir |
49 | 52 | PorgingDone |
50 | 53 |
@@ -3,7 +3,7 @@ | ||
3 | 3 | . ./_blfsset.sh |
4 | 4 | |
5 | 5 | APPNAME=gnutls |
6 | -VER=3.7.6 | |
6 | +VER=3.7.8 | |
7 | 7 | TARGET=$APPNAME-$VER |
8 | 8 | TARGETBALL=$DLD/$TARGET.tar.xz |
9 | 9 | TARGETDIR=$APPNAME-$VER |
@@ -2,12 +2,12 @@ | ||
2 | 2 | |
3 | 3 | . ./_blfsset.sh |
4 | 4 | |
5 | -APPNAME=jdk | |
6 | -VER=1.8.0_31 | |
7 | -UVER=8u31 | |
5 | +APPNAME=OpenJDK | |
6 | +VER=19.0.2+7 | |
7 | +UVER=$VER | |
8 | 8 | 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 | |
11 | 11 | |
12 | 12 | echo $TARGET |
13 | 13 |
@@ -19,43 +19,76 @@ START=`date +'%Y/%m/%d %H:%M:%S.%N'` | ||
19 | 19 | |
20 | 20 | cd $TARGETDIR |
21 | 21 | |
22 | -install -v -m755 -d /opt/jdk-$UVER | |
22 | +install -v -m755 -d /opt/OpenJDK-$UVER-bin | |
23 | 23 | |
24 | -porg -lp+ $TARGET "mv -v * /opt/jdk-$UVER" \ | |
24 | +porg -lp+ $TARGET "mv -v * /opt/OpenJDK-$UVER-bin" \ | |
25 | 25 | 1> $LOG/$TARGET.1_move.log 2>&1 || exit 1 |
26 | 26 | |
27 | -chown -v -R root:root /opt/jdk-$UVER\ | |
27 | +chown -v -R root:root /opt/OpenJDK-$UVER-bin \ | |
28 | 28 | 1> $LOG/$TARGET.2_chown.log 2>&1 || exit 1 |
29 | 29 | |
30 | -cd /opt | |
30 | +porg -lp+ $TARGET "\ | |
31 | +ln -sfn OpenJDK-$UVER-bin /opt/jdk" | |
31 | 32 | |
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 | |
36 | 35 | |
37 | 36 | # Set JAVA_HOME directory |
38 | 37 | JAVA_HOME=/opt/jdk |
39 | 38 | |
40 | 39 | # 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 | |
42 | 49 | |
43 | -# Auto Java CLASSPATH | |
44 | -# Copy jar files to, or create symlinks in this directory | |
45 | -AUTO_CLASSPATH_DIR=/usr/lib/classpath | |
46 | 50 | pathprepend . CLASSPATH |
51 | + | |
47 | 52 | for dir in `find ${AUTO_CLASSPATH_DIR} -type d 2>/dev/null`; do |
48 | 53 | pathappend $dir CLASSPATH |
49 | 54 | done |
50 | 55 | |
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" | |
54 | 66 | |
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 | |
56 | 70 | 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" | |
57 | 89 | |
58 | -porg -lp+ $TARGET "touch /etc/profile.d/jdk.sh" | |
90 | +porg -lp+ $TARGET "\ | |
91 | +/opt/jdk/bin/keytool -list -cacerts" | |
59 | 92 | |
60 | 93 | END=`date +'%Y/%m/%d %H:%M:%S.%N'` |
61 | 94 |
@@ -3,17 +3,16 @@ | ||
3 | 3 | . ./_blfsset.sh |
4 | 4 | |
5 | 5 | APPNAME=js |
6 | -VER=17.0.0 | |
6 | +VER=91.10.0 | |
7 | 7 | 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} | |
10 | 10 | |
11 | 11 | echo $TARGET |
12 | 12 | |
13 | 13 | . $WRK/_checkRequired.sh \ |
14 | - libffi nspr python-2 zip | |
15 | -. $WRK/_checkOptions.sh \ | |
16 | - doxygen makedepend | |
14 | + icu rustc which | |
15 | +. $WRK/_checkOptions.sh "" | |
17 | 16 | . $WRK/_checkTarball.sh |
18 | 17 | . $WRK/_checkExit.sh "$1" || exit $? |
19 | 18 |
@@ -25,16 +24,18 @@ TimeStart | ||
25 | 24 | |
26 | 25 | cd $TARGETDIR |
27 | 26 | |
28 | -cd js/src | |
29 | - | |
30 | -sed -i 's/(defined\((@TEMPLATE_FILE)\))/\1/' config/milestone.pl | |
27 | +mkdir obj | |
28 | +cd obj | |
31 | 29 | |
32 | 30 | 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 \ | |
38 | 39 | 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1 |
39 | 40 | |
40 | 41 | Making |
@@ -42,18 +43,17 @@ make \ | ||
42 | 43 | 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1 |
43 | 44 | |
44 | 45 | Installing |
45 | -porg -lp $TARGET "make install" \ | |
46 | +porg -lp $TARGET -E$PWD "make install" \ | |
46 | 47 | 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" \ | |
52 | 50 | 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1 |
53 | 51 | |
52 | +sed -i '/@NSPR_CFLAGS@/d' /usr/bin/js91-config | |
53 | + | |
54 | 54 | TimeEnd |
55 | 55 | |
56 | -cd ../../.. | |
56 | +cd ../.. | |
57 | 57 | RemoveSrcDir |
58 | 58 | PorgingDone |
59 | 59 |
@@ -3,7 +3,7 @@ | ||
3 | 3 | . ./_blfsset.sh |
4 | 4 | |
5 | 5 | APPNAME=libcap |
6 | -VER=2.46 | |
6 | +VER=2.64 | |
7 | 7 | TARGET=$APPNAME-$VER |
8 | 8 | DLD=/mnt/lfs/download/LFS |
9 | 9 | TARGETBALL=$DLD/$APPNAME-$VER.tar.xz |
@@ -4,9 +4,9 @@ | ||
4 | 4 | |
5 | 5 | APPNAME=libedit |
6 | 6 | VER=3.1 |
7 | -TARGET=$APPNAME-20210910-$VER | |
7 | +TARGET=$APPNAME-20221030-$VER | |
8 | 8 | TARGETBALL=$DLD/$TARGET.tar.gz |
9 | -TARGETDIR=$APPNAME-20210910-$VER | |
9 | +TARGETDIR=$APPNAME-20221030-$VER | |
10 | 10 | |
11 | 11 | echo $TARGET |
12 | 12 |
@@ -3,7 +3,7 @@ | ||
3 | 3 | . ./_blfsset.sh |
4 | 4 | |
5 | 5 | APPNAME=libgpg-error |
6 | -VER=1.43 | |
6 | +VER=1.46 | |
7 | 7 | TARGET=$APPNAME-$VER |
8 | 8 | TARGETBALL=$DLD/$TARGET.tar.bz2 |
9 | 9 | TARGETDIR=$TARGET |
@@ -3,7 +3,7 @@ | ||
3 | 3 | . ./_blfsset.sh |
4 | 4 | |
5 | 5 | APPNAME=libidn2 |
6 | -VER=2.3.2 | |
6 | +VER=2.3.4 | |
7 | 7 | TARGET=$APPNAME-$VER |
8 | 8 | TARGETBALL=$DLD/$TARGET.tar.gz |
9 | 9 | TARGETDIR=$TARGET |
@@ -3,7 +3,7 @@ | ||
3 | 3 | . ./_blfsset.sh |
4 | 4 | |
5 | 5 | APPNAME=libksba |
6 | -VER=1.5.0 | |
6 | +VER=1.6.3 | |
7 | 7 | TARGET=$APPNAME-$VER |
8 | 8 | TARGETBALL=$DLD/$TARGET.tar.bz2 |
9 | 9 | TARGETDIR=$TARGET |
@@ -3,7 +3,7 @@ | ||
3 | 3 | . ./_blfsset.sh |
4 | 4 | |
5 | 5 | APPNAME=libpsl |
6 | -VER=0.21.1 | |
6 | +VER=0.21.2 | |
7 | 7 | TARGET=$APPNAME-$VER |
8 | 8 | TARGETBALL=$DLD/$TARGET.tar.gz |
9 | 9 | TARGETDIR=$TARGET |
@@ -28,7 +28,7 @@ cd $TARGETDIR | ||
28 | 28 | sed -i 's/env python/&3/' src/psl-make-dafsa |
29 | 29 | |
30 | 30 | Configuring |
31 | -./configure --prefix=/usr --disable-static \ | |
31 | +./configure --prefix=/usr --disable-static PYTHON=python3 \ | |
32 | 32 | 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1 |
33 | 33 | |
34 | 34 | Making |
@@ -3,7 +3,7 @@ | ||
3 | 3 | . ./_blfsset.sh |
4 | 4 | |
5 | 5 | APPNAME=libssh2 |
6 | -VER=1.9.0 | |
6 | +VER=1.10.0 | |
7 | 7 | TARGET=$APPNAME-$VER |
8 | 8 | TARGETBALL=$DLD/$TARGET.tar.gz |
9 | 9 | TARGETDIR=$TARGET |
@@ -44,7 +44,7 @@ make \ | ||
44 | 44 | 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1 |
45 | 45 | |
46 | 46 | Installing |
47 | -porg -lp $TARGET "make install" \ | |
47 | +porg -lp $TARGET -E$PWD "make install" \ | |
48 | 48 | 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1 |
49 | 49 | |
50 | 50 | TimeEnd |
@@ -3,7 +3,7 @@ | ||
3 | 3 | . ./_blfsset.sh |
4 | 4 | |
5 | 5 | APPNAME=libtasn1 |
6 | -VER=4.18.0 | |
6 | +VER=4.19.0 | |
7 | 7 | TARGET=$APPNAME-$VER |
8 | 8 | TARGETBALL=$DLD/$TARGET.tar.gz |
9 | 9 | TARGETDIR=$TARGET |
@@ -3,7 +3,7 @@ | ||
3 | 3 | . ./_blfsset.sh |
4 | 4 | |
5 | 5 | APPNAME=libunistring |
6 | -VER=1.0 | |
6 | +VER=1.1 | |
7 | 7 | TARGET=$APPNAME-$VER |
8 | 8 | TARGETBALL=$DLD/$TARGET.tar.xz |
9 | 9 | TARGETDIR=$TARGET |
@@ -3,7 +3,7 @@ | ||
3 | 3 | . ./_blfsset.sh |
4 | 4 | |
5 | 5 | APPNAME=libxml2 |
6 | -VER=2.9.14 | |
6 | +VER=2.10.3 | |
7 | 7 | TARGET=$APPNAME-$VER |
8 | 8 | TARGETBALL=$DLD/$TARGET.tar.xz |
9 | 9 | TARGETDIR=$TARGET |
@@ -31,11 +31,12 @@ cd $TARGETDIR | ||
31 | 31 | #sed -i '/if Py/{s/Py/(Py/;s/)/))/}' python/{types.c,libxml.c} |
32 | 32 | |
33 | 33 | 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 \ | |
39 | 40 | 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1 |
40 | 41 | |
41 | 42 | Making |
@@ -3,7 +3,7 @@ | ||
3 | 3 | . ./_blfsset.sh |
4 | 4 | |
5 | 5 | APPNAME=libxslt |
6 | -VER=1.1.35 | |
6 | +VER=1.1.37 | |
7 | 7 | TARGET=$APPNAME-$VER |
8 | 8 | TARGETBALL=$DLD/$TARGET.tar.xz |
9 | 9 | TARGETDIR=$TARGET |
@@ -11,7 +11,7 @@ TARGETDIR=$TARGET | ||
11 | 11 | echo $TARGET |
12 | 12 | |
13 | 13 | . $WRK/_checkRequired.sh libxml2 |
14 | -. $WRK/_checkOptions.sh python-2 libgcrypt | |
14 | +. $WRK/_checkOptions.sh libgcrypt | |
15 | 15 | . $WRK/_checkTarball.sh |
16 | 16 | . $WRK/_checkExit.sh "$1" || exit $? |
17 | 17 |
@@ -30,11 +30,12 @@ cd $TARGETDIR | ||
30 | 30 | sed -i s/3000/5000/ libxslt/transform.c doc/xsltproc.{1,xml} |
31 | 31 | |
32 | 32 | 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 \ | |
34 | 37 | 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1 |
35 | 38 | |
36 | -sed -e 's@\$Date\$@16 February 2022@' -i doc/xsltproc.1 | |
37 | - | |
38 | 39 | Making |
39 | 40 | make \ |
40 | 41 | 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1 |
@@ -3,7 +3,7 @@ | ||
3 | 3 | . ./_blfsset.sh |
4 | 4 | |
5 | 5 | APPNAME=make-ca |
6 | -VER=1.10 | |
6 | +VER=1.12 | |
7 | 7 | TARGET=$APPNAME-$VER |
8 | 8 | TARGETBALL=$DLD/$TARGET.tar.xz |
9 | 9 | TARGETDIR=$TARGET |
@@ -3,7 +3,7 @@ | ||
3 | 3 | . ./_blfsset.sh |
4 | 4 | |
5 | 5 | APPNAME=nettle |
6 | -VER=3.8 | |
6 | +VER=3.8.1 | |
7 | 7 | TARGET=$APPNAME-$VER |
8 | 8 | TARGETBALL=$DLD/$TARGET.tar.gz |
9 | 9 | TARGETDIR=$TARGET |
@@ -3,11 +3,11 @@ | ||
3 | 3 | . ./_blfsset.sh |
4 | 4 | |
5 | 5 | APPNAME=openjdk |
6 | -VER=14.0.1 | |
6 | +VER=19.0.2 | |
7 | 7 | VERADD=+7 |
8 | 8 | 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 | |
11 | 11 | |
12 | 12 | echo $TARGET |
13 | 13 |
@@ -25,28 +25,20 @@ TimeStart | ||
25 | 25 | |
26 | 26 | cd $TARGETDIR || (echo Not found directory: $TARGETDIR && exit 1) |
27 | 27 | |
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 | - | |
35 | 28 | Configuring |
36 | 29 | 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="" \ | |
50 | 42 | --with-cacerts-file=/etc/pki/tls/java/cacerts \ |
51 | 43 | 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1 |
52 | 44 |
@@ -3,7 +3,7 @@ | ||
3 | 3 | . ./_blfsset.sh |
4 | 4 | |
5 | 5 | APPNAME=openssh |
6 | -VER=9.0p1 | |
6 | +VER=9.2p1 | |
7 | 7 | TARGET=$APPNAME-$VER |
8 | 8 | TARGETBALL=$DLD/$TARGET.tar.gz |
9 | 9 | TARGETDIR=$TARGET |
@@ -3,7 +3,7 @@ | ||
3 | 3 | . ./_blfsset.sh |
4 | 4 | |
5 | 5 | APPNAME=pcre2 |
6 | -VER=10.40 | |
6 | +VER=10.42 | |
7 | 7 | TARGET=$APPNAME-$VER |
8 | 8 | TARGETBALL=$DLD/$TARGET.tar.bz2 |
9 | 9 | TARGETDIR=$TARGET |
@@ -3,7 +3,7 @@ | ||
3 | 3 | . ./_blfsset.sh |
4 | 4 | |
5 | 5 | APPNAME=polkit |
6 | -VER=0.113 | |
6 | +VER=0.120 | |
7 | 7 | TARGET=$APPNAME-$VER |
8 | 8 | TARGETBALL=$DLD/$TARGET.tar.gz |
9 | 9 | TARGETDIR=$TARGET |
@@ -19,9 +19,9 @@ echo $TARGET | ||
19 | 19 | . $WRK/_checkExit.sh "$1" || exit $? |
20 | 20 | |
21 | 21 | if [ ${OPTION_LinuxPAM} -eq "1" ]; then |
22 | - export WITHAUTHFW="--with-authfw=pam " | |
22 | + export WITHAUTHFW=" " | |
23 | 23 | else |
24 | - export WITHAUTHFW="--with-authfw=shadow " | |
24 | + export WITHAUTHFW="-Dauthfw=shadow " | |
25 | 25 | fi |
26 | 26 | |
27 | 27 | cd $SRC |
@@ -36,21 +36,36 @@ groupadd -fg 27 polkitd && | ||
36 | 36 | useradd -c "PolicyKit Daemon Owner" -d /etc/polkit-1 -u 27 \ |
37 | 37 | -g polkitd -s /bin/false polkitd |
38 | 38 | |
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 | + | |
39 | 52 | 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 | + .. \ | |
46 | 60 | 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1 |
47 | 61 | |
48 | 62 | Making |
49 | -make -j1 \ | |
63 | +ninja -j1 \ | |
50 | 64 | 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1 |
51 | 65 | |
52 | 66 | Installing |
53 | -porg -lp $TARGET "make install" \ | |
67 | +porg -lp $TARGET -E$PWD "\ | |
68 | +ninja install" \ | |
54 | 69 | 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1 |
55 | 70 | |
56 | 71 | cat > /etc/pam.d/polkit-1 << "EOF" |
@@ -67,7 +82,7 @@ porg -lp+ $TARGET "touch /etc/pam.d/polkit-1" | ||
67 | 82 | |
68 | 83 | TimeEnd |
69 | 84 | |
70 | -cd .. | |
85 | +cd ../.. | |
71 | 86 | RemoveSrcDir |
72 | 87 | PorgingDone |
73 | 88 |
@@ -3,7 +3,7 @@ | ||
3 | 3 | . ./_blfsset.sh |
4 | 4 | |
5 | 5 | APPNAME=popt |
6 | -VER=1.18 | |
6 | +VER=1.19 | |
7 | 7 | TARGET=$APPNAME-$VER |
8 | 8 | TARGETBALL=$DLD/$TARGET.tar.gz |
9 | 9 | TARGETDIR=$TARGET |
@@ -11,7 +11,8 @@ TARGETDIR=$TARGET | ||
11 | 11 | echo $TARGET |
12 | 12 | |
13 | 13 | . $WRK/_checkRequired.sh "" |
14 | -. $WRK/_checkOptions.sh "" | |
14 | +. $WRK/_checkOptions.sh \ | |
15 | + doxygen | |
15 | 16 | . $WRK/_checkTarball.sh |
16 | 17 | . $WRK/_checkExit.sh "$1" || exit $? |
17 | 18 |
@@ -32,7 +33,7 @@ make \ | ||
32 | 33 | 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1 |
33 | 34 | |
34 | 35 | Installing |
35 | -porg -lp $TARGET "make install" \ | |
36 | +porg -lp $TARGET -E$PWD "make install" \ | |
36 | 37 | 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1 |
37 | 38 | |
38 | 39 | TimeEnd |
@@ -3,7 +3,7 @@ | ||
3 | 3 | . ./_blfsset.sh |
4 | 4 | |
5 | 5 | APPNAME=rustc |
6 | -VER=1.47.0 | |
6 | +VER=1.60.0 | |
7 | 7 | TARGET=$APPNAME-$VER |
8 | 8 | TARGETBALL=$DLD/$TARGET-src.tar.gz |
9 | 9 | TARGETDIR=$TARGET-src |
@@ -78,7 +78,6 @@ export RUSTFLAGS="$RUSTFLAGS -C link-args=-lffi" | ||
78 | 78 | python3 ./x.py build --exclude src/tools/miri \ |
79 | 79 | 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1 |
80 | 80 | |
81 | -PWD=`pwd` | |
82 | 81 | Installing |
83 | 82 | export LIBSSH2_SYS_USE_PKG_CONFIG=1 |
84 | 83 | porg -lp $TARGET -E$PWD "\ |
@@ -3,7 +3,7 @@ | ||
3 | 3 | . ./_blfsset.sh |
4 | 4 | |
5 | 5 | APPNAME=shadow |
6 | -VER=4.8.1 | |
6 | +VER=4.11.1 | |
7 | 7 | TARGET=$APPNAME-$VER |
8 | 8 | TARGETBALL=$LFS/download/LFS/$TARGET.tar.xz |
9 | 9 | TARGETDIR=$TARGET |
@@ -11,7 +11,7 @@ TARGETDIR=$TARGET | ||
11 | 11 | echo $TARGET |
12 | 12 | |
13 | 13 | . $WRK/_checkRequired.sh \ |
14 | - Linux-PAM cracklib | |
14 | + Linux-PAM | |
15 | 15 | . $WRK/_checkOptions.sh "" |
16 | 16 | . $WRK/_checkTarball.sh |
17 | 17 | . $WRK/_checkExit.sh "$1" || exit $? |
@@ -31,12 +31,13 @@ find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \; | ||
31 | 31 | |
32 | 32 | sed -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD SHA512@' \ |
33 | 33 | -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 | |
37 | 36 | |
38 | 37 | 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 \ | |
40 | 41 | 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1 |
41 | 42 | |
42 | 43 | Making |
@@ -44,10 +45,12 @@ make \ | ||
44 | 45 | 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1 |
45 | 46 | |
46 | 47 | Installing |
47 | -porg -lp $TARGET "make install" \ | |
48 | +porg -lp $TARGET -E$PWD "\ | |
49 | +make exec_prefix=/usr install" \ | |
48 | 50 | 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 | |
51 | 54 | |
52 | 55 | porg -lp+ $TARGET "\ |
53 | 56 | install -v -m644 /etc/login.defs /etc/login.defs.orig" \ |
@@ -145,7 +148,8 @@ auth sufficient pam_rootok.so | ||
145 | 148 | auth include system-auth |
146 | 149 | |
147 | 150 | # 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 | |
149 | 153 | |
150 | 154 | # include system account settings |
151 | 155 | account include system-account |
@@ -160,28 +164,42 @@ session include system-session | ||
160 | 164 | EOF |
161 | 165 | porg -lp+ $TARGET "touch /etc/pam.d/su" |
162 | 166 | |
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 | |
165 | 169 | |
166 | 170 | # always allow root |
167 | 171 | auth sufficient pam_rootok.so |
168 | 172 | |
169 | -# include system defaults for auth account and session | |
173 | +# include system auth and account settings | |
170 | 174 | auth include system-auth |
171 | 175 | 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" | |
173 | 181 | |
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 | |
176 | 194 | |
177 | 195 | # End /etc/pam.d/chage |
178 | 196 | EOF |
179 | 197 | porg -lp+ $TARGET "touch /etc/pam.d/chage" |
180 | 198 | |
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 | |
183 | 201 | do |
184 | - install -m644 /etc/pam.d/chage /etc/pam.d/${PROGRAM} | |
202 | + install -v -m644 /etc/pam.d/chage /etc/pam.d/${PROGRAM} | |
185 | 203 | sed -i "s/chage/$PROGRAM/" /etc/pam.d/${PROGRAM} |
186 | 204 | porg -lp+ $TARGET "touch /etc/pam.d/${PROGRAM}" |
187 | 205 | done |
@@ -3,7 +3,7 @@ | ||
3 | 3 | . ./_blfsset.sh |
4 | 4 | |
5 | 5 | APPNAME=systemd |
6 | -VER=247 | |
6 | +VER=251 | |
7 | 7 | TARGET=$APPNAME-$VER |
8 | 8 | LFSDLD=$LFS/download/LFS |
9 | 9 | TARGETBALL=$LFSDLD/$TARGET.tar.gz |
@@ -26,35 +26,27 @@ TimeStart | ||
26 | 26 | |
27 | 27 | cd $TARGETDIR |
28 | 28 | |
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 | |
34 | 31 | |
35 | 32 | mkdir build |
36 | 33 | cd build |
37 | 34 | |
38 | 35 | Configuring |
39 | 36 | meson --prefix=/usr \ |
40 | - -Dblkid=true \ | |
41 | - -Dbuildtype=release \ | |
37 | + --buildtype=release \ | |
42 | 38 | -Ddefault-dnssec=no \ |
43 | 39 | -Dfirstboot=false \ |
44 | 40 | -Dinstall-tests=false \ |
45 | 41 | -Dldconfig=false \ |
46 | 42 | -Dman=auto \ |
47 | - -Drootprefix= \ | |
48 | - -Drootlibdir=/lib \ | |
49 | - -Dsplit-usr=true \ | |
50 | 43 | -Dsysusers=false \ |
51 | 44 | -Drpmmacrosdir=no \ |
52 | - -Db_lto=false \ | |
53 | 45 | -Dhomed=false \ |
54 | 46 | -Duserdb=false \ |
55 | 47 | -Dmode=release \ |
56 | 48 | -Dpamconfdir=/etc/pam.d \ |
57 | - -Ddocdir=/usr/share/doc/systemd-$VER \ | |
49 | + -Ddocdir=/usr/share/doc/systemd-251 \ | |
58 | 50 | .. \ |
59 | 51 | 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1 |
60 | 52 |
@@ -105,6 +97,6 @@ password required pam_deny.so | ||
105 | 97 | EOF |
106 | 98 | porg -lp+ $TARGET "touch /etc/pam.d/system-user" |
107 | 99 | |
108 | -systemctl daemon-reload | |
109 | -systemctl start multi-user.target | |
100 | +#systemctl daemon-reload | |
101 | +#systemctl start multi-user.target | |
110 | 102 |