2006-02-23 15:26:10 +00:00
|
|
|
# Description: A Linux kernel packet filter control tool
|
2021-12-13 12:17:22 +01:00
|
|
|
# URL: https://www.iptables.org/
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=iptables
|
2021-01-17 12:29:55 +01:00
|
|
|
version=1.8.7
|
2021-12-13 12:17:22 +01:00
|
|
|
release=2
|
2021-01-17 12:29:55 +01:00
|
|
|
source=(https://www.netfilter.org/projects/$name/files/$name-$version.tar.bz2)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build () {
|
2021-12-13 12:17:22 +01:00
|
|
|
cd $name-$version
|
2018-08-09 11:30:08 +02:00
|
|
|
|
2021-12-13 12:17:22 +01:00
|
|
|
prt-get isinst nftables || PKGMK_IPTABLES="--disable-nftables"
|
2018-08-09 11:30:08 +02:00
|
|
|
|
2021-12-13 12:17:22 +01:00
|
|
|
./configure --prefix=/usr $PKGMK_IPTABLES \
|
|
|
|
--libexecdir=/usr/lib \
|
|
|
|
--enable-libipq
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|