Bug 278101

Summary: www/h2o: Unbundle libs and provide libh2o
Product: Ports & Packages Reporter: Daniel Engberg <diizzy>
Component: Individual Port(s)Assignee: Dave Cottlehuber <dch>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (dch)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch for h2o none

Description Daniel Engberg freebsd_committer freebsd_triage 2024-04-01 15:34:21 UTC
Created attachment 249638 [details]
Patch for h2o

- Unbundle (lib)hiredis and libyaml
- Provide libh2o
- Only use WITH_FUSION with supported CPUs when CPUTYPE is defined

Known issue:
h2o gets it's own git hash wrong, cosmetic issue
https://github.com/h2o/h2o/blob/master/CMakeLists.txt#L1080

Please test, may also crash and burn...

We do have a few ports depending on libh2o it seems...
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-05-04 15:23:06 UTC
A commit in branch main references this bug:

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

commit b69b773660b7dc164e29b56c3e89654c36b99dbc
Author:     Dave Cottlehuber <dch@FreeBSD.org>
AuthorDate: 2024-05-04 15:22:05 +0000
Commit:     Dave Cottlehuber <dch@FreeBSD.org>
CommitDate: 2024-05-04 15:22:05 +0000

    www/h2o: update to latest git snapshot 20240411

    pet port
    - fix build without ruby
    - add new quicly includes
    - let ports handle fusion CPU options

    Differential Revision:  https://reviews.freebsd.org/D44942
    PR:             278101
    Obtained from:  diizzy

 www/h2o/Makefile                                | 41 ++++++-----
 www/h2o/distinfo                                |  6 +-
 www/h2o/files/extra-patch-cputype-defined (new) | 11 +++
 www/h2o/files/patch-CMakeLists.txt (new)        | 98 +++++++++++++++++++++++++
 www/h2o/files/patch-src_ssl.c                   |  4 +-
 www/h2o/pkg-plist                               | 30 +++++++-
 6 files changed, 165 insertions(+), 25 deletions(-)