From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 82220158083 for ; Thu, 26 Sep 2024 15:24:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 97F25E2B4C; Thu, 26 Sep 2024 15:24:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 740E8E2B4C for ; Thu, 26 Sep 2024 15:24:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B9111343252 for ; Thu, 26 Sep 2024 15:24:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 23C971EA4 for ; Thu, 26 Sep 2024 15:24:08 +0000 (UTC) From: "Itai Ferber" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Itai Ferber" Message-ID: <1727364205.817ee8cadc7ec25d8a33d00e8e62351f3ddfb6ea.itai@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-vpn/mullvadvpn-app/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-vpn/mullvadvpn-app/Manifest net-vpn/mullvadvpn-app/mullvadvpn-app-2024.6_beta1.ebuild X-VCS-Directories: net-vpn/mullvadvpn-app/ X-VCS-Committer: itai X-VCS-Committer-Name: Itai Ferber X-VCS-Revision: 817ee8cadc7ec25d8a33d00e8e62351f3ddfb6ea X-VCS-Branch: dev Date: Thu, 26 Sep 2024 15:24:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c318293f-f4a8-4ee1-a4a4-e2fa99257444 X-Archives-Hash: d8ee1cb27f95b593daf549c7b55dd81f commit: 817ee8cadc7ec25d8a33d00e8e62351f3ddfb6ea Author: Itai Ferber itaiferber net> AuthorDate: Thu Sep 26 15:23:25 2024 +0000 Commit: Itai Ferber itaiferber net> CommitDate: Thu Sep 26 15:23:25 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=817ee8ca net-vpn/mullvadvpn-app: add 2024.6_beta1 Signed-off-by: Itai Ferber itaiferber.net> net-vpn/mullvadvpn-app/Manifest | 2 + .../mullvadvpn-app-2024.6_beta1.ebuild | 85 ++++++++++++++++++++++ 2 files changed, 87 insertions(+) diff --git a/net-vpn/mullvadvpn-app/Manifest b/net-vpn/mullvadvpn-app/Manifest index d855be42a..e2fdc0f16 100644 --- a/net-vpn/mullvadvpn-app/Manifest +++ b/net-vpn/mullvadvpn-app/Manifest @@ -1,2 +1,4 @@ DIST MullvadVPN-2024.5_aarch64.rpm 85185769 BLAKE2B 1b6d5791f0363041b5861ed09a259053a6304c9a2efdfc14d0c0317a9f86eb446eeeca1a740d6154eee1aae349159b8d5f62358c5b2ede965ff2d6bf7b0dadf7 SHA512 cc3d58241c68b4cc3376723911f0cd9228958e8abd92572d6e946e70a172af1b90b6a3f5588e30c25d3d9072be00f95c0fffc11874349f0c03fc4b23966d5e25 DIST MullvadVPN-2024.5_x86_64.rpm 91119641 BLAKE2B 91ec3ac8eb749592a050582a3b4038b0ad577dac3f4fe169c3bbb311c7741d78032308d76ad54bcb9ca7e6ace91ea3dcd551b232d9ac111d2fae5d7570332916 SHA512 8ddf461ed9336f82a2753c5b6071047c094e1e3dca36ce3a45985dc6681e9f208958533f90f5cb97d1574e8a03742d1e6942fbcf7ae9e97ae785a980866942f7 +DIST MullvadVPN-2024.6-beta1_aarch64.rpm 83123577 BLAKE2B 53923b70b467c6fd6fa0bd15192d2f1097e56afa2ea3bf4ac405ce31a2097cc2501509b5a3cef23e16ddf1e2885070885dc254c334f3b2196eae60645ce7fb53 SHA512 fb90b81a3605f803b21bf5410d333da0e14292e336e51c764d51ad468e57b0171f3900514794875fd15e51bc1e261265af9e6ef5e66348784a34d654b09e5b3a +DIST MullvadVPN-2024.6-beta1_x86_64.rpm 88907705 BLAKE2B 4aaf0df070c70efd42a75853e38cc16cb789815ed28df6a5c08472b79daaa0f439f1cf1f9349fdd7e327dd6b141aad3e812e00b5f70635426f810db8ad3f91fa SHA512 20dd7ca6bca307a48e8617d7abccdc554aa9cdf1f6bbcf0640a5a6492681ceb64791887723349955e2fc4890d9c99ed61a15e703d306c0e43da6cd166d8719d7 diff --git a/net-vpn/mullvadvpn-app/mullvadvpn-app-2024.6_beta1.ebuild b/net-vpn/mullvadvpn-app/mullvadvpn-app-2024.6_beta1.ebuild new file mode 100644 index 000000000..1409b77b5 --- /dev/null +++ b/net-vpn/mullvadvpn-app/mullvadvpn-app-2024.6_beta1.ebuild @@ -0,0 +1,85 @@ +# 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="*" + +MULLVAD_GUI_NEEDS_RESTART=0 + +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 "${S}"/opt "${D}"/ || die "Failed to copy files" + fperms +x "/opt/Mullvad VPN/chrome_crashpad_handler" + fperms 4755 "/opt/Mullvad VPN/chrome-sandbox" + + dobin "${S}"/usr/bin/mullvad + dobin "${S}"/usr/bin/mullvad-daemon + dobin "${S}"/usr/bin/mullvad-exclude + dosym "../../opt/Mullvad VPN/mullvad-vpn" /usr/bin/mullvad-vpn + dosym "../../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 "${S}"/usr/lib/systemd/system/mullvad-daemon.service mullvad-daemon.service + systemd_newunit "${S}"/usr/lib/systemd/system/mullvad-early-boot-blocking.service mullvad-early-boot-blocking.service + + newbashcomp "${S}"/usr/share/bash-completion/completions/mullvad mullvad + newfishcomp "${S}"/usr/share/fish/vendor_completions.d/mullvad.fish mullvad + newzshcomp "${S}"/usr/share/zsh/site-functions/_mullvad _mullvad + + domenu "${S}"/usr/share/applications/mullvad-vpn.desktop + local x + for x in 16 32 48 64 128 256 512 1024; do + doicon -s ${x} "${S}"/usr/share/icons/hicolor/${x}x${x}/apps/mullvad-vpn.png + done +}