mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 15:07:49 +00:00
new package: add package 'iptables' (libiptc)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
572c9036b8
commit
cc3b01b20b
14
packages/network/iptables/build
Executable file
14
packages/network/iptables/build
Executable file
@ -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
|
6
packages/network/iptables/install
Executable file
6
packages/network/iptables/install
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -P $PKG_BUILD/libiptc/.libs/*.so* $INSTALL/usr/lib
|
14
packages/network/iptables/meta
Normal file
14
packages/network/iptables/meta
Normal file
@ -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"
|
Loading…
x
Reference in New Issue
Block a user