sthen 01dd5ab0f3 update to fping 5.0
add a fix for 64-bit time_t in a printf in new code
2020-08-06 14:39:37 +00:00

33 lines
749 B
Makefile

# $OpenBSD: Makefile,v 1.50 2020/08/06 14:39:37 sthen Exp $
COMMENT= quickly ping N hosts w/o flooding the network
DISTNAME= fping-5.0
CATEGORIES= net
HOMEPAGE= https://fping.org/
MAINTAINER= Stuart Henderson <stu.ports@spacehopper.org>
# BSD
PERMIT_PACKAGE= Yes
# uses pledge()
WANTLIB += c
MASTER_SITES= https://fping.org/dist/
CONFIGURE_STYLE= gnu
SEPARATE_BUILD= Yes
CONFIGURE_ARGS= --bindir=${PREFIX}/sbin
# some dependent programs want fping/fping6 separation e.g. net/zabbix,
# net/smokeping, net/librenms; with this symlink fping6 is v6-only,
# fping is dual-stack, or fping -4/-6 can be used to force it.
# see https://github.com/schweikert/fping/pull/139
post-install:
ln -s fping ${PREFIX}/sbin/fping6
.include <bsd.port.mk>