Bug 209927 - www/h2o: Update to 2.0.0
Summary: www/h2o: Update to 2.0.0
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: Jason Unovitch
URL: https://github.com/h2o/h2o/releases/t...
Keywords: patch, patch-ready
Depends on: 209926
Blocks:
  Show dependency treegraph
 
Reported: 2016-06-01 10:22 UTC by Dave Cottlehuber
Modified: 2016-06-05 22:42 UTC (History)
1 user (show)

See Also:


Attachments
v1 patch (3.88 KB, patch)
2016-06-01 10:22 UTC, Dave Cottlehuber
dch: maintainer-approval-
Details | Diff
v2 patch (5.41 KB, patch)
2016-06-01 11:43 UTC, Dave Cottlehuber
dch: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Cottlehuber freebsd_committer freebsd_triage 2016-06-01 10:22:59 UTC
Created attachment 170903 [details]
v1 patch

# checks

- portlint  OK
- poudriere OK 10.3/amd64

# changes

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

A full list of changes can be found here:

    https://github.com/h2o/h2o/releases/tag/v2.0.0
Comment 1 Dave Cottlehuber freebsd_committer freebsd_triage 2016-06-01 10:33:19 UTC
Comment on attachment 170903 [details]
v1 patch

argh seems this doesn't work for some people. working on a fix.
Comment 2 Dave Cottlehuber freebsd_committer freebsd_triage 2016-06-01 11:43:40 UTC
Created attachment 170907 [details]
v2 patch

- explicitly set H2O_PERL via rc.d script
- add an UPDATING entry to be a good citizen
Comment 3 commit-hook freebsd_committer freebsd_triage 2016-06-05 22:38:57 UTC
A commit references this bug:

Author: junovitch
Date: Sun Jun  5 22:38:49 UTC 2016
New revision: 416438
URL: https://svnweb.freebsd.org/changeset/ports/416438

Log:
  www/h2o: update 1.7.3 -> 2.0.0

  - explicitly set H2O_PERL via rc.d script

  Summary of major changes:
  - support for Brotli compression
  - directives for file-level resource mapping
  - addition of the status handler
  - reverse proxying using HTTPS

  Changes:	https://github.com/h2o/h2o/releases/tag/v2.0.0

  PR:		209927
  Submitted by:	Dave Cottlehuber <dch@skunkwerks.at> (maintainer)

Changes:
  head/UPDATING
  head/www/h2o/Makefile
  head/www/h2o/distinfo
  head/www/h2o/files/h2o.in
  head/www/h2o/pkg-plist
Comment 4 Jason Unovitch freebsd_committer freebsd_triage 2016-06-05 22:42:11 UTC
Thanks!

Commited with UPDATING entry date bumped as well as the removal of the superfluous GH_TAGNAME in the patch.  See the porter's handbook on the topic [1].  Note that the DISTVERSIONPREFIX already does the right thing here.

GH_TAGNAME

Name of the tag to download (2.0.1, hash, ...) Using the name of a branch here is incorrect. It is also possible to use the hash of a commit id to do a snapshot.

${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}

[1] https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-distfiles.html#makefile-master_sites-github-description