[arch-commits] Commit in iptables/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Tue Nov 6 12:07:37 UTC 2018


    Date: Tuesday, November 6, 2018 @ 12:07:37
  Author: heftig
Revision: 337916

1.8.1-3: Remove broken -compat links; the proper ones have -nft

Modified:
  iptables/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 09:52:17 UTC (rev 337915)
+++ PKGBUILD	2018-11-06 12:07:37 UTC (rev 337916)
@@ -3,7 +3,7 @@
 
 pkgname=iptables
 pkgver=1.8.1
-pkgrel=2
+pkgrel=3
 epoch=1
 pkgdesc='Linux kernel packet control tool'
 arch=(x86_64)
@@ -72,12 +72,7 @@
 
   # iptables 1.8.0 claims compatibility with ebtables and arptables but it's not
   # really true according to users: https://bugs.archlinux.org/task/60062
-  mv "$pkgdir/usr/bin/"ebtables{,-compat}
-  mv "$pkgdir/usr/bin/"arptables{,-compat}
-  for x in restore save; do
-    mv "$pkgdir/usr/bin/ebtables-$x" "$pkgdir/usr/bin/ebtables-compat-$x"
-    mv "$pkgdir/usr/bin/arptables-$x" "$pkgdir/usr/bin/arptables-compat-$x"
-  done
+  rm "$pkgdir"/usr/bin/{arp,eb}tables{,-restore,-save}
 
   # install systemd files
   install -Dm644 iptables.service \



More information about the arch-commits mailing list