liboping: Update to version 1.10.0

Message ID 20241119211106.2194373-12-adolf.belka@ipfire.org
State New
Headers
Series liboping: Update to version 1.10.0 |

Commit Message

Adolf Belka Nov. 19, 2024, 9:11 p.m. UTC
  - Update from version 1.3.4 (2009) to 1.10.0 (2017)
- Update of rootfile
- Changelog
    1.10.0
	* Build system: Search the "rt" library for clock_gettime(). This
	  fixes build issues on Mac OS X. Thanks to Yann E. Morni for this
	  fix. #9
	* Build system: The "--with[out]-ncurses" option has been added and
	  allows to enforce/disable the building of "noping". Thanks to Thomas
	  Deutschmann for the patch. #15
	* Build system: Compatibility code to work with pkg-config < 0.27 has
	  been added. #22
	* liboping: Creation of ICMPv4 packets has been fixed: due to an
	  incorrect sizeof() the payload may have been prefixed by 20 zero
	  bytes, resulting in larger packets than desired. Thanks to Kyle Zhou
	  for reporting and fixing this. #10
	* liboping: The number of file descriptors used has been reduced to at
	  most two (from one per host). This and a few other optimizations
	  significantly improve performance. Thanks to Luke Heberling for the
	  patch. #11
	* oping, noping: Handling of the "-O" command line flag has been
	  fixed.
	* oping, noping: The "-b" option has been added and enables a bell
	  whenever an echo reply is received. Thanks to Antoine Beaupré for
	  the patch. #6
	* noping: The background color has been changed to use the terminal
	  default. Thanks to @middleO. #18
	* noping: The ability to add hosts after noping has started (the "a"
	  key) has been added. Thanks to Hamish Coleman for the patch. #20,
	  #23
    1.9.0
	* liboping: The new "PING_OPT_MARK" option allows to mark packets,
	  which can be used for filtering and routing such packets on Linux.
	* oping, noping: The new "-m" command line option allows to set a mark
	  on packets sent by the tool.
	* oping, noping: The new "-O" command line option allows to write
	  measurements to an CSV file.
	* oping, noping: The new "-w" command line option allows to specify
	  the timeout after which a packet/reply is considered "dropped".
    1.8.0
	* oping, noping: Average and standard deviation have been removed from
	  the status output, which show median and 95th percentile instead.
	  The percentile can be chosen with the "-P" option.
	* noping: The additional graph types "histogram" and "boxplot" have
	  been added, which can be selected with the "-g" option.
    1.7.0
	* oping, noping: The new -Z option allows the exit status to indicate
	  the number of failing hosts. Thanks to Barak Pearlmutter for the
	  patch.
	* noping: The ability to print a "prettyping" style graph has been
	  added. Thanks to Antoine Beaupré for his work!
	* src/liboping.c: Build issues on Solaris have been fixed. Thanks
	  Scott Severtson for the fix!
	* Build system: Creation and installation of a pkg-config file has
	  been added. Thanks to Barak Pearlmutter for the patch.
    1.6.2
	* Build system: Setting capabilities and the set-UID bit has been made
	  more fault-tolerant, so that it will work with Debian's fakeroot(1)
	  utility.
	* src/liboping.c: Fixed a compiler warning about an non-static format
	  string. Thanks to Brian Edwards for pointing this out.
	* src/liboping.c: Fixed compilation under Mac OS X and Solaris. Thanks
	  to Clayton O'Neill for his patch.
    1.6.1
	* Build system: If "make install" is executed as root, the CAP_NET_RAW
	  capability is added to the binary (on Linux) or the set-UID bit is
	  set (other Unixes).
	* src/oping.c: Fix compiler warnings which may abort the build. Thanks
	  to James Bromberger for reporting the problem.
	* noping: Compatibility with ncurses 5.8 has been fixed. Thanks to
	  Gaetan Bisson for his patch.
    1.6.0
	* liboping: Improve timing of received network packets using
	  SO_TIMESTAMP if available. Thanks to Bruno Prémont for his patch.
    1.5.1
	* oping, noping: Alias for the “Voice Admit” DSCP has been added.
	* src/oping.c, src/liboping.c: Compiler warnings / errors have been
	  fixed. Thanks to James Bromberger for reporting one of them.
    1.5.0
	* src/liboping.c: The possibility to set the QoS byte of outgoing IPv4
	  and IPv6 packets and read the byte from incoming packets has been
	  added. Thanks to Vladimir Melnikov for his patch.
	* oping, noping: Add the ability to configure the QoS field on the
	  command line. If either the QoS field of outgoing or incoming
	  packets is non-standard, the QoS byte of incoming packets will be
	  printed.
	* liboping: The library has been relicensed under the LGPL 2.1.
    1.4.0
	* noping: A new front-end to liboping, using the ncurses library, has
	  been added. The new command line application displays ping
	  statistics online and highlights aberrant round-trip times.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/liboping | 5 +++--
 lfs/liboping                     | 6 +++---
 2 files changed, 6 insertions(+), 5 deletions(-)
  

Patch

diff --git a/config/rootfiles/common/liboping b/config/rootfiles/common/liboping
index 9ab1c24d5..60ae21bc3 100644
--- a/config/rootfiles/common/liboping
+++ b/config/rootfiles/common/liboping
@@ -1,15 +1,16 @@ 
+usr/bin/noping
 usr/bin/oping
 #usr/include/oping.h
 #usr/lib/liboping.a
 #usr/lib/liboping.la
 usr/lib/liboping.so
 usr/lib/liboping.so.0
-usr/lib/liboping.so.0.2.3
+usr/lib/liboping.so.0.3.0
 usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/Net/Oping.pm
 #usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/auto/Net/Oping
 #usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/auto/Net/Oping/.packlist
-#usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/auto/Net/Oping/Oping.bs
 usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/auto/Net/Oping/Oping.so
+#usr/lib/pkgconfig/liboping.pc
 #usr/share/man/man3/Net::Oping.3
 #usr/share/man/man3/liboping.3
 #usr/share/man/man3/ping_construct.3
diff --git a/lfs/liboping b/lfs/liboping
index 7ea7d753b..0160b3635 100644
--- a/lfs/liboping
+++ b/lfs/liboping
@@ -1,7 +1,7 @@ 
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2024  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 1.3.4
+VER        = 1.10.0
 
 THISAPP    = liboping-$(VER)
 DL_FILE    = $(THISAPP).tar.bz2
@@ -40,7 +40,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = e60b59cad18f9f458c63ec08465eaac5c40b954a9c6aa6844029a1b3e2973de19e0b46846cb99edb465f315310f552b8578280f243acbe726b92034e396a07f9
+$(DL_FILE)_BLAKE2 = 2fa8719df251116c51aa93262697751df72b93368d543e5bb34668eb1bb07d7c0be143c943b32b23ee8d02e94ac2cc66f46f923ee4ab672b414ef16ce2f75acf
 
 install : $(TARGET)