net-vpn/mullvadvpn-app: add 2026.5, drop 2026.4, 2026.5_beta2

Signed-off-by: Itai Ferber <itai@itaiferber.net>
This commit is contained in:
Itai Ferber committed 2026-09-14 10:02:24 -04:00
1 parent 3cb663d5bc
commit d1498420e3
3 files changed
+2 -160

No files matched your search

+2 -4
View File
@@ -1,4 +1,2 @@
DIST MullvadVPN-2026.4_aarch64.rpm 90094477 BLAKE2B ff287c72a9ca26c1a987107166fdaf21e149a399593fc4a6a4e089f7aae4984b2210dad7962c1fba334c0dd2b3ea1c9ac98e7ada8e76f093c7237e67b4ff61cd SHA512 e4781805db299c188a29a60ecd64a69bf95820aba62f871744bc73a5e2f61e2eb2292313d264e535d52f52b18d0a0c2de023af7c36880fcf76fce927db0fd7e0
DIST MullvadVPN-2026.4_x86_64.rpm 95972825 BLAKE2B ee0b538d6797bd07c478c48535448117dbb30aa2a0fbd712ecfd722982a9848a6fa08f2a32bec0686c43bcfd5dd9c7608ed8d575bc7bba9c9fc7733f83843e45 SHA512 9089cd81c8e68094da477e13e95d0626c9ff0ad93df860d4e0b1521912d465573eaf59a690b61fb22e0a5bc204756d29aae2f9a39013c4f3820395e35b07d49b
DIST MullvadVPN-2026.5-beta2_aarch64.rpm 91755657 BLAKE2B dc2884c52f38199c0c715eabbfa224a9302ef23908cdc5f5ce013b52bf1ec072a9d7ceecec25bfe2e98107b3c6befe1b5f644185dd7067e8816801933be2d65c SHA512 ca1366c816971a7f1be701c2ed1fe8d2217493dd2cea10db607320573d49eeb64dd92689bb49b50efc92898dceff8392d59f7675d5a316cc4bb686bf5f43b09a
DIST MullvadVPN-2026.5-beta2_x86_64.rpm 98861529 BLAKE2B 1de34136e179306b2fa1551170318497376f37c8f83a83b9d74590b5451648f1e4b51c8b93da6f9da6c1634618983eaff1d3f49692b71988fcd4fa21a07f3098 SHA512 271ba928b59e4f39b1b04a1a430e9633c10e3e31a89aa05ac9f31144e043261693398535870cc7b451f24cbf2070158360cbd7854265be649ed57ef3698c95f7
DIST MullvadVPN-2026.5_aarch64.rpm 91773957 BLAKE2B e90eb038bd276a602b4d757a0f9291a378cbd5ac981dc80859ced7919aaea3048972310e46cf15cf2482c11655cba52f54a5078ca3541d230e8525f791e94521 SHA512 5d1c92680f84d7e44ea9a2addbebe077401b9bf871cbcf3d6e9c64cdd66b9c6f4eba2511ad492b604ec4f239066d05d31a09c824cd62755a2a08cf2d6f83589b
DIST MullvadVPN-2026.5_x86_64.rpm 98846345 BLAKE2B 158737037fba372c0539ff48bcb36048189dc4a38dce3f1c5451a851e4ff82dfd481f4ee55be0ef502e6e19f40684e71e7f723a46d33d23181750cb5348079b7 SHA512 20cd227756a68e70d27a2dcc7c0a75f3018e7dd1ab3d966f1691b71e6bfa3156029da6e1f12a64eb69abf018ed9727ea535e98b832ca0793b3a05fa660b4cabd
@@ -1,156 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
RPM_COMPRESS_TYPE="xz"
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"
# Betas are kept unkeyworded; users can opt in to testing by accepting '**' instead of '~amd64'/
# '~arm64' keywords.
#
# See https://bugs.gentoo.org/966989
if [[ "${PV}" != *_beta* ]]; then
KEYWORDS="-* ~amd64 ~arm64"
fi
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
}