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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Tue Nov 6 09:52:09 UTC 2018


    Date: Tuesday, November 6, 2018 @ 09:52:09
  Author: bpiotrowski
Revision: 337914

upgpkg: iptables 1:1.8.1-2

rename also save and restore commands

Modified:
  iptables/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 07:21:11 UTC (rev 337913)
+++ PKGBUILD	2018-11-06 09:52:09 UTC (rev 337914)
@@ -3,7 +3,7 @@
 
 pkgname=iptables
 pkgver=1.8.1
-pkgrel=1
+pkgrel=2
 epoch=1
 pkgdesc='Linux kernel packet control tool'
 arch=(x86_64)
@@ -74,6 +74,10 @@
   # 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
 
   # install systemd files
   install -Dm644 iptables.service \


More information about the arch-commits mailing list