Skip to contentSkip to conversation

iperf3: Upgrade to 3.6

PATCH Superseded [email protected] 2 participants 3 messages Jul 24, 2018 – Jul 31, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iperf3: Upgrade to 3.6

From: Mingli Yu <[email protected]>

* Licence-Update:
- Copyright years are updated to 2018
- Remove the part about src/tcp_window_size.{c,h} as iperf3 uses get/setsockopt() with SO_SNDBUF and SO_RCVBUF directly now
* Update the path parameter for --with-openssl as ${RECIPE_SYSROOT}/usr to fix the below do_configure error

  | checking for openssl/ssl.h in /poky-build/tmp/work/i586-poky-linux/iperf3/3.6-r0/recipe-sysroot... no
  | checking whether compiling and linking against OpenSSL works... no
  | configure: error: in `/poky-build/tmp/work/i586-poky-linux/iperf3/3.6-r0/build':
  | configure: error: --with-openssl was given, but test for OpenSSL failed
---
 .../iperf3/{iperf3_3.2.bb => iperf3_3.6.bb}                 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-benchmark/iperf3/{iperf3_3.2.bb => iperf3_3.6.bb} (83%)
meta-oe/recipes-benchmark/iperf3/iperf3_3.6.bb renamed from meta-oe/recipes-benchmark/iperf3/iperf3_3.2.bb +3 -3
similarity index 83%
rename from meta-oe/recipes-benchmark/iperf3/iperf3_3.2.bb
rename to meta-oe/recipes-benchmark/iperf3/iperf3_3.6.bb
index 2ed08110f..a575d465e 100644
@@ -9,7 +9,7 @@ SECTION = "console/network"
 BUGTRACKER = "https://github.com/esnet/iperf/issues"
 AUTHOR = "ESNET <[email protected]>, Lawrence Berkeley National Laboratory <[email protected]>"
 LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=d098223e44bdd19585315ee75cd9d2d7"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a9a036136b748453e839c0eb8906ef2e"
 
 DEPENDS = "openssl"
 
@@ -18,7 +18,7 @@ SRC_URI = "git://github.com/esnet/iperf.git \
            file://0002-Remove-pg-from-profile_CFLAGS.patch \
            "
 
-SRCREV = "88d907f7fb58bfab5d086c5da60c922e1c582c92"
+SRCREV = "88f3ad87f38762081a6d7127890ff5c3a052b06a"
 
 S = "${WORKDIR}/git"
 
@@ -28,6 +28,6 @@ PACKAGECONFIG[lksctp] = "ac_cv_header_netinet_sctp_h=yes,ac_cv_header_netinet_sc
 
 CFLAGS += "-D_GNU_SOURCE"
 
-EXTRA_OECONF = "--with-openssl=${RECIPE_SYSROOT}"
+EXTRA_OECONF = "--with-openssl=${RECIPE_SYSROOT}/usr"
 
 BBCLASSEXTEND = "native"
Signature · 1 line
2.17.1
#1 lore raw
Quoted 48 lines · On Mon, Jul 23, 2018 at 10:43 PM <[email protected]> wrote:

From: Mingli Yu <[email protected]>

* Licence-Update:
- Copyright years are updated to 2018
- Remove the part about src/tcp_window_size.{c,h} as iperf3 uses get/setsockopt() with SO_SNDBUF and SO_RCVBUF directly now
* Update the path parameter for --with-openssl as ${RECIPE_SYSROOT}/usr to fix the below do_configure error

  | checking for openssl/ssl.h in /poky-build/tmp/work/i586-poky-linux/iperf3/3.6-r0/recipe-sysroot... no
  | checking whether compiling and linking against OpenSSL works... no
  | configure: error: in `/poky-build/tmp/work/i586-poky-linux/iperf3/3.6-r0/build':
  | configure: error: --with-openssl was given, but test for OpenSSL failed
---
 .../iperf3/{iperf3_3.2.bb => iperf3_3.6.bb}                 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-benchmark/iperf3/{iperf3_3.2.bb => iperf3_3.6.bb} (83%)
meta-oe/recipes-benchmark/iperf3/iperf3_3.6.bb renamed from meta-oe/recipes-benchmark/iperf3/iperf3_3.2.bb +2 -2
similarity index 83%
rename from meta-oe/recipes-benchmark/iperf3/iperf3_3.2.bb
rename to meta-oe/recipes-benchmark/iperf3/iperf3_3.6.bb
index 2ed08110f..a575d465e 100644
@@ -9,7 +9,7 @@ SECTION = "console/network"
 BUGTRACKER = "https://github.com/esnet/iperf/issues"
 AUTHOR = "ESNET <[email protected]>, Lawrence Berkeley National Laboratory <[email protected]>"
 LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=d098223e44bdd19585315ee75cd9d2d7"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a9a036136b748453e839c0eb8906ef2e"
 
 DEPENDS = "openssl"
 
@@ -18,7 +18,7 @@ SRC_URI = "git://github.com/esnet/iperf.git \
            file://0002-Remove-pg-from-profile_CFLAGS.patch \
            "
 
-SRCREV = "88d907f7fb58bfab5d086c5da60c922e1c582c92"
+SRCREV = "88f3ad87f38762081a6d7127890ff5c3a052b06a"
 
 S = "${WORKDIR}/git"
 

meta-oe/recipes-benchmark/iperf3/iperf3_3.6.bb PACKAGECONFIG[lksctp] = "ac_cv_header_netinet_sctp_h=yes,ac_cv_header_netinet_sc · line 32

Quoted 6 lines
meta-oe/recipes-benchmark/iperf3/iperf3_3.6.bb renamed from meta-oe/recipes-benchmark/iperf3/iperf3_3.2.bb +1 -1
@@ -28,6 +28,6 @@ PACKAGECONFIG[lksctp] = "ac_cv_header_netinet_sctp_h=yes,ac_cv_header_netinet_sc
 
 CFLAGS += "-D_GNU_SOURCE"
 
-EXTRA_OECONF = "--with-openssl=${RECIPE_SYSROOT}"
+EXTRA_OECONF = "--with-openssl=${RECIPE_SYSROOT}/usr"
 

Hardcoding /usr may not be best here. Can you figure out a bitbake variable to use here ?

Quoted 9 lines
meta-oe/recipes-benchmark/iperf3/iperf3_3.6.bb renamed from meta-oe/recipes-benchmark/iperf3/iperf3_3.2.bb +0 -1
 BBCLASSEXTEND = "native"
--

2.17.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#2 lore raw

PATCH v2 1/1 iperf3: Upgrade to 3.6

From: Mingli Yu <[email protected]>

* Licence-Update:
- Copyright years are updated to 2018
- Remove the part about src/tcp_window_size.{c,h} as iperf3 uses get/setsockopt() with SO_SNDBUF and SO_RCVBUF directly now
* Update the path parameter for --with-openssl as ${RECIPE_SYSROOT}${prefix} to fix the below do_configure error

  | checking for openssl/ssl.h in /poky-build/tmp/work/i586-poky-linux/iperf3/3.6-r0/recipe-sysroot... no
  | checking whether compiling and linking against OpenSSL works... no
  | configure: error: in `/poky-build/tmp/work/i586-poky-linux/iperf3/3.6-r0/build':
  | configure: error: --with-openssl was given, but test for OpenSSL failed
---
 .../iperf3/{iperf3_3.2.bb => iperf3_3.6.bb}                 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-benchmark/iperf3/{iperf3_3.2.bb => iperf3_3.6.bb} (83%)
meta-oe/recipes-benchmark/iperf3/iperf3_3.6.bb renamed from meta-oe/recipes-benchmark/iperf3/iperf3_3.2.bb +3 -3
similarity index 83%
rename from meta-oe/recipes-benchmark/iperf3/iperf3_3.2.bb
rename to meta-oe/recipes-benchmark/iperf3/iperf3_3.6.bb
index 2ed08110f..4e11d8233 100644
@@ -9,7 +9,7 @@ SECTION = "console/network"
 BUGTRACKER = "https://github.com/esnet/iperf/issues"
 AUTHOR = "ESNET <[email protected]>, Lawrence Berkeley National Laboratory <[email protected]>"
 LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=d098223e44bdd19585315ee75cd9d2d7"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a9a036136b748453e839c0eb8906ef2e"
 
 DEPENDS = "openssl"
 
@@ -18,7 +18,7 @@ SRC_URI = "git://github.com/esnet/iperf.git \
            file://0002-Remove-pg-from-profile_CFLAGS.patch \
            "
 
-SRCREV = "88d907f7fb58bfab5d086c5da60c922e1c582c92"
+SRCREV = "88f3ad87f38762081a6d7127890ff5c3a052b06a"
 
 S = "${WORKDIR}/git"
 
@@ -28,6 +28,6 @@ PACKAGECONFIG[lksctp] = "ac_cv_header_netinet_sctp_h=yes,ac_cv_header_netinet_sc
 
 CFLAGS += "-D_GNU_SOURCE"
 
-EXTRA_OECONF = "--with-openssl=${RECIPE_SYSROOT}"
+EXTRA_OECONF = "--with-openssl=${RECIPE_SYSROOT}${prefix}"
 
 BBCLASSEXTEND = "native"
Signature · 1 line
2.17.1