Bug 268537

Summary: www/nghttp2: Update to 1.51.0
Product: Ports & Packages Reporter: Daniel Engberg <diizzy>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Only Me CC: diizzy
Priority: --- Flags: bugzilla: maintainer-feedback? (sunpoet)
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/nghttp2/nghttp2/releases/tag/v1.51.0
Bug Depends on: 268536    
Bug Blocks:    
Attachments:
Description Flags
Patch for nghttp2 none

Description Daniel Engberg freebsd_committer freebsd_triage 2022-12-24 10:57:50 UTC
Created attachment 238997 [details]
Patch for nghttp2

* Switch to CMake (simplifies patching a lot)
* Drop ASIO option (removed in 1.52.0) [1]
* Remove ancient version dependencies of libraries to simplify port
* Make use of helpers instead of patching by hand
* Modernize Makefile to follow Porters Handbook more closely

Compile tested on FreeBSD 13.1-STABLE (amd64) (make, make check-plist)
Poudriere testport OK 12.3-RELEASE (amd64)
Poudriere testport OK 13.1-RELEASE (i386)
Comment 1 Daniel Engberg freebsd_committer freebsd_triage 2022-12-24 11:01:59 UTC
Regarding asio https://github.com/nghttp2/nghttp2/pull/1844 , forgot to add link
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-01-16 09:28:45 UTC
A commit in branch main references this bug:

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

commit b1e165f3234177a3f9eea5dd6f5c23b46a950768
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-01-16 09:26:31 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-01-16 09:26:35 +0000

    www/nghttp2: Update to 1.51.0

    * Switch to CMake (simplifies patching a lot)
    * Drop ASIO option (removed in 1.52.0)
    * Remove ancient version dependencies of libraries to simplify port
    * Make use of helpers instead of patching by hand
    * Modernize Makefile to follow Porters Handbook more closely

    Reference: https://github.com/nghttp2/nghttp2/pull/1844
    Changelog: https://github.com/nghttp2/nghttp2/releases/tag/v1.51.0

    PR:             268537
    Approved by:    portmgr (maintainer timeout, 2+ weeks)

 www/nghttp2/Makefile                               | 53 +++++---------
 www/nghttp2/distinfo                               |  6 +-
 www/nghttp2/files/patch-CMakeLists.txt (new)       | 11 +++
 www/nghttp2/files/patch-Makefile.in (gone)         | 11 ---
 .../files/patch-examples-Makefile.in (gone)        | 66 -----------------
 .../files/patch-script-fetch-ocsp-response (gone)  |  7 --
 www/nghttp2/files/patch-src-Makefile.in (gone)     | 83 ----------------------
 www/nghttp2/files/patch-tests-Makefile.in (gone)   | 31 --------
 www/nghttp2/pkg-plist                              | 12 ----
 9 files changed, 32 insertions(+), 248 deletions(-)