Bug 278101 - www/h2o: Unbundle libs and provide libh2o
Summary: www/h2o: Unbundle libs and provide libh2o
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: Dave Cottlehuber
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-01 15:34 UTC by Daniel Engberg
Modified: 2024-05-04 15:23 UTC (History)
0 users

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


Attachments
Patch for h2o (13.53 KB, patch)
2024-04-01 15:34 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 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(-)