net-vpn/mullvadvpn-app: add 2025.14, drop 2025.13, 2025.14_beta3

Signed-off-by: Itai Ferber <itai@itaiferber.net>
This commit is contained in:
Itai Ferber
2025-12-09 07:49:01 -05:00
parent 23cd23e873
commit dbb04397ff
3 changed files with 2 additions and 152 deletions

View File

@@ -1,4 +1,2 @@
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-beta3_aarch64.rpm 89057993 BLAKE2B baafceb0bb9d98c6e9843a4cea43d11d3afc03c98a4dc37936296176250f05e6db36478c56f61fdb033a0eab67359c22ec8dd981e748a52b6053b4af368713ad SHA512 cd4daa908bd3a5bf8607c002bf433583f0fa71c8ec40e39f8168de399ac440f5444a7128b873af8f6f9ef00536a5d014c62a52497fe133ab53abd651eeb849f5
DIST MullvadVPN-2025.14-beta3_x86_64.rpm 95166549 BLAKE2B a3d79b532f9eacef28414eb8e53cf6cc6a750432819bdb10a263d5e1600aa0cd806eff2f6f4fc48b0e85709acb9c74b7befe680d245cfa812d205ac9dd59fdb9 SHA512 122a4050e2f96d3d55b4cdf8b9bf9953be7d6fe7fa95b7690e85ccc6b41f949e02cfa04c0b1b15186e0eba52cab7a963be1dfde592a2d7296813411b22990647
DIST MullvadVPN-2025.14_aarch64.rpm 89062049 BLAKE2B 34102379a7ae4526b5b0e48fd2e7efe3cb9e791ccfce8dc18e677b657ce5e26dadae4335c0430aad32a122aebac5b6be1b5435136f8287762a744adb5e386af3 SHA512 186b050b48675d82693da72cbad149c501b8fa66b721daf6236ca41b84d1ab63b0e7ba94c0a43616f9b1851c10bd9c7a63a5ea73b6a1840478fbf4d38ab1c7c4
DIST MullvadVPN-2025.14_x86_64.rpm 95157225 BLAKE2B 277ad993c19db4813a829e2ac4de66019736f331022ee0d5b8db5fe6d3ecde42c0e251161321201c2986df700915907825309153f5e0703b6e38f4e085110f11 SHA512 0dc3ccec3aa4e20a8fc2322d585f0a73c7355707f2c1372b44b9ac011d11523b967cf14825f883cf9d8d901ad1a1b2731349230ebb877b848ef5303df15f5192

View File

@@ -1,148 +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
|| (
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
}