git: 3dab49566055 - main - www/mod_http2: Use upstream release archive
Date: Sun, 25 Sep 2022 19:03:17 UTC
The branch main has been updated by brnrd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3dab49566055d1392407bdfeed565937fea18749
commit 3dab49566055d1392407bdfeed565937fea18749
Author: Bernard Spil <brnrd@FreeBSD.org>
AuthorDate: 2022-09-25 19:01:37 +0000
Commit: Bernard Spil <brnrd@FreeBSD.org>
CommitDate: 2022-09-25 19:01:37 +0000
www/mod_http2: Use upstream release archive
PR: 266613
Submitted by: diizzy
---
www/mod_http2/Makefile | 16 +++++-----------
www/mod_http2/distinfo | 6 +++---
www/mod_http2/patch | 47 +++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 55 insertions(+), 14 deletions(-)
diff --git a/www/mod_http2/Makefile b/www/mod_http2/Makefile
index df7cf2134a5d..86b78443183d 100644
--- a/www/mod_http2/Makefile
+++ b/www/mod_http2/Makefile
@@ -1,7 +1,7 @@
PORTNAME= mod_http2
-PORTVERSION= 2.0.7
-DISTVERSIONPREFIX= v
+DISTVERSION= 2.0.7
CATEGORIES= www
+MASTER_SITES= https://github.com/icing/mod_h2/releases/download/v${DISTVERSION}/
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
MAINTAINER= brnrd@FreeBSD.org
@@ -13,18 +13,12 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libnghttp2.so:www/libnghttp2
-USES= apache:2.4+ autoreconf libtool ssl pkgconfig:build
-USE_GITHUB= yes
-
-GH_ACCOUNT= icing
-GH_PROJECT= mod_h2
-
+USES= apache:2.4+ libtool ssl pkgconfig
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --without-curl
-MODULENAME= ${GH_PROJECT}
+CONFIGURE_ARGS= --without-curl
-CFLAGS+= -I${LOCALBASE}/include
+MODULENAME= mod_h2
SUB_FILES= 200_mod_http2.conf 300_mod_proxy_http2.conf
PORTDOCS= README README.md
diff --git a/www/mod_http2/distinfo b/www/mod_http2/distinfo
index c101abd0306f..fa15b82e8951 100644
--- a/www/mod_http2/distinfo
+++ b/www/mod_http2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1664101577
-SHA256 (icing-mod_h2-v2.0.7_GH0.tar.gz) = ef3809a73f75a9ccbc8c6ef244097d4c9a7ea7eb39ea268d11716d3c6ed77b07
-SIZE (icing-mod_h2-v2.0.7_GH0.tar.gz) = 675492
+TIMESTAMP = 1664115493
+SHA256 (mod_http2-2.0.7.tar.gz) = f46ad9b3fc91a82bee3d226fcd3667dd4da6dad996f6a97e2272b0e1f9e2534f
+SIZE (mod_http2-2.0.7.tar.gz) = 1011387
diff --git a/www/mod_http2/patch b/www/mod_http2/patch
new file mode 100644
index 000000000000..e7222b5236c0
--- /dev/null
+++ b/www/mod_http2/patch
@@ -0,0 +1,47 @@
+diff --git a/www/mod_http2/Makefile b/www/mod_http2/Makefile
+index df7cf2134a5d..86b78443183d 100644
+--- a/www/mod_http2/Makefile
++++ b/www/mod_http2/Makefile
+@@ -1,7 +1,7 @@
+ PORTNAME= mod_http2
+-PORTVERSION= 2.0.7
+-DISTVERSIONPREFIX= v
++DISTVERSION= 2.0.7
+ CATEGORIES= www
++MASTER_SITES= https://github.com/icing/mod_h2/releases/download/v${DISTVERSION}/
+ PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
+
+ MAINTAINER= brnrd@FreeBSD.org
+@@ -13,18 +13,12 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
+
+ LIB_DEPENDS= libnghttp2.so:www/libnghttp2
+
+-USES= apache:2.4+ autoreconf libtool ssl pkgconfig:build
+-USE_GITHUB= yes
+-
+-GH_ACCOUNT= icing
+-GH_PROJECT= mod_h2
+-
++USES= apache:2.4+ libtool ssl pkgconfig
+ GNU_CONFIGURE= yes
+-CONFIGURE_ARGS= --without-curl
+
+-MODULENAME= ${GH_PROJECT}
++CONFIGURE_ARGS= --without-curl
+
+-CFLAGS+= -I${LOCALBASE}/include
++MODULENAME= mod_h2
+
+ SUB_FILES= 200_mod_http2.conf 300_mod_proxy_http2.conf
+ PORTDOCS= README README.md
+diff --git a/www/mod_http2/distinfo b/www/mod_http2/distinfo
+index c101abd0306f..fa15b82e8951 100644
+--- a/www/mod_http2/distinfo
++++ b/www/mod_http2/distinfo
+@@ -1,3 +1,3 @@
+-TIMESTAMP = 1664101577
+-SHA256 (icing-mod_h2-v2.0.7_GH0.tar.gz) = ef3809a73f75a9ccbc8c6ef244097d4c9a7ea7eb39ea268d11716d3c6ed77b07
+-SIZE (icing-mod_h2-v2.0.7_GH0.tar.gz) = 675492
++TIMESTAMP = 1664115493
++SHA256 (mod_http2-2.0.7.tar.gz) = f46ad9b3fc91a82bee3d226fcd3667dd4da6dad996f6a97e2272b0e1f9e2534f
++SIZE (mod_http2-2.0.7.tar.gz) = 1011387