From c92a157b88e64f5737cf39fc626a3729d7798f30 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 24 Jan 2010 20:41:44 +0000 Subject: [PATCH] [packages] xtables-addons: update to v1.22 and fix compile against iptables 1.4.6 SVN-Revision: 19318 --- net/xtables-addons/Makefile | 5 ++-- .../patches/001-no_depmod.patch | 11 ++++---- .../patches/002-portability.patch | 26 ------------------- 3 files changed, 9 insertions(+), 33 deletions(-) delete mode 100644 net/xtables-addons/patches/002-portability.patch diff --git a/net/xtables-addons/Makefile b/net/xtables-addons/Makefile index eec557bf30..3c84c9255d 100644 --- a/net/xtables-addons/Makefile +++ b/net/xtables-addons/Makefile @@ -9,11 +9,11 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=xtables-addons -PKG_VERSION:=1.18 +PKG_VERSION:=1.22 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_MD5SUM:=5a8d2edbf5a3470bba58d6a60c350805 +PKG_MD5SUM:=990e2d84a1767c8247c92ae7b11e53a9 PKG_SOURCE_URL:=@SF/xtables-addons PKG_BUILD_DEPENDS:=iptables @@ -39,6 +39,7 @@ define Build/Compile CROSS_COMPILE="$(TARGET_CROSS)" \ DESTDIR="$(PKG_INSTALL_DIR)" \ DEPMOD="/bin/true" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ all install endef diff --git a/net/xtables-addons/patches/001-no_depmod.patch b/net/xtables-addons/patches/001-no_depmod.patch index 38fc8fdf64..256d61bbfb 100644 --- a/net/xtables-addons/patches/001-no_depmod.patch +++ b/net/xtables-addons/patches/001-no_depmod.patch @@ -1,11 +1,12 @@ --- a/Makefile.in +++ b/Makefile.in -@@ -753,7 +753,7 @@ install-dvi: install-dvi-recursive - +@@ -751,8 +751,7 @@ install-dvi-am: --install-exec-am: install-exec-local -+install-exec-am: - + install-exec-am: +- @$(NORMAL_INSTALL) +- $(MAKE) $(AM_MAKEFLAGS) install-exec-hook ++ install-html: install-html-recursive + install-html-am: diff --git a/net/xtables-addons/patches/002-portability.patch b/net/xtables-addons/patches/002-portability.patch deleted file mode 100644 index acd854d422..0000000000 --- a/net/xtables-addons/patches/002-portability.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- a/extensions/GNUmakefile.in -+++ b/extensions/GNUmakefile.in -@@ -2,8 +2,8 @@ - - top_srcdir := @top_srcdir@ - srcdir := @srcdir@ --abstop_srcdir := $(shell readlink -f ${top_srcdir}) --abssrcdir := $(shell readlink -f ${srcdir}) -+abstop_srcdir := $(shell cd ${top_srcdir} && pwd) -+abssrcdir := $(shell cd ${srcdir} && pwd) - - ifeq (${abstop_srcdir},) - $(error Path resolution of ${top_srcdir} failed) ---- a/extensions/ipset/GNUmakefile.in -+++ b/extensions/ipset/GNUmakefile.in -@@ -3,8 +3,8 @@ - top_srcdir := @top_srcdir@ - srcdir := @srcdir@ - datarootdir := @datarootdir@ --abstop_srcdir := $(shell readlink -f ${top_srcdir}) --abssrcdir := $(shell readlink -f ${srcdir}) -+abstop_srcdir := $(shell cd ${top_srcdir} && pwd) -+abssrcdir := $(shell cd ${srcdir} && pwd) - - ifeq (${abstop_srcdir},) - $(error Path resolution of ${top_srcdir} failed) -- 2.30.2