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

Ronald van Haren ronald at archlinux.org
Tue Sep 11 20:13:52 UTC 2018


    Date: Tuesday, September 11, 2018 @ 20:13:52
  Author: ronald
Revision: 334395

upgpkg: iptables 1.8.0-2

add iptables-apply FS#51232

Modified:
  iptables/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-11 19:51:39 UTC (rev 334394)
+++ PKGBUILD	2018-09-11 20:13:52 UTC (rev 334395)
@@ -3,7 +3,7 @@
 
 pkgname=iptables
 pkgver=1.8.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Linux kernel packet control tool'
 arch=(x86_64)
 license=(GPL2)
@@ -79,4 +79,11 @@
     install -Dm755 $helper \
       "$pkgdir/usr/lib/systemd/scripts/$helper"
   done
+
+  # install iptables-apply
+  cd $srcdir/$pkgname-$pkgver
+  install -Dm755 $pkgname/iptables-apply \
+      "$pkgdir/usr/bin/iptables-apply"
+  gzip --to-stdout --best $pkgname/iptables-apply.8 > \
+      "$pkgdir/usr/share/man/man8/iptables-apply.8.gz"
 }



More information about the arch-commits mailing list