Date: Sun, 9 Jul 2017 03:00:16 +0000 (UTC) From: Mark Felder <feld@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r445364 - branches/2017Q3/net-mgmt/rancid3/files Message-ID: <201707090300.v6930G5L046268@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: feld Date: Sun Jul 9 03:00:16 2017 New Revision: 445364 URL: https://svnweb.freebsd.org/changeset/ports/445364 Log: MFH: r445363 net-mgmt/rancid3: Fix building in jails without networking Approved by: ports-secteam (with hat) Added: branches/2017Q3/net-mgmt/rancid3/files/patch-configure - copied unchanged from r445363, head/net-mgmt/rancid3/files/patch-configure Modified: Directory Properties: branches/2017Q3/ (props changed) Copied: branches/2017Q3/net-mgmt/rancid3/files/patch-configure (from r445363, head/net-mgmt/rancid3/files/patch-configure) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2017Q3/net-mgmt/rancid3/files/patch-configure Sun Jul 9 03:00:16 2017 (r445364, copy of r445363, head/net-mgmt/rancid3/files/patch-configure) @@ -0,0 +1,46 @@ +--- configure.orig 2017-07-09 02:56:22 UTC ++++ configure +@@ -5471,24 +5471,25 @@ fi + # ping seems to take one of two formats for count (N) + # BSD: ping -c N host + # SVR: ping host N +-$PING_PATH -c 1 -v 127.0.0.1 > /dev/null 2>&1 +-if test $? -eq 0 ; then +- LG_PING_CMD="$PING_PATH -c 1" +-else +- $PING_PATH 127.0.0.1 56 1 > /dev/null 2>&1 +- if test $? -eq 0 ; then +- LG_PING_CMD="$PING_PATH" +- else +- # cygwin using windows ping? +- $PING_PATH -n 1 127.0.0.1 > /dev/null 2>&1 +- if test $? -eq 0 ; then +- LG_PING_CMD="$PING_PATH -n 1" +- else +- as_fn_error $? "can't figure out how to pass count == 1 to $PING_PATH." "$LINENO" 5 +- exit 1 +- fi +- fi +-fi ++#$PING_PATH -c 1 -v 127.0.0.1 > /dev/null 2>&1 ++#if test $? -eq 0 ; then ++# LG_PING_CMD="$PING_PATH -c 1" ++#else ++# $PING_PATH 127.0.0.1 56 1 > /dev/null 2>&1 ++# if test $? -eq 0 ; then ++# LG_PING_CMD="$PING_PATH" ++# else ++# # cygwin using windows ping? ++# $PING_PATH -n 1 127.0.0.1 > /dev/null 2>&1 ++# if test $? -eq 0 ; then ++# LG_PING_CMD="$PING_PATH -n 1" ++# else ++# as_fn_error $? "can't figure out how to pass count == 1 to $PING_PATH." "$LINENO" 5 ++# exit 1 ++# fi ++# fi ++#fi ++LG_PING_CMD="$PING_PATH -c 1" + + rd_cv_lg_ping_cmd=$LG_PING_CMD +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707090300.v6930G5L046268>