summaryrefslogtreecommitdiff
path: root/net/fping/patches
diff options
context:
space:
mode:
authorsborrill <sborrill>2014-05-09 15:28:53 +0000
committersborrill <sborrill>2014-05-09 15:28:53 +0000
commit49b59efdea55d7fdba686d9fa1e26a227b17bab0 (patch)
tree1248e27086ab763ead54d5a30e71b49058fa62ee /net/fping/patches
parent418da90aaeaa8ca316341b36c2bfdd9add1fb4d5 (diff)
downloadpkgsrc-49b59efdea55d7fdba686d9fa1e26a227b17bab0.tar.gz
Update to fping 3.10.
Changes: 2014-05-03 David Schweikert <david@schweikert.ch> * Version 3.10 * Fix confusing error message with -g and IPv6 addresses (#58, reported by * Axel Beckert) * Allow option '-f' also for non-root (since setuid privileges are * dropped) * Do not retry twice DNS lookup on DNS lookup problem * Remove support for NIS groups * Better document -B backoff-factor and when it can be used (#33, Oleksiy * Zagorskyi) * More tests added 2014-03-08 David Schweikert <david@schweikert.ch> * Version 3.9 * Fix random output on socket error (reported by Aleksandrs Saveljevs, * #56) * Support ppc64le architecture by including alpha libtool version (reported by Amit Kumar Gupta and Aravinda B Thunug) * Fix compilation problem on FreeBSD (#57) * Initial test suite and continous intergration (with travis-ci.org / * coveralls.io) * Don't output usage information on error 2013-11-08 David Schweikert <david@schweikert.ch> * Version 3.8 * Fix segmentation fault introduced in version 3.7 with loop mode * (reported by Vlad Glagolev, #55) 2013-11-04 David Schweikert <david@schweikert.ch> * Version 3.7 * Allow running as non-root on Mac OS X by using non-privileged ICMP (#7) * Remove unnecessary IPv6 socket options * Fix again compatibility issue with FreeBSD (Shawn Chu) * Fix fping hanging forever on permanent sendto failure (Shawn Chu) * Fix duplicate echo reply packets causing early stop in count mode (reported by Ramon Schwammberger, #53) 2013-10-10 David Schweikert <david@schweikert.ch> * Version 3.6 * Fix loop issue after 65536 pings (reported by Peter Folk and GBert, #12) * Minimum ping data size is now 0 * Removed setsockopt IPV6_CHECKSUM, which shouldn't be set and breaks compiling on Solaris (reported by Juergen Arndt) * Fix wrong min RTT value with -Q option (reported by Alexander Ivanov, * #51) 2013-05-22 David Schweikert <david@schweikert.ch> * Version 3.5 * Fix sprint_tm buffer size crash (reported by Japheth Cleaver) * Addded -D flag to print timestamps (Toke Høiland-Jørgensen) * Fix fping6 build on OS X 10.8 (unknown contributor) * Fix compatibility issue with FreeBSD (Alexandre Raynaud, Jason Harris, * #39) * Fping.spec: fix setuid permissions and provides fping6 (Marcus Vinicius * Ferreira) * Re-create configure script with autoconf 2.69 for aarch64 support (Chuck * Anderson, #45) 2012-09-04 David Schweikert <david@schweikert.ch> * Version 3.4 * Revert "Output statistics to stdout instead of stderr", because it * breaks tools assuming the output goes to stderr 2012-08-19 David Schweikert <david@schweikert.ch> * Version 3.3 * Do not output icmp errors with -q (#1) * Add --enable-ipv4 and --enable-ipv6 options to configure (Niclas * Zeising) * Fix removing of unreachable hosts when doing loop (Thomas Liske, #13 * #23) * Fix -A for fping6 (reported by Matt LaPlante, #14) * Fix "options inet6" breaking IPv4 name resolution (reported by Matt * LaPlante, #17) * Output statistics to stdout instead of stderr (suggested by Simon * Leinen, #9) * Set default data size to 56 bytes on all architectures (#18) * Added contrib/fping.spec (Stephen Schaefer, #24) * Convert man-page source to POD for easier maintenance * Fix error message on DNS error for IPv6 hosts (#27) * Fix -n flag in fping6 (#28) * Man-page fix: TOS option typo (Thomas Liske, #23) * Man-page fix: inconsistency in regards to numeric arguments (Robert * Henney) * Man-page fix: better description of option -q (#15) 2012-05-29 David Schweikert <david@schweikert.ch> * Version 3.2 * Improve documentation for -g option (G.W. Haywood) * Performance optimization for big select timeouts (#10, Andrey * Bondarenko) * Fix restart of select call after interrupt signal (#8, Boian Bonev) * Fix infinite loop caused by linked list corruption (#11, Boian Bonev) 2012-04-26 David Schweikert <david@schweikert.ch> * Version 3.1 * -g option (generate): exclude network and broadcast address for cidr ranges (idea by Eric Brander) * do not explicitely check if running as root, to make it possible to install fping with linux capabilities instead of making it setuid (setcap cap_net_raw+ep fping) * ANSI C (C89) compiler now a requirement * Portability fixes * Reorganized source directory * Bugfix: fix timeout issue on Solaris (Sandor Geller) * Man-page fixes (Axel Beckert) * Added -H option to specify number of hops (Paul Duda) * Output usage information to stdout when called with -h (Paul Duda) 2011-12-28 David Schweikert <david@schweikert.ch> * Version 3.0 * rewritten main loop for improved performance * -T parameter (select timeout) now obsolete * Maintenance taken over from unresponsive previous maintainer (anybody please step up, if you disagree) * New homepage: www.fping.org 2009-12-21 Tobi Oetiker <tobi@oetiker.ch> * Version v2.4b2-to3-ipv6 * added -On option to set the TOS octet * Removed unused variables from code * updated to current autoconf standards * Merged Debian changes (see below) ---------------------------------------------------------------------- fping (2.4b2-to-ipv6-16.1) unstable; urgency=low * NMU during Moenchengladbach BSP * Fixes FTBFS on kfreebsd (Closes: #555398) * Fixes typo "Paramter" in binary -- Axel Beckert <abe@deuxchevaux.org> Sat, 23 Jan 2010 16:22:02 +0100 fping (2.4b2-to-ipv6-16) unstable; urgency=low * Fix the following bugs - Network byte order sensitivity was missing completely. Added hopefully all missing calls. - The sequence numbering scheme used led to packet drops. Changed it to a more senseful numbering scheme. - Some minor C programming mistakes ('=' instead of '=='). Patch by Stephan Fuhrmann; closes: #502569 * Add support for command line select timeout setting Patch by Marton Balint; closes: #502575 * Remove symlinks in /usr/sbin; closes: #377732 * Standards-Version is 3.8.0 -- Anibal Monsalve Salazar <anibal@debian.org> Sat, 18 Oct 2008 12:04:52 -- +1100 fping (2.4b2-to-ipv6-15) unstable; urgency=low * Added interface binding (-I) for fping Patch by Peter Naulls <peter@mushroomnetworks.com> Closes: #439014 * Fixed a couple of typos in fping.8. Closes: #423180 * Added homepage control header * Bumped Standards-Version to 3.7.3 * Fixed the following lintian issue: - debian-rules-sets-DH_COMPAT -- Anibal Monsalve Salazar <anibal@debian.org> Mon, 03 Mar 2008 17:46:17 -- +1100 fping (2.4b2-to-ipv6-13) unstable; urgency=low * Fixed stdout flush problem, closes: #340146. Patch by Bart Martens <bart.martens@advalvas.be>. -- Anibal Monsalve Salazar <anibal@debian.org> Fri, 30 Dec 2005 08:30:09 -- +1100 fping (2.4b2-to-ipv6-12) unstable; urgency=low * Fixed "problem with option -r (retry limit)", closes: #318402. Patch by Qingning Huo <qingningh@lanware.co.uk>. -- Anibal Monsalve Salazar <anibal@debian.org> Sat, 08 Oct 2005 21:26:35 -- +1000 fping (2.4b2-to-ipv6-11) unstable; urgency=low * Fixed "would be useful to specify 'source address' like ping for multi homed machines", closes: #198486. Patch by Marc Haber <mh+debian-bugs@zugschlus.de>. -- Anibal Monsalve Salazar <anibal@debian.org> Thu, 02 Jun 2005 08:14:54 -- +1000 fping (2.4b2-to-ipv6-10) unstable; urgency=low * Fixed "unnecessary delay with the -c option after the last packet" (Closes: #293856). Patch by Niko Tyni <ntyni@iki.fi> -- Anibal Monsalve Salazar <anibal@debian.org> Sun, 06 Feb 2005 23:25:57 -- +1100 fping (2.4b2-to-ipv6-9) unstable; urgency=low * Fixed "fping6 always does reverse lookup" (Closes: #273647). Patch by Jeroen Massar and forwarded by Bernhard Schmidt <berni@birkenwald.de> -- Anibal Monsalve Salazar <A.Monsalve.Salazar@IEEE.org> Mon, 10 Jan 2005 -- 00:01:32 +1100 fping (2.4b2-to-ipv6-7) unstable; urgency=low * Build fping in build/ipv[46] instead of build and build-ipv6. * Made DNS errors non-fatal for IPv6 (closes: #198056). -- Herbert Xu <herbert@debian.org> Fri, 20 Jun 2003 21:36:30 +1000 fping (2.4b2-to-ipv6-6) unstable; urgency=low * Do not use incorrect linux.h file (closes: #85468). -- Herbert Xu <herbert@debian.org> Sat, 17 May 2003 14:13:11 +1000 fping (2.4b2-to-ipv6-5) unstable; urgency=low * Fixed yet another divide by zero bug (closes: #148445). -- Herbert Xu <herbert@debian.org> Tue, 4 Jun 2002 12:18:03 +1000 fping (2.4b2-to-ipv6-4) unstable; urgency=low * Made fping6 setuid (closes: #136386). * Moved fping back into bin. * Partially applied IPv6 patch to fix IPv6 checksums (closes: #136479). -- Herbert Xu <herbert@debian.org> Sun, 7 Apr 2002 20:36:56 +1000 fping (2.4b2-to-ipv6-3) unstable; urgency=low * Added compatibility symlink for fping (closes: #135203). -- Herbert Xu <herbert@debian.org> Sat, 23 Feb 2002 08:34:11 +1100 fping (2.4b2-to-ipv6-2) unstable; urgency=low * Fixed another divide by zero error (closes: #132370). -- Herbert Xu <herbert@debian.org> Thu, 7 Feb 2002 20:10:48 +1100 fping (2.4b2-to-ipv6-1) unstable; urgency=low * New upstream release. * Install fping into sbin as done by upstream.
Diffstat (limited to 'net/fping/patches')
-rw-r--r--net/fping/patches/patch-aa25
1 files changed, 12 insertions, 13 deletions
diff --git a/net/fping/patches/patch-aa b/net/fping/patches/patch-aa
index 9db9cb743c5..6c38dbe651b 100644
--- a/net/fping/patches/patch-aa
+++ b/net/fping/patches/patch-aa
@@ -1,17 +1,16 @@
-$NetBSD: patch-aa,v 1.6 2003/09/04 12:47:38 abs Exp $
+$NetBSD: patch-aa,v 1.7 2014/05/09 15:28:53 sborrill Exp $
---- fping.c.orig Fri Jul 20 18:10:26 2001
-+++ fping.c
-@@ -1547,8 +1547,10 @@ int wait_for_reply( void )
-
- ip = ( struct ip* )buffer;
+--- 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 @@
+ ip = ( struct ip* )buffer;
+ #ifndef IPV6
-#if defined( __alpha__ ) && __STDC__ && !defined( __GLIBC__ )
-- /* The alpha headers are decidedly broken.
+#if defined( __alpha__ ) && __STDC__ && !defined( __GLIBC__ ) && !defined( __NetBSD__ )
-+ /* The alpha headers are decidedly broken.
-+ * XXX _WHAT_ 'alpha'? OSF? True64? Linux?... Certainly not NetBSD
-+ * XXX If defining for a particular broken OS then _include the OS_.
- * Using an ANSI compiler, it provides ip_vhl instead of ip_hl and
- * ip_v. So, to get ip_hl, we mask off the bottom four bits.
- */
+ /* The alpha headers are decidedly broken.
++ * XXX _WHAT_ 'alpha'? OSF? True64? Linux?... Certainly not NetBSD
++ * XXX If defining for a particular broken OS then _include the OS_.
+ * Using an ANSI compiler, it provides ip_vhl instead of ip_hl and
+ * ip_v. So, to get ip_hl, we mask off the bottom four bits.
+ */