From 7fad7a38eb695585cc2f65b8a75892d4b68967f2 Mon Sep 17 00:00:00 2001 From: Andrea Scarpino Date: Fri, 9 Feb 2024 16:20:17 +0100 Subject: [PATCH 1/3] Update tailscale version --- .github/workflows/build.yml | 2 +- rpm/harbour-tailscale.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ed1a13c..389dafa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ on: env: RELEASE: 4.5.0.16 - TAILSCALE_VERSION: 1.56.1 + TAILSCALE_VERSION: 1.58.2 jobs: build: diff --git a/rpm/harbour-tailscale.spec b/rpm/harbour-tailscale.spec index c642e53..262b4ad 100644 --- a/rpm/harbour-tailscale.spec +++ b/rpm/harbour-tailscale.spec @@ -2,7 +2,7 @@ Name: harbour-tailscale # >> macros %global _missing_build_ids_terminate_build 0 -%define tailscale_version 1.56.1 +%define tailscale_version 1.58.2 # << macros %{!?qtc_qmake:%define qtc_qmake %qmake} From 9cb1b03fb78fa95a7003d9706818e867af65b2ba Mon Sep 17 00:00:00 2001 From: Andrea Scarpino Date: Fri, 9 Feb 2024 16:42:07 +0100 Subject: [PATCH 2/3] Stop tailscale on application stop --- qml/pages/MainPage.qml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/qml/pages/MainPage.qml b/qml/pages/MainPage.qml index 8fb7fc8..bd2847b 100644 --- a/qml/pages/MainPage.qml +++ b/qml/pages/MainPage.qml @@ -118,4 +118,17 @@ Page { } ); } + + Component.onDestruction: { + systemd.typedCall('StopUnit', + [ + { 'type': 's', 'value': 'tailscaled.service' }, + { 'type': 's', 'value': 'fail' } + ], + function(result) {}, + function(error, message) { + console.log("failed (" + error + ") with:", message) + } + ); + } } From 3d190cfb0fe196b0238e8507b87349859071a4b1 Mon Sep 17 00:00:00 2001 From: Andrea Scarpino Date: Fri, 9 Feb 2024 16:43:25 +0100 Subject: [PATCH 3/3] Release 0.0.8 --- rpm/harbour-tailscale.changes | 4 ++++ rpm/harbour-tailscale.spec | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/rpm/harbour-tailscale.changes b/rpm/harbour-tailscale.changes index 03f665a..1e063a5 100644 --- a/rpm/harbour-tailscale.changes +++ b/rpm/harbour-tailscale.changes @@ -1,3 +1,7 @@ +* Fri Feb 9 2024 Andrea Scarpino 0.0.8-1 +- Stop tailscale on application close +- Update tailscale to 1.58.2 + * Fri Jan 12 2024 Andrea Scarpino 0.0.7-1 - Update tailscale to 1.56.1 diff --git a/rpm/harbour-tailscale.spec b/rpm/harbour-tailscale.spec index 262b4ad..b2f9b2a 100644 --- a/rpm/harbour-tailscale.spec +++ b/rpm/harbour-tailscale.spec @@ -10,7 +10,7 @@ Name: harbour-tailscale %{!?qtc_make:%define qtc_make make} %{?qtc_builddir:%define _builddir %qtc_builddir} Summary: tailscale -Version: 0.0.7 +Version: 0.0.8 Release: 1 Group: Qt/Qt License: GPLv3