From: Dietmar Maurer Date: Mon, 9 Dec 2013 12:18:40 +0000 (+0100) Subject: bump version to 3.0-10 X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=commitdiff_plain;h=2f13cbb5a6557da77c644e112c09d797066496ea;ds=sidebyside bump version to 3.0-10 new helper next_spice_port() --- diff --git a/Makefile b/Makefile index 11d8cef..42fe6c5 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ RELEASE=3.1 VERSION=3.0 -PKGREL=9 +PKGREL=10 PACKAGE=libpve-common-perl diff --git a/data/PVE/Tools.pm b/data/PVE/Tools.pm index f399d77..f8e9c47 100644 --- a/data/PVE/Tools.pm +++ b/data/PVE/Tools.pm @@ -729,6 +729,10 @@ sub next_vnc_port { return next_unused_port(5900, 6000); } +sub next_spice_port { + return next_unused_port(61000, 61099); +} + # NOTE: NFS syscall can't be interrupted, so alarm does # not work to provide timeouts. # from 'man nfs': "Only SIGKILL can interrupt a pending NFS operation" diff --git a/debian/changelog b/debian/changelog index a0ce308..e800ace 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +libpve-common-perl (3.0-10) unstable; urgency=low + + * wait_for_vnc_port: avoid unnecessarry delay by using usleep + + * new helper next_spice_port() + + -- Proxmox Support Team Mon, 09 Dec 2013 13:16:55 +0100 + libpve-common-perl (3.0-9) unstable; urgency=low * export regular expressions for IPv4 and IPv6 addresses