5c16921c9d
[core] TCP latency optimization [core] provide tag to include other YAML files from the configuration file [core] accept sequence of mappings for path-level configuration [core] fix broken support for TCP Fast Open in OS X [access-log] provide directive to emit request-level errors [access-log] emit values of all set-cookie headers concatenated [fastcgi] fix connection failure when fastcgi.spawn is used with an uid [file] more pre-defined MIME types [http2][proxy] recognize link rel=preload headers in interim response as a trigger to push resources [http1][http2] validate characters used in the headers [http1][http2] notify error downstream when an error occurred while generating a response [http1][http2] fix resource leak upon upgrade failure to HTTP/2 [http2] add http2-push-preload directive to turn off H2 push being initiated by link rel=preload header [http2] add support for cache-digest header [http2] drop host header in HTTP/2 layer [http2] don't use etag for calculating casper cookie [http2] add support for H2 debug state [mruby] add dos_detector mruby handler [mruby] add DSL for access control lists (acl) [mruby] share mruby state and constants between handlers [mruby] add library for address-block-based access control [proxy] add an option to connect to upstream using PROXY protocol [proxy] don't escape : in URI path [proxy] preserve received URLs as much as possible [proxy] add an option to prevent emiting x-forwarded-* headers [proxy] cache TLS session used for upstream connections [proxy] turn on/off on-the-fly compression based on the x-compress-hint header [ssl] set add_lock callback to prevent unnecessary lock-add-unlock [ssl] add support for OpenSSL 1.1.0 [status] collect and report HTTP statistics [status] report additional stats when jemalloc is used [throttle] add new handler for throttling the response bandwidth [libh2o] provide h2o_rand that calls the appropriate random function depending on the OS [libh2o] do not require use of picohttpparser.h when using the HTTP/1 client [libh2o] install library files to the correct location [misc] provide crash-handler directive to customize crash logging [misc] guess the default location of h2o.conf [misc] allow to disable libuv even when it is found [misc] add font/woff2 to the default mime-type mapping [misc] mark JavaScript and JSON files as compressible by default
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.14 2017/01/26 21:11:53 adam Exp $
|
|
|
|
DISTNAME= h2o-2.1.0
|
|
CATEGORIES= www
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=h2o/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://github.com/h2o/h2o
|
|
COMMENT= Optimized HTTP server with support for HTTP/1.x and HTTP/2
|
|
LICENSE= mit
|
|
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
USE_CMAKE= yes
|
|
USE_LANGUAGES= c c++
|
|
USE_TOOLS+= perl:run pkg-config
|
|
PKGCONFIG_OVERRIDE+= libh2o-evloop.pc.in
|
|
PKGCONFIG_OVERRIDE+= libh2o.pc.in
|
|
|
|
CMAKE_ARGS+= -DWITH_BUNDLED_SSL=off
|
|
# TODO: make it an option
|
|
CMAKE_ARGS+= -DWITH_MRUBY=off
|
|
|
|
SUBST_CLASSES+= interp
|
|
SUBST_STAGE.interp= post-extract
|
|
SUBST_MESSAGE.interp= Fixing interpreter.
|
|
SUBST_FILES.interp= share/h2o/*
|
|
SUBST_SED.interp= -e 's,^\#\! /bin/sh,\#\!/bin/perl,'
|
|
SUBST_SED.interp+= -e '/^exec perl/d'
|
|
SUBST_SED.interp+= -e '/\#\! perl/d'
|
|
|
|
REPLACE_PERL= share/h2o/*
|
|
|
|
.include "../../devel/libuv/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../textproc/libyaml/buildlink3.mk"
|
|
.include "../../www/wslay/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|