🔒 Repository is read-only – file editing is disabled.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
pkgname: iptables
pkgver: '1.8.13'
pkgrel: '3'
pkgdesc: The principal firewall tool for Linux.
url: 'https://www.iptables.org/'
arch: x86_64
license:
- GPL2
depends:
- libnetfilter_conntrack
- libnfnetlink
- libmnl
- libnftnl
makedepends:
- libmnl
- libnftnl
source:
- 'https://repo.paganlinux.eu/sources/pagan-scripts-20260822.tar.gz'
- 'https://www.netfilter.org/projects/iptables/files/${pkgname}-${pkgver}.tar.xz'
sha256sums:
- 32e0aec88cc56a8afe0b2671debe47d19357792a6ffaffaf6e3db8a021a57072
- SKIP
hooks:
post-install: |
name=iptables
version=1.8.13
release=1
systemctl enable iptables
build: |
cd ${pkgname}-${pkgver}
./configure --prefix=/usr \
--sbindir=/usr/bin \
--enable-libipq
make
make DESTDIR=${PKGDIR} install
# service
cd ../pagan-scripts-20260822
make DESTDIR=${PKGDIR} install-sysd-${pkgname}
# Obsolet libs
rm -f ${PKGDIR}/usr/lib/libip{{6,4}tc,q}.la
rm -f ${PKGDIR}/usr/lib/libxtables.la
package: |
for f in {arp,eb,ip,ip6}tables{,-restore,-save} iptables-xml; do
ln -sf xtables-nft-multi ${PKGDIR}/usr/bin/$f
done