void-packages/srcpkgs/fping/template
Andrea Brancaleoni 070865476b fping: build PIE
2015-08-19 11:01:00 +02:00

20 lines
583 B
Bash

# Template file for 'fping'
pkgname=fping
version=3.10
revision=3
build_pie=yes
build_style=gnu-configure
configure_args="--sbindir=/usr/bin --enable-ipv4 --enable-ipv6"
short_desc="High performance ping"
maintainer="Sören Tempel <soeren+void@soeren-tempel.net>"
homepage="http://fping.org"
license="MIT-alike"
distfiles="${homepage}/dist/${pkgname}-${version}.tar.gz"
checksum=cd47e842f32fe6aa72369d8a0e3545f7c137bb019e66f47379dc70febad357d8
post_install() {
vlicense COPYING
# make fping{,6} setuid.
chmod 4555 ${DESTDIR}/usr/bin/fping
chmod 4555 ${DESTDIR}/usr/bin/fping6
}