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 <[email protected]>
发送时间: 2021年5月27日 16:35
收件人: wen heping
抄送: [email protected]; [email protected]
主题: 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&amp;data=04%7C01%7C%7C891626f5faa0471077df08d920ea5c2a%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637577013215264851%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=Fc4O5mkoi5zx9vpNDC%2B3i%2BsFrhEtECr4im2bOMd%2F%2Bgg%3D&amp;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
--- Makefile    21 Jul 2020 02:04:23 -0000      1.6
+++ Makefile    29 May 2021 23:40:04 -0000
@@ -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 += iperf                1.0      # 0.0
+SHARED_LIBS += iperf                1.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
--- distinfo    21 Jul 2020 02:04:23 -0000      1.4
+++ distinfo    29 May 2021 23:40:04 -0000
@@ -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

Reply via email to