Revisión | 0209a96c3b0f9cb7556f9812f86465d77a041295 (tree) |
---|---|
Tiempo | 2022-06-09 10:52:16 |
Autor | matsuand <30614168+matsuand@user...> |
Commiter | matsuand |
[BLFS] Update iptables-1.8.7 and modify.
@@ -3,7 +3,7 @@ | ||
3 | 3 | . ./_blfsset.sh |
4 | 4 | |
5 | 5 | APPNAME=iptables |
6 | -VER=1.8.4 | |
6 | +VER=1.8.7 | |
7 | 7 | TARGET=$APPNAME-$VER |
8 | 8 | TARGETBALL=$DLD/$TARGET.tar.bz2 |
9 | 9 | TARGETDIR=$TARGET |
@@ -26,10 +26,8 @@ cd $TARGETDIR | ||
26 | 26 | |
27 | 27 | Configuring |
28 | 28 | ./configure --prefix=/usr \ |
29 | - --sbindir=/sbin \ | |
30 | 29 | --disable-nftables \ |
31 | 30 | --enable-libipq \ |
32 | - --with-xtlibdir=/lib/xtables \ | |
33 | 31 | 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1 |
34 | 32 | |
35 | 33 | Making |
@@ -37,23 +35,9 @@ make \ | ||
37 | 35 | 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1 |
38 | 36 | |
39 | 37 | Installing |
40 | -porg -lp $TARGET -E`pwd` "make install" \ | |
38 | +porg -lp $TARGET -E$PWD "make install" \ | |
41 | 39 | 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1 |
42 | 40 | |
43 | -porg -lp+ $TARGET "\ | |
44 | -ln -sfv ../../sbin/xtables-legacy-multi /usr/bin/iptables-xml" \ | |
45 | - 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1 | |
46 | - | |
47 | -for file in ip4tc ip6tc ipq iptc xtables | |
48 | -do | |
49 | - porg -lp+ $TARGET "\ | |
50 | - mv -v /usr/lib/lib${file}.so.* /lib" \ | |
51 | - 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1 && | |
52 | - porg -lp+ $TARGET "\ | |
53 | - ln -sfv ../../lib/$(readlink /usr/lib/lib${file}.so) /usr/lib/lib${file}.so" \ | |
54 | - 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1 | |
55 | -done | |
56 | - | |
57 | 41 | install -v -dm755 /etc/systemd/scripts |
58 | 42 | |
59 | 43 | cat > /etc/systemd/scripts/iptables << "EOF" |