[Pkg-virtualbox-devel] Bug#699141: src:virtualbox: debian/watch to catch all available versions

Dmitry Smirnov onlyjob at member.fsf.org
Mon Jan 28 02:58:23 UTC 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-watch-to-check-all-upstream-versions-not-only.patch
Type: text/x-patch
Size: 923 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-virtualbox-devel/attachments/20130128/80aa7b7e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-virtualbox-devel/attachments/20130128/80aa7b7e/attachment.pgp>


More information about the Pkg-virtualbox-devel mailing list