git: c24fbee3ea27 - main - misc/librepo: update 1.20.0 → 1.21.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 13 Sep 2026 03:06:56 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c24fbee3ea273f862345e1db5a98a7861ba86118
commit c24fbee3ea273f862345e1db5a98a7861ba86118
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-09-13 01:59:49 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-09-13 03:06:18 +0000
misc/librepo: update 1.20.0 → 1.21.1
---
misc/librepo/Makefile | 4 +++-
misc/librepo/distinfo | 6 +++---
misc/librepo/files/patch-CMakeLists.txt | 6 +++---
misc/librepo/files/patch-librepo_CMakeLists.txt | 1 +
misc/librepo/files/patch-librepo_librepo.pc.cmake | 6 +++---
5 files changed, 13 insertions(+), 10 deletions(-)
diff --git a/misc/librepo/Makefile b/misc/librepo/Makefile
index 55c3179e1d19..92eac797b2b0 100644
--- a/misc/librepo/Makefile
+++ b/misc/librepo/Makefile
@@ -1,5 +1,5 @@
PORTNAME= librepo
-DISTVERSION= 1.20.0
+DISTVERSION= 1.21.1
CATEGORIES= misc
MAINTAINER= yuri@FreeBSD.org
@@ -52,4 +52,6 @@ post-patch:
@${RLN} ${FILESDIR}/xattr.c ${WRKSRC}/librepo/xattr.c
@${RLN} ${FILESDIR}/xattr.h ${WRKSRC}/librepo/xattr.h
+# test fails, see https://github.com/rpm-software-management/librepo/issues/389
+
.include <bsd.port.mk>
diff --git a/misc/librepo/distinfo b/misc/librepo/distinfo
index 395c74616046..4e55b6cc2b25 100644
--- a/misc/librepo/distinfo
+++ b/misc/librepo/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1762719433
-SHA256 (rpm-software-management-librepo-1.20.0_GH0.tar.gz) = c21dd3caefe97ea58bc865f92095a9d2db2ec8aab49d0c714d4742094db930b6
-SIZE (rpm-software-management-librepo-1.20.0_GH0.tar.gz) = 844583
+TIMESTAMP = 1789264460
+SHA256 (rpm-software-management-librepo-1.21.1_GH0.tar.gz) = 85a9dec2f48976b0d800aa7692346fc2967b6195c0e524195f02a110535010e0
+SIZE (rpm-software-management-librepo-1.21.1_GH0.tar.gz) = 850474
diff --git a/misc/librepo/files/patch-CMakeLists.txt b/misc/librepo/files/patch-CMakeLists.txt
index a67abdaa9a1c..ec5ba6a7218c 100644
--- a/misc/librepo/files/patch-CMakeLists.txt
+++ b/misc/librepo/files/patch-CMakeLists.txt
@@ -1,6 +1,6 @@
---- CMakeLists.txt.orig 2024-03-26 13:28:08 UTC
+--- CMakeLists.txt.orig 2026-09-09 07:53:37 UTC
+++ CMakeLists.txt
-@@ -32,7 +32,7 @@ PKG_CHECK_MODULES(GLIB2 glib-2.0>=2.66 gio-2.0 REQUIRE
+@@ -36,7 +36,7 @@ PKG_CHECK_MODULES(GLIB2 glib-2.0>=2.66 gio-2.0 REQUIRE
FIND_PACKAGE(PkgConfig)
PKG_CHECK_MODULES(GLIB2 glib-2.0>=2.66 gio-2.0 REQUIRED)
@@ -9,7 +9,7 @@
PKG_CHECK_MODULES(LIBXML2 libxml-2.0 REQUIRED)
FIND_PACKAGE(CURL 7.52.0 REQUIRED)
-@@ -115,8 +115,8 @@ IF (ENABLE_PYTHON)
+@@ -130,8 +130,8 @@ IF (ENABLE_PYTHON)
# Python stuff
IF (ENABLE_PYTHON)
diff --git a/misc/librepo/files/patch-librepo_CMakeLists.txt b/misc/librepo/files/patch-librepo_CMakeLists.txt
index 5d480278b981..0b9185bb9863 100644
--- a/misc/librepo/files/patch-librepo_CMakeLists.txt
+++ b/misc/librepo/files/patch-librepo_CMakeLists.txt
@@ -27,3 +27,4 @@
+endif()
ADD_SUBDIRECTORY(python)
ENDIF (ENABLE_PYTHON)
+
diff --git a/misc/librepo/files/patch-librepo_librepo.pc.cmake b/misc/librepo/files/patch-librepo_librepo.pc.cmake
index 240ce9474af6..358134de9c4c 100644
--- a/misc/librepo/files/patch-librepo_librepo.pc.cmake
+++ b/misc/librepo/files/patch-librepo_librepo.pc.cmake
@@ -1,11 +1,11 @@
---- librepo/librepo.pc.cmake.orig 2024-11-04 16:54:08 UTC
+--- librepo/librepo.pc.cmake.orig 2026-09-09 07:53:37 UTC
+++ librepo/librepo.pc.cmake
@@ -6,7 +6,7 @@ Requires: glib-2.0
Description: Repodata downloading library.
Version: @VERSION@
Requires: glib-2.0
--Requires.private: libcurl openssl libxml-2.0 @PKGCONF_DEPENDENCY_ZCK@
-+Requires.private: libcurl libxml-2.0 @PKGCONF_DEPENDENCY_ZCK@
+-Requires.private: libcurl openssl libxml-2.0 gio-2.0 @PKGCONF_DEPENDENCY_ZCK@ @PKGCONF_REQUIRES_SELINUX@
++Requires.private: libcurl libxml-2.0 gio-2.0 @PKGCONF_DEPENDENCY_ZCK@ @PKGCONF_REQUIRES_SELINUX@
Libs: -L${libdir} -lrepo
Libs.private: -lgpgme -lgpg-error
Cflags: -I${includedir} -D_FILE_OFFSET_BITS=64