• help with watch file and upstream signature

    From Lorenzo@21:1/5 to All on Sun Mar 2 14:50:01 2025
    Hello Mentors,

    upstream runit has both the tar.gz and the signature file at

    https://smarden.org/runit/install

    I would like to check the signature with uscan/gbp import-orig;
    the signature file has a different name from the tar archive,
    examples that I found (adding .asc to the tar archive name) are not
    working.
    I'm playing with the pgpsigurlmangle option trying to replace the tar
    with 'sha256sum.asc' but no luck so far and I'm not sure it can work
    that way.
    How can I tell uscan to look for a different filename for the signature?

    cat ./debian/watch (not working)
    version=4
    opts=pgpsigurlmangle=s/runit-([.0-9]+)\.tar\.gz/sha256sum\.asc/ \ https://smarden.org/runit/install.html runit-([.0-9]+)\.tar\.gz

    Lorenzo

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ahmad Khalifa@21:1/5 to Lorenzo on Mon Mar 3 00:30:01 2025
    On 02/03/2025 13:49, Lorenzo wrote:
    How can I tell uscan to look for a different filename for the signature?

    cat ./debian/watch (not working)
    version=4
    opts=pgpsigurlmangle=s/runit-([.0-9]+)\.tar\.gz/sha256sum\.asc/ \ https://smarden.org/runit/install.html runit-([.0-9]+)\.tar\.gz

    This seems to work if I run `uscan -v` opts="pgpsigurlmangle=s/runit-.*/sha256sum\.asc/" \
    https://smarden.org/runit/install.html runit-([.0-9]+)\.tar\.gz

    It may have needed an escaped \+ or something else.
    PS, the url doesn't have .html anymore.


    --
    Regards,
    Ahmad

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)