backport to buster
[hcoop/debian/openafs.git] / debian / watch
1 # Note that the following watch file does not find development releases,
2 # only general releases and release candidates. If we package development
3 # releases, a rule should be added to find them as well.
4
5 version=3
6
7 # Without the /pages in the URL, one gets the frameset page.
8 opts=dversionmangle=s/[\.+]dfsg\d+$// \
9 http://www.openafs.org/pages/release/latest.html \
10 .*/openafs-([^-]+)-src\.tar\.gz
11
12 # Release candidates are stashed in another secret place and we change the
13 # version number for proper sorting of versions in Debian.
14 opts="uversionmangle=s/-rc/~rc/;s/pre/~pre/,dversionmangle=s/[\.+]dfsg\d+$//" \
15 http://dl.openafs.org/dl/openafs/candidate/ ([^/]+-?(?:rc|pre)\d+)/