commit: f90d15fa0464e26500093f8c21327644d7ef1c0c
Author: Itai Ferber <itai <AT> itaiferber <DOT> net>
AuthorDate: Wed Oct 22 11:48:31 2025 +0000
Commit: Itai Ferber <itai <AT> itaiferber <DOT> net>
CommitDate: Mon Nov 17 12:08:28 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f90d15fa
net-vpn/mullvadvpn-app: add 2025.14_beta1
Signed-off-by: Itai Ferber <itai <AT> itaiferber.net>
net-vpn/mullvadvpn-app/Manifest | 2 +
.../mullvadvpn-app-2025.14_beta1.ebuild | 148 +++++++++++++++++++++
2 files changed, 150 insertions(+)
diff --git a/net-vpn/mullvadvpn-app/Manifest b/net-vpn/mullvadvpn-app/Manifest
index 01045c3ace..00d353c358 100644
--- a/net-vpn/mullvadvpn-app/Manifest
+++ b/net-vpn/mullvadvpn-app/Manifest
@@ -1,2 +1,4 @@
DIST MullvadVPN-2025.13_aarch64.rpm 89102365 BLAKE2B
75f12d1da3246ab2843efc79e60d1cc186bafb2cc0550f8afa2d47c99331597fc4eddfc63261faa7b56501cd367ab01db880da6cdbe45f71a8c8d94e4f343cdc
SHA512
cd380728e57dfb6e5edff270bb002e443a2bc205476e077ecfc08adb15711ebe6e22763adc807ed5f85f7cd3af9b2c6b428151d92af5f3eef0f30ed7907c2a9a
DIST MullvadVPN-2025.13_x86_64.rpm 95200485 BLAKE2B
c0f055a42854db5b47f30413cca364bd34c78e0485d249ebe415cec74f035d9ae9fac6c78a93da5000bb266aa149c4b0b8a4be8c8b8c207f53415ad2bb555f23
SHA512
d83f6941db174d0afe8fc684aaca0f1bad5a56c44a6eeb2212b36505ec9ffa3d3603cdbda29e35454b0c7d42b61ffaee3705b9714e4eef15e6215b10efe6643d
+DIST MullvadVPN-2025.14-beta1_aarch64.rpm 89057161 BLAKE2B
5720a4a186c33acb7406b3c23149884f432c3f29f23ecbcd2b3db1f670c107bfa1732584550c08f6df094e73d391819eef945f13bcf134c19f87a597e2c31215
SHA512
03ab88af23d524c264c7f14f41a8dabf7aca2f9702879fd4d99fa81985e82ae9b06c1b94e604a40da965a66d7ee0bca064f51d541e06b4ca9eb7924199d7d68a
+DIST MullvadVPN-2025.14-beta1_x86_64.rpm 95154125 BLAKE2B
f63a79e06503985f3460d034de36a9056d09eafeca31240e5338789c37cad1b6ffb00240ba4f0836d916ef544b85c570d89b1faf2eb8a64d0081f2f0bf90e440
SHA512
5c1f0cb5b4cd8780ad09bfd75368cda40af46956c376633d1e88f3680d26f822236199363b7e9028f64c54a17963df6b292c439d793bcfcc9539419ec27a29fe
diff --git a/net-vpn/mullvadvpn-app/mullvadvpn-app-2025.14_beta1.ebuild
b/net-vpn/mullvadvpn-app/mullvadvpn-app-2025.14_beta1.ebuild
new file mode 100644
index 0000000000..d02c1a2723
--- /dev/null
+++ b/net-vpn/mullvadvpn-app/mullvadvpn-app-2025.14_beta1.ebuild
@@ -0,0 +1,148 @@
+# 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
+ || (
+ net-firewall/nftables
+ net-firewall/iptables[nftables]
+ )
+"
+
+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
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+
+ if [[ -z ${REPLACED_BY_VERSION} ]]; 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 [[ -n ${REPLACING_VERSIONS} ]]; 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
+}