From 8372a91d53034b9ffdfe76d137b8e2e028f5f82e Mon Sep 17 00:00:00 2001 From: Dmitry Maksyoma Date: Wed, 5 Apr 2023 01:49:56 +1200 Subject: [PATCH 1/4] bump-package-version-rpm: support multiple specs per dir --- builder/bump-package-version-rpm | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/builder/bump-package-version-rpm b/builder/bump-package-version-rpm index d2066d7..74baf93 100755 --- a/builder/bump-package-version-rpm +++ b/builder/bump-package-version-rpm @@ -3,9 +3,13 @@ set -eo pipefail new_version="$1" -specs="centos/kasmvncserver.spec -oracle/kasmvncserver.spec -opensuse/kasmvncserver.spec" +spec_dirs=(centos oracle opensuse) + +spec_files() { + for d in "${spec_dirs[@]}"; do + ls "$d"/*.spec + done +} bump_version() { sed -i "s/^Version:.\+/Version: $new_version/" "$1" @@ -25,8 +29,7 @@ bump_changelog() { sed -i -e "s/%changelog/%changelog\n$new_changelog_entry/" "$1" } -IFS=$'\n' -for spec_file in $specs; do +for spec_file in $(spec_files); do bump_version $spec_file bump_changelog $spec_file done From 09fdbc1ab3efdd1a13194203f0b5e659115de9b9 Mon Sep 17 00:00:00 2001 From: Dmitry Maksyoma Date: Wed, 5 Apr 2023 01:51:21 +1200 Subject: [PATCH 2/4] bump-package-version-rpm: support Fedora --- builder/bump-package-version-rpm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/bump-package-version-rpm b/builder/bump-package-version-rpm index 74baf93..fe3fc4d 100755 --- a/builder/bump-package-version-rpm +++ b/builder/bump-package-version-rpm @@ -3,7 +3,7 @@ set -eo pipefail new_version="$1" -spec_dirs=(centos oracle opensuse) +spec_dirs=(centos oracle opensuse fedora) spec_files() { for d in "${spec_dirs[@]}"; do From ee07a90111d63c48030680b2c58e497742701793 Mon Sep 17 00:00:00 2001 From: Dmitry Maksyoma Date: Wed, 5 Apr 2023 01:53:55 +1200 Subject: [PATCH 3/4] Bump package versions to 1.1.0 --- centos/kasmvncserver.spec | 4 +++- debian/changelog | 6 ++++++ fedora/kasmvncserver.spec | 4 +++- opensuse/kasmvncserver.spec | 4 +++- oracle/kasmvncserver.spec | 4 +++- oracle/kasmvncserver9.spec | 4 +++- 6 files changed, 21 insertions(+), 5 deletions(-) diff --git a/centos/kasmvncserver.spec b/centos/kasmvncserver.spec index 82e4a06..4de4ef6 100644 --- a/centos/kasmvncserver.spec +++ b/centos/kasmvncserver.spec @@ -1,5 +1,5 @@ Name: kasmvncserver -Version: 1.0.0 +Version: 1.1.0 Release: 1%{?dist} Summary: VNC server accessible from a web browser @@ -83,6 +83,8 @@ cd $DST_MAN && ln -s vncpasswd.1 kasmvncpasswd.1; %doc /usr/share/doc/kasmvncserver/README.md %changelog +* Wed Apr 05 2023 KasmTech - 1.1.0-1 +- Upstream release * Tue Nov 29 2022 KasmTech - 1.0.0-1 - WebRTC UDP transit support with support of STUN servers - Lossless compression using multi-threaded WASM QOI decoder client side diff --git a/debian/changelog b/debian/changelog index c5b92c2..9ec5a09 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +kasmvnc (1.1.0-1) unstable; urgency=medium + + * New upstream release. + + -- Kasm Technologies LLC Tue, 04 Apr 2023 13:52:14 +0000 + kasmvnc (1.0.0-1) unstable; urgency=medium * WebRTC UDP transit support with support of STUN servers diff --git a/fedora/kasmvncserver.spec b/fedora/kasmvncserver.spec index 0fe26bd..7164c63 100644 --- a/fedora/kasmvncserver.spec +++ b/fedora/kasmvncserver.spec @@ -1,5 +1,5 @@ Name: kasmvncserver -Version: 1.0.0 +Version: 1.1.0 Release: 1%{?dist} Summary: VNC server accessible from a web browser @@ -83,6 +83,8 @@ cd $DST_MAN && ln -s vncpasswd.1 kasmvncpasswd.1; %doc /usr/share/doc/kasmvncserver/README.md %changelog +* Wed Apr 05 2023 KasmTech - 1.1.0-1 +- Upstream release * Tue Nov 29 2022 KasmTech - 1.0.0-1 - WebRTC UDP transit support with support of STUN servers - Lossless compression using multi-threaded WASM QOI decoder client side diff --git a/opensuse/kasmvncserver.spec b/opensuse/kasmvncserver.spec index 4df144f..64b6a56 100644 --- a/opensuse/kasmvncserver.spec +++ b/opensuse/kasmvncserver.spec @@ -1,5 +1,5 @@ Name: kasmvncserver -Version: 1.0.0 +Version: 1.1.0 Release: leap15 Summary: VNC server accessible from a web browser @@ -81,6 +81,8 @@ cd $DST_MAN && ln -s vncpasswd.1 kasmvncpasswd.1; %doc /usr/share/doc/kasmvncserver/README.md %changelog +* Wed Apr 05 2023 KasmTech - 1.1.0-leap15 +- Upstream release * Tue Nov 29 2022 KasmTech - 1.0.0-leap15 - WebRTC UDP transit support with support of STUN servers - Lossless compression using multi-threaded WASM QOI decoder client side diff --git a/oracle/kasmvncserver.spec b/oracle/kasmvncserver.spec index c68d854..5a0295f 100644 --- a/oracle/kasmvncserver.spec +++ b/oracle/kasmvncserver.spec @@ -1,5 +1,5 @@ Name: kasmvncserver -Version: 1.0.0 +Version: 1.1.0 Release: 1%{?dist} Summary: VNC server accessible from a web browser @@ -82,6 +82,8 @@ cd $DST_MAN && ln -s vncpasswd.1 kasmvncpasswd.1; %doc /usr/share/doc/kasmvncserver/README.md %changelog +* Wed Apr 05 2023 KasmTech - 1.1.0-1 +- Upstream release * Tue Nov 29 2022 KasmTech - 1.0.0-1 - WebRTC UDP transit support with support of STUN servers - Lossless compression using multi-threaded WASM QOI decoder client side diff --git a/oracle/kasmvncserver9.spec b/oracle/kasmvncserver9.spec index 04a4976..780554c 100644 --- a/oracle/kasmvncserver9.spec +++ b/oracle/kasmvncserver9.spec @@ -1,5 +1,5 @@ Name: kasmvncserver -Version: 1.0.0 +Version: 1.1.0 Release: 1%{?dist} Summary: VNC server accessible from a web browser @@ -82,6 +82,8 @@ cd $DST_MAN && ln -s vncpasswd.1 kasmvncpasswd.1; %doc /usr/share/doc/kasmvncserver/README.md %changelog +* Wed Apr 05 2023 KasmTech - 1.1.0-1 +- Upstream release * Tue Nov 29 2022 KasmTech - 1.0.0-1 - WebRTC UDP transit support with support of STUN servers - Lossless compression using multi-threaded WASM QOI decoder client side From 932ca80b507c0030b53e5864471f746bc2d99dde Mon Sep 17 00:00:00 2001 From: Matthew McClaskey Date: Tue, 4 Apr 2023 18:15:53 +0000 Subject: [PATCH 4/4] update Xvnc version --- unix/xserver/hw/vnc/xvnc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix/xserver/hw/vnc/xvnc.c b/unix/xserver/hw/vnc/xvnc.c index 89cf387..3e3f037 100644 --- a/unix/xserver/hw/vnc/xvnc.c +++ b/unix/xserver/hw/vnc/xvnc.c @@ -93,7 +93,7 @@ from the X Consortium. #include "version-config.h" #include "site.h" -#define XVNCVERSION "KasmVNC 0.9" +#define XVNCVERSION "KasmVNC 1.1.0" #define XVNCCOPYRIGHT ("Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)\n" \ "See http://kasmweb.com for information on KasmVNC.\n")