Date: Mon, 29 Feb 2016 22:43:05 +0000 (UTC) From: Bernard Spil <brnrd@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r409831 - in head/www: . mod_http2-devel Message-ID: <201602292243.u1TMh5Ow022566@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brnrd Date: Mon Feb 29 22:43:04 2016 New Revision: 409831 URL: https://svnweb.freebsd.org/changeset/ports/409831 Log: www/mod_http2-devel: Apache HTTP/2 module This is the early experience version of the Apache HTTP/2 module for people who like living on the edge and want to test not yet released changes. Reviewed by: feld (mentor) Approved by: feld (mentor) Differential Revision: D5220 Added: head/www/mod_http2-devel/ head/www/mod_http2-devel/Makefile (contents, props changed) head/www/mod_http2-devel/distinfo (contents, props changed) head/www/mod_http2-devel/pkg-descr (contents, props changed) head/www/mod_http2-devel/pkg-message (contents, props changed) head/www/mod_http2-devel/pkg-plist (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Mon Feb 29 22:36:04 2016 (r409830) +++ head/www/Makefile Mon Feb 29 22:43:04 2016 (r409831) @@ -468,6 +468,7 @@ SUBDIR += mod_flickr SUBDIR += mod_geoip2 SUBDIR += mod_gzip2 + SUBDIR += mod_http2-devel SUBDIR += mod_h264_streaming SUBDIR += mod_hosts_access SUBDIR += mod_jail Added: head/www/mod_http2-devel/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/mod_http2-devel/Makefile Mon Feb 29 22:43:04 2016 (r409831) @@ -0,0 +1,40 @@ +# Created by: Bernard Spil <brnrd@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= mod_http2-devel +PORTVERSION= 1.2.7 +DISTVERSIONPREFIX= v +CATEGORIES= www + +MAINTAINER= brnrd@FreeBSD.org +COMMENT= Early experience HTTP/2 module for Apache httpd + +LICENSE= APACHE20 + +BUILD_DEPENDS= nghttp2>=1.2:${PORTSDIR}/www/nghttp2 +LIB_DEPENDS= libnghttp2.so:${PORTSDIR}/www/nghttp2 + +USE_GITHUB= yes +GH_ACCOUNT= icing +GH_PROJECT= mod_h2 + +USES= autoreconf libtool +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --program-prefix=ext- +CONFIGURE_ENV= CONFIG_SHELL=/bin/sh + +USE_APACHE= 24+ +MODULENAME= ${GH_PROJECT} + +CFLAGS+= -I${LOCALBASE}/include + +post-install: + # Rename mod_http2 to the mod_h2 to avoid conflict with Apache24 + ${MV} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_http2.so.0.0.0 \ + ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/${MODULENAME}.so + ${RM} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_http2.so + ${MV} ${STAGEDIR}${PORTDOCS}${PREFIX}/share/doc/mod_http2 \ + ${STAGEDIR}${PORTDOCS}${DOCSDIR} + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/${MODULENAME}.so + +.include <bsd.port.mk> Added: head/www/mod_http2-devel/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/mod_http2-devel/distinfo Mon Feb 29 22:43:04 2016 (r409831) @@ -0,0 +1,2 @@ +SHA256 (icing-mod_h2-v1.2.7_GH0.tar.gz) = 165b03a506be640584a297cdeb09b8c9355f9362910a9c7086f65cb583333c18 +SIZE (icing-mod_h2-v1.2.7_GH0.tar.gz) = 139292 Added: head/www/mod_http2-devel/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/mod_http2-devel/pkg-descr Mon Feb 29 22:43:04 2016 (r409831) @@ -0,0 +1,4 @@ +This Apache module supports the "h2" (HTTP2 over TLS) and "h2c" (HTTP2 +over plain HTTP connections via Upgrade). You can enable it for the +whole server or for specific virtual hosts only. More on this below on +"Configuration". Added: head/www/mod_http2-devel/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/mod_http2-devel/pkg-message Mon Feb 29 22:43:04 2016 (r409831) @@ -0,0 +1,14 @@ +If you want to have the h2 module enabled in your apache installation, +you need to add + + LoadModule http2_module modules/mod_h2.so + +somewhere in your config files and add a line like + + H2Engine on + +whereever you want the module to be active (general server of specific +virtual hosts). + +NB: The shared libraries were renamed from mod_http2 to mod_h2 to + avoid conflicts with the (now bundled) mod_http2 in www/apache24 Added: head/www/mod_http2-devel/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/mod_http2-devel/pkg-plist Mon Feb 29 22:43:04 2016 (r409831) @@ -0,0 +1,2 @@ +%%APACHEMODDIR%%/%%AP_MODULE%% +%%PORTDOCS%%%%DOCSDIR%%/README
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602292243.u1TMh5Ow022566>