pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/fping Changes 3.13:
details: https://anonhg.NetBSD.org/pkgsrc/rev/839a9733a3e8
branches: trunk
changeset: 354512:839a9733a3e8
user: adam <adam%pkgsrc.org@localhost>
date: Tue Nov 01 14:53:29 2016 +0000
description:
Changes 3.13:
* Fix ICMP errors sometimes causing crashes with fping >= 3.11
diffstat:
net/fping/Makefile | 10 +++++++---
net/fping/PLIST | 6 ++++--
net/fping/distinfo | 12 ++++++------
net/fping/options.mk | 19 +++++++++++++++++++
net/fping/patches/patch-aa | 12 +++++++-----
5 files changed, 43 insertions(+), 16 deletions(-)
diffs (98 lines):
diff -r e44766e3f21b -r 839a9733a3e8 net/fping/Makefile
--- a/net/fping/Makefile Tue Nov 01 14:02:12 2016 +0000
+++ b/net/fping/Makefile Tue Nov 01 14:53:29 2016 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2014/05/09 15:28:53 sborrill Exp $
+# $NetBSD: Makefile,v 1.15 2016/11/01 14:53:29 adam Exp $
-DISTNAME= fping-3.10
+DISTNAME= fping-3.13
CATEGORIES= net
MASTER_SITES= http://fping.org/dist/
@@ -8,8 +8,12 @@
HOMEPAGE= http://www.fping.org/
COMMENT= Quickly ping many hosts w/o flooding the network
-GNU_CONFIGURE= YES
+CONFIGURE_ARGS+= --enable-ipv4
+GNU_CONFIGURE= yes
SPECIAL_PERMS+= sbin/fping ${SETUID_ROOT_PERMS}
+SPECIAL_PERMS+= sbin/fping6 ${SETUID_ROOT_PERMS}
+
+.include "options.mk"
.include "../../mk/bsd.pkg.mk"
diff -r e44766e3f21b -r 839a9733a3e8 net/fping/PLIST
--- a/net/fping/PLIST Tue Nov 01 14:02:12 2016 +0000
+++ b/net/fping/PLIST Tue Nov 01 14:53:29 2016 +0000
@@ -1,3 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:55:23 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2016/11/01 14:53:29 adam Exp $
+man/man8/fping.8
+${PLIST.ipv6}man/man8/fping6.8
sbin/fping
-man/man8/fping.8
+${PLIST.ipv6}sbin/fping6
diff -r e44766e3f21b -r 839a9733a3e8 net/fping/distinfo
--- a/net/fping/distinfo Tue Nov 01 14:02:12 2016 +0000
+++ b/net/fping/distinfo Tue Nov 01 14:53:29 2016 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.9 2015/11/04 00:35:00 agc Exp $
+$NetBSD: distinfo,v 1.10 2016/11/01 14:53:29 adam Exp $
-SHA1 (fping-3.10.tar.gz) = d8a1fa3ec13289d67d70102c1ef16c461a7eb505
-RMD160 (fping-3.10.tar.gz) = ca957b5f629b6e32ab5592644a4fa75d7f737e07
-SHA512 (fping-3.10.tar.gz) = 64bf93c7dbfa2b8adc3344514b2e6e182f1e5950da08b042b8d4d5e4c94b2b8bdc3aaba804339d0461dd88e0efbdfc0bd914a10d22810da8138c9c45335f7047
-Size (fping-3.10.tar.gz) = 157010 bytes
-SHA1 (patch-aa) = 7a5c2a99abd08797b8567ff23bfe6764ba585cbf
+SHA1 (fping-3.13.tar.gz) = cf38041613a5afaf614130dd79ebbcc5a121d196
+RMD160 (fping-3.13.tar.gz) = 8014495b2665d44dcd942e6b772d2bcdc94dc104
+SHA512 (fping-3.13.tar.gz) = d6c1c5b9edb97ef59cfb6d22f74f6a055e52465d3ba0f93be35b6fc9615ee08490ee927f3cf9efd087e18279519292f353abe6152061985ee166ba5f7e95e29d
+Size (fping-3.13.tar.gz) = 155976 bytes
+SHA1 (patch-aa) = b6f1470e21efe9adaa9dee1e870b2887c506ec08
diff -r e44766e3f21b -r 839a9733a3e8 net/fping/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/fping/options.mk Tue Nov 01 14:53:29 2016 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: options.mk,v 1.1 2016/11/01 14:53:29 adam Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.fping
+PKG_SUPPORTED_OPTIONS= inet6
+
+.if empty(MISSING_FEATURES:Minet6)
+PKG_SUGGESTED_OPTIONS= inet6
+.endif
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+= ipv6
+
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+= --enable-ipv6
+PLIST.ipv6= yes
+.else
+CONFIGURE_ARGS+= --disable-ipv6
+.endif
diff -r e44766e3f21b -r 839a9733a3e8 net/fping/patches/patch-aa
--- a/net/fping/patches/patch-aa Tue Nov 01 14:02:12 2016 +0000
+++ b/net/fping/patches/patch-aa Tue Nov 01 14:53:29 2016 +0000
@@ -1,10 +1,12 @@
-$NetBSD: patch-aa,v 1.7 2014/05/09 15:28:53 sborrill Exp $
+$NetBSD: patch-aa,v 1.8 2016/11/01 14:53:29 adam Exp $
+
+Fix for NetBSD-alpha.
---- src/fping.c.orig 2014-05-04 21:33:12.000000000 +0100
-+++ src/fping.c 2014-05-09 16:25:45.000000000 +0100
-@@ -1521,8 +1521,10 @@
+--- src/fping.c.orig 2015-10-21 19:02:56.000000000 +0000
++++ src/fping.c
+@@ -1493,8 +1493,10 @@ int wait_for_reply(long wait_time)
+ ip = ( struct ip* )buffer;
- ip = ( struct ip* )buffer;
#ifndef IPV6
-#if defined( __alpha__ ) && __STDC__ && !defined( __GLIBC__ )
+#if defined( __alpha__ ) && __STDC__ && !defined( __GLIBC__ ) && !defined( __NetBSD__ )
Home |
Main Index |
Thread Index |
Old Index