commit: 50520feae0844ffb0c9c769a2a4a3a1ffc14eb06
Author: Itai Ferber <itai <AT> itaiferber <DOT> net>
AuthorDate: Mon Sep 8 14:07:05 2025 +0000
Commit: Itai Ferber <itai <AT> itaiferber <DOT> net>
CommitDate: Mon Sep 8 14:07:05 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=50520fea
net-vpn/mullvadvpn-app: add 2025.9, drop 2025.8, 2025.9_beta1
Signed-off-by: Itai Ferber <itai <AT> itaiferber.net>
net-vpn/mullvadvpn-app/Manifest | 6 +-
...-2025.8.ebuild => mullvadvpn-app-2025.9.ebuild} | 0
.../mullvadvpn-app-2025.9_beta1.ebuild | 152 ---------------------
3 files changed, 2 insertions(+), 156 deletions(-)
diff --git a/net-vpn/mullvadvpn-app/Manifest b/net-vpn/mullvadvpn-app/Manifest
index 2628de5317..7e8e151f65 100644
--- a/net-vpn/mullvadvpn-app/Manifest
+++ b/net-vpn/mullvadvpn-app/Manifest
@@ -1,4 +1,2 @@
-DIST MullvadVPN-2025.8_aarch64.rpm 87969433 BLAKE2B
d4c394433ae708c504d72c1f8de8154f9772f11746340c79f672e2e3b26e3c62120f1674bd05685942352f365f23983d956a13040e6b429e50c1b2998b3be8c3
SHA512
eef1d76182bd60399982cdc4b091367c394912632c4b4cf09e284e153adc111c4d857f905c8a82c86f70513524a664c5131ccf182c0d303b2fe4fd9c4aa92586
-DIST MullvadVPN-2025.8_x86_64.rpm 93755725 BLAKE2B
1b471e7a4ad17a002aeff1e6c8bc9caf88728a3b3ff5580231e93f9d2e1240405a8968e0f76f3a5071d5d84ab9652ec24dad4bb47da0a8f7249a17380746bce5
SHA512
5d4792bfedffeef653ae6ca450334836e2e48e76deaa9e934e9e9929e4d06b0ca9eb7f061cafcfe81afe68786873ee80a6bf5b36f3d5c1dc78b1fd8fe262d78e
-DIST MullvadVPN-2025.9-beta1_aarch64.rpm 87222193 BLAKE2B
a295106f980aced7dafb874ebfea5a2f9a168052d59eba4d0594b48007ad136ff1ba9ba8bf856765c4fee16c4bef3445dce605e68a3de46224e77530346e6800
SHA512
98332c6c08721d9168bfe6c4b38132e9495dd69b8b602c5a85228f412ba61f33927d4209055bf7027698838086cace7faadc926508adfae264e2483f527e872f
-DIST MullvadVPN-2025.9-beta1_x86_64.rpm 93127121 BLAKE2B
2045c2fb4c6db1eac142853fa0fa28315090bc5da37d7befa7ad0a886422f8f2b298dc270a0b0bfa0237adbc7a118cc30cf93a18e0978cb049a9f8e68d66b8e3
SHA512
9cb4e8fa72efbbf1b02e8a4de0cb7652f36d7e0366fe5cf7d780018e22caa96b619d5aab60e50638976daf96a47c849bd23f9b69f2581fca18c7196eb6b222b9
+DIST MullvadVPN-2025.9_aarch64.rpm 87243633 BLAKE2B
9a66409af98dd35fb5a5eae6fc863229b4b6deb21b12b045b3ff6689e5693a6a2a4a45917ff190c5d6e2435a63c84899143018c0483d0e3bf8d5dc7ed9480f9b
SHA512
0f5b28f2749cbedf6ed70b29c107ed131d10f113ff75afb42cee3daaa1e2218ff1421fd606df2e85940b08ce7acc35b562cb1443097d9f65f70e2c44b1fcdc99
+DIST MullvadVPN-2025.9_x86_64.rpm 93122013 BLAKE2B
ada9bc4103dd76539630e8a055dfefe745bce48e7446565cfe5389981908e2aacc11f132125f1e4651d029e34b74cfa863463b8902779a11b9baac00d12d79f2
SHA512
71f87267943f6295b932ad281d0ae3ffb0dc9c5af9c636d1df330f37a6199f1903997a4ae3e1702ef9b87cddcf894c9f31654423dc836720f6196379458649aa
diff --git a/net-vpn/mullvadvpn-app/mullvadvpn-app-2025.8.ebuild
b/net-vpn/mullvadvpn-app/mullvadvpn-app-2025.9.ebuild
similarity index 100%
rename from net-vpn/mullvadvpn-app/mullvadvpn-app-2025.8.ebuild
rename to net-vpn/mullvadvpn-app/mullvadvpn-app-2025.9.ebuild
diff --git a/net-vpn/mullvadvpn-app/mullvadvpn-app-2025.9_beta1.ebuild
b/net-vpn/mullvadvpn-app/mullvadvpn-app-2025.9_beta1.ebuild
deleted file mode 100644
index ed23aab17e..0000000000
--- a/net-vpn/mullvadvpn-app/mullvadvpn-app-2025.9_beta1.ebuild
+++ /dev/null
@@ -1,152 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop rpm systemd shell-completion xdg
-
-MYPV="${PV/_beta/-beta}"
-DESCRIPTION="Tool used to manage daemon setup"
-HOMEPAGE="https://github.com/mullvad/mullvadvpn-app https://mullvad.net/"
-SRC_URI="
- amd64? (
https://github.com/mullvad/mullvadvpn-app/releases/download/${MYPV}/MullvadVPN-${MYPV}_x86_64.rpm
)
- arm64? (
https://github.com/mullvad/mullvadvpn-app/releases/download/${MYPV}/MullvadVPN-${MYPV}_aarch64.rpm
)
-"
-
-S="${WORKDIR}"
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~arm64"
-
-RESTRICT="bindist mirror strip"
-
-RDEPEND="
- app-accessibility/at-spi2-core:2
- dev-libs/expat
- dev-libs/glib:2
- dev-libs/nspr
- dev-libs/nss
- media-libs/alsa-lib
- media-libs/mesa
- net-print/cups
- sys-apps/dbus
- x11-libs/cairo
- x11-libs/gtk+:3
- x11-libs/libdrm
- x11-libs/libX11
- x11-libs/libxcb
- x11-libs/libXcomposite
- x11-libs/libXdamage
- x11-libs/libXext
- x11-libs/libXfixes
- x11-libs/libxkbcommon
- x11-libs/libXrandr
- x11-libs/pango
-"
-
-QA_PREBUILT="*"
-
-src_install() {
- sed -i "s|SCRIPT_DIR=.*|SCRIPT_DIR=\"/opt/Mullvad VPN/\"|g"
"${S}/opt/Mullvad VPN/mullvad-vpn" || die
-
- # Using doins -r would strip executable bits from all binaries
- cp -pPR opt "${D}"/ || die "Failed to copy files"
- fperms +x "/opt/Mullvad VPN/chrome_crashpad_handler"
- fperms 4755 "/opt/Mullvad VPN/chrome-sandbox"
-
- dobin ./usr/bin/mullvad
- dobin ./usr/bin/mullvad-daemon
- dobin ./usr/bin/mullvad-exclude
- dosym -r "/opt/Mullvad VPN/mullvad-vpn" /usr/bin/mullvad-vpn
- dosym -r "/opt/Mullvad VPN/resources/mullvad-problem-report"
/usr/bin/mullvad-problem-report
-
- # mullvad-exclude uses cgroups to manage exclusions, which requires
root permissions, but is
- # also most often used to exclude graphical applications which can't or
shouldn't run as root
- # (i.e., can't be run under `sudo/doas /usr/bin/mullvad-exclude ...`,
because `sudo`/`doas`
- # change user). The setuid bit allows any user to exclude executables
under their own UID.
- fperms 4755 /usr/bin/mullvad-exclude
-
- newinitd "${FILESDIR}"/mullvad-daemon.initd mullvad-daemon
-
- systemd_newunit ./usr/lib/systemd/system/mullvad-daemon.service
mullvad-daemon.service
- systemd_newunit
./usr/lib/systemd/system/mullvad-early-boot-blocking.service
mullvad-early-boot-blocking.service
-
- newbashcomp ./usr/share/bash-completion/completions/mullvad mullvad
- newfishcomp ./usr/share/fish/vendor_completions.d/mullvad.fish mullvad
- newzshcomp ./usr/share/zsh/site-functions/_mullvad _mullvad
-
- domenu ./usr/share/applications/mullvad-vpn.desktop
- local x
- for x in 16 32 48 64 128 256 512 1024; do
- doicon -s "${x}"
"./usr/share/icons/hicolor/${x}x${x}/apps/mullvad-vpn.png"
- done
-}
-
-MULLVAD_IS_BEING_UPDATED=false
-
-pkg_preinst() {
- xdg_pkg_preinst
-
- [[ -n "$(best_version "${CATEGORY}/${PN}")" ]] &&
MULLVAD_IS_BEING_UPDATED=true
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
-
- if [[ ${MULLVAD_IS_BEING_UPDATED} = "false" ]]; then
- if ! command -v pgrep &>/dev/null || pgrep -f
"mullvad-(daemon|gui)"; then
- elog "Mullvad has been uninstalled. To stop the
service,"
- elog "1. Quit the Mullvad app"
- elog " * Manually: 'Disconnect & quit' from the
Mullvad menu"
- elog " OR"
- elog " * Command line: pkill -f mullvad-gui"
- elog "2. Stop the daemon"
- elog " * OpenRC: rc-service mullvad-daemon stop"
- elog " OR"
- elog " * systemd: systemctl stop mullvad-daemon"
- elog " OR"
- elog " * other: pkill -f mullvad-daemon"
- fi
- fi
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
-
- if [[ ${MULLVAD_IS_BEING_UPDATED} = "true" ]]; then
- if command -v pgrep &>/dev/null && pgrep -f
"mullvad-(daemon|gui)" &>/dev/null; then
- elog "Mullvad has been updated. To restart the service,"
- elog "1. Restart the daemon"
- elog " * OpenRC: rc-service mullvad-daemon restart"
- elog " OR"
- elog " * systemd: systemctl restart mullvad-daemon"
- elog "2. Restart the app"
- elog " * Manually: 'Disconnect & quit' from the
Mullvad menu and relaunch using"
- elog " your preferred desktop launcher"
- elog " OR"
- elog " * Command line: pkill -f mullvad-gui &&
'/opt/Mullvad VPN/mullvad-vpn' & disown"
- else
- elog "Mullvad has been updated. To start the service,"
- elog "1. Start the daemon"
- elog " * OpenRC: rc-service mullvad-daemon start"
- elog " OR"
- elog " * systemd: systemctl start mullvad-daemon"
- elog "2. Launch the app"
- elog " * Manually: use your preferred desktop
launcher"
- elog " OR"
- elog " * Command line: '/opt/Mullvad VPN/mullvad-vpn'
& disown"
- fi
- else
- elog "Mullvad has been installed. To start the service,"
- elog "1. Enable and start the daemon"
- elog " * OpenRC: rc-update add mullvad-daemon default"
- elog " rc-service mullvad-daemon start"
- elog " OR"
- elog " * systemd: systemctl enable mullvad-daemon"
- elog " systemctl start mullvad-daemon"
- elog "2. Launch the app"
- elog " * Manually: use your preferred desktop launcher"
- elog " OR"
- elog " * Command line: '/opt/Mullvad VPN/mullvad-vpn' &
disown"
- fi
-}