mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
net/fping: update to 3.5
- Update to 3.5 - Add LICENSE (GFDL) PR: ports/178833 Submitted by: Jason Harris <jharris@widomaker.com> (maintainer) Approved by: culot / jpaetzel (mentors, implicit)
This commit is contained in:
parent
ddb2e5e6a1
commit
f8c67874ed
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=321077
@ -2,22 +2,18 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= fping
|
||||
PORTVERSION= 3.4
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 3.5
|
||||
CATEGORIES= net ipv6
|
||||
MASTER_SITES= http://fping.org/dist/
|
||||
|
||||
PATCH_SITES= https://raw.github.com/tohojo/netperf-wrapper/master/misc/
|
||||
PATCH_DIST_STRIP= -p1
|
||||
|
||||
MAINTAINER= jharris@widomaker.com
|
||||
COMMENT= Quickly ping N hosts w/o flooding the network
|
||||
|
||||
OPTIONS_DEFINE= TIMESTAMPS
|
||||
LICENSE= GFDL
|
||||
|
||||
OPTIONS_MULTI= NET
|
||||
OPTIONS_MULTI_NET= IPV4 IPV6
|
||||
OPTIONS_DEFAULT= IPV4
|
||||
TIMESTAMPS_DESC= Enable timestamps
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --bindir="${PREFIX}/sbin"
|
||||
@ -40,10 +36,6 @@ MAN8+= fping6.8
|
||||
CONFIGURE_ARGS+=--disable-ipv6
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MTIMESTAMPS}
|
||||
PATCHFILES+= fping_timestamps.patch
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MIPV4}
|
||||
@${STRIP_CMD} ${PREFIX}/sbin/fping
|
||||
|
@ -1,4 +1,2 @@
|
||||
SHA256 (fping-3.4.tar.gz) = d42528af4931f16a8e3438bd4a45cfdd72163ad8835a3c95351c336a26e56afe
|
||||
SIZE (fping-3.4.tar.gz) = 142986
|
||||
SHA256 (fping_timestamps.patch) = 5e07b36e2029a042de79536c30d852a7ee65d90216747ca68fe54eba94798f3a
|
||||
SIZE (fping_timestamps.patch) = 2211
|
||||
SHA256 (fping-3.5.tar.gz) = 09b8960e235341bae6000085d38106357eae656a79e0119bd27e816c9003656a
|
||||
SIZE (fping-3.5.tar.gz) = 145512
|
||||
|
@ -1,16 +0,0 @@
|
||||
diff -r c564b3055165 src/fping.c
|
||||
--- src/fping.c Tue Mar 05 08:13:11 2013 -0400
|
||||
+++ src/fping.c Tue Mar 05 08:45:33 2013 -0400
|
||||
@@ -1572,7 +1572,11 @@
|
||||
n = sendto( s, buffer, ping_pkt_size, 0,
|
||||
( struct sockaddr* )&h->saddr, sizeof( FPING_SOCKADDR ) );
|
||||
|
||||
- if( n < 0 || n != ping_pkt_size )
|
||||
+ if(( n < 0 || n != ping_pkt_size)
|
||||
+#if defined( EHOSTDOWN )
|
||||
+ && errno != EHOSTDOWN
|
||||
+#endif
|
||||
+ )
|
||||
{
|
||||
if( verbose_flag || unreachable_flag )
|
||||
{
|
Loading…
Reference in New Issue
Block a user