update to fping-3.0

OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=7
This commit is contained in:
Petr Uzel 2012-02-08 11:27:45 +00:00 committed by Git OBS Bridge
parent 365bfb4ed5
commit e2ed858329
5 changed files with 22 additions and 32 deletions

View File

@ -1,12 +0,0 @@
Index: fping.c
===================================================================
--- fping.c.orig 2002-01-18 00:41:40.000000000 +0100
+++ fping.c 2009-11-18 16:25:06.000000000 +0100
@@ -1216,6 +1216,7 @@ int main( int argc, char **argv )
}/* WHILE */
finish();
+ return 0;
} /* main() */

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5eb4a24310ba8e3894f4d34c60a956f685b98ef06e6dbdba0d87ce25fa673345
size 56296

3
fping-3.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:380a73a086bba4eebcaf6275dc065f587359a122849f64551964f55daeba0838
size 131436

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Feb 8 11:19:38 UTC 2012 - puzel@suse.com
- update to fping-3.0
* rewritten main loop for improved performance
* -T parameter (select timeout) now obsolete
* Maintenance taken over from unresponsive previous maintainer
* New homepage: www.fping.org
- drop fping-2.4b2-fixwarnings.patch (obsolete)
-------------------------------------------------------------------
Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de

View File

@ -1,7 +1,7 @@
#
# spec file for package fping (Version 2.4b2)
# spec file for package fping
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,15 +16,13 @@
#
Name: fping
Url: http://www.fping.com
Url: http://www.fping.org
Version: 3.0
Release: 0
Summary: A program to ping multiple hosts
License: MIT
Group: Productivity/Networking/Diagnostic
Version: 2.4b2
Release: 139
Summary: A Program to Ping Multiple Hosts
# IPv6 support patch: http://unfix.org/projects/ipv6/
Source: %{name}-%{version}_to-ipv6.tar.bz2
Patch: fping-2.4b2-fixwarnings.patch
Source: http://fping.org/dist/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -46,12 +44,7 @@ Unlike ping, FPing is meant to be used in scripts. Its output is
designed to be easy to parse.
%prep
%setup -n fping-2.4b2_to-ipv6
%patch
# fix the Changelog
tr -d '\r' < ChangeLog > ChangeLog.new
mv ChangeLog.new ChangeLog
chmod -x COPYING README
%setup
%build
%configure
@ -64,7 +57,6 @@ make %{?_smp_mflags}
%defattr(-,root,root)
%doc ChangeLog COPYING README
%doc %{_mandir}/man8/fping.8.gz
%_sbindir/fping
%_sbindir/fping6
%{_sbindir}/fping
%changelog