From cc3b01b20be3655ba57f5a3bf59cca66c04e59f1 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Tue, 27 Jul 2010 11:37:52 +0200 Subject: [PATCH] new package: add package 'iptables' (libiptc) Signed-off-by: Stephan Raue --- packages/network/iptables/build | 14 ++++++++++++++ packages/network/iptables/install | 6 ++++++ packages/network/iptables/meta | 14 ++++++++++++++ 3 files changed, 34 insertions(+) create mode 100755 packages/network/iptables/build create mode 100755 packages/network/iptables/install create mode 100644 packages/network/iptables/meta diff --git a/packages/network/iptables/build b/packages/network/iptables/build new file mode 100755 index 0000000000..18a451af7d --- /dev/null +++ b/packages/network/iptables/build @@ -0,0 +1,14 @@ +#!/bin/sh + +. config/options $1 + +cd $PKG_BUILD +./configure --host=$TARGET_NAME \ + --build=$HOST_NAME \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static \ + --enable-shared \ + +make diff --git a/packages/network/iptables/install b/packages/network/iptables/install new file mode 100755 index 0000000000..82912b19b0 --- /dev/null +++ b/packages/network/iptables/install @@ -0,0 +1,6 @@ +#!/bin/sh + +. config/options $1 + +mkdir -p $INSTALL/usr/lib + cp -P $PKG_BUILD/libiptc/.libs/*.so* $INSTALL/usr/lib diff --git a/packages/network/iptables/meta b/packages/network/iptables/meta new file mode 100644 index 0000000000..b977151b52 --- /dev/null +++ b/packages/network/iptables/meta @@ -0,0 +1,14 @@ +PKG_NAME="iptables" +PKG_VERSION="1.4.8" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://www.netfilter.org/" +PKG_URL="ftp://ftp.netfilter.org/pub/iptables/$PKG_NAME-$PKG_VERSION.tar.bz2" +PKG_DEPENDS="" +PKG_BUILD_DEPENDS="toolchain" +PKG_PRIORITY="optional" +PKG_SECTION="network" +PKG_SHORTDESC="iptables: IP packet filter administration" +PKG_LONGDESC="Iptables is used to set up, maintain, and inspect the tables of IP packet filter rules in the Linux kernel. There are several different tables which may be defined, and each table contains a number of built-in chains, and may contain user-defined chains." +PKG_IS_ADDON="no"