git: 45ecd1001445 - main - www/libnghttp3: Update to 1.5.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 08 Sep 2024 17:32:52 UTC
The branch main has been updated by diizzy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=45ecd10014455eb7db232d827fae3ae3b1f851fb
commit 45ecd10014455eb7db232d827fae3ae3b1f851fb
Author: Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-09-08 06:30:36 +0000
Commit: Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-09-08 17:31:47 +0000
www/libnghttp3: Update to 1.5.0
* Switch to CMake for faster builds and removes the need for custom non upstreamed patches
* Enable "make test"
PR: 281040
Approved by: portmgr (maintainer timeout, 2+ weeks)
---
www/libnghttp3/Makefile | 14 +++++++-------
www/libnghttp3/distinfo | 6 +++---
www/libnghttp3/files/patch-Makefile.in | 14 --------------
www/libnghttp3/pkg-plist | 6 +++++-
4 files changed, 15 insertions(+), 25 deletions(-)
diff --git a/www/libnghttp3/Makefile b/www/libnghttp3/Makefile
index 59b62a011184..cb915c47dc2b 100644
--- a/www/libnghttp3/Makefile
+++ b/www/libnghttp3/Makefile
@@ -1,7 +1,7 @@
PORTNAME= nghttp3
-PORTVERSION= 1.4.0
+DISTVERSION= 1.5.0
CATEGORIES= www net
-MASTER_SITES= https://github.com/ngtcp2/nghttp3/releases/download/v${PORTVERSION}/
+MASTER_SITES= https://github.com/ngtcp2/${PORTNAME}/releases/download/v${DISTVERSION}/
PKGNAMEPREFIX= lib
MAINTAINER= sunpoet@FreeBSD.org
@@ -12,11 +12,11 @@ WWW= https://nghttp2.org/nghttp3/ \
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= libtool pathfix pkgconfig tar:xz
-
-CONFIGURE_ARGS= --enable-lib-only
-GNU_CONFIGURE= yes
-INSTALL_TARGET= install-strip
+USES= cmake pathfix tar:xz
USE_LDCONFIG= yes
+TEST_TARGET= check
+
+CMAKE_ON= ENABLE_LIB_ONLY
+
.include <bsd.port.mk>
diff --git a/www/libnghttp3/distinfo b/www/libnghttp3/distinfo
index 4ae8429abff8..c59449778d28 100644
--- a/www/libnghttp3/distinfo
+++ b/www/libnghttp3/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1718580038
-SHA256 (nghttp3-1.4.0.tar.xz) = c87b27ef33982a3b831dd349f4a75c55bd4c22a8ec0890095b84b54009df9d6a
-SIZE (nghttp3-1.4.0.tar.xz) = 389036
+TIMESTAMP = 1724528409
+SHA256 (nghttp3-1.5.0.tar.xz) = 8c00e3910ea2ad1218dafebcf8dd2ffdf030c992d9ceb65834d29e5e5278dd0d
+SIZE (nghttp3-1.5.0.tar.xz) = 391668
diff --git a/www/libnghttp3/files/patch-Makefile.in b/www/libnghttp3/files/patch-Makefile.in
deleted file mode 100644
index 130c25e3faba..000000000000
--- a/www/libnghttp3/files/patch-Makefile.in
+++ /dev/null
@@ -1,14 +0,0 @@
---- Makefile.in.orig 2022-01-22 09:12:33 UTC
-+++ Makefile.in
-@@ -404,9 +404,9 @@ top_srcdir = @top_srcdir@
- # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
- # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
- # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--SUBDIRS = lib tests doc examples
-+SUBDIRS = lib
- ACLOCAL_AMFLAGS = -I m4
--dist_doc_DATA = README.rst
-+dist_doc_DATA =
- EXTRA_DIST = \
- cmakeconfig.h.in \
- CMakeLists.txt \
diff --git a/www/libnghttp3/pkg-plist b/www/libnghttp3/pkg-plist
index 08bd29fd9c8f..f5e90a19e16f 100644
--- a/www/libnghttp3/pkg-plist
+++ b/www/libnghttp3/pkg-plist
@@ -1,7 +1,11 @@
include/nghttp3/nghttp3.h
include/nghttp3/version.h
+lib/cmake/nghttp3/nghttp3Config.cmake
+lib/cmake/nghttp3/nghttp3ConfigVersion.cmake
+lib/cmake/nghttp3/nghttp3Targets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/nghttp3/nghttp3Targets.cmake
lib/libnghttp3.a
lib/libnghttp3.so
lib/libnghttp3.so.9
-lib/libnghttp3.so.9.2.2
+lib/libnghttp3.so.9.2.3
libdata/pkgconfig/libnghttp3.pc