Bug 209927

Summary: www/h2o: Update to 2.0.0
Product: Ports & Packages Reporter: Dave Cottlehuber <dch>
Component: Individual Port(s)Assignee: Jason Unovitch <junovitch>
Status: Closed FIXED    
Severity: Affects Only Me CC: junovitch
Priority: --- Keywords: patch, patch-ready
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/h2o/h2o/releases/tag/v2.0.0
Bug Depends on: 209926    
Bug Blocks:    
Attachments:
Description Flags
v1 patch
dch: maintainer-approval-
v2 patch dch: maintainer-approval+

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