Commit 6022814d authored by Leo's avatar Leo Committed by Natanael Copa

main/fping: upgrade to 4.2

parent 2ee13a86
# 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"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment