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 6F17A158041 for ; Thu, 11 Apr 2024 16:22:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5E28EE2A2E; Thu, 11 Apr 2024 16:22:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 18821E2A16 for ; Thu, 11 Apr 2024 16:22:25 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 287693432CD for ; Thu, 11 Apr 2024 16:22:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BEC1A1688 for ; Thu, 11 Apr 2024 16:22:22 +0000 (UTC) From: "Julien Roy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Julien Roy" Message-ID: <1712846134.10ec5f8ad9200abf6125792d47b57c052c4eb6b0.julien@gentoo> Subject: [gentoo-commits] repo/proj/guru:master 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.1.ebuild X-VCS-Directories: net-vpn/mullvadvpn-app/ X-VCS-Committer: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: 10ec5f8ad9200abf6125792d47b57c052c4eb6b0 X-VCS-Branch: master Date: Thu, 11 Apr 2024 16:22:22 +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: 6b39225b-7e94-45cd-bba8-7d87f47771fa X-Archives-Hash: 6b0c8fcc5474da791670314bbbd873f7 commit: 10ec5f8ad9200abf6125792d47b57c052c4eb6b0 Author: Joe Kappus wt gd> AuthorDate: Thu Apr 11 14:35:34 2024 +0000 Commit: Julien Roy jroy ca> CommitDate: Thu Apr 11 14:35:34 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=10ec5f8a net-vpn/mullvadvpn-app: add 2024.1 Signed-off-by: Joe Kappus wt.gd> net-vpn/mullvadvpn-app/Manifest | 1 + .../mullvadvpn-app/mullvadvpn-app-2024.1.ebuild | 67 ++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/net-vpn/mullvadvpn-app/Manifest b/net-vpn/mullvadvpn-app/Manifest index 17b36a5d5b..4d1b85fd16 100644 --- a/net-vpn/mullvadvpn-app/Manifest +++ b/net-vpn/mullvadvpn-app/Manifest @@ -1,2 +1,3 @@ DIST MullvadVPN-2023.5_x86_64.rpm 81073977 BLAKE2B eb844bd61b1cfcb97e1b9f79940e55d4f6cf9e028bbf472d5a4b3e64778537888aff7788413634d74feca063b1a6d9c71ad2f616708766192633ea9a214dc437 SHA512 b4d6055704a61e3113f3e6446d9e51225f582ee5b33dc7ef8b8d13ecf0d292de42e2a0eeea0bfc323ec0274374de6a6f0b2f927ff2ae6087192d6ebb15f16259 DIST MullvadVPN-2023.6_x86_64.rpm 83333853 BLAKE2B 0916576f72732290ae6d3ffb462c62a334fce794a9c691a3ee8f0c622857c18f6733ea8b748034db6e068eb0e56214f312b28ad51d2ebb7bfd68df6756372068 SHA512 f8a78c533a76c40b71ef4062fe5c245924e73b05d3525c40e5b037ba1666aedf2917260f443d6d85188600ad4d7b45309a5257b439c7dcbd38d6e66e773b909e +DIST MullvadVPN-2024.1_x86_64.rpm 87750673 BLAKE2B 000d43bceeec45650f95aed4812d327da2fe5017e0a23a784521066d3aedf6499695f441ddb82bc1ca86c5e8f414d0ddaecaec09ade2642395a7505ab0e53065 SHA512 f5e2408a964520805427c53c97f1ed2313632a68e0f8b10b78b541878be591e8d62883e0ef8536959747c80769ffae9d0f11b82571328b9d62686466e88d9b7c diff --git a/net-vpn/mullvadvpn-app/mullvadvpn-app-2024.1.ebuild b/net-vpn/mullvadvpn-app/mullvadvpn-app-2024.1.ebuild new file mode 100644 index 0000000000..81d0825e99 --- /dev/null +++ b/net-vpn/mullvadvpn-app/mullvadvpn-app-2024.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop rpm systemd shell-completion xdg + +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/${PV}/MullvadVPN-${PV}_x86_64.rpm )" + +LICENSE="GPL-3" +SLOT="0" +RESTRICT="test strip" +KEYWORDS="-* ~amd64" + +RDEPEND=" + app-accessibility/at-spi2-core + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/mesa + net-print/cups + x11-libs/gtk+ + x11-libs/libdrm + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXfixes + x11-libs/libxkbcommon + x11-libs/libXrandr + x11-libs/pango +" + +QA_PREBUILT="*" + +S="${WORKDIR}" + +src_install() { + # 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" + + # tbh I don't know if all next lines are needed or we can just do cp -pPR "${S}"/usr "${D}"/" + + local i + dobin "${S}"/usr/bin/mullvad + dobin "${S}"/usr/bin/mullvad-daemon + dobin "${S}"/usr/bin/mullvad-exclude + dosym "/opt/Mullvad VPN/resources/mullvad-problem-report" /usr/bin/mullvad-problem-report + + 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 + +}