git: a0dca9cfc125 - main - devel/libgit2: update to 1.9.1

From: Matthias Fechner <mfechner_at_FreeBSD.org>
Date: Sun, 08 Jun 2025 04:20:14 UTC
The branch main has been updated by mfechner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a0dca9cfc1257e15a21a4ee35e4e741e5201a3fd

commit a0dca9cfc1257e15a21a4ee35e4e741e5201a3fd
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2025-06-08 03:49:59 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2025-06-08 04:20:06 +0000

    devel/libgit2: update to 1.9.1
    
    * Update WWW
    * Switch to llhttp instead of http-parser (deprecated upstream)
    * Adjust Python dependency, only needed for unit tests
    * Disable online tests
    
    Changes:        https://github.com/libgit2/libgit2/releases/tag/v1.9.1
    PR:             287356
---
 devel/libgit2/Makefile | 18 +++++++++++-------
 devel/libgit2/distinfo |  6 +++---
 2 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/devel/libgit2/Makefile b/devel/libgit2/Makefile
index cc22f902a1bf..6a35bfe454ea 100644
--- a/devel/libgit2/Makefile
+++ b/devel/libgit2/Makefile
@@ -1,28 +1,32 @@
-# Also update devel/libgit2-glib, devel/rubygem-rugged, devel/py-pygit2
+# Also update devel/libgit2-glib, devel/py-pygit2
 # Make sure you bump revision of depending ports, if SONAME changes
 # objdump -p libgit2.so |grep SONAME
 # Tools/scripts/search_lib_depends_and_bump.sh devel/libgit2
 
 PORTNAME=	libgit2
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.9.0
+DISTVERSION=	1.9.1
 CATEGORIES=	devel
 
 MAINTAINER=	mfechner@FreeBSD.org
 COMMENT=	Portable, pure C implementation of the Git core
-WWW=		https://libgit2.github.com/
+WWW=		https://libgit2.org \
+		https://libgit2.github.com/
 
 LICENSE=	GPLv2
 
 LIB_DEPENDS=	libpcre2-8.so:devel/pcre2 \
-		libhttp_parser.so:www/http-parser
+		libllhttp.so:www/llhttp
 
-USES=		cmake:testing cpe localbase pkgconfig python:build ssl
+USES=		cmake:testing cpe localbase:ldflags pathfix pkgconfig \
+		python:test ssl
+PATHFIX_CMAKELISTSTXT=	PkgBuildConfig.cmake
 USE_GITHUB=	yes
 USE_LDCONFIG=	yes
 
-CMAKE_ARGS=	-DREGEX_BACKEND=pcre2 -DUSE_HTTP_PARSER=system \
-		-DCMAKE_CTEST_ARGUMENTS="-E;'invasive|online'" \
+CMAKE_ARGS=	-DREGEX_BACKEND=pcre2 \
+		-DUSE_HTTP_PARSER=llhttp \
+		-DCMAKE_CTEST_ARGUMENTS="-E;'online|gitdaemon|ssh|proxy|auth_clone'" \
 		-DOPENSSL_ROOT_DIR=${OPENSSLBASE} \
 		-DOPENSSL_ENGINES_DIR=${ENGINESDIR}
 
diff --git a/devel/libgit2/distinfo b/devel/libgit2/distinfo
index c80185a36603..9bb4f07fe0d8 100644
--- a/devel/libgit2/distinfo
+++ b/devel/libgit2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1745384247
-SHA256 (libgit2-libgit2-v1.9.0_GH0.tar.gz) = 75b27d4d6df44bd34e2f70663cfd998f5ec41e680e1e593238bbe517a84c7ed2
-SIZE (libgit2-libgit2-v1.9.0_GH0.tar.gz) = 7660744
+TIMESTAMP = 1749283664
+SHA256 (libgit2-libgit2-v1.9.1_GH0.tar.gz) = 14cab3014b2b7ad75970ff4548e83615f74d719afe00aa479b4a889c1e13fc00
+SIZE (libgit2-libgit2-v1.9.1_GH0.tar.gz) = 7665631