summaryrefslogtreecommitdiff
path: root/debian/watch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-08-05 09:29:09 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-08-05 09:29:09 +0200
commite750789a7933d3e82ce90f4160920e089244c2d1 (patch)
tree494cb1aaf4f465bc76d4ccc01b78d9fe9239d9a5 /debian/watch
parent5c9ad37eb34bd6763b823a0e81ec196cd869f59b (diff)
Switch upstream to github
Diffstat (limited to 'debian/watch')
-rw-r--r--debian/watch10
1 files changed, 8 insertions, 2 deletions
diff --git a/debian/watch b/debian/watch
index 7641bb7..f4fe53a 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,9 @@
version=4
-opts=uversionmangle=s/\.(tar.*|xz|tgz|zip|gz|bz2)$// \
-http://sf.net/ipmitool/ipmitool-?_?([\d+\.]+|\d+)\.(tar.*|xz|tgz|zip|gz|bz2) debian uupdate
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/;s/\-/\./g;s/\_/\./g,\
+filenamemangle=s/(?:.*?)?(?:rel|v|ipmitool|IPMITOOL)?[\-\_]?(\d\S+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/ipmitool-$1.$2/ \
+https://github.com/ipmitool/ipmitool/releases \
+(?:.*?/)?(?:rel|v|ipmitool|IPMITOOL)?[\-\_]?(\d\S+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) \
+debian uupdate
+