summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorlilac2023-02-02 04:21:23 +0800
committerlilac2023-02-02 04:21:23 +0800
commita6fc07e0b69cb41742baf73279fe2b7227740b4e (patch)
tree1793b333586ea0dca0697d949d3ddaa8bc69ff89 /PKGBUILD
parent5ce0e42ddcb59550104e589d59128826e5e7c907 (diff)
downloadaur-a6fc07e0b69cb41742baf73279fe2b7227740b4e.tar.gz
[lilac] updated to 1:1.8.9-2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 14 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 58427e266c87..c62377fa6937 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgbase=iptables
pkgbase=iptables-fullconenat
pkgname=(iptables-fullconenat iptables-fullconenat-nft)
-pkgver=1.8.8
+pkgver=1.8.9
pkgrel=2
epoch=1
pkgdesc='Linux kernel packet control tool with FULLCONENAT support.'
@@ -17,13 +17,14 @@ provides=('iptables')
conflicts=(iptables)
install=${pkgbase}.install
backup=(etc/ethertypes etc/iptables/{ip,ip6}tables.rules)
-source=(https://www.netfilter.org/projects/iptables/files/$_pkgbase-$pkgver.tar.bz2{,.sig}
+source=(https://www.netfilter.org/projects/iptables/files/$_pkgbase-$pkgver.tar.xz{,.sig}
empty.rules simple_firewall.rules empty-{filter,mangle,nat,raw,security}.rules
{arp,eb,ip,ip6}tables.service iptables-{legacy,nft}-flush
- "iptables-format-security.patch::https://git.netfilter.org/iptables/patch/?id=b72eb12e"
+ iptables-format-security-libxt_NAT.patch::https://git.netfilter.org/iptables/patch/?id=ed4082a7405a5838c205a34c1559e289949200cc
+ iptables-apply-default-path.patch
"libipt_FULLCONENAT.c::https://raw.githubusercontent.com/llccd/netfilter-full-cone-nat/dev/libipt_FULLCONENAT.c"
"libip6t_FULLCONENAT.c::https://raw.githubusercontent.com/llccd/netfilter-full-cone-nat/dev/libip6t_FULLCONENAT.c")
-sha1sums=('98783621a5e58ff55f83b1350523f3de41af621d'
+sha1sums=('f47bc1026858d7078c8d0544bbb9bea5c08fd9ad'
'SKIP'
'83b3363878e3660ce23b2ad325b53cbd6c796ecf'
'f085a71f467e4d7cb2cf094d9369b0bcc4bab6ec'
@@ -38,9 +39,10 @@ sha1sums=('98783621a5e58ff55f83b1350523f3de41af621d'
'9cec592787e32451f58fa608ea057870e07aa704'
'd10af7780d1634778d898c709e2d950aa1561856'
'15c1684f3e671f4d0ede639a7c9c08e1a841511c'
- 'df4b0a31dfa01cff65926d439ab1475f246d4e74'
- '4a4f5ebc8e30c573f9c3220b8135e3101f8da18c'
- '878a1e0a306f274b285a26d3d4a3f2072caa31e3')
+ '24bd426b56c8fbc8df51a5666d2bff7db8314c6f'
+ '454d0a6d3bca14b8702e7c5e2672f5bc0c832b85'
+ '1d320a1193a754d5cb4afa7c4b8bb27316c7dd95'
+ 'abec6a9a953101c0345d60e5812393243cc7bb7b')
validpgpkeys=('C09DB2063F1D7034BA6152ADAB4655A126D292E4'
'37D964ACC04981C75500FB9BD55D978A8A1420E4') # Netfilter Core Team
@@ -53,7 +55,10 @@ prepare() {
rm include/linux/types.h
ln -rs libiptc/linux_list.h include/libiptc
- patch -p1 -i ../iptables-format-security.patch # Fix build with -Werror=format-security
+ patch -p1 -i ../iptables-format-security-libxt_NAT.patch # Fix build with -Werror=format-security
+
+ # use Arch path
+ patch -p0 -i ../iptables-apply-default-path.patch
}
build() {
@@ -92,7 +97,7 @@ package_iptables-fullconenat-nft() {
_package() {
DESTDIR="$pkgdir" make -C build install
- for _x in {arp,eb,ip,ip6}tables{,-restore,-save} iptables-apply iptables-xml; do
+ for _x in {arp,eb,ip,ip6}tables{,-restore,-save} iptables-xml; do
if [[ $1 = nft || $_x = ip* ]]; then
ln -sf xtables-$1-multi "$pkgdir/usr/bin/$_x"
else