aboutsummaryrefslogtreecommitdiff
path: root/extra/iptables
diff options
context:
space:
mode:
Diffstat (limited to 'extra/iptables')
-rwxr-xr-xextra/iptables/build13
-rw-r--r--extra/iptables/checksums3
-rw-r--r--extra/iptables/meta3
-rw-r--r--extra/iptables/sources2
-rw-r--r--extra/iptables/version2
5 files changed, 17 insertions, 6 deletions
diff --git a/extra/iptables/build b/extra/iptables/build
index 68ed828e..84186e0f 100755
--- a/extra/iptables/build
+++ b/extra/iptables/build
@@ -1,11 +1,18 @@
#!/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
+clsed '/^#include <netinet\/ether.h>/d' libxtables/xtables.c
+clsed 's/u_int16_t/uint16_t/g' iptables/xshared.h
+
+make LDFLAGS="$LDFLAGS -all-static"
make DESTDIR="$1" install
diff --git a/extra/iptables/checksums b/extra/iptables/checksums
index ecfb259f..eb319fbf 100644
--- a/extra/iptables/checksums
+++ b/extra/iptables/checksums
@@ -1 +1,2 @@
-c109c96bb04998cd44156622d36f8e04b140701ec60531a10668cfdff5e8d8f0
+%BLAKE3
+69cc827247ee4b240e68f5862140ad70febf5c499a727df6c7652fab6be0da8d iptables-1.8.10.tar.xz
diff --git a/extra/iptables/meta b/extra/iptables/meta
new file mode 100644
index 00000000..2c21c14f
--- /dev/null
+++ b/extra/iptables/meta
@@ -0,0 +1,3 @@
+description: Linux IP packet filtering program
+license: GPL-2.0-or-later
+maintainer: Cem Keylan <cem@carbslinux.org>
diff --git a/extra/iptables/sources b/extra/iptables/sources
index 355baeca..982c268d 100644
--- a/extra/iptables/sources
+++ b/extra/iptables/sources
@@ -1 +1 @@
-https://fossies.org/linux/misc/iptables-1.8.7.tar.bz2
+http://www.netfilter.org/projects/iptables/files/iptables-1.8.10.tar.xz
diff --git a/extra/iptables/version b/extra/iptables/version
index 6b7ba1c3..b7b9ed84 100644
--- a/extra/iptables/version
+++ b/extra/iptables/version
@@ -1 +1 @@
-1.8.7 1
+1.8.10 1