[meta-networking,jethro,-,resend] netperf: upgrade to 2.7.0+ with git version

Submitted by Cristian Stoica on Dec. 12, 2017, 10:12 a.m. | Patch ID: 146587

Details

Message ID 20171212101240.14632-1-cristian.stoica@nxp.com
State New
Delegated to: Armin Kuster
Headers show

Commit Message

Cristian Stoica Dec. 12, 2017, 10:12 a.m.
From: Kai Kang <kai.kang@windriver.com>

The homepage of netperf has been moved to github. The original webpage
www.netperf.org is redirected to github and tarballs are removed. So use
git version of recipe instead.

netperf 2.7.0 was released in July 2015 which is too old. So upgrade to
latest commit of git repo which is on Nov 29, 2016.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
(cherry picked from commit f8e7e5af3578937f056dddbe104a08bb35c56c64)
---

repost after non-subscriber e-mail bounced


 .../netperf/{netperf_2.6.0.bb => netperf_git.bb}             | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
 rename meta-networking/recipes-support/netperf/{netperf_2.6.0.bb => netperf_git.bb} (89%)

Patch hide | download patch | download mbox

diff --git a/meta-networking/recipes-support/netperf/netperf_2.6.0.bb b/meta-networking/recipes-support/netperf/netperf_git.bb
similarity index 89%
rename from meta-networking/recipes-support/netperf/netperf_2.6.0.bb
rename to meta-networking/recipes-support/netperf/netperf_git.bb
index 760bab0f3..3f98193d9 100644
--- a/meta-networking/recipes-support/netperf/netperf_2.6.0.bb
+++ b/meta-networking/recipes-support/netperf/netperf_git.bb
@@ -4,20 +4,20 @@  SECTION = "net"
 HOMEPAGE = "http://www.netperf.org/"
 LICENSE = "netperf"
 LICENSE_FLAGS = "non-commercial"
+LIC_FILES_CHKSUM = "file://COPYING;md5=a0ab17253e7a3f318da85382c7d5d5d6"
 
+PV = "2.7.0+git${SRCPV}"
 
-SRC_URI="ftp://ftp.netperf.org/netperf/archive/netperf-${PV}.tar.bz2 \
+SRC_URI="git://github.com/HewlettPackard/netperf.git \
          file://cpu_set.patch \
          file://vfork.patch \
          file://init"
-SRC_URI[md5sum] = "9654ffdfd4c4f2c93ce3733cd9ed9236"
-SRC_URI[sha256sum] = "cd8dac710d4273d29f70e8dbd09353a6362ac58a11926e0822233c0cb230323a"
 
-LIC_FILES_CHKSUM = "file://COPYING;md5=a0ab17253e7a3f318da85382c7d5d5d6"
+SRCREV = "f482bab49fcedee46fc5b755da127f608325cd13"
 
-inherit update-rc.d autotools
+S = "${WORKDIR}/git"
 
-S = "${WORKDIR}/netperf-${PV}"
+inherit update-rc.d autotools
 
 # cpu_set.patch plus _GNU_SOURCE makes src/netlib.c compile with CPU_ macros
 CFLAGS_append = " -DDO_UNIX -DDO_IPV6 -D_GNU_SOURCE"