update all scripts

This commit is contained in:
wt
2026-03-06 18:01:24 +07:00
parent c9bb397d65
commit d065fa6e04
26 changed files with 218 additions and 33 deletions
+9 -1
View File
@@ -9,8 +9,16 @@ iptables() {
pkgver=1.8.11
srcurl=https://www.netfilter.org/projects/iptables/files/${pkgname}-${pkgver}.tar.xz
print_info "** Building and installing $pkgname"
[ ! -d $build/$pkgname ] && mkdir $build/$pkgname
[ -d $build/${pkgname} ] && return 0
mkdir -p $build/$pkgname
cd $build/$pkgname
if [ ! -f $root/downloads/${pkgname}-${pkgver}.tar.xz ]; then
print_info "** Downloading $srcurl"
cd $root/downloads
wget $srcurl
check $? "download $srcurl"
cd -
fi
tar -xf $root/downloads/${pkgname}-${pkgver}.tar.xz
cd ${pkgname}-${pkgver}
./configure \