diff mbox series

[wrynose,meta-gnome,39/45] libuser: Fetch from codeberg.org/libuser/libuser

Message ID 20261201064402.3934788-39-anuj.mittal@oss.qualcomm.com
State Under Review
Delegated to: Anuj Mittal
Headers show
Series [wrynose,meta-networking,01/45] proftpd: upgrade 1.3.9d -> 1.3.9e | expand

Commit Message

Anuj Mittal Dec. 1, 2026, 6:43 a.m. UTC
From: Khem Raj <khem.raj@oss.qualcomm.com>

releases.pagure.org is gone and upstream moved to Codeberg. The old
tarball was a plain git archive; the libuser-0.64 tag has the same tree
apart from .gitignore. Fetch it with git and check upstream versions
from the git tags.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
(cherry picked from commit bad3a61515d1db2a381ba8ff493e7cd9eb1aca9e)
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
---
 meta-gnome/recipes-support/libuser/libuser_0.64.bb | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/meta-gnome/recipes-support/libuser/libuser_0.64.bb b/meta-gnome/recipes-support/libuser/libuser_0.64.bb
index 27cbb43486..fbece79f12 100644
--- a/meta-gnome/recipes-support/libuser/libuser_0.64.bb
+++ b/meta-gnome/recipes-support/libuser/libuser_0.64.bb
@@ -1,8 +1,8 @@ 
 SUMMARY = "user and group account administration library"
 DESCRIPTION = "The libuser library implements a standardized interface for manipulating and administering user \
 and group accounts"
-HOMEPAGE = "https://pagure.io/libuser"
-BUGTRACKER = "https://pagure.io/libuser/issues"
+HOMEPAGE = "https://codeberg.org/libuser/libuser"
+BUGTRACKER = "https://codeberg.org/libuser/libuser/issues"
 
 LICENSE = "LGPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
@@ -11,14 +11,16 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
 
 SECTION = "base"
 
-SRC_URI = "https://releases.pagure.org/libuser/libuser-${PV}.tar.gz \
+SRC_URI = "git://codeberg.org/libuser/libuser.git;protocol=https;branch=master;tag=${BP} \
            file://0001-docs-Disable-building.patch \
            file://0002-remove-unused-execinfo.h.patch \
            file://gtkdoc.patch \
            file://0001-configure.ac-update-version-to-0.64.patch \
            "
 
-SRC_URI[sha256sum] = "ea6094c72cb9e60a42fb53509dc98d124a340f1c9222783b503208adc16a0a8f"
+SRCREV = "ce81277cb5cd5235e22be453aa496e3f4190724c"
+
+UPSTREAM_CHECK_GITTAGREGEX = "^libuser-(?P<pver>\d+(\.\d+)+)$"
 
 DEPENDS = "bison-native popt libpam glib-2.0 python3"