summaryrefslogtreecommitdiffstats
path: root/patches/iptables-1.6.1
diff options
context:
space:
mode:
authorJuergen Borleis <jbe@pengutronix.de>2017-10-04 11:15:27 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2017-10-09 12:35:46 +0200
commit54c97eedd918a2d7780ed8e5830c36e074b1c0c6 (patch)
treee7fdd9d38a446ab94d39de2e67308a53e80f93b9 /patches/iptables-1.6.1
parent19ebf34cc163944f1fb1b5b22fc5f5d104790cc8 (diff)
downloadptxdist-54c97eedd918a2d7780ed8e5830c36e074b1c0c6.tar.gz
ptxdist-54c97eedd918a2d7780ed8e5830c36e074b1c0c6.tar.xz
iptables: bump version and fix large file support
The configure script handles the "--*-largefile" parameter badly. It defaults to large file support if not given and always disables largefile support if given (and it doesn't matter if 'enable' or 'disable' was used) Due to the version bump, the previously required patch can be replaced, because its already part of the new version. Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/iptables-1.6.1')
-rw-r--r--patches/iptables-1.6.1/0001-iptables-define-macros-if-large-file-feature-is-enab.patch28
l---------patches/iptables-1.6.1/autogen.sh1
-rw-r--r--patches/iptables-1.6.1/series4
3 files changed, 33 insertions, 0 deletions
diff --git a/patches/iptables-1.6.1/0001-iptables-define-macros-if-large-file-feature-is-enab.patch b/patches/iptables-1.6.1/0001-iptables-define-macros-if-large-file-feature-is-enab.patch
new file mode 100644
index 000000000..857e3e7e1
--- /dev/null
+++ b/patches/iptables-1.6.1/0001-iptables-define-macros-if-large-file-feature-is-enab.patch
@@ -0,0 +1,28 @@
+From: Juergen Borleis <jbe@pengutronix.de>
+Date: Fri, 25 Aug 2017 14:31:45 +0200
+Subject: [PATCH] iptables: define macros if large file feature is enabled
+
+Currently the feature is enabled by default, but always disabled when
+the large file parameter is defined.
+
+Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
+---
+ configure.ac | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index eda7871405b3..30445d7deda8 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -42,8 +42,9 @@ AC_ARG_ENABLE([ipv6],
+ AC_ARG_ENABLE([largefile],
+ AS_HELP_STRING([--disable-largefile], [Do not build largefile support]),
+ [enable_largefile="$enableval"],
+- [enable_largefile="yes";
+- largefile_cppflags='-D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64'])
++ [enable_largefile="yes"])
++AS_IF([test "$enable_largefile" = "yes"], [largefile_cppflags='-D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64'])
++
+ AC_ARG_ENABLE([devel],
+ AS_HELP_STRING([--enable-devel],
+ [Install Xtables development headers]),
diff --git a/patches/iptables-1.6.1/autogen.sh b/patches/iptables-1.6.1/autogen.sh
new file mode 120000
index 000000000..9f8a4cb7d
--- /dev/null
+++ b/patches/iptables-1.6.1/autogen.sh
@@ -0,0 +1 @@
+../autogen.sh \ No newline at end of file
diff --git a/patches/iptables-1.6.1/series b/patches/iptables-1.6.1/series
new file mode 100644
index 000000000..fb8e9a3d3
--- /dev/null
+++ b/patches/iptables-1.6.1/series
@@ -0,0 +1,4 @@
+# generated by git-ptx-patches
+#tag:base --start-number 1
+0001-iptables-define-macros-if-large-file-feature-is-enab.patch
+# 181c8cbca17b2bae3bba2e32f6c163ad - git-ptx-patches magic