Commit Graph

23 Commits

Author SHA1 Message Date
Khem Raj
ffc64e9c6f
recipes: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do
so in preparation for changing the default value of UNPACKDIR.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-23 08:44:44 -07:00
Martin Jansa
21f956598d
recipes: drop ${SRCPV} usage
* Drop SRCPV similarly like oe-core did in:
  https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=843f82a246a535c353e08072f252d1dc78217872

* SRCPV is deferred now from PV to PKGV since:
  https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=a8e7b0f932b9ea69b3a218fca18041676c65aba0

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
2024-02-09 09:52:12 -08:00
Khem Raj
4114fdc78b netperf: Always enable largefile support
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-13 07:05:31 -07:00
Ashish Sharma
06efcf5d56 netserver: don't change permissions on /dev/null
Source: MontaVista Software, LLC
MR: 117141
Type: Defect Fix
Disposition: Backport from [78c9ae7d9a]
ChangeID: 199f8618971de15d177dab9651f82f5696ff1aa1
Description:
	the (now default) suppress_debug=1 changes permissions on /dev/null
	to 0644. Don't do this.

Signed-off-by: Ashish Sharma <asharma@mvista.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-06-30 13:39:27 -04:00
Richard Purdie
b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Khem Raj
2039ff1935 netperf: Add systemd unit file
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-07-27 09:52:23 -07:00
Khem Raj
587fe58777 netperf: Update to latest
License-Update: Upstream has switched to MIT [1]

[1] 2d88bcc75d

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-07-27 09:52:23 -07:00
Khem Raj
b66dc11366 netperf: Fix build with -fno-common
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-13 22:32:07 -07:00
Khem Raj
4db827198b netperf: Inherit texinfo to get makeinfo
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-28 22:35:23 -08:00
Denys Dmytriyenko
954b3209de netperf: add "intervals" and "histogram" PACKAGECONFIGs
>From https://hewlettpackard.github.io/netperf/doc/netperf.html:

Other optional configure-time settings include --enable-intervals=yes to give
netperf the ability to “pace” its _STREAM tests and --enable-histogram=yes to
have netperf keep a histogram of interesting times.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-11 16:22:40 -08:00
Khem Raj
148eba8c69 netperf: Fix build error on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-26 18:19:14 -07:00
Kai Kang
f8e7e5af35 netperf: upgrade to 2.7.0+ with git version
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>
2017-09-12 10:55:07 -04:00
Ross Burton
275b6c30fb meta-networking: use bb.utils.contains() instead of base_contains()
base_contains() is a compatibility wrapper and may warn in the future, so
replace all instances with bb.utils.contains().

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-05-05 11:41:28 -04:00
Zongchun Yu
d4dee20f34 netperf: fix the broken download url
Signed-off-by: Zongchun Yu <Zongchun.Yu@freescale.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-03 11:42:27 +02:00
Joe MacDonald
8980f0d2a2 meta-networking: standardize SECTION values
SECTION has been used inconsistently throughout the recipes in this layer.
Convert them to all use the same convention.

Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-06-05 20:42:25 -04:00
Mihaela Sendrea
7734132dd3 netperf: enable SCTP support
Signed-off-by: Mihaela Sendrea <mihaela.sendrea@enea.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-06-03 21:18:51 -04:00
Koen Kooi
b78c07ceb9 netperf: fix S!=B issues
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-05-03 20:47:03 +02:00
Martin Jansa
4d62e7f575 recipes: Remove PR = r0 from all recipes
* Remove all PR = "r0" from all .bb files in meta-oe repo. This was done
  with the command sed -e '/^PR.*=.*r0\"/d' meta*/recipes*/*/*.bb -i

* We've switching to the PR server, PR bumps are no longer needed and
  this saves people either accidentally bumping them or forgetting to
  remove the lines (r0 is the default anyway).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-11-01 15:33:16 +01:00
Ting Liu
d79d4b3403 netperf: set _FILE_OFFSET_BITS to 64 to support large files
Without this patch, netperf2.6 can only
support files smaller than 2GB with TCP_SENDFILE item.

Signed-off-by: Ting Liu <b28495@freescale.com>
Tested-by: Jianhua Xie<jianhua.xie@freescale.com>
Reviewed-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-10-09 09:57:21 -04:00
Martin Jansa
a45830a39b recipes: Unify indentation
* This change is only aesthetic (unlike indentation in Python
  tasks).
* Some recipes were using tabs.
* Some were using 8 spaces.
* Some were using mix or different number of spaces.
* Make them consistently use 4 spaces everywhere.
* Yocto styleguide advises to use tabs (but the only reason to keep
  tabs is the need to update a lot of recipes). Lately this advice
  was also merged into the styleguide on the OE wiki.
* Using 4 spaces in both types of tasks is better because it's less
  error prone when someone is not sure if e.g.
  do_generate_toolchain_file() is Python or shell task and also allows
  to highlight every tab used in .bb, .inc, .bbappend, .bbclass as
  potentially bad (shouldn't be used for indenting of multiline
  variable assignments and cannot be used for Python tasks).
* Don't indent closing quote on multiline variables
  we're quite inconsistent wheater it's first character on line
  under opening quote or under first non-whitespace character in
  previous line.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-04-15 16:23:17 +02:00
Joe MacDonald
85ab35f4ed netperf: Correct license flags
From: Mark Hatle <mark.hatle@windriver.com>

   I was helping someone with building netperf from meta-networking last
   night, and stumbled on what I think is a bug.

   SUMMARY = "A networking benchmarking tool"
   DESCRIPTION = "Network performance benchmark including tests for TCP,
   UDP, sockets, ATM and more."
   SECTION = "console/network"
   HOMEPAGE = "http://www.netperf.org/"
   LICENSE = "netperf"
   LICENSE_FLAGS = "commercial"

   In the above, the LICENSE_FLAGS are set to 'commercial'.  I think this
   is incorrect.  It should be set to 'non-commercial'.

   There is a subtle difference between them which is why I think it's a
   bug...

   commercial -- there are some commercial requirements necessary to use
   this recipe in a commercial device... you are responsible for
   understanding them and doing whatever is necessary... (for
   non-commercial devices you can likely use it...)

   non-commercial -- this item is restricted to non-commercial users only.
   As in the case of netperf, the license says it's only for
   non-commercial use.

   So anyway, my suggestion is to simply change the value of the flag.

Reported-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2012-11-30 11:49:56 -05:00
xin.ouyang@windriver.com
b69b6e04f1 netperf: import from oe-classic and upgrade to 2.6.0
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2012-11-19 11:18:30 -05:00