修訂 | 59110dd23b9685bf429794b6d03be0b107954677 (tree) |
---|---|
時間 | 2021-12-22 15:15:34 |
作者 | matsuand <30614168+matsuand@user...> |
Commiter | matsuand |
[BLFS] Modify cracklib.
@@ -26,6 +26,7 @@ cd $TARGETDIR | ||
26 | 26 | sed -i '/skipping/d' util/packer.c |
27 | 27 | |
28 | 28 | Configuring |
29 | +PYTHON=python3 CPPFLAGS=-I/usr/include/python3.9 \ | |
29 | 30 | ./configure --prefix=/usr \ |
30 | 31 | --disable-static \ |
31 | 32 | --with-default-dict=/lib/cracklib/pw_dict \ |
@@ -40,31 +41,26 @@ porg -lp $TARGET "make install" \ | ||
40 | 41 | 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1 |
41 | 42 | |
42 | 43 | porg -lp+ $TARGET "\ |
43 | -mv -v /usr/lib/libcrack.so.* /lib" \ | |
44 | - 1>> $LOG/$TARGET.3_install.log 2>&1 | |
45 | -porg -lp+ $TARGET "\ | |
46 | -ln -sfv ../../lib/$(readlink /usr/lib/libcrack.so) /usr/lib/libcrack.so" \ | |
47 | - 1>> $LOG/$TARGET.3_install.log 2>&1 | |
48 | - | |
49 | -porg -lp+ $TARGET "\ | |
50 | 44 | install -v -m644 -D $DLD/cracklib-words-$VER.bz2 \ |
51 | 45 | /usr/share/dict/cracklib-words.bz2" \ |
52 | 46 | 1>> $LOG/$TARGET.3_install.log 2>&1 |
53 | 47 | |
54 | 48 | porg -lp+ $TARGET "\ |
55 | -gunzip -v /usr/share/dict/cracklib-words.bz2" \ | |
49 | +bunzip2 -v /usr/share/dict/cracklib-words.bz2" \ | |
56 | 50 | 1>> $LOG/$TARGET.3_install.log 2>&1 |
57 | -porg -lp+ $TARGET 'ln -v -s cracklib-words /usr/share/dict/words' \ | |
51 | +porg -lp+ $TARGET "\ | |
52 | +ln -v -s cracklib-words /usr/share/dict/words" \ | |
58 | 53 | 1>> $LOG/$TARGET.3_install.log 2>&1 |
59 | 54 | |
60 | 55 | echo $(hostname) >>/usr/share/dict/cracklib-extra-words |
61 | 56 | porg -lp+ $TARGET "cp $DLD/japanese /usr/share/dict" \ |
62 | 57 | 1>> $LOG/$TARGET.3_install.log 2>&1 |
63 | -porg -lp+ $TARGET 'install -v -m755 -d /lib/cracklib' \ | |
64 | - 1>> $LOG/$TARGET.3_install.log 2>&1 | |
65 | -porg -lp+ $TARGET 'create-cracklib-dict /usr/share/dict/cracklib-words \ | |
66 | - /usr/share/dict/cracklib-extra-words \ | |
67 | - /usr/share/dict/japanese' \ | |
58 | +install -v -m755 -d /usr/lib/cracklib | |
59 | +porg -lp+ $TARGET "\ | |
60 | +create-cracklib-dict \ | |
61 | + /usr/share/dict/cracklib-words \ | |
62 | + /usr/share/dict/cracklib-extra-words \ | |
63 | + /usr/share/dict/japanese" \ | |
68 | 64 | 1>> $LOG/$TARGET.3_install.log 2>&1 |
69 | 65 | |
70 | 66 | TimeEnd |