Bug 226922

Summary: www/nghttp2: Fix build without NPN and with LibreSSL 2.7
Product: Ports & Packages Reporter: Bernard Spil <brnrd>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Only Me CC: brnrd
Priority: --- Keywords: needs-qa, patch
Version: LatestFlags: bugzilla: maintainer-feedback? (sunpoet)
Hardware: Any   
OS: Any   
URL: https://github.com/nghttp2/nghttp2/pull/1153
Bug Depends on:    
Bug Blocks: 226843    
Attachments:
Description Flags
svn diff for www/nghttp2 none

Description Bernard Spil freebsd_committer freebsd_triage 2018-03-25 17:59:17 UTC
Created attachment 191810 [details]
svn diff for www/nghttp2

```
www/nghttp2: Fix build without NPN and with LibreSSL 2.7

 - The openssl-devel port has NPN disabled
 - LibreSSL 2.7 implements OpenSSL 1.1 API

See also: https://github.com/nghttp2/nghttp2/pull/1152
See also: https://github.com/nghttp2/nghttp2/pull/1153

PR:
Approved by: (maintainer)
```
Comment 1 Po-Chuan Hsieh freebsd_committer freebsd_triage 2018-04-03 05:07:17 UTC
This PR is blocked by libevent.
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2018-04-03 05:11:01 UTC
(In reply to Sunpoet Po-Chuan Hsieh from comment #1)

Remove "Depends on: 226900".
This can be committed independently though it will not work without bug #226900.
Comment 3 commit-hook freebsd_committer freebsd_triage 2018-04-03 09:46:59 UTC
A commit references this bug:

Author: sunpoet
Date: Tue Apr  3 09:46:33 UTC 2018
New revision: 466298
URL: https://svnweb.freebsd.org/changeset/ports/466298

Log:
  Fix build with LibreSSL 2.7

  PR:		226922
  Submitted by:	brnrd

Changes:
  head/www/nghttp2/files/patch-examples-client.c
  head/www/nghttp2/files/patch-examples-libevent-client.c
  head/www/nghttp2/files/patch-examples-libevent-server.c
  head/www/nghttp2/files/patch-src-HttpServer.cc
  head/www/nghttp2/files/patch-src-asio_common.cc
  head/www/nghttp2/files/patch-src-h2load.cc
  head/www/nghttp2/files/patch-src-nghttp.cc
  head/www/nghttp2/files/patch-src-shrpx_client_handler.cc
  head/www/nghttp2/files/patch-src-shrpx_config.cc
  head/www/nghttp2/files/patch-src-shrpx_connection.cc
  head/www/nghttp2/files/patch-src-shrpx_http2_session.cc
  head/www/nghttp2/files/patch-src-shrpx_live_check.cc
  head/www/nghttp2/files/patch-src-shrpx_tls.cc
  head/www/nghttp2/files/patch-src-ssl_compat.h
Comment 4 Po-Chuan Hsieh freebsd_committer freebsd_triage 2018-04-03 10:00:59 UTC
Committed. Thanks!
Comment 5 Bernard Spil freebsd_committer freebsd_triage 2018-04-03 17:05:16 UTC
Upstream imported the patch, you'll likely have to remove these patch files again for 1.32.0