Index: head/net/fping/Makefile =================================================================== --- head/net/fping/Makefile (revision 545761) +++ head/net/fping/Makefile (revision 545762) @@ -1,32 +1,33 @@ # Created by: David O'Brien (obrien@NUXI.com) # $FreeBSD$ PORTNAME= fping PORTVERSION= 5.0 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://fping.org/dist/ \ https://github.com/schweikert/${PORTNAME}/releases/download/v${PORTVERSION}/ 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 GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= IPV6 OPTIONS_SUB= yes IPV6_CONFIGURE_OFF=--disable-ipv6 post-install-IPV6-on: ${RLN} ${STAGEDIR}${PREFIX}/sbin/fping ${STAGEDIR}${PREFIX}/sbin/fping6 ${RLN} ${STAGEDIR}${PREFIX}/man/man8/fping.8 ${STAGEDIR}${PREFIX}/man/man8/fping6.8 .include Index: head/net/fping/files/patch-fping.c =================================================================== --- head/net/fping/files/patch-fping.c (nonexistent) +++ head/net/fping/files/patch-fping.c (revision 545762) @@ -0,0 +1,16 @@ +--- src/fping.c.orig 2020-08-05 11:10:13 UTC ++++ src/fping.c +@@ -1060,11 +1060,11 @@ int main(int argc, char** argv) + exit(num_noaddress ? 2 : 1); + } + +- if (socket4 >= 0) { ++ if (src_addr_set && socket4 >= 0) { + socket_set_src_addr_ipv4(socket4, &src_addr, (socktype4 == SOCK_DGRAM) ? &ident4 : NULL); + } + #ifdef IPV6 +- if (socket6 >= 0) { ++ if (src_addr6_set && socket6 >= 0) { + socket_set_src_addr_ipv6(socket6, &src_addr6, (socktype6 == SOCK_DGRAM) ? &ident6 : NULL); + } + #endif Property changes on: head/net/fping/files/patch-fping.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property