diff mbox series

[wrynose,meta-oe,40/45] mailcap: Fetch from github.com/InfrastructureServices/mailcap

Message ID 20261201064402.3934788-40-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 GitHub, which has no
release tarballs. Fetch the r2-1-54 tag with git; its tree matches the
old release tarball (a GitHub tag archive would fail the src-uri-bad QA
check).

The tags use dashes (r2-1-54), which the git tag check cannot map to PV,
and the listings with dotted versions (Fedora) are behind a bot wall, so
mark the upstream version as unknown.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
(cherry picked from commit 00b9df8f34ab7f76a7ab6fb65168a5ec00f73b4e)
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
---
 meta-oe/recipes-support/mailcap/mailcap_2.1.54.bb | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/mailcap/mailcap_2.1.54.bb b/meta-oe/recipes-support/mailcap/mailcap_2.1.54.bb
index 8385b63543..af5839dd84 100644
--- a/meta-oe/recipes-support/mailcap/mailcap_2.1.54.bb
+++ b/meta-oe/recipes-support/mailcap/mailcap_2.1.54.bb
@@ -1,5 +1,5 @@ 
 SUMMARY = "Helper application and MIME type associations for file types"
-HOMEPAGE = "https://pagure.io/mailcap"
+HOMEPAGE = "https://github.com/InfrastructureServices/mailcap"
 DESCRIPTION = "The mailcap file is used by the metamail program. Metamail reads the \
 mailcap file to determine how it should display non-text or multimedia \
 material. Basically, mailcap associates a particular type of file \
@@ -16,9 +16,11 @@  SECTION = "System Environment/Base"
 LICENSE = "PD & MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=8dce08227d135cfda1f19d4c0c6689de"
 
-SRC_URI = "https://releases.pagure.org/${BPN}/${BP}.tar.xz"
+SRC_URI = "git://github.com/InfrastructureServices/mailcap.git;protocol=https;branch=master;tag=r${@d.getVar('PV').replace('.', '-')}"
+SRCREV = "9699055a1b4dfb90f7594ee2e8dda705fa56d3b8"
 
-SRC_URI[sha256sum] = "9a4032202fc0d2b0858f41b167389a9cfe52ac24ec282e6479b90765319de113"
+# Release tags are r2-1-54, which the git tag check cannot map to PV
+UPSTREAM_VERSION_UNKNOWN = "1"
 
 inherit update-alternatives