Package: src:virtualbox Version: 4.1.18-dfsg-2.1 Severity: minor Tags: patch
debian/watch is checking only latest available version which makes a little bit difficult to download sources of a current version using `uscan`. The attached patch adds the following section to debian/watch to address this problem: ## all versions opts=\ dversionmangle=s/-dfsg\d*//,\ downloadurlmangle=s/([0-9.]+)\//$1\/VirtualBox-$1\.tar\.bz2/,\ filenamemangle=s/([0-9.]+)\//virtualbox_$1.orig.tar.bz2/,\ http://download.virtualbox.org/virtualbox/ ([0-9.]+)\/ Thanks. -- Cheers, Dmitry Smirnov --- There is nothing more odious than the majority. It consist of a few powerful men who lead the way; of accommodating rascals and submissive weaklings; and of a mass of men who trot after them without in the least knowing their own minds. -- Johann Wolfgang von Goethe
From 963c17b3034ecf9c4d77ba1504000179e2ad99ef Mon Sep 17 00:00:00 2001 From: Dmitry Smirnov <only...@member.fsf.org> Date: Mon, 28 Jan 2013 13:54:06 +1100 Subject: [PATCH] debian/watch to check all upstream versions, not only latest. This helps to download current upstream source with `uscan`. --- debian/watch | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/debian/watch b/debian/watch index c264ceb..c17d71a 100644 --- a/debian/watch +++ b/debian/watch @@ -1,4 +1,12 @@ version=3 +## latest version opts=dversionmangle=s/-dfsg\d*$//,uversionmangle=s/-.*// \ http://download.virtualbox.org/virtualbox/([\d\.\-]+)/VirtualBox-([\d\.\-]+).tar.bz2 + +## all versions +opts=\ +dversionmangle=s/-dfsg\d*//,\ +downloadurlmangle=s/([0-9.]+)\//$1\/VirtualBox-$1\.tar\.bz2/,\ +filenamemangle=s/([0-9.]+)\//virtualbox_$1.orig.tar.bz2/,\ + http://download.virtualbox.org/virtualbox/ ([0-9.]+)\/ -- 1.7.10.4
signature.asc
Description: This is a digitally signed message part.