From 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 Mon Sep 17 00:00:00 2001 From: wbx Date: Sun, 17 May 2009 14:41:34 +0200 Subject: Initial import --- package/ipset/Config.in | 9 +++++++++ package/ipset/Makefile | 30 +++++++++++++++++++++++++++++ package/ipset/ipkg/ipset.control | 5 +++++ package/ipset/patches/patch-kernel_ip_set_c | 12 ++++++++++++ 4 files changed, 56 insertions(+) create mode 100644 package/ipset/Config.in create mode 100644 package/ipset/Makefile create mode 100644 package/ipset/ipkg/ipset.control create mode 100644 package/ipset/patches/patch-kernel_ip_set_c (limited to 'package/ipset') diff --git a/package/ipset/Config.in b/package/ipset/Config.in new file mode 100644 index 000000000..d6e41c5a0 --- /dev/null +++ b/package/ipset/Config.in @@ -0,0 +1,9 @@ +config ADK_PACKAGE_IPSET + prompt "ipset............................. Netfilter ip sets administration utility" + tristate + default n + help + Netfilter ip sets administration utility + + http://ipset.netfilter.org/ + diff --git a/package/ipset/Makefile b/package/ipset/Makefile new file mode 100644 index 000000000..c299bd88a --- /dev/null +++ b/package/ipset/Makefile @@ -0,0 +1,30 @@ +# $Id$ +#- +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include ${TOPDIR}/rules.mk + +PKG_NAME:= ipset +PKG_VERSION:= 2.3.3a +PKG_RELEASE:= 1 +PKG_MD5SUM:= c7d2f165242edaef5581db0f7d5af520 +MASTER_SITES:= http://ipset.netfilter.org/ +DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2 + +include ${TOPDIR}/mk/package.mk + +$(eval $(call PKG_template,IPSET,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${ARCH})) + +XAKE_FLAGS+= KERNEL_DIR=${LINUX_DIR} PREFIX=/usr LD=$(TARGET_CROSS)ld +BUILD_STYLE= auto +INSTALL_STYLE= auto +INSTALL_TARGET= binaries_install + +post-install: + ${INSTALL_DIR} ${IDIR_IPSET}/usr/sbin + ${INSTALL_DIR} ${IDIR_IPSET}/usr/lib/ipset + ${INSTALL_BIN} ${WRKINST}/usr/sbin/ipset ${IDIR_IPSET}/usr/sbin + ${CP} ${WRKINST}/usr/lib/ipset/*.so ${IDIR_IPSET}/usr/lib/ipset/ + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/ipset/ipkg/ipset.control b/package/ipset/ipkg/ipset.control new file mode 100644 index 000000000..f7f6ae0e6 --- /dev/null +++ b/package/ipset/ipkg/ipset.control @@ -0,0 +1,5 @@ +Package: ipset +Priority: optional +Section: net +Description: Netfilter ip sets administration utility +Depends: kmod-iptables-extra diff --git a/package/ipset/patches/patch-kernel_ip_set_c b/package/ipset/patches/patch-kernel_ip_set_c new file mode 100644 index 000000000..bf931398f --- /dev/null +++ b/package/ipset/patches/patch-kernel_ip_set_c @@ -0,0 +1,12 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- ipset-2.3.3a.orig/kernel/ip_set.c 2008-07-16 19:17:55.000000000 +0200 ++++ ipset-2.3.3a/kernel/ip_set.c 2008-10-20 16:38:11.000000000 +0200 +@@ -24,7 +24,7 @@ + #include + #include + #include +-#include ++#include + #include + #include + -- cgit v1.2.3