aboutsummaryrefslogtreecommitdiffstats
path: root/net/fping
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-06-17 05:52:44 +0800
committerwg <wg@FreeBSD.org>2013-06-17 05:52:44 +0800
commit3ea09377cb54b6fb00d7f433a6dfc7afdef4b0db (patch)
tree77cae4a72a6513d3c9293d2a2ca195070eab7882 /net/fping
parent2af3ab7a718fcfc889b4fd155bdd0e6507ee2b0b (diff)
downloadfreebsd-ports-gnome-3ea09377cb54b6fb00d7f433a6dfc7afdef4b0db.tar.gz
freebsd-ports-gnome-3ea09377cb54b6fb00d7f433a6dfc7afdef4b0db.tar.zst
freebsd-ports-gnome-3ea09377cb54b6fb00d7f433a6dfc7afdef4b0db.zip
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)
Diffstat (limited to 'net/fping')
-rw-r--r--net/fping/Makefile14
-rw-r--r--net/fping/distinfo6
-rw-r--r--net/fping/files/patch-fping.c16
3 files changed, 5 insertions, 31 deletions
diff --git a/net/fping/Makefile b/net/fping/Makefile
index 89dcf003f04a..ae49b8fb0591 100644
--- a/net/fping/Makefile
+++ b/net/fping/Makefile
@@ -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
diff --git a/net/fping/distinfo b/net/fping/distinfo
index 4b9a6bd25e07..8fa5a9edc1ac 100644
--- a/net/fping/distinfo
+++ b/net/fping/distinfo
@@ -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
diff --git a/net/fping/files/patch-fping.c b/net/fping/files/patch-fping.c
deleted file mode 100644
index 1bd16ad88577..000000000000
--- a/net/fping/files/patch-fping.c
+++ /dev/null
@@ -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 )
- {