[arch-commits] Commit in iputils/trunk (PKGBUILD iputils.install)

Stéphane Gaudreault stephane at archlinux.org
Mon Oct 1 19:26:20 UTC 2012


    Date: Monday, October 1, 2012 @ 15:26:19
  Author: stephane
Revision: 167381

upgpkg: iputils 20101006-5

Workaround to install on NFS (fix FS#31748)

Modified:
  iputils/trunk/PKGBUILD
  iputils/trunk/iputils.install

-----------------+
 PKGBUILD        |    2 +-
 iputils.install |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-10-01 19:24:15 UTC (rev 167380)
+++ PKGBUILD	2012-10-01 19:26:19 UTC (rev 167381)
@@ -5,7 +5,7 @@
 
 pkgname=iputils
 pkgver=20101006
-pkgrel=4
+pkgrel=5
 pkgdesc="IP Configuration Utilities (and Ping)"
 arch=('i686' 'x86_64')
 license=('GPL')

Modified: iputils.install
===================================================================
--- iputils.install	2012-10-01 19:24:15 UTC (rev 167380)
+++ iputils.install	2012-10-01 19:26:19 UTC (rev 167381)
@@ -1,6 +1,6 @@
 post_install() {
-  setcap cap_net_raw=ep usr/bin/ping 
-  setcap cap_net_raw=ep usr/bin/ping6 
+  setcap cap_net_raw=ep usr/bin/ping  2>/dev/null || chmod +s usr/bin/ping 
+  setcap cap_net_raw=ep usr/bin/ping6 2>/dev/null || chmod +s usr/bin/ping6
   echo " >> Traceroute is now provided by core/traceroute"
 }
 




More information about the arch-commits mailing list