Page MenuHomeFreeBSD

www/nghttp2: Update to version 1.7.1
ClosedPublic

Authored by brnrd on Feb 6 2016, 12:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jun 19, 6:54 AM
Unknown Object (File)
Tue, Jun 18, 11:32 PM
Unknown Object (File)
Tue, Jun 11, 1:43 PM
Unknown Object (File)
May 11 2024, 10:05 PM
Unknown Object (File)
May 3 2024, 9:31 AM
Unknown Object (File)
May 3 2024, 9:31 AM
Unknown Object (File)
May 3 2024, 9:31 AM
Unknown Object (File)
May 3 2024, 9:31 AM
Subscribers
None

Details

Summary

Proposed commit log:

www/nghttp2: Update to version 1.7.1

  - Convert MASTER_SITES to USE_GITHUB
    - Remove USES=tar:xz
  - Remove unneeded RUN_DEPENDS
  - Add USES=autoreconf
  - Fix pkgconfig path
  - Remove defunct configure jemalloc fix
  - Fix LDFLAGS -ldl problem

Reviewed_by:	sunpoet (maintainer), koobs (mentor), feld (mentor)
Approved by:	(maintainer), (mentor)
Differential_Revision:	D5218
MFH:		2016Q1
Test Plan
  • portlint -AC (clean)
  • poudriere testport
  • build mod_http2 1.2.4, run apache24 (OK, see comment)

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

brnrd retitled this revision from to www/nghttp2: Update to version 1.7.0.
brnrd updated this object.
brnrd edited the test plan for this revision. (Show Details)
brnrd added reviewers: sunpoet, koobs, feld.

Apache error-log

[Sat Feb 06 13:07:05.454966 2016] [http2:info] [pid 17200] mod_http2 (v1.2.4, nghttp2 1.7.0), initializing...
[Sat Feb 06 13:07:05.581811 2016] [mpm_prefork:notice] [pid 17200] AH00163: Apache/2.4.18 (FreeBSD) LibreSSL/2.3.2 configured -- resuming normal operations

curl output

* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server accepted to use h2
koobs requested changes to this revision.Feb 6 2016, 12:34 PM
koobs edited edge metadata.
koobs added inline comments.
www/nghttp2/Makefile
21 ↗(On Diff #13088)

The LIB_DEPEBDS above imply RUN time dependencies. I don't believe this is needed, nor am I sure its (:=) recommended any longer

68 ↗(On Diff #13088)

USES=pathfix on Makefile.{in,am} instead

www/nghttp2/files/patch-configure.ac
1 ↗(On Diff #13088)

Add patch header comment, breadcrumbs & references if applicable

This revision now requires changes to proceed.Feb 6 2016, 12:34 PM
brnrd edited edge metadata.

Use pathfix to fix .pc location, annotate patch

brnrd added inline comments.
www/nghttp2/Makefile
68 ↗(On Diff #13089)

Changed, works fine

21 ↗(On Diff #13088)

As this is not my port, that is for @sunpoet to decide.

koobs edited edge metadata.

Worst rationale ever, but OK. :]

This revision is now accepted and ready to land.Feb 6 2016, 12:59 PM
brnrd edited edge metadata.
brnrd marked 2 inline comments as done.

Remove RUN_DEPENDS, upstream libdl fix

This revision now requires review to proceed.Feb 6 2016, 1:50 PM
www/nghttp2/Makefile
20–21 ↗(On Diff #13092)

Without RUN_DEPENDS, the package still reports correct dependencies.

deps: {
    libev: {
        origin: "devel/libev",
        version: "4.20,1"
    },
shlibs_required:
[
    "libev.so.4",
}
brnrd edited edge metadata.
brnrd updated this object.
koobs edited edge metadata.

LGTM, well done @brnrd

This revision is now accepted and ready to land.Feb 6 2016, 1:58 PM
feld edited edge metadata.
brnrd edited edge metadata.

Update patches for 1.7.1

  • Fixes CVE-2016-1544
This revision now requires review to proceed.Feb 13 2016, 9:58 PM
brnrd edited edge metadata.
brnrd retitled this revision from www/nghttp2: Update to version 1.7.0 to www/nghttp2: Update to version 1.7.1.
feld edited edge metadata.

Approved, include the Security: in the commit log and Approved by: ports secteam (feld) in absence of the maintainer approval

This revision is now accepted and ready to land.Feb 14 2016, 2:36 PM
This revision was automatically updated to reflect the committed changes.
brnrd mentioned this in rP408930: MFH: r408929.