Index: head/www/mod_http2/Makefile =================================================================== --- head/www/mod_http2/Makefile (nonexistent) +++ head/www/mod_http2/Makefile (revision 544493) @@ -0,0 +1,51 @@ +# Created by: Bernard Spil +# $FreeBSD$ + +PORTNAME= mod_http2 +PORTVERSION= 1.15.13 +DISTVERSIONPREFIX= v +CATEGORIES= www +PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX} + +MAINTAINER= brnrd@FreeBSD.org +COMMENT= HTTP/2 modules for Apache httpd + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libnghttp2.so:www/libnghttp2 + +USES= apache:2.4+ autoreconf libtool ssl +USE_GITHUB= yes + +GH_ACCOUNT= icing +GH_PROJECT= mod_h2 + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --without-curl + +MODULENAME= ${GH_PROJECT} + +CFLAGS+= -I${LOCALBASE}/include + +SUB_FILES= 200_mod_http2.conf 300_mod_proxy_http2.conf +PORTDOCS= README README.md + +OPTIONS_DEFINE= DOCS + +post-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d + ${INSTALL_DATA} ${WRKDIR}/200_mod_http2.conf \ + ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d/200_mod_h2.conf.sample + ${INSTALL_DATA} ${WRKDIR}/300_mod_proxy_http2.conf \ + ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d/300_mod_proxy_h2.conf.sample + # Rename mod_http2 to mod_h2 to avoid conflict with Apache24 + ${MV} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_http2.so \ + ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/${MODULENAME}.so + ${MV} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_proxy_http2.so \ + ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_proxy_h2.so + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/${MODULENAME}.so \ + ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_proxy_h2.so + ${RM} ${STAGEDIR}${DOCSDIR}/LICENSE + +.include Property changes on: head/www/mod_http2/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/www/mod_http2/distinfo =================================================================== --- head/www/mod_http2/distinfo (nonexistent) +++ head/www/mod_http2/distinfo (revision 544493) @@ -0,0 +1,3 @@ +TIMESTAMP = 1596883732 +SHA256 (icing-mod_h2-v1.15.13_GH0.tar.gz) = 1868e52d130989e44944440bb537c1fb5d639d7bdc08b5b4e25e5e445ed6d7a3 +SIZE (icing-mod_h2-v1.15.13_GH0.tar.gz) = 703207 Property changes on: head/www/mod_http2/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/www/mod_http2/files/200_mod_http2.conf.in =================================================================== --- head/www/mod_http2/files/200_mod_http2.conf.in (nonexistent) +++ head/www/mod_http2/files/200_mod_http2.conf.in (revision 544493) @@ -0,0 +1,8 @@ +# To enable, uncomment the LoadModule line + +# LoadModule http2_module %%APACHE_MODDIR%%/mod_h2.so + + +Protocols h2 http/1.1 +ProtocolsHonorOrder On + Property changes on: head/www/mod_http2/files/200_mod_http2.conf.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/www/mod_http2/files/300_mod_proxy_http2.conf.in =================================================================== --- head/www/mod_http2/files/300_mod_proxy_http2.conf.in (nonexistent) +++ head/www/mod_http2/files/300_mod_proxy_http2.conf.in (revision 544493) @@ -0,0 +1,8 @@ +# To enable, uncomment the LoadModule line + +# LoadModule proxy_http2_module %%APACHE_MODDIR%%/mod_proxy_h2.so + + +# ProxyPass "/app" "h2://app.example.com" +# ProxyPassReverse "/app" "https://app.example.com" + Property changes on: head/www/mod_http2/files/300_mod_proxy_http2.conf.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/www/mod_http2/pkg-message =================================================================== --- head/www/mod_http2/pkg-message (nonexistent) +++ head/www/mod_http2/pkg-message (revision 544493) @@ -0,0 +1,32 @@ +[ +{ type: install + message: <