[Pkg-virtualbox-commits] [virtualbox-ext-pack] 01/01: Enforce virtualbox version
Gianfranco Costamagna
locutusofborg at moszumanska.debian.org
Mon Dec 5 17:27:12 UTC 2016
This is an automated email from the git hooks/post-receive script.
locutusofborg pushed a commit to branch master
in repository virtualbox-ext-pack.
commit 06b104c79bb6cb15f62d3d39624a755780b3550a
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date: Mon Dec 5 18:21:13 2016 +0100
Enforce virtualbox version
---
debian/changelog | 6 ++++++
debian/control | 4 ++--
debian/rules | 6 ++++++
3 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index b9791f5..7156a65 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+virtualbox-ext-pack (5.1.10-3) unstable; urgency=medium
+
+ * Enforce virtualbox runtime dependency
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org> Mon, 05 Dec 2016 18:12:05 +0100
+
virtualbox-ext-pack (5.1.10-2) unstable; urgency=medium
* Fix SHA256SUM (Closes: #845423)
diff --git a/debian/control b/debian/control
index 1e244c4..e146d8c 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: extra
Maintainer: Debian Virtualbox Team <pkg-virtualbox-devel at lists.alioth.debian.org>
Uploaders: Unit 193 <unit193 at ubuntu.com>,
Gianfranco Costamagna <locutusofborg at debian.org>
-Build-Depends: debhelper (>= 9), po-debconf
+Build-Depends: debhelper (>= 9), po-debconf, virtualbox
Standards-Version: 3.9.8
Homepage: https://www.virtualbox.org
Vcs-Git: https://anonscm.debian.org/git/pkg-virtualbox/virtualbox-ext-pack.git
@@ -13,7 +13,7 @@ Vcs-Browser: https://anonscm.debian.org/cgit/pkg-virtualbox/virtualbox-ext-pack.
Package: virtualbox-ext-pack
Architecture: all
Pre-Depends: debconf
-Depends: virtualbox (>= 5.1) | virtualbox-5.1, wget, ${misc:Depends}
+Depends: virtualbox (>= ${virtualbox:Version}) | virtualbox-5.1, virtualbox (<< ${virtualbox:nextVersion}) | virtualbox-5.1, wget, ${misc:Depends}
Description: extra capabilities for VirtualBox, downloader.
VirtualBox requires an extension pack to provide support for Remote
Desktop Protocol, USB 2.0, PXE booting for Intel network cards, etc.
diff --git a/debian/rules b/debian/rules
index 11d347f..020e570 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,12 @@ override_dh_clean:
debconf-updatepo
dh_clean
+VIRTUALBOX_VERSION=$(shell dpkg-query --show --showformat='$${version}' virtualbox | cut -f1 -d "-")
+
+override_dh_gencontrol:
+ dh_gencontrol -- \
+ -Vvirtualbox:Version=$(VIRTUALBOX_VERSION) -Vvirtualbox:nextVersion=$(VIRTUALBOX_VERSION)z
+
tarball:
mkdir virtualbox-ext-pack_$(VERSION)
tar cJvf virtualbox-ext-pack_$(VERSION).orig.tar.xz virtualbox-ext-pack_$(VERSION)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-virtualbox/virtualbox-ext-pack.git
More information about the Pkg-virtualbox-commits
mailing list