[oe-commits] [meta-openembedded] 18/39: netperf: change SRC_URI to git repository
git at git.openembedded.org
git at git.openembedded.org
Sun Aug 13 11:29:44 UTC 2017
This is an automated email from the git hooks/post-receive script.
martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.
commit 163c868915804f612432f19375e3f90e368bbed0
Author: Yue Tao <Yue.Tao at windriver.com>
AuthorDate: Thu Jul 20 16:17:47 2017 +0800
netperf: change SRC_URI to git repository
netperf upstream has been migrated to GitHub. They no longer
provide ftp and tar balls. Update the SRC_URI to point the
GitHub repo instead of the ftp server address, still using the
v2.6.0 version.
Signed-off-by: Yue Tao <Yue.Tao at windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
.../recipes-support/netperf/{netperf_2.6.0.bb => netperf_git.bb} | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
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 650fdae..5a51477 100644
--- a/meta-networking/recipes-support/netperf/netperf_2.6.0.bb
+++ b/meta-networking/recipes-support/netperf/netperf_git.bb
@@ -5,19 +5,19 @@ HOMEPAGE = "http://www.netperf.org/"
LICENSE = "netperf"
LICENSE_FLAGS = "non-commercial"
+PV = "2.6.0+git${SRCREV}"
+SRCREV = "050accccc728f29344088f5e15eff36fd2e0bc8a"
-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"
inherit update-rc.d autotools
-S = "${WORKDIR}/netperf-${PV}"
+S = "${WORKDIR}/git"
# cpu_set.patch plus _GNU_SOURCE makes src/netlib.c compile with CPU_ macros
CFLAGS_append = " -DDO_UNIX -DDO_IPV6 -D_GNU_SOURCE"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list