summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorwen <wen>2015-05-20 02:06:29 +0000
committerwen <wen>2015-05-20 02:06:29 +0000
commit4cdf33e29634772787631bde268b13198ade36d0 (patch)
tree9844a2b62e9c5b5635aac519fa747a659c5287d0 /www
parent219b5fed69159d3b8e5d20fd809a7fd0ac87dc01 (diff)
downloadpkgsrc-4cdf33e29634772787631bde268b13198ade36d0.tar.gz
Update to 1.2.0
Upstream changes: 1.2.0 2015-04-14 07:13:00+0000 - [core] bundle libyaml #248 (Kazuho Oku) - [core] implement master-worker process mode and daemon mode (bundles Server::Starter) #258 #270 (Kazuho Oku) - [file] more mime-types by default #250 #254 #280 (Tatsuhiko Kubo, George Liu, Kazuho Oku) - [file][http1] fix connection being closed if the length of content is zero #276 (Kazuho Oku) - [headers] fix heap overrun during configuration #251 (Kazuho Oku) - [http2] do not delay sending PUSH_PROMISE #221 (Kazuho Oku) - [http2] reduce memory footprint under high load #271 (Kazuho Oku) - [http2] fix incorrect error sent when number of streams exceed the limit #268 (Kazuho Oku) - [proxy] fix heap overrun when building request sent to upstream #266 #269 (Moto Ishizawa, Kazuho Oku) - [proxy] fix laggy response in case the length of content is zero #274 #276 (Kazuho Oku) - [SSL] fix potential stall while reading data from client #268 (Kazuho Oku) - [SSL] bundle LibreSSL #236 #272 (Kazuho Oku) - [SSL] obtain source-level compatibility with BoringSSL #228 (Kazuho Oku) - [SSL] add directive `listen.ssl.cipher-preference` for controlling the selection logic of cipher-suites #233 (Kazuho Oku) - [SSL] disable TLS compression #252 (bisho) - [libh2o] fix C++ compatibility (do not use empty struct) #225 (Kazuho Oku) - [libh2o] search external dependencies using pkg-config #227 (Kazuho Oku) - [misc] fix GCC version detection bug used for controlling compiler warnings #224 (Kazuho Oku) - [misc] check merory allocation failures in socket pool #265 (Tatsuhiko Kubo) 1.1.1 2015-03-09 06:12:00+0000 - [proxy] fix crash on NetBSD when upstream connection is persistent #217 (Kazuho Oku) - [misc] fix compile error on FreeBSD #211 #212 (Syohei Yoshida) 1.1.0 2015-03-06 06:41:00+0000 - [core][file] send redirects appending '/' as abs-path redirects #209 (Kazuho Oku) - [headers] add directives for manipulating response headers #204 (Kazuho Oku) - [http2] do not send a corrupt response if header value is longer than 126 bytes #193 (Kazuho Oku) - [http2] fix interoperability issue with nghttp2 0.7.5 and above 5c42eb1 (Kazuho Oku) - [proxy] send `via` header to upstream #191 (Kazuho Oku) - [proxy] resolve hostname asynchronously #207 (Kazuho Oku) - [proxy] distribute load between upstream servers (using `rand()`) #208 (Kazuho Oku) - [proxy] fix a bug that may cause a corrupt `location` header being forwarded #190 (Kazuho Oku) - [reproxy] add support for `x-reproxy-url` header #187 #197 (Daisuke Maki, Kazuho Oku) 1.0.1 2015-02-23 05:50:00+0000 - [core] change backlog size from 65,536 to 65,535 #183 (Tatsuhiko Kubo) - [http2] fix assertion failure in HPACK encoder #186 (Kazuho Oku) - [http2] add `extern` to some global variables that were not marked as such #178 (Kazuho Oku) - [proxy] close persistent upstream connection if client abruptly closes the stream #188 (Kazuho Oku) - [proxy] fix internal state corruption in case upstream sends response headers divided into multpile packets #189 (Kazuho Oku) - [SSL] add host header to OCSP request #176 (Masaaki Hirose) - [libh2o] do not require header files under `deps/` when using libh2o #173 (Kazuho Oku) - [libh2o] fix compile error in examples when compiled with `H2O_USE_LIBUV=0` #177 (Kazuho Oku) - [libh2o] in example, add missing / after the reference path #180 (Matthieu Garrigues) - [misc] fix invalid HTML in sample page #175 (Deepak Prakash) 1.0.0 2015-02-18 20:01:00+0000 - [core] add redirect handler #150 (Kazuho Oku) - [core] add `pid-file` directive for specifying the pid file #164 (Kazuho Oku) - [core] connections accepted by host-specific listeners should not be handled by handlers of other hosts #163 (Kazuho Oku) - [core] (FreeBSD) fix a bug that prevented the standalone server from booting when run as root #160 (Kazuho Oku) - [core] switch to pipe-based interthread messaging #154 (Kazuho Oku) - [core] use kqueue on all BSDs #156 (Kazuho Oku) - [access-log] more logging directives: %H, %m, %q, %U, %V, %v #158 (Kazuho Oku) - [access-log] bugfix: header values were not logged when specified using uppercase letters #157 (Kazuho Oku) - [file] add application/json to defalt MIME-types #159 (Tatsuhiko Kubo) - [http2] add support for the finalized version of HTTP/2 #166 (Kazuho Oku) - [http2] fix issues reported by h2spec v0.0.6 #165 (Kazuho Oku) - [proxy] merge the cookie headers before sending to upstream #161 (Kazuho Oku) - [proxy] simplify the configuration directives (and make persistent upstream connections as default) #162 (Kazuho Oku) - [SSL] add configuration directive to preload DH params #148 (Jeff Marrison) - [libh2o] separate versioning scheme using H2O_LIBRARY_VERSION_* #167 (Kazuho Oku) 0.9.2 2015-02-10 04:17:00+0000 - [core] graceful shutdown on SIGTERM #119 (Kazuho Oku) - [core] less TCP errors under high load #81 (Kazuho Oku) - [file] add support for HEAD requests #110 (Mark Hoersken) - [http1] MSIE workaround (send `Cache-Control: private` in place of Vary) #114 (Kazuho Oku) - [http2] support server-push #133 (Kazuho Oku) - [http2] fix spurious RST_STREAMS being sent #132 (Kazuho Oku) - [http2] weight-based distribution of bandwidth #135 (Kazuho Oku) - [proxy] added configuration directive `proxy.preserve-host` #112 (Masahiro Nagano) - [proxy] sends X-Forwarded-For and X-Forwarded-Proto headers #112 (Masahiro Nagano) - [proxy] stability improvements #61 (Kazuho Oku) - [misc] adjustments to make the source code more analyzer-friendly #113,#117 (Nick Desaulniers, Maks Naumov) 0.9.1 2015-01-19 21:13:00+0000 - added configuration directives: ssl/cipher-suite, ssl/ocsp-update-interval, ssl/ocsp-max-failures, expires, file.send-gzip - [http2] added support for draft-16 (draft-14 is also supported) - [http2] dependency-based prioritization - [http2] improved conformance to the specification - [SSL] OCSP stapling (automatically enabled by default) - [SSL] fix compile error with OpenSSL below version 1.0.1 - [file] content negotiation (serving .gz files) - [expires] added support for Cache-Control: max-age - [libh2o] libh2o and the header files installed by `make install` - [libh2o] fix compile error when used from C++ - automatically setuids to nobody when run as root and if `user` directive is not set - automatically raises RLIMIT_NOFILE - uses all CPU cores by default - now compiles on NetBSD and other BSD-based systems
Diffstat (limited to 'www')
-rw-r--r--www/h2o/Makefile9
-rw-r--r--www/h2o/PLIST4
-rw-r--r--www/h2o/distinfo9
-rw-r--r--www/h2o/patches/patch-lib_socketpool.c15
4 files changed, 13 insertions, 24 deletions
diff --git a/www/h2o/Makefile b/www/h2o/Makefile
index 7cc8b985ad7..a8d4904b171 100644
--- a/www/h2o/Makefile
+++ b/www/h2o/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2015/01/18 15:56:07 wiedi Exp $
+# $NetBSD: Makefile,v 1.3 2015/05/20 02:06:29 wen Exp $
-DISTNAME= h2o-0.9.0
+DISTNAME= h2o-1.2.0
CATEGORIES= www
-MASTER_SITES= -https://github.com/h2o/h2o/archive/v0.9.0${EXTRACT_SUFX}
+MASTER_SITES= -https://github.com/h2o/h2o/archive/v1.2.0${EXTRACT_SUFX}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://github.com/h2o/h2o
@@ -12,6 +12,9 @@ LICENSE= mit
USE_CMAKE= yes
USE_LANGUAGES= c c++
+EXTRACT_USING= gtar
+REPLACE_PERL= share/h2o/start_server
+
.include "../../textproc/libyaml/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/www/h2o/PLIST b/www/h2o/PLIST
index f33eda71617..8a580b79731 100644
--- a/www/h2o/PLIST
+++ b/www/h2o/PLIST
@@ -1,2 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2014/12/30 12:50:11 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2015/05/20 02:06:29 wen Exp $
bin/h2o
+share/h2o/fetch-ocsp-response
+share/h2o/start_server
diff --git a/www/h2o/distinfo b/www/h2o/distinfo
index c1e9ddd53ca..d0eb47c9fb5 100644
--- a/www/h2o/distinfo
+++ b/www/h2o/distinfo
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.1 2014/12/30 12:50:11 wiz Exp $
+$NetBSD: distinfo,v 1.2 2015/05/20 02:06:29 wen Exp $
-SHA1 (h2o-0.9.0.tar.gz) = 37b84750900cdb56c3be574477d6f3327d92a4d7
-RMD160 (h2o-0.9.0.tar.gz) = 893012a58ca3ab9869bbe1923cedbfee3a284528
-Size (h2o-0.9.0.tar.gz) = 741011 bytes
-SHA1 (patch-lib_socketpool.c) = ea91803e8f4bdb03330221734c36bbede9b5e618
+SHA1 (h2o-1.2.0.tar.gz) = e3db95a5355227a286b4e54f7b316bc250d7f917
+RMD160 (h2o-1.2.0.tar.gz) = c6224294a98cadde0ec81a47f5065082a556c5eb
+Size (h2o-1.2.0.tar.gz) = 4155709 bytes
diff --git a/www/h2o/patches/patch-lib_socketpool.c b/www/h2o/patches/patch-lib_socketpool.c
deleted file mode 100644
index 220b7264d6c..00000000000
--- a/www/h2o/patches/patch-lib_socketpool.c
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-lib_socketpool.c,v 1.1 2014/12/30 12:50:12 wiz Exp $
-
-Add header for IPPROTO_TCP to fix build on NetBSD.
-https://github.com/h2o/h2o/pull/83
-
---- lib/socketpool.c.orig 2014-12-25 20:17:49.000000000 +0000
-+++ lib/socketpool.c
-@@ -24,6 +24,7 @@
- #include <stdlib.h>
- #include <sys/socket.h>
- #include <sys/types.h>
-+#include <netinet/in.h>
- #include "h2o/linklist.h"
- #include "h2o/socketpool.h"
- #include "h2o/string_.h"