core/iptables/Pkgfile

22 lines
488 B
Plaintext

# Description: A Linux kernel packet filter control tool
# URL: https://www.iptables.org/
# Maintainer: CRUX System Team, core-ports at crux dot nu
name=iptables
version=1.8.7
release=2
source=(https://www.netfilter.org/projects/$name/files/$name-$version.tar.bz2)
build () {
cd $name-$version
prt-get isinst nftables || PKGMK_IPTABLES="--disable-nftables"
./configure --prefix=/usr $PKGMK_IPTABLES \
--libexecdir=/usr/lib \
--enable-libipq
make
make DESTDIR=$PKG install
}