From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-vpn/mullvadvpn-app/
Date: Thu, 13 Feb 2025 09:56:44 +0000 (UTC) [thread overview]
Message-ID: <1739401677.ce6d7c6d1abed65d583756506067a598e91e5d44.davidroman@gentoo> (raw)
commit: ce6d7c6d1abed65d583756506067a598e91e5d44
Author: Itai Ferber <itai <AT> itaiferber <DOT> net>
AuthorDate: Wed Feb 12 23:07:57 2025 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Feb 12 23:07:57 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ce6d7c6d
net-vpn/mullvadvpn-app: add 2025.4_beta1
Signed-off-by: Itai Ferber <itai <AT> itaiferber.net>
net-vpn/mullvadvpn-app/Manifest | 2 +
.../mullvadvpn-app-2025.4_beta1.ebuild | 152 +++++++++++++++++++++
2 files changed, 154 insertions(+)
diff --git a/net-vpn/mullvadvpn-app/Manifest b/net-vpn/mullvadvpn-app/Manifest
index 2c7b73f5d..24882bde6 100644
--- a/net-vpn/mullvadvpn-app/Manifest
+++ b/net-vpn/mullvadvpn-app/Manifest
@@ -1,2 +1,4 @@
DIST MullvadVPN-2025.3_aarch64.rpm 84731941 BLAKE2B c451aea5846a20ba9674eabaa0041206aceebd584652ebc9e964162b451c602d92c71f8fb50d9582cc985b196dda2752da26134b2b692b7bc17605c3a4a52b50 SHA512 62c641e8a0bb8289f6132dcb3283a9a0e0cc066e9efd86af5b6cb6f9f5f7331762ec8a584a75a9c3f4d587164ee58636e918956fb38076dfce0fac7e9663da5a
DIST MullvadVPN-2025.3_x86_64.rpm 90403641 BLAKE2B 5b39424cdfc344c66cda16f0669a4ce69bd935f318bf0d21be7b5bf4ce20649bc210e828332b63d1557b375786fe0f9c3f65dd2718361600685fe0e3f9f5b205 SHA512 2c644bbbf5e522b23676d523505844196e3afc682ca52d294953a8c4d89dba43acf6eb3d50fdb240e00d09610863fe860dc552e3f56b189294a0ed2c8d0d7aef
+DIST MullvadVPN-2025.4-beta1_aarch64.rpm 84719365 BLAKE2B 96cea1af819dc94960e27eb68742d45a02ac160dc887698aaea7099c1bfa90b7f83c91fadcd9cda2a762074294a5db885ecb8ebed5d8b43d8c94ee7fe6d5b2eb SHA512 0657b2f6bcbaac4ef10acbd2cba8c938a8e79128744678328fc3aaf69ac8cfe6a487443bd45cf52fadb66454ab31e17bc35ac3cc4c8594e16329a186023367ad
+DIST MullvadVPN-2025.4-beta1_x86_64.rpm 90397397 BLAKE2B 44f364036b05ea6f6579561aa208818b529f790723fe5904e48713ae83df4f61c46fc85e0fad5e2e508dcb1adc79ccf73627185eae3f6a41968e83e4d75cb168 SHA512 1509ee802b5bb41c388b4f8bda9e255f5979e14bb7d900a57340fbaf3fba565e7c810f6a6b598146c210637ed96a3fd369675e51553fe02e212be8fad3771efa
diff --git a/net-vpn/mullvadvpn-app/mullvadvpn-app-2025.4_beta1.ebuild b/net-vpn/mullvadvpn-app/mullvadvpn-app-2025.4_beta1.ebuild
new file mode 100644
index 000000000..8d1312be6
--- /dev/null
+++ b/net-vpn/mullvadvpn-app/mullvadvpn-app-2025.4_beta1.ebuild
@@ -0,0 +1,152 @@
+# Copyright 1999-2024 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
+}
next reply other threads:[~2025-02-13 9:56 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-13 9:56 David Roman [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-10-03 9:43 [gentoo-commits] repo/proj/guru:master commit in: net-vpn/mullvadvpn-app/ David Roman
2025-10-02 8:47 David Roman
2025-10-02 8:47 David Roman
2025-09-09 14:47 David Roman
2025-08-26 8:12 David Roman
2025-08-18 10:44 David Roman
2025-08-07 21:36 David Roman
2025-06-04 18:12 Eli Schwartz
2025-05-20 13:45 Julien Roy
2025-03-27 11:09 David Roman
2025-03-15 10:36 Haelwenn Monnier
2025-03-13 13:45 David Roman
2025-03-13 13:45 David Roman
2025-02-27 11:53 David Roman
2025-02-07 14:47 David Roman
2025-01-27 9:57 David Roman
2025-01-23 11:31 Haelwenn Monnier
2025-01-08 13:20 David Roman
2025-01-03 19:42 Julien Roy
2024-12-06 8:32 Viorel Munteanu
2024-12-05 12:00 Florian Schmaus
2024-10-23 14:25 David Roman
2024-10-23 14:25 David Roman
2024-10-11 9:55 David Roman
2024-09-27 11:41 David Roman
2024-08-24 20:56 David Roman
2024-08-23 0:18 David Roman
2024-07-25 14:54 David Roman
2024-07-25 14:54 David Roman
2024-07-17 8:40 David Roman
2024-06-27 8:41 David Roman
2024-06-25 12:16 David Roman
2024-06-25 12:16 David Roman
2024-05-16 16:27 Julien Roy
2024-05-12 9:38 Viorel Munteanu
2024-05-12 9:38 Viorel Munteanu
2024-04-11 16:22 Julien Roy
2024-01-01 3:56 David Roman
2023-12-12 9:08 [gentoo-commits] repo/proj/guru:dev " David Roman
2023-12-12 10:52 ` [gentoo-commits] repo/proj/guru:master " David Roman
2023-11-01 23:27 Haelwenn Monnier
2023-10-30 11:27 David Roman
2023-10-28 1:06 [gentoo-commits] repo/proj/guru:dev " David Roman
2023-10-28 1:15 ` [gentoo-commits] repo/proj/guru:master " David Roman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1739401677.ce6d7c6d1abed65d583756506067a598e91e5d44.davidroman@gentoo \
--to=davidroman96@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox