From owner-svn-ports-head@freebsd.org Mon Feb 29 22:43:06 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ADC59AB9CF1; Mon, 29 Feb 2016 22:43:06 +0000 (UTC) (envelope-from brnrd@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8BA081C3D; Mon, 29 Feb 2016 22:43:06 +0000 (UTC) (envelope-from brnrd@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u1TMh5Hb022572; Mon, 29 Feb 2016 22:43:05 GMT (envelope-from brnrd@FreeBSD.org) Received: (from brnrd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u1TMh5Ow022566; Mon, 29 Feb 2016 22:43:05 GMT (envelope-from brnrd@FreeBSD.org) Message-Id: <201602292243.u1TMh5Ow022566@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: brnrd set sender to brnrd@FreeBSD.org using -f From: Bernard Spil Date: Mon, 29 Feb 2016 22:43:05 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Feb 2016 22:43:06 -0000 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 +# $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 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