Commit 93f0b826 authored by Natanael Copa's avatar Natanael Copa

main/fping: setuid root

ref #730
parent 1ea017ab
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fping
pkgver=2.4_beta2
_myver=2.4b2_to
pkgrel=3
pkgrel=4
pkgdesc="A utility to ping multiple hosts at once"
url="http://www.fping.com/"
arch="all"
......@@ -13,12 +15,18 @@ subpackages="$pkgname-doc"
#source="http://www.$pkgname.com/download/$pkgname-${myver}.tar.gz"
source=http://distfiles.gentoo.org/distfiles/fping-${_myver}.tar.gz
_builddir="$srcdir"/$pkgname-$_myver
build () {
cd $startdir/src/$pkgname-${_myver}
cd "$_builddir"
./configure --prefix=/usr \
--mandir=/usr/share/man
make || return 1
make install DESTDIR="$pkgdir"
}
package() {
cd "$_builddir"
make install DESTDIR="$pkgdir" || return 1
chmod 4755 "$pkgdir"/usr/sbin/fping
}
md5sums="d5e8be59e307cef76bc479e1684df705 fping-2.4b2_to.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