aboutsummaryrefslogtreecommitdiffstats
path: root/main/fping/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-08 00:06:36 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-05-30 15:31:28 +0000
commit6022814d38d6ad1d3cc60bce55e5f8cb444518e7 (patch)
treef05f471858c576b5451c5baf71add058a66c6fed /main/fping/APKBUILD
parent2ee13a8651b29bc78e176701b46d6302eaf2fe49 (diff)
downloadaports-6022814d38d6ad1d3cc60bce55e5f8cb444518e7.tar.gz
aports-6022814d38d6ad1d3cc60bce55e5f8cb444518e7.tar.bz2
aports-6022814d38d6ad1d3cc60bce55e5f8cb444518e7.tar.xz
main/fping: upgrade to 4.2
Diffstat (limited to 'main/fping/APKBUILD')
-rw-r--r--main/fping/APKBUILD18
1 files changed, 8 insertions, 10 deletions
diff --git a/main/fping/APKBUILD b/main/fping/APKBUILD
index e638f5f2ce..e2dfa2e60f 100644
--- a/main/fping/APKBUILD
+++ b/main/fping/APKBUILD
@@ -1,32 +1,30 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fping
-pkgver=4.1
+pkgver=4.2
pkgrel=0
pkgdesc="A utility to ping multiple hosts at once"
url="http://fping.org/"
arch="all"
-license="BSD"
+license="MIT"
subpackages="$pkgname-doc"
source="http://fping.org/dist/fping-$pkgver.tar.gz"
-options="suid"
-builddir="$srcdir/$pkgname-$pkgver"
+options="suid !check" # No testsuite
-build () {
+build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--mandir=/usr/share/man \
- --enable-ipv6 \
- || return 1
- make || return 1
+ --enable-ipv6
+ make
}
package() {
cd "$builddir"
- make install DESTDIR="$pkgdir" || return 1
+ make install DESTDIR="$pkgdir"
chmod 4755 "$pkgdir"/usr/sbin/fping*
}
-sha512sums="cd31ea336985f8d727b0db3c70213b827f0282b0c382694e10c72a89c425f2f7383d07f8f2febdc23aa246ebbf65ac9751b2404be405088963a682945edc80ba fping-4.1.tar.gz"
+sha512sums="2bab34dae539d942eb5e436802e6f74d57c04aa4b782f9adbd6c27830209fdb47707131f20ed966012bcec3d253c9bb3df9033a60b55bfe560af6bb1f572ee8a fping-4.2.tar.gz"