Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2018 23:54:20 +0000 (UTC)
From:      Rodrigo Osorio <rodrigo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r477297 - head/net/fping
Message-ID:  <201808152354.w7FNsKqf064143@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@hotmail.com>
  Reported by:	Stefan Witzel <stefan.witzel@zvw.uni-goettingen.de>
  Approved by:	<jharris@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@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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808152354.w7FNsKqf064143>