aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2022-03-01 01:11:49 +0100
committerCem Keylan <cem@ckyln.com>2022-03-01 01:12:13 +0100
commit0712fe73b026d73202536f97273d0aeefc7fd38f (patch)
tree6e8acc8449c60d23a653e294bf1d8d7cfd7386a4
parent74c70b4f29dccf4bbfb7c7a13933f55ad1f06a84 (diff)
downloadrepository-0712fe73b026d73202536f97273d0aeefc7fd38f.tar.gz
iptables: fix package
-rwxr-xr-xextra/iptables/build10
-rw-r--r--extra/iptables/checksums3
-rw-r--r--extra/iptables/version2
3 files changed, 10 insertions, 5 deletions
diff --git a/extra/iptables/build b/extra/iptables/build
index 68ed828e..33e64b1a 100755
--- a/extra/iptables/build
+++ b/extra/iptables/build
@@ -1,11 +1,15 @@
#!/bin/sh -e
+export LDFLAGS="$LDFLAGS -static"
+
./configure \
--prefix=/usr \
- --sbindir=/usr/sbin \
+ --sbindir=/usr/bin \
+ --disable-shared \
+ --enable-static \
--enable-libipq \
- --with-xtlibdir=/lib/xtables \
+ --with-xtlibdir=/usr/lib/xtables \
--disable-nftables
-make
+make LDFLAGS="$LDFLAGS -all-static"
make DESTDIR="$1" install
diff --git a/extra/iptables/checksums b/extra/iptables/checksums
index ecfb259f..f9b38590 100644
--- a/extra/iptables/checksums
+++ b/extra/iptables/checksums
@@ -1 +1,2 @@
-c109c96bb04998cd44156622d36f8e04b140701ec60531a10668cfdff5e8d8f0
+%BLAKE3
+c1411b529b73951975e84a1b53e04f05b59ff866d7d4108981e4fd16416205ca iptables-1.8.7.tar.bz2
diff --git a/extra/iptables/version b/extra/iptables/version
index 6b7ba1c3..03a11075 100644
--- a/extra/iptables/version
+++ b/extra/iptables/version
@@ -1 +1 @@
-1.8.7 1
+1.8.7 2