pkgname: iptables pkgver: '1.8.13' pkgrel: '1' pkgdesc: The principal firewall tool for Linux. url: 'https://www.iptables.org/' arch: x86_64 license: - GPL2 depends: [] 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