Bug 268537 - www/nghttp2: Update to 1.51.0
Summary: www/nghttp2: Update to 1.51.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Po-Chuan Hsieh
URL: https://github.com/nghttp2/nghttp2/re...
Keywords:
Depends on: 268536
Blocks:
  Show dependency treegraph
 
Reported: 2022-12-24 10:57 UTC by Daniel Engberg
Modified: 2023-01-16 09:35 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments
Patch for nghttp2 (16.71 KB, patch)
2022-12-24 10:57 UTC, Daniel Engberg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(-)