#60675 closed enhancement (fixed)
Add Variant "+http2" to the apache2 port
Reported by: | alphanull (alphanull) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | Schamschula (Marius Schamschula) | |
Port: | apache2 |
Description (last modified by alphanull (alphanull))
I need to run my local webserver with http2 enabled for developing and testing. However, there is currently no built in support for this package. So I am forced to manually recompile apache with a modified port file after each update, which is quite cumbersome!
But actually I think the changes won't be that complicated - I am no expert with portfiles, but something similar like this should do it:
variant http2 description {Enable HTTP/2 support} { depends_lib-append port:nghttp2 configure.args-append --enable-http2 configure.args-append --with-nghttp2=/opt/local/lib/libnghttp2.14.dylib \ }
Change History (5)
comment:1 Changed 4 years ago by alphanull (alphanull)
Description: | modified (diff) |
---|
comment:2 Changed 4 years ago by mf2k (Frank Schima)
comment:3 Changed 4 years ago by mf2k (Frank Schima)
Cc: | Schamschula added |
---|---|
Keywords: | apache2 http/2 removed |
Owner: | set to ryandesign |
Status: | new → assigned |
comment:4 Changed 4 years ago by Schamschula (Marius Schamschula)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:5 Changed 4 years ago by alphanull (alphanull)
Just wanted to say: thank you for adding this so fast! At first it took while until the addition was reflected in the updated portfiles, but now all works as expected. Thumbs up!
Note: See
TracTickets for help on using
tickets.
In the future, please add the port maintainer(s) to Cc (
port info --maintainers apache2
), if any.