1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/net/fping/Makefile
Rodrigo Osorio 084402f2c9 Add an option to disable IPv6 support
In jail environment, because fping 4.0 comes
with combined IPv4/IPv6 support, you need to enable
IPv6 for the jail even if you will not use IPv6.

This patch adds an IPV6 option, enabled by default,
but who can be turn off to build fping without IPv6
support and used it inside a jail without IPv6.

PR:		229903
Submitted by:	Andrew <andrew.hotlab@hotmail.com>
Reported by:	Stefan Witzel <stefan.witzel@zvw.uni-goettingen.de>
Approved by:	<jharris@widomaker.com> (maintainer)
2018-08-15 23:54:20 +00:00

36 lines
856 B
Makefile

# Created by: David O'Brien (obrien@NUXI.com)
# $FreeBSD$
PORTNAME= fping
PORTVERSION= 4.0
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= net ipv6
MAINTAINER= jharris@widomaker.com
COMMENT= Quickly ping multiple hosts without flooding the network
LICENSE= PreviousBSD
LICENSE_GROUPS= FSF
LICENSE_NAME= Previous BSD License
LICENSE_FILE= ${WRKSRC}/COPYING
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USES= autoreconf gmake
USE_GITHUB= yes
GH_ACCOUNT= schweikert
OPTIONS_DEFINE=IPV6
IPV6_CONFIGURE_OFF=--disable-ipv6
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --bindir="${PREFIX}/sbin" \
--enable-ipv4
INSTALL_TARGET= install-strip
post-install:
${RLN} ${STAGEDIR}${PREFIX}/sbin/fping ${STAGEDIR}${PREFIX}/sbin/fping6
${RLN} ${STAGEDIR}${PREFIX}/man/man8/fping.8 ${STAGEDIR}${PREFIX}/man/man8/fping6.8
.include <bsd.port.mk>