FreeBSD Bugzilla – Attachment 170907 Details for
Bug 209927
www/h2o: Update to 2.0.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
v2 patch
c385829db357a1272a028446c5902121035fc797.patch (text/plain), 5.41 KB, created by
Dave Cottlehuber
on 2016-06-01 11:43:40 UTC
(
hide
)
Description:
v2 patch
Filename:
MIME Type:
Creator:
Dave Cottlehuber
Created:
2016-06-01 11:43:40 UTC
Size:
5.41 KB
patch
obsolete
>From c385829db357a1272a028446c5902121035fc797 Mon Sep 17 00:00:00 2001 >From: Dave Cottlehuber <dch@skunkwerks.at> >Date: Thu, 31 Mar 2016 21:44:29 +0000 >Subject: [PATCH] www/h2o: update 1.7.3 to 2.0.0 > >Major changes include: > >- support for Brotli compression >- directives for file-level resource mapping >- addition of the status handler >- reverse proxying using HTTPS >- includes fix for CVE-2016-4817 from 1.7.3 >- do not automatically append / to path config > >A full list of changes can be found here: > > https://github.com/h2o/h2o/releases/tag/v2.0.0 >--- > UPDATING | 9 +++++++++ > www/h2o/Makefile | 3 ++- > www/h2o/distinfo | 6 +++--- > www/h2o/files/h2o.in | 3 +++ > www/h2o/pkg-plist | 18 +++++++++++++++++- > 5 files changed, 34 insertions(+), 5 deletions(-) > >diff --git a/UPDATING b/UPDATING >index bf29674..b026fe4 100644 >--- a/UPDATING >+++ b/UPDATING >@@ -5,6 +5,15 @@ they are unavoidable. > You should get into the habit of checking this file for changes each time > you update your ports collection, before attempting any port upgrades. > >+20160601 >+ AFFECTS: Users of www/h2o >+ AUTHOR: dch@skunkwerks.at >+ >+ File paths no longer have a trailing / appended to them. This enables >+ directing specific paths to a file but may break existing configurations. >+ Refer to https://h2o.examp1e.net/configure/file_directives.html and >+ revise your yaml config appropriately. >+ > 20160527 > AFFECTS: Users of mail/opensmtpd-extras (any of them) > AUTHOR: adamw@FreeBSD.org >diff --git a/www/h2o/Makefile b/www/h2o/Makefile >index 4a90d1c..02c399ad 100644 >--- a/www/h2o/Makefile >+++ b/www/h2o/Makefile >@@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME= h2o >-PORTVERSION= 1.7.3 >+PORTVERSION= 2.0.0 > DISTVERSIONPREFIX= v > CATEGORIES= www > >@@ -12,6 +12,7 @@ COMMENT= Optimized HTTP2 server with support for HTTP/1.x > LICENSE= MIT > > USE_GITHUB= yes >+GH_TAGNAME= v2.0.0 > > USES= cmake compiler:c11 perl5 shebangfix > USE_PERL5= run >diff --git a/www/h2o/distinfo b/www/h2o/distinfo >index ae6d9fe..3e1bc00 100644 >--- a/www/h2o/distinfo >+++ b/www/h2o/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1464774475 >-SHA256 (h2o-h2o-v1.7.3_GH0.tar.gz) = 546bcde8aa3cf996d161d1e75aaad159d10fca1b3d368c4270f0674e8c78a213 >-SIZE (h2o-h2o-v1.7.3_GH0.tar.gz) = 6541316 >+TIMESTAMP = 1464775587 >+SHA256 (h2o-h2o-v2.0.0_GH0.tar.gz) = 068cc88fe7313ea3c637764abc296629f6c9250e12b714f5629065bdc49d28c8 >+SIZE (h2o-h2o-v2.0.0_GH0.tar.gz) = 15007086 >diff --git a/www/h2o/files/h2o.in b/www/h2o/files/h2o.in >index 008f290..1ba547f 100644 >--- a/www/h2o/files/h2o.in >+++ b/www/h2o/files/h2o.in >@@ -14,6 +14,7 @@ > # Set it to YES to enable h2o. > # > # h2o_config (string): Optional full path for h2o config file >+# h2o_perl (string): Optional full path to perl executable > > . /etc/rc.subr > >@@ -23,9 +24,11 @@ rcvar=h2o_enable > # defaults > : ${h2o_enable:="NO"} > : ${h2o_config:="%%PREFIX%%/etc/${name}/${name}.conf"} >+: ${h2o_perl:="%%LOCALBASE%%/bin/perl"} > > # daemon > pidfile=`grep pid-file ${h2o_config} | cut -d' ' -f2` >+h2o_env="H2O_PERL=${h2o_perl}" > command="%%PREFIX%%/bin/${name}" > command_args="-m daemon -c ${h2o_config}" > procname="%%LOCALBASE%%/bin/perl" >diff --git a/www/h2o/pkg-plist b/www/h2o/pkg-plist >index ea73aab..43d002b3 100644 >--- a/www/h2o/pkg-plist >+++ b/www/h2o/pkg-plist >@@ -3,8 +3,10 @@ share/h2o/annotate-backtrace-symbols > share/h2o/fetch-ocsp-response > share/h2o/kill-on-close > share/h2o/start_server >+%%DATADIR%%/ca-bundle.crt > %%DATADIR%%/fastcgi-cgi > %%DATADIR%%/setuidgid >+%%DATADIR%%/status/index.html > @dir(%%H2O_USER%%,%%H2O_GROUP%%,0750) %%H2O_LOGDIR%% > %%PORTDOCS%%%%DOCSDIR%%/assets/8mbps100msec-nginx195-h2o150.png > %%PORTDOCS%%%%DOCSDIR%%/assets/firstpaintbench.png >@@ -19,11 +21,11 @@ share/h2o/start_server > %%PORTDOCS%%%%DOCSDIR%%/configure/basic_auth.html > %%PORTDOCS%%%%DOCSDIR%%/configure/cgi.html > %%PORTDOCS%%%%DOCSDIR%%/configure/command_options.html >+%%PORTDOCS%%%%DOCSDIR%%/configure/compress_directives.html > %%PORTDOCS%%%%DOCSDIR%%/configure/errordoc_directives.html > %%PORTDOCS%%%%DOCSDIR%%/configure/expires_directives.html > %%PORTDOCS%%%%DOCSDIR%%/configure/fastcgi_directives.html > %%PORTDOCS%%%%DOCSDIR%%/configure/file_directives.html >-%%PORTDOCS%%%%DOCSDIR%%/configure/gzip_directives.html > %%PORTDOCS%%%%DOCSDIR%%/configure/headers_directives.html > %%PORTDOCS%%%%DOCSDIR%%/configure/http1_directives.html > %%PORTDOCS%%%%DOCSDIR%%/configure/http2_directives.html >@@ -33,7 +35,21 @@ share/h2o/start_server > %%PORTDOCS%%%%DOCSDIR%%/configure/quick_start.html > %%PORTDOCS%%%%DOCSDIR%%/configure/redirect_directives.html > %%PORTDOCS%%%%DOCSDIR%%/configure/reproxy_directives.html >+%%PORTDOCS%%%%DOCSDIR%%/configure/status_directives.html > %%PORTDOCS%%%%DOCSDIR%%/configure/syntax_and_structure.html >+%%PORTDOCS%%%%DOCSDIR%%/examples/doc_root.alternate/index.txt >+%%PORTDOCS%%%%DOCSDIR%%/examples/doc_root/index.html >+%%PORTDOCS%%%%DOCSDIR%%/examples/h2o/alternate.crt >+%%PORTDOCS%%%%DOCSDIR%%/examples/h2o/alternate.key >+%%PORTDOCS%%%%DOCSDIR%%/examples/h2o/h2o.conf >+%%PORTDOCS%%%%DOCSDIR%%/examples/h2o/server.crt >+%%PORTDOCS%%%%DOCSDIR%%/examples/h2o/server.key >+%%PORTDOCS%%%%DOCSDIR%%/examples/h2o_mruby/h2o.conf >+%%PORTDOCS%%%%DOCSDIR%%/examples/h2o_mruby/hello.rb >+%%PORTDOCS%%%%DOCSDIR%%/examples/libh2o/http1client.c >+%%PORTDOCS%%%%DOCSDIR%%/examples/libh2o/simple.c >+%%PORTDOCS%%%%DOCSDIR%%/examples/libh2o/socket-client.c >+%%PORTDOCS%%%%DOCSDIR%%/examples/libh2o/websocket.c > %%PORTDOCS%%%%DOCSDIR%%/faq.html > %%PORTDOCS%%%%DOCSDIR%%/index.html > %%PORTDOCS%%%%DOCSDIR%%/install.html
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
dch
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 209927
:
170903
| 170907