回复: net/iperf3 : Update to 3.9

2021-05-29 Thread wen heping
Here is updated patch:
   i) Update to 3.10
   ii) Bump SHARED_LIBS to 1.1

   I did not switch to GITHUB because MASTER_SITE does not require
certificate verification now.

   Build well and pass all tests on amd64-6.9 system.


wen



发件人: Stuart Henderson 
发送时间: 2021年5月27日 16:35
收件人: wen heping
抄送: ports@openbsd.org; l...@openbsd.org
主题: Re: net/iperf3 : Update to 3.9

On 2021/05/27 01:11, wen heping wrote:
> Hi,
>
> Here is a simple patch for net/iperf3 to update to 3.9,
> it build well and pass all tests on amd64-6.9 system.

The distfile can't be fetched from MASTER_SITES, they are missing the
chain certificate.

===>  Checking files for iperf3-3.9
>> Fetch 
>> https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdownloads.es.net%2Fpub%2Fiperf%2Fiperf-3.9.tar.gz&data=04%7C01%7C%7C891626f5faa0471077df08d920ea5c2a%7C84df9e7fe9f640afb435%7C1%7C0%7C637577013215264851%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Fc4O5mkoi5zx9vpNDC%2B3i%2BsFrhEtECr4im2bOMd%2F%2Bgg%3D&reserved=0
TLS handshake failure: certificate verification failed: unable to get local 
issuer certificate

Fetching it from github instead, I see there were symbol additions to
libiperf, so a minor library version bump is needed.

Better go for 3.10 now anyway.

Index: Makefile
===
RCS file: /cvs/ports/net/iperf3/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile21 Jul 2020 02:04:23 -  1.6
+++ Makefile29 May 2021 23:40:04 -
@@ -2,11 +2,11 @@
 
 COMMENT=   tool to measure maximum achievable bandwidth on IP networks
 
-V= 3.8.1
+V= 3.10
 PKGNAME=   iperf3-${V}
 DISTNAME=  iperf-${V}
 
-SHARED_LIBS += iperf1.0  # 0.0
+SHARED_LIBS += iperf1.1  # 0.0
 
 CATEGORIES=net
 
Index: distinfo
===
RCS file: /cvs/ports/net/iperf3/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo21 Jul 2020 02:04:23 -  1.4
+++ distinfo29 May 2021 23:40:04 -
@@ -1,2 +1,2 @@
-SHA256 (iperf-3.8.1.tar.gz) = 5bCA8yc6inFaQQDxOCasLKMcx7ExWSVjGy7PZJV97ZY=
-SIZE (iperf-3.8.1.tar.gz) = 618098
+SHA256 (iperf-3.10.tar.gz) = Q5CYKShUIlbBfW3R9W7t6QkmSev9ipfIzs+tEtI4rVc=
+SIZE (iperf-3.10.tar.gz) = 634101


Re: net/iperf3 : Update to 3.9

2021-05-27 Thread Stuart Henderson
On 2021/05/27 01:11, wen heping wrote:
> Hi,
> 
> Here is a simple patch for net/iperf3 to update to 3.9,
> it build well and pass all tests on amd64-6.9 system.

The distfile can't be fetched from MASTER_SITES, they are missing the
chain certificate.

===>  Checking files for iperf3-3.9
>> Fetch https://downloads.es.net/pub/iperf/iperf-3.9.tar.gz
TLS handshake failure: certificate verification failed: unable to get local 
issuer certificate

Fetching it from github instead, I see there were symbol additions to
libiperf, so a minor library version bump is needed.

Better go for 3.10 now anyway.



net/iperf3 : Update to 3.9

2021-05-26 Thread wen heping
Hi,

Here is a simple patch for net/iperf3 to update to 3.9,
it build well and pass all tests on amd64-6.9 system.


wenIndex: Makefile
===
RCS file: /cvs/ports/net/iperf3/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile21 Jul 2020 02:04:23 -  1.6
+++ Makefile27 May 2021 01:08:31 -
@@ -2,7 +2,7 @@
 
 COMMENT=   tool to measure maximum achievable bandwidth on IP networks
 
-V= 3.8.1
+V= 3.9
 PKGNAME=   iperf3-${V}
 DISTNAME=  iperf-${V}
 
Index: distinfo
===
RCS file: /cvs/ports/net/iperf3/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo21 Jul 2020 02:04:23 -  1.4
+++ distinfo27 May 2021 01:08:31 -
@@ -1,2 +1,2 @@
-SHA256 (iperf-3.8.1.tar.gz) = 5bCA8yc6inFaQQDxOCasLKMcx7ExWSVjGy7PZJV97ZY=
-SIZE (iperf-3.8.1.tar.gz) = 618098
+SHA256 (iperf-3.9.tar.gz) = JLY6JjgjJfdZ8R1CF3mpN7Y8obwXxEWH0vz+2rYKwDg=
+SIZE (iperf-3.9.tar.gz) = 622459