BSD Ports

www/h2o 20261006 FreeBSD

Optimized HTTP/2 server including support for TLS 1.3 and HTTP/1.x

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
0481907585
License
BSD2CLAUSE, MIT
Categories
www
Package size
2195.2 KiB, 5681.0 KiB installed

Description

H2O is a very fast HTTP server written in C. It can also be used as a library.

It supports:

  • HTTP/1.0, HTTP/1.1
  • HTTP/2
  • persistent connections
  • chunked encoding
  • negotiation methods: NPN, ALPN, Upgrade, direct
  • dependency and weight-based prioritization
  • server push
  • TLS up to 1.3
  • support OpenSSL and LibreSSL
  • forward secrecy
  • AEAD ciphers
  • OCSP stapling (automatically enabled)
  • session resumption (internal memory)
  • conditional GET using last-modified / etag
  • mime-type configuration
  • reverse proxy
  • websocket support
  • embedded mruby interpreter for high speed custom functions

In the other systems

SystemPortVersion
FreeBSDwww/h2o20261006
NetBSDwww/h2o2.2.6nb4
DragonFlywww/h2o2.3.0.d.20241011

Install

Binary package:

pkg install h2o

From the ports tree:

cd /usr/ports/www/h2o/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	h2o>0:www/h2o

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2026100620261006--20261006
FreeBSD:14:quarterly2026091320260913n/a-20260913
FreeBSD:15:latest2026100620261006n/a-2.3.0.d.20241011
FreeBSD:15:quarterly2026091320260913n/an/an/a
FreeBSD:16:latest2026091320261006n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 3

The full lists below include those, and their dependencies in turn.

Build dependencies 27
Run dependencies 4

No port depends on this one.

Configuration

Options name: www_h2o

OptionDefaultDescription
DOCSoffBuild and/or install documentation
MRUBYonBuild with embedded mruby handler support
USES
cmake compiler:c11 cpe pathfix perl5 pkgconfig shebangfix ssl
Service scripts
h2o

Files

Manual pages 2
  • h2o(8)
  • h2o.conf(5)
pkg-plist 164
  • @dir(,,0750)
  • @sample etc/h2o/h2o.conf.sample
  • share/h2o/acme/lego-loader
  • share/h2o/acme/loading.crt
  • share/h2o/acme/loading.key
  • share/h2o/annotate-backtrace-symbols
  • share/h2o/ca-bundle.crt
  • share/h2o/fastcgi-cgi
  • share/h2o/fetch-ocsp-response
  • share/h2o/kill-on-close
  • share/h2o/setuidgid
  • share/h2o/start_server
  • share/h2o/status/index.html
  • share/h2o/mruby/acl.rb
  • share/h2o/mruby/bootstrap.rb
  • share/h2o/mruby/dos_detector.rb
  • share/h2o/mruby/htpasswd.rb
  • share/h2o/mruby/lru_cache.rb
  • share/h2o/mruby/preloads.rb
  • share/h2o/mruby/prometheus.rb
  • share/h2o/mruby/trie_addr.rb
  • share/doc/h2o/assets/8mbps100msec-nginx195-h2o150.png
  • share/doc/h2o/assets/firstpaintbench.png
  • share/doc/h2o/assets/remotebench.png
  • share/doc/h2o/assets/searchstyle.css
  • share/doc/h2o/assets/staticfile612-nginx1910-h2o170.png
  • share/doc/h2o/assets/style.css
  • share/doc/h2o/benchmarks.html
  • share/doc/h2o/configure.html
  • share/doc/h2o/configure/access_control.html
  • share/doc/h2o/configure/access_log_directives.html
  • share/doc/h2o/configure/base_directives.html
  • share/doc/h2o/configure/basic_auth.html
  • share/doc/h2o/configure/cgi.html
  • share/doc/h2o/configure/command_options.html
  • share/doc/h2o/configure/compress_directives.html
  • share/doc/h2o/configure/dos_detection.html
  • share/doc/h2o/configure/errordoc_directives.html
  • share/doc/h2o/configure/expires_directives.html
  • share/doc/h2o/configure/fastcgi_directives.html
  • share/doc/h2o/configure/file_directives.html
  • share/doc/h2o/configure/h2olog.html
  • share/doc/h2o/configure/headers_directives.html
  • share/doc/h2o/configure/http1_directives.html
  • share/doc/h2o/configure/http2_directives.html
  • share/doc/h2o/configure/http3_directives.html
  • share/doc/h2o/configure/mruby_directives.html
  • share/doc/h2o/configure/mruby.html
  • share/doc/h2o/configure/proxy_directives.html
  • share/doc/h2o/configure/quick_start.html
  • share/doc/h2o/configure/redirect_directives.html
  • share/doc/h2o/configure/reproxy_directives.html
  • share/doc/h2o/configure/server_timing_directives.html
  • share/doc/h2o/configure/status_directives.html
  • share/doc/h2o/configure/syntax_and_structure.html
  • share/doc/h2o/configure/throttle_response_directives.html
  • share/doc/h2o/examples/doc_root.alternate/index.txt
  • share/doc/h2o/examples/doc_root.third/index.txt
  • share/doc/h2o/examples/doc_root/index.html
  • share/doc/h2o/examples/h2o_mruby/h2o.conf
  • share/doc/h2o/examples/h2o_mruby/hello.rb
  • share/doc/h2o/examples/h2o/alternate.crt
  • share/doc/h2o/examples/h2o/alternate.key
  • share/doc/h2o/examples/h2o/ech.key
  • share/doc/h2o/examples/h2o/h2o.conf
  • share/doc/h2o/examples/h2o/server.crt
  • share/doc/h2o/examples/h2o/server.key
  • share/doc/h2o/examples/h2o/server.pub
  • share/doc/h2o/examples/h2o/wildcard.crt
  • share/doc/h2o/examples/h2o/wildcard.key
  • share/doc/h2o/examples/libh2o/latency-optimization.c
  • share/doc/h2o/examples/libh2o/redis-client.c
  • share/doc/h2o/examples/libh2o/simple.c
  • share/doc/h2o/examples/libh2o/socket-client.c
  • share/doc/h2o/examples/libh2o/websocket.c
  • share/doc/h2o/faq.html
  • share/doc/h2o/h2o.conf.5
  • share/doc/h2o/index.html
  • share/doc/h2o/install.html
  • share/doc/h2o/search/jquery-1.9.1.min.js
  • share/doc/h2o/search/oktavia-english-search.js
  • share/doc/h2o/search/oktavia-jquery-ui.js
  • share/doc/h2o/search/searchindex.js
  • bin/h2o
  • bin/h2olog
  • include/h2o.h
  • include/h2o/absprio.h
  • include/h2o/balancer.h
  • include/h2o/cache.h
  • include/h2o/cache_digests.h
  • include/h2o/configurator.h
  • include/h2o/file.h
  • include/h2o/filecache.h
  • include/h2o/header.h
  • include/h2o/hiredis_.h
  • include/h2o/hostinfo.h
  • include/h2o/hpack.h
  • include/h2o/http1.h
  • include/h2o/http2.h
  • include/h2o/http2_casper.h

The first 100 are listed.

distinfo 1
FileSizeSHA256
h2o-h2o-20261006-5da5054_GH0.tar.gz7.192269e+06a4d7bc745ceb570e125107c56e6e99fa21f541ee1091a5688dfb8163f6f906ad

Commit history 2

DateCommitCreditsLog message
0481907585 Dave Cottlehuber www/h2o: Update to 20260102 snapshot
Sponsored by: SkunkWerks, GmbH
3396922e82 Dave Cottlehuber www/h2o: Update to 20260913 snapshot
Sponsored by: SkunkWerks, GmbH Differential Revision: https://reviews.freebsd.org/D60088 Tested by: Uwe Trenkner <[email protected]>