aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_http2-devel
diff options
context:
space:
mode:
authorbrnrd <brnrd@FreeBSD.org>2016-05-03 05:05:41 +0800
committerbrnrd <brnrd@FreeBSD.org>2016-05-03 05:05:41 +0800
commit1e5ab40b85f6599135d4afd98064f77a79fdc6db (patch)
treefec7ffa672b2148202eb50040f508fdc6783e5f4 /www/mod_http2-devel
parentce31046dbb6b7bb1de7df5ffbc28b7b4776b67c9 (diff)
downloadfreebsd-ports-gnome-1e5ab40b85f6599135d4afd98064f77a79fdc6db.tar.gz
freebsd-ports-gnome-1e5ab40b85f6599135d4afd98064f77a79fdc6db.tar.zst
freebsd-ports-gnome-1e5ab40b85f6599135d4afd98064f77a79fdc6db.zip
www/mod_http2-devel: Update to version 1.5.2
- Update to version 1.5.2 - Add mod_proxy_http2 Apache module - Add missing USE_OPENSSL - Define PORTDOCS - Replace pkg-plist with PLIST_FILES Reviewed by: feld (mentor) Approved by: feld (mentor) Differential Revision: D6010
Diffstat (limited to 'www/mod_http2-devel')
-rw-r--r--www/mod_http2-devel/Makefile17
-rw-r--r--www/mod_http2-devel/distinfo4
-rw-r--r--www/mod_http2-devel/pkg-plist3
3 files changed, 15 insertions, 9 deletions
diff --git a/www/mod_http2-devel/Makefile b/www/mod_http2-devel/Makefile
index 7f5da7c17017..bf8bb6769d86 100644
--- a/www/mod_http2-devel/Makefile
+++ b/www/mod_http2-devel/Makefile
@@ -2,12 +2,12 @@
# $FreeBSD$
PORTNAME= mod_http2-devel
-PORTVERSION= 1.2.8
+PORTVERSION= 1.5.2
DISTVERSIONPREFIX= v
CATEGORIES= www
MAINTAINER= brnrd@FreeBSD.org
-COMMENT= Early experience HTTP/2 module for Apache httpd
+COMMENT= Early experience HTTP/2 modules for Apache httpd
LICENSE= APACHE20
@@ -19,6 +19,7 @@ GH_ACCOUNT= icing
GH_PROJECT= mod_h2
USES= autoreconf libtool
+USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=ext-
CONFIGURE_ENV= CONFIG_SHELL=/bin/sh
@@ -29,13 +30,21 @@ MODULENAME= ${GH_PROJECT}
CFLAGS+= -I${LOCALBASE}/include
CPPFLAGS+= -I${LOCALBASE}/include
+PORTDOCS= README README.md
+PLIST_FILES= ${APACHEMODDIR}/mod_h2.so \
+ ${APACHEMODDIR}/mod_proxy_h2.so
+
post-install:
# Rename mod_http2 to mod_h2 to avoid conflict with Apache24
${MV} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_http2.so.0.0.0 \
${STAGEDIR}${PREFIX}/${APACHEMODDIR}/${MODULENAME}.so
+ ${MV} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_proxy_http2.so.0.0.0 \
+ ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_proxy_h2.so
${RM} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_http2.so
- ${MV} ${STAGEDIR}${PORTDOCS}${PREFIX}/share/doc/mod_http2 \
- ${STAGEDIR}${PORTDOCS}${DOCSDIR}
+ ${RM} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_proxy_http2.so
+ ${MV} ${STAGEDIR}${PREFIX}/share/doc/mod_http2 \
+ ${STAGEDIR}${DOCSDIR}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/${MODULENAME}.so
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_proxy_h2.so
.include <bsd.port.mk>
diff --git a/www/mod_http2-devel/distinfo b/www/mod_http2-devel/distinfo
index 288b81c9a600..8bfbe760ad15 100644
--- a/www/mod_http2-devel/distinfo
+++ b/www/mod_http2-devel/distinfo
@@ -1,2 +1,2 @@
-SHA256 (icing-mod_h2-v1.2.8_GH0.tar.gz) = d71f5ec197bb739bc551441325b9a52b35e437e5b93e7f3423cacf49105bc3fa
-SIZE (icing-mod_h2-v1.2.8_GH0.tar.gz) = 139448
+SHA256 (icing-mod_h2-v1.5.2_GH0.tar.gz) = f2c801c6fbe080083f6fcf42792efad77f6fbb71de6d7d2fdfd332965978891a
+SIZE (icing-mod_h2-v1.5.2_GH0.tar.gz) = 175483
diff --git a/www/mod_http2-devel/pkg-plist b/www/mod_http2-devel/pkg-plist
deleted file mode 100644
index 8ee43f12ff16..000000000000
--- a/www/mod_http2-devel/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-%%APACHEMODDIR%%/%%AP_MODULE%%
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/README.md