diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2023-01-02 12:08:41 +0100 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2023-01-24 18:19:42 +0100 |
commit | 1f3788f91dbdd991e840a6dc8713d87685bcd80f (patch) | |
tree | c64848b1ede366f3ffbfa07bfa4313e8f7d7f339 /debian | |
parent | debian: fiddle with lintian spellcheck overrides (diff) | |
download | frr-1f3788f91dbdd991e840a6dc8713d87685bcd80f.tar.xz frr-1f3788f91dbdd991e840a6dc8713d87685bcd80f.zip |
debian: frickel a working debian/watch file
Github changed the HTML for their releases tab, making download links a
javascript thing. Which does not jive with uscan... at all...
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit 3c185cf70c90ba03349b6e7fb14a9986f4c21d4d)
Diffstat (limited to 'debian')
-rw-r--r-- | debian/watch | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/debian/watch b/debian/watch index f17eba413..3379788f3 100644 --- a/debian/watch +++ b/debian/watch @@ -1,5 +1,10 @@ version=4 -opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/ \ +opts="\ +searchmode=plain,\ +uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/,\ +downloadurlmangle=s&>FRR\s*(\d\S+)\s+Release<&download/frr-$1/frr-$1.tar.xz&,\ +filenamemangle=s&>FRR\s*(\d\S+)\s+Release<&frr-$1.tar.xz&,\ +" \ https://github.com/FRRouting/frr/releases/ \ - .*/frr-(\d\S+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) + >FRR\s*(\d\S+)\s+Release< |