Package: src:pam
Version: 1.5.2-6
Severity: normal
Tags: patch

pam Maintainers,

Since GitHub made an annoying change, pam's debian/watch no longer works.
https://tracker.debian.org/pkg/pam says:
   Problems while searching for a new upstream version
  uscan had problems while searching for a new upstream version:
  In debian/watch no matching files for watch line
    https://github.com/linux-pam/linux-pam/releases .*/\S+-([\d.]+)\.tar\.xz

Based on the uscan(1) github.com example:
    https://manpages.debian.org/bookworm/devscripts/uscan.1.en.html
I have created the *untested* patch below.

Thank you!
Daniel Lewart
Urbana, Illinois

diff -ru a/watch b/watch
--- a/watch     2023-01-04 14:40:45.000000000 -0600
+++ b/watch     2023-07-04 00:00:00.000000000 -0500
@@ -1,2 +1,4 @@
 version=4
-  https://github.com/linux-pam/linux-pam/releases .*/\S+-([\d.]+)\.tar\.xz
+opts="filenamemangle=s%(?:.*?)?v?@ANY_VERSION@(@ARCHIVE_EXT@)%@PACKAGE@-$1$2%" 
\
+    https://github.com/linux-pam/linux-pam/tags \
+    (?:.*?/)?v?@ANY_VERSION@@ARCHIVE_EXT@

###

Reply via email to