diff mbox series

[meta-networking,21/35] tsocks: Fix upstream version check

Message ID 20261127041715.1776485-22-khem.raj@oss.qualcomm.com
State New
Headers show
Series Upstream version check fixes | expand

Commit Message

Khem Raj Nov. 27, 2026, 4:17 a.m. UTC
The downloads.sourceforge.net directory is not a listing, so nothing was
found. Check the SourceForge files page, whose latest-download link names
the newest tarball (the folders use names like "1.8 beta 5").

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb b/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb
index af0823829d..f8b0632a07 100644
--- a/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb
+++ b/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb
@@ -16,6 +16,9 @@  SRC_URI = "http://downloads.sourceforge.net/tsocks/tsocks-${PV}.tar.gz \
 SRC_URI[md5sum] = "51caefd77e5d440d0bbd6443db4fc0f8"
 SRC_URI[sha256sum] = "849d7ef5af80d03e76cc05ed9fb8fa2bcc2b724b51ebfd1b6be11c7863f5b347"
 
+UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/tsocks/files/"
+UPSTREAM_CHECK_REGEX = "tsocks-(?P<pver>\d+(\.\d+)+(beta\d+)?)\.tar\.gz"
+
 inherit autotools-brokensep
 
 LIBS:append:libc-musl = " -lssp_nonshared"