diff options
author | Dirk Neukirchen <dirkneukirchen@web.de> | 2016-05-31 09:23:46 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-06-07 23:03:11 +0200 |
commit | 652ac2c6fd43efda4456820858189c6d246221c4 (patch) | |
tree | 58789c69f90ff58394ebd7362450c5077bde2c68 /package/network | |
parent | 20c608db0aa756b5a218990c80edda56486f4527 (diff) | |
download | upstream-652ac2c6fd43efda4456820858189c6d246221c4.tar.gz upstream-652ac2c6fd43efda4456820858189c6d246221c4.tar.bz2 upstream-652ac2c6fd43efda4456820858189c6d246221c4.zip |
xtables-addons: update to 2.11
- fix compilation w. Kernel 4.6 due to
hash->shash crypto API
- remove a patch integrated upstream
- remove unrecognized configure option
removed upstream in 2010
commit 40d0345f1ed02de183b13a6ce38847bc1f4ac48e
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Diffstat (limited to 'package/network')
3 files changed, 8 insertions, 60 deletions
diff --git a/package/network/utils/xtables-addons/Makefile b/package/network/utils/xtables-addons/Makefile index 8dfbe822be..0842e1185a 100644 --- a/package/network/utils/xtables-addons/Makefile +++ b/package/network/utils/xtables-addons/Makefile @@ -9,9 +9,9 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=xtables-addons -PKG_VERSION:=2.10 +PKG_VERSION:=2.11 PKG_RELEASE:=1 -PKG_MD5SUM:=727bf0dd4a3d9c65724267bd0d5d80b0 +PKG_MD5SUM:=9f3123295db81a9d1bc08dabf075d0d6 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@SF/xtables-addons @@ -39,7 +39,6 @@ endef CONFIGURE_ARGS+= \ --with-kbuild="$(LINUX_DIR)" \ - --with-xtables="$(STAGING_DIR)/usr" \ --with-xtlibdir="/usr/lib/iptables" \ define Build/Compile diff --git a/package/network/utils/xtables-addons/patches/001-build-fix-configure-compatiblity-with-POSIX-shells.patch b/package/network/utils/xtables-addons/patches/001-build-fix-configure-compatiblity-with-POSIX-shells.patch deleted file mode 100644 index e0b11b5459..0000000000 --- a/package/network/utils/xtables-addons/patches/001-build-fix-configure-compatiblity-with-POSIX-shells.patch +++ /dev/null @@ -1,51 +0,0 @@ -From f07a0a5cb8b3c5e1aee8b30c7fa21ccfbf24a95a Mon Sep 17 00:00:00 2001 -Message-Id: <f07a0a5cb8b3c5e1aee8b30c7fa21ccfbf24a95a.1459880505.git.mschiffer@universe-factory.net> -From: Matthias Schiffer <mschiffer@universe-factory.net> -Date: Fri, 1 Apr 2016 22:24:00 +0200 -Subject: [PATCH] build: fix configure compatiblity with POSIX shells - -The kernel version detection code uses some bashisms, which makes the build -fail on Debian systems where /bin/sh links to dash. Replace with POSIX- -conforming commands at the cost of requiring awk. ---- - configure.ac | 24 +++++++++--------------- - 1 file changed, 9 insertions(+), 15 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 82a1355..5a5ea57 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -44,21 +44,15 @@ regular_CFLAGS="-Wall -Waggregate-return -Wmissing-declarations \ - - if test -n "$kbuilddir"; then - AC_MSG_CHECKING([kernel version that we will build against]) -- krel="$(make -sC "$kbuilddir" M=$PWD kernelrelease)"; -- kmajor="${krel%%[[^0-9]]*}"; -- kmajor="$(($kmajor+0))"; -- krel="${krel:${#kmajor}}"; -- krel="${krel#.}"; -- kminor="${krel%%[[^0-9]]*}"; -- kminor="$(($kminor+0))"; -- krel="${krel:${#kminor}}"; -- krel="${krel#.}"; -- kmicro="${krel%%[[^0-9]]*}"; -- kmicro="$(($kmicro+0))"; -- krel="${krel:${#kmicro}}"; -- krel="${krel#.}"; -- kstable="${krel%%[[^0-9]]*}"; -- kstable="$(($kstable+0))"; -+ krel="$(make -sC "$kbuilddir" M=$PWD kernelrelease | $AWK -v 'FS=[[^0-9.]]' '{print $1; exit}')"; -+ save_IFS=$IFS; -+ IFS='.'; -+ set x $krel; -+ IFS=$save_IFS; -+ kmajor="$(($2+0))"; -+ kminor="$(($3+0))"; -+ kmicro="$(($4+0))"; -+ kstable="$(($5+0))"; - if test -z "$kmajor" -o -z "$kminor" -o -z "$kmicro"; then - echo "WARNING: Version detection did not succeed. Continue at own luck."; - else --- -2.8.0 - diff --git a/package/network/utils/xtables-addons/patches/002-fix-kernel-version-detection.patch b/package/network/utils/xtables-addons/patches/002-fix-kernel-version-detection.patch index 6a7a099fcc..775ccf657c 100644 --- a/package/network/utils/xtables-addons/patches/002-fix-kernel-version-detection.patch +++ b/package/network/utils/xtables-addons/patches/002-fix-kernel-version-detection.patch @@ -1,11 +1,11 @@ --- a/configure.ac +++ b/configure.ac -@@ -44,7 +44,7 @@ regular_CFLAGS="-Wall -Waggregate-return -Wmissing-declarations \ +@@ -44,7 +44,7 @@ regular_CFLAGS="-Wall -Waggregate-return if test -n "$kbuilddir"; then AC_MSG_CHECKING([kernel version that we will build against]) -- krel="$(make -sC "$kbuilddir" M=$PWD kernelrelease | $AWK -v 'FS=[[^0-9.]]' '{print $1; exit}')"; -+ krel="$(make -sC "$kbuilddir" M=$PWD kernelversion | $AWK -v 'FS=[[^0-9.]]' '{print $1; exit}')"; - save_IFS=$IFS; - IFS='.'; - set x $krel; +- krel="$(make -sC "$kbuilddir" M=$PWD kernelrelease | $AWK -v 'FS=[[^0-9.]]' '{print $1; exit}')" ++ krel="$(make -sC "$kbuilddir" M=$PWD kernelversion | $AWK -v 'FS=[[^0-9.]]' '{print $1; exit}')" + save_IFS="$IFS" + IFS='.' + set x $krel |