Accepting request 748834 from home:msvec:branches:network:utilities

- update to 3.7
- spec file cleanup

OBS-URL: https://build.opensuse.org/request/show/748834
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iperf?expand=0&rev=46
This commit is contained in:
Lars Vogdt 2019-11-22 18:53:38 +00:00 committed by Git OBS Bridge
parent 16eed05ea5
commit a1aae6016f
5 changed files with 44 additions and 25 deletions

View File

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

3
iperf-3.7.tar.gz Normal file
View File

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

View File

@ -1,13 +1,13 @@
diff -urw iperf-3.0.5.orig/src/Makefile.in iperf-3.0.5/src/Makefile.in
--- iperf-3.0.5.orig/src/Makefile.in 2014-06-16 19:18:49.000000000 +0200
+++ iperf-3.0.5/src/Makefile.in 2014-07-17 22:23:07.366702888 +0200
@@ -91,8 +91,7 @@
build_triplet = @build@
host_triplet = @host@
bin_PROGRAMS = iperf3$(EXEEXT)
-noinst_PROGRAMS = t_timer$(EXEEXT) t_units$(EXEEXT) t_uuid$(EXEEXT) \
- iperf3_profile$(EXEEXT)
+noinst_PROGRAMS = t_timer$(EXEEXT) t_units$(EXEEXT) t_uuid$(EXEEXT)
TESTS = t_timer$(EXEEXT) t_units$(EXEEXT) t_uuid$(EXEEXT)
Index: iperf-3.7/src/Makefile.in
===================================================================
--- iperf-3.7.orig/src/Makefile.in
+++ iperf-3.7/src/Makefile.in
@@ -96,7 +96,7 @@ bin_PROGRAMS = iperf3$(EXEEXT)
@ENABLE_PROFILING_FALSE@ t_api$(EXEEXT)
@ENABLE_PROFILING_TRUE@noinst_PROGRAMS = t_timer$(EXEEXT) \
@ENABLE_PROFILING_TRUE@ t_units$(EXEEXT) t_uuid$(EXEEXT) \
-@ENABLE_PROFILING_TRUE@ t_api$(EXEEXT) iperf3_profile$(EXEEXT)
+@ENABLE_PROFILING_TRUE@ t_api$(EXEEXT)
TESTS = t_timer$(EXEEXT) t_units$(EXEEXT) t_uuid$(EXEEXT) \
t_api$(EXEEXT)
subdir = src
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Thu Nov 14 21:32:57 UTC 2019 - Michal Svec <msvec@suse.com>
- update to 3.7
* Support for simultaneous bidirectional tests with the --bidir flag
* Use POSIX standard clock_gettime(3) interface for timekeeping where
available
* Passwords for authentication can be provided via environment
variable
* Specifying --repeating-payload and --reverse now works
* Failed authentication doesn't count for --one-off
* Several memory leaks related to authenticated use were fixed
* The delay for tearing down the control connection for the default
timed tests has been increased, to more gracefully handle
high-delay paths
* Various improvements to the libiperf APIs
* Fixed build behavior when OpenSSL is absent
* Portability fixes
- spec file cleanup
-------------------------------------------------------------------
Fri Jul 6 07:22:31 UTC 2018 - liedke@rz.uni-mannheim.de

View File

@ -1,7 +1,7 @@
#
# spec file for package iperf
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,18 +12,18 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define soname 0
Name: iperf
Version: 3.6
Version: 3.7
Release: 0
Summary: A tool to measure network performance
License: BSD-3-Clause
Group: Productivity/Networking/Diagnostic
Url: http://software.es.net/iperf/
URL: https://software.es.net/iperf/
#Source URL: http://downloads.es.net/pub/iperf/%{name}-%{version}.tar.gz
Source: http://downloads.es.net/pub/iperf/%{name}-%{version}.tar.gz
# PATCH-FIX-OPENSUSE -- Disable profiling if %%optflags includes -fomit-frame-pointer, as option -pg conflicts with it
@ -82,7 +82,7 @@ This package contains development files.
%prep
%setup -q
%if 0%(case "%optflags" in (*-fomit-frame-pointer*) echo 1;; esac)
%if 0%(case "%{optflags}" in (*-fomit-frame-pointer*) echo 1;; esac)
%patch1 -p 1
%endif
@ -91,20 +91,19 @@ This package contains development files.
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%make_install
# cleanup empty libtool .la file
rm %{buildroot}%{_libdir}/lib%{name}.la
%post -n lib%{name}%{soname} -p /sbin/ldconfig
%postun -n lib%{name}%{soname} -p /sbin/ldconfig
%files
%defattr(-, root, root)
%doc LICENSE README.md RELEASE_NOTES
%doc LICENSE README.md RELNOTES.md
%{_bindir}/%{name}3
%{_mandir}/man1/%{name}3.1%{ext_man}
%{_mandir}/man1/%{name}3.1%{?ext_man}
%files -n lib%{name}%{soname}
%defattr(-, root, root)
@ -116,6 +115,6 @@ rm %{buildroot}%{_libdir}/lib%{name}.la
%doc LICENSE
%{_includedir}/%{name}_api.h
%{_libdir}/lib%{name}.so
%{_mandir}/man3/lib%{name}.3%{ext_man}
%{_mandir}/man3/lib%{name}.3%{?ext_man}
%changelog