Opened 4 years ago

Last modified 4 years ago

#60675 closed enhancement

Add Variant "+http2" to the apache2 port — at Version 1

Reported by: alphanull (alphanull) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
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 (1)

comment:1 Changed 4 years ago by alphanull (alphanull)

Description: modified (diff)
Note: See TracTickets for help on using tickets.