svn commit: r477297 - head/net/fping
Rodrigo Osorio
rodrigo at FreeBSD.org
Wed Aug 15 23:54:21 UTC 2018
Author: rodrigo
Date: Wed Aug 15 23:54:20 2018
New Revision: 477297
URL: https://svnweb.freebsd.org/changeset/ports/477297
Log:
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 at hotmail.com>
Reported by: Stefan Witzel <stefan.witzel at zvw.uni-goettingen.de>
Approved by: <jharris at widomaker.com> (maintainer)
Modified:
head/net/fping/Makefile
Modified: head/net/fping/Makefile
==============================================================================
--- head/net/fping/Makefile Wed Aug 15 23:33:07 2018 (r477296)
+++ head/net/fping/Makefile Wed Aug 15 23:54:20 2018 (r477297)
@@ -4,6 +4,7 @@
PORTNAME= fping
PORTVERSION= 4.0
DISTVERSIONPREFIX= v
+PORTREVISION= 1
CATEGORIES= net ipv6
MAINTAINER= jharris at widomaker.com
@@ -19,9 +20,11 @@ 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-ipv6 \
--enable-ipv4
INSTALL_TARGET= install-strip
More information about the svn-ports-all
mailing list