Browse Source

update netperf to latest version

Waldemar Brodkorb 8 years ago
parent
commit
5c8213fcec
2 changed files with 3 additions and 20 deletions
  1. 3 3
      package/netperf/Makefile
  2. 0 17
      package/netperf/patches/patch-src_netlib_c

+ 3 - 3
package/netperf/Makefile

@@ -4,13 +4,13 @@
 include ${ADK_TOPDIR}/rules.mk
 
 PKG_NAME:=		netperf
-PKG_VERSION:=		2.4.3
+PKG_VERSION:=		2.7.0
 PKG_RELEASE:=		1
-PKG_HASH:=		f6cbcc3d41da1737dc8ca65859a902eafb41fc43f3be59306ee17c5372e7e6ff
+PKG_HASH:=		9170c4758463bc5342dcdbfc88a40b586fcc9d7ccca048ecbb3b2d49387a28b9
 PKG_DESCR:=		network performance measurement tools
 PKG_SECTION:=		net/perf
 PKG_URL:=		http://www.netperf.org/netperf/
-PKG_SITES:=		ftp://ftp.netperf.org/netperf/archive/
+PKG_SITES:=		ftp://ftp.netperf.org/netperf/
 
 DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz
 

+ 0 - 17
package/netperf/patches/patch-src_netlib_c

@@ -1,17 +0,0 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- netperf-2.4.3.orig/src/netlib.c	2007-02-15 01:12:35.000000000 +0100
-+++ netperf-2.4.3/src/netlib.c	2009-06-01 23:36:22.000000000 +0200
-@@ -1900,8 +1900,13 @@ bind_to_specific_processor(int processor
- 
- #if defined(__CPU_SETSIZE)
- #define NETPERF_CPU_SETSIZE __CPU_SETSIZE
-+#if defined(__CPU_SET_S)
-+#define NETPERF_CPU_SET(cpu, cpusetp)  __CPU_SET_S(cpu, sizeof (cpu_set_t), cpusetp)
-+#define NETPERF_CPU_ZERO(cpusetp)      __CPU_ZERO_S (sizeof (cpu_set_t), cpusetp) 
-+#else
- #define NETPERF_CPU_SET(cpu, cpusetp)  __CPU_SET(cpu, cpusetp)
- #define NETPERF_CPU_ZERO(cpusetp)      __CPU_ZERO (cpusetp)
-+#endif
-   typedef cpu_set_t netperf_cpu_set_t;
- #else
- #define NETPERF_CPU_SETSIZE sizeof(unsigned long)