From 87dfff48a2101d479f46b15493eee63683742172 Mon Sep 17 00:00:00 2001 From: Klaus Hipp Date: Sun, 29 Dec 2024 20:48:50 +0100 Subject: [PATCH 1/3] mullvadvpn: update url, minimum macOS version --- Casks/m/mullvadvpn.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Casks/m/mullvadvpn.rb b/Casks/m/mullvadvpn.rb index a18fa0af2247..00b15d5959f0 100644 --- a/Casks/m/mullvadvpn.rb +++ b/Casks/m/mullvadvpn.rb @@ -2,8 +2,7 @@ version "2024.8" sha256 "ef7373e89bda812c8da747dc905b65bd11e6c129fab69c0c5d6292622d78fea3" - url "https://github.com/mullvad/mullvadvpn-app/releases/download/#{version}/MullvadVPN-#{version}.pkg", - verified: "github.com/mullvad/mullvadvpn-app/" + url "https://cdn.mullvad.net/app/desktop/releases/#{version}/MullvadVPN-#{version}.pkg" name "Mullvad VPN" desc "VPN client" homepage "https://mullvad.net/" @@ -14,7 +13,7 @@ end conflicts_with cask: "mullvadvpn@beta" - depends_on macos: ">= :big_sur" + depends_on macos: ">= :ventura" pkg "MullvadVPN-#{version}.pkg" From 8daa8f89a055b143ce1b04991b9f69cf678f5bb4 Mon Sep 17 00:00:00 2001 From: Klaus Hipp Date: Sun, 29 Dec 2024 20:49:12 +0100 Subject: [PATCH 2/3] mullvadvpn@beta: update url, livecheck, minimum macOS version --- Casks/m/mullvadvpn@beta.rb | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/Casks/m/mullvadvpn@beta.rb b/Casks/m/mullvadvpn@beta.rb index f4ba9d55a828..d9f53799a793 100644 --- a/Casks/m/mullvadvpn@beta.rb +++ b/Casks/m/mullvadvpn@beta.rb @@ -2,28 +2,18 @@ version "2024.9-beta1" sha256 "a450bbf063c20f5c87a4788bbd33827140f2bc7bee36a96f0f0221b4ba2cc9ff" - url "https://github.com/mullvad/mullvadvpn-app/releases/download/#{version}/MullvadVPN-#{version}.pkg", - verified: "github.com/mullvad/mullvadvpn-app/" + url "https://cdn.mullvad.net/app/desktop/releases/#{version}/MullvadVPN-#{version}.pkg" name "Mullvad VPN" desc "VPN client" homepage "https://mullvad.net/" livecheck do - url :url - regex(/^v?(\d+(?:\.\d+)+[._-]beta\d*)$/i) - strategy :github_releases do |json, regex| - json.map do |release| - next if release["draft"] - - match = release["tag_name"]&.match(regex) - next if match.blank? - - match[1] - end - end + url "https://mullvad.net/download/app/pkg/latest-beta" + strategy :header_match end conflicts_with cask: "mullvadvpn" + depends_on macos: ">= :ventura" pkg "MullvadVPN-#{version}.pkg" From 33bc170bd3d483493e6f18da84ee882b5cd3d45b Mon Sep 17 00:00:00 2001 From: Klaus Hipp Date: Sun, 29 Dec 2024 20:51:37 +0100 Subject: [PATCH 3/3] audit_exceptions/github_prerelease_allowlist.json: remove mullvadvpn@beta --- audit_exceptions/github_prerelease_allowlist.json | 1 - 1 file changed, 1 deletion(-) diff --git a/audit_exceptions/github_prerelease_allowlist.json b/audit_exceptions/github_prerelease_allowlist.json index 780021d0134e..946b82994d10 100644 --- a/audit_exceptions/github_prerelease_allowlist.json +++ b/audit_exceptions/github_prerelease_allowlist.json @@ -30,7 +30,6 @@ "magicavoxel": "all", "messenger-native": "all", "mongotron": "all", - "mullvadvpn@beta": "all", "my-budget": "all", "netnewswire@beta": "all", "nuclear": "all",