Hello community, here is the log from the commit of package netperf for openSUSE:Factory:NonFree checked in at 2015-09-03 18:05:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory:NonFree/netperf (Old) and /work/SRC/openSUSE:Factory:NonFree/.netperf.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "netperf" Changes: -------- --- /work/SRC/openSUSE:Factory:NonFree/netperf/netperf.changes 2015-05-06 07:50:02.000000000 +0200 +++ /work/SRC/openSUSE:Factory:NonFree/.netperf.new/netperf.changes 2015-09-03 18:13:08.000000000 +0200 @@ -1,0 +2,10 @@ +Thu Sep 3 07:25:27 UTC 2015 - [email protected] + +- Update to 2.7.0 + * See ChangeLog for full list of changes +- Add patches from gentoo + * netperf-fix-scripts.patch + * netperf-2.6.0-log-dir.patch + * netperf-2.7.0-includes.patch + +------------------------------------------------------------------- Old: ---- netperf-2.6.0.tar.bz2 New: ---- netperf-2.6.0-log-dir.patch netperf-2.7.0-includes.patch netperf-2.7.0.tar.bz2 netperf-fix-scripts.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ netperf.spec ++++++ --- /var/tmp/diff_new_pack.dmYUq8/_old 2015-09-03 18:13:11.000000000 +0200 +++ /var/tmp/diff_new_pack.dmYUq8/_new 2015-09-03 18:13:11.000000000 +0200 @@ -17,13 +17,17 @@ Name: netperf -Version: 2.6.0 +Version: 2.7.0 Release: 0 Summary: Network benchmarking tool License: SUSE-NonFree Group: System/Benchmark Url: http://www.netperf.org/ Source: ftp://ftp.netperf.org/netperf/%{name}-%{version}.tar.bz2 +# Patches from gentoo package +Patch0: netperf-fix-scripts.patch +Patch1: netperf-2.6.0-log-dir.patch +Patch2: netperf-2.7.0-includes.patch BuildRequires: lksctp-tools-devel Requires(post): %{install_info_prereq} Requires(preun): %{install_info_prereq} @@ -43,8 +47,12 @@ %prep %setup -q +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 %build +CFLAGS="%{optflags} -fno-strict-aliasing" %configure \ --enable-unixdomain \ --enable-dccp \ ++++++ netperf-2.6.0-log-dir.patch ++++++ --- a/src/netserver.c +++ b/src/netserver.c @@ -165,7 +165,7 @@ #elif defined(ANDROID) #define DEBUG_LOG_FILE_DIR "/data/local/tmp/" #else -#define DEBUG_LOG_FILE_DIR "/tmp/" +#define DEBUG_LOG_FILE_DIR "/var/log/" #endif #endif /* DEBUG_LOG_FILE_DIR */ ++++++ netperf-2.7.0-includes.patch ++++++ --- a/src/net_uuid.c +++ b/src/net_uuid.c @@ -28,6 +28,7 @@ #include <stdlib.h> #include <string.h> #include <fcntl.h> +#include <unistd.h> /* read(), close() */ #if defined(HAVE_INTTYPES_H) #include <inttypes.h> --- a/src/netlib.c +++ b/src/netlib.c @@ -81,6 +81,9 @@ #include <endian.h> #endif +#if defined(HAVE_SENDFILE) +#include <sys/sendfile.h> /* sendfile() */ +#endif #ifndef WIN32 /* at some point, I would like to get rid of all these "sys/" ++++++ netperf-2.6.0.tar.bz2 -> netperf-2.7.0.tar.bz2 ++++++ ++++ 9958 lines of diff (skipped) ++++++ netperf-fix-scripts.patch ++++++ --- a/doc/examples/arr_script +++ b/doc/examples/arr_script @@ -12,8 +12,7 @@ TOLERANCE=15 MAX_RETRIES=3 - NETPERF="/usr/local/netperf/netperf" - NETPERF="./netperf" + NETPERF="/usr/bin/netperf" NPROC_LIST="" RR_SIZES="" --- a/doc/examples/packet_byte_script +++ b/doc/examples/packet_byte_script @@ -25,7 +25,7 @@ fi # where is netperf -NETPERF_DIR=${NETPERF_DIR:=/opt/netperf2/bin} +NETPERF_DIR=${NETPERF_DIR:=/usr/bin} # at what port will netserver be waiting? If you decide to run --- a/doc/examples/snapshot_script +++ b/doc/examples/snapshot_script @@ -37,7 +37,7 @@ # # where is netperf installed, there are a few possible places: -NETPERF_CMD=${NETPERF_CMD:=/opt/netperf/netperf} +NETPERF_CMD=${NETPERF_CMD:=/usr/bin/netperf} # there should be no more than two parms passed
