Bug 278906

Summary: net/libngtcp2: Update to 1.4.0
Product: Ports & Packages Reporter: Daniel Engberg <diizzy>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (sunpoet)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/ngtcp2/ngtcp2/releases/tag/v1.4.0
Attachments:
Description Flags
Patch for libngtcp2 none

Description Daniel Engberg freebsd_committer freebsd_triage 2024-05-11 05:54:01 UTC
Created attachment 250579 [details]
Patch for libngtcp2

* Switch to CMake for faster builds
* Remove C++ requirements, we don't build anything that's written in C++
* Disable OpenSSL requirement as it fails due to lack of QUIC support which is in 3.2
* Rearrange Makefile to follow Porters Handbook more closely and for readability
* Enable "make test"

Compile and runtime tested on FreeBSD 13.2-RELEASE (amd64) (make, make check-plist, make test)
Poudriere testport OK 13.2-RELEASE (amd64)
Poudriere testport OK 14.0-RELEASE (amd64)
Comment 1 Po-Chuan Hsieh freebsd_committer freebsd_triage 2024-05-23 01:59:37 UTC
Updated to 1.4.0 and 1.5.0 in ports c5910ae77b5dbe745fbfc0e50715d31694516adc and ports c5910ae77b5dbe745fbfc0e50715d31694516adc. I'll remove C++ setting in an upcoming commit.
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-05-28 10:25:15 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a96f2c67df5a3427a85aac9bffeaedb0971a7ad7

commit a96f2c67df5a3427a85aac9bffeaedb0971a7ad7
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-28 10:02:47 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-28 10:21:55 +0000

    net/libngtcp2: Remove USES=compiler:c++14-lang

    PR:             278906
    Reported by:    diizzy

 net/libngtcp2/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2024-05-28 10:26:36 UTC
Committed. Thanks!