aboutsummaryrefslogtreecommitdiffstats
path: root/main/fping
diff options
context:
space:
mode:
authorƁukasz Jendrysik <scadu@yandex.com>2017-01-15 13:58:18 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-01-17 01:11:32 +0100
commit60e59b866f2e44c2cab9db8c685bcc7310a2c854 (patch)
tree6198f314584461982dd5b35f778428f7af97ce71 /main/fping
parent5fc22268ac01224cf8d42da3530fe5dd9cb1cc31 (diff)
downloadaports-60e59b866f2e44c2cab9db8c685bcc7310a2c854.tar.bz2
aports-60e59b866f2e44c2cab9db8c685bcc7310a2c854.tar.xz
main/fping: upgrade to 3.15. clean up APKBUILD
Diffstat (limited to 'main/fping')
-rw-r--r--main/fping/APKBUILD25
1 files changed, 7 insertions, 18 deletions
diff --git a/main/fping/APKBUILD b/main/fping/APKBUILD
index 52a552d8a6..ba4cc4cd76 100644
--- a/main/fping/APKBUILD
+++ b/main/fping/APKBUILD
@@ -1,29 +1,18 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fping
-pkgver=3.13
+pkgver=3.15
pkgrel=0
pkgdesc="A utility to ping multiple hosts at once"
url="http://fping.org/"
arch="all"
license="BSD"
-depends=""
subpackages="$pkgname-doc"
source="http://fping.org/dist/fping-$pkgver.tar.gz"
-
options="suid"
-
-_builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir/$pkgname-$pkgver"
build () {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -35,11 +24,11 @@ build () {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make install DESTDIR="$pkgdir" || return 1
chmod 4755 "$pkgdir"/usr/sbin/fping*
}
-md5sums="a39134baca6bc6ced56191cb51fb0dc2 fping-3.13.tar.gz"
-sha256sums="4bb28efd1cb3d1240ae551dadc20daa852b1ba71bafe32e49ca629c1848e5720 fping-3.13.tar.gz"
-sha512sums="d6c1c5b9edb97ef59cfb6d22f74f6a055e52465d3ba0f93be35b6fc9615ee08490ee927f3cf9efd087e18279519292f353abe6152061985ee166ba5f7e95e29d fping-3.13.tar.gz"
+md5sums="f88ead3c7f0111d7c1befba9685d8580 fping-3.15.tar.gz"
+sha256sums="96948f6835bee8925f2556fdf187b59c77c06524e2efc72ddf2bfccb5385521c fping-3.15.tar.gz"
+sha512sums="0483657427b8525a737e715a7c669048199affc1c95661e841790f45f4118e0355266fe27828b3778754bd791f2c8ead22d569ebae87795172e996c4fec1898a fping-3.15.tar.gz"