summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core/fping/PKGBUILD24
1 files changed, 14 insertions, 10 deletions
diff --git a/abs/core/fping/PKGBUILD b/abs/core/fping/PKGBUILD
index e2de78e..b2414a5 100644
--- a/abs/core/fping/PKGBUILD
+++ b/abs/core/fping/PKGBUILD
@@ -1,32 +1,36 @@
-# $Id: PKGBUILD 130929 2011-07-09 05:53:00Z giovanni $
+# $Id: PKGBUILD 200236 2013-11-23 17:36:41Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=fping
-pkgver=2.4b2
-pkgrel=5
+pkgver=3.8
+pkgrel=2
pkgdesc="A utility to ping multiple hosts at once"
arch=('i686' 'x86_64')
-url="http://www.fping.com/"
+url="http://www.fping.org/"
license=('custom')
depends=('glibc')
-source=("http://fping.sourceforge.net/download/${pkgname}.tar.gz")
-md5sums=('d5e8be59e307cef76bc479e1684df705')
+source=("http://www.fping.org/dist/${pkgname}-${pkgver}.tar.gz")
build() {
- cd $srcdir/$pkgname-$pkgver\_to
+ cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr \
- --mandir=/usr/share/man
+ --sbindir=/usr/bin \
+ --mandir=/usr/share/man \
+ --enable-ipv4 \
+ --enable-ipv6
make
}
package() {
- cd $srcdir/$pkgname-$pkgver\_to
+ cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="${pkgdir}" install
# install license
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
- chmod 4755 ${pkgdir}/usr/sbin/fping
+ chmod 4555 ${pkgdir}/usr/bin/fping
+ chmod 4555 ${pkgdir}/usr/bin/fping6
}
+md5sums=('1e36467cc96a4ca959925ac167ea19af')