mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-18 23:39:00 -04:00
net-vpn/mullvadvpn-app: drop 2024.5
Signed-off-by: Itai Ferber <itai@itaiferber.net>
This commit is contained in:
parent
29a5961b5e
commit
eaf3f10f30
@ -1,4 +1,2 @@
|
||||
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_aarch64.rpm 83170101 BLAKE2B 366e5f8cf0bddd7fa8fe2de1d34afee0eecab459ea623853643b903b58a12e41cb813afb23b1db42099ee59dea50b3c5662acc8df51435f31c57fe8cd0946cad SHA512 fed63bfe4e64a8174adf8389c30e2129fec8694962f3af1e7d45d9678822f8d68ad8497e8c92618b4d765fb7198acc2fcf69eb29ae51f22bfcf3d47fb2d80d42
|
||||
DIST MullvadVPN-2024.6_x86_64.rpm 88920401 BLAKE2B e0ba7c6130c64e0ad243ebe4f0012694041a9b2c586401fd376056f27c400053dbff6e8663c6e8451d7026f117ac4c73929425cc21b8ce8c3b39856758c01e41 SHA512 6e4e299a1037225e3616bf1165f349773a8e45a4b5664ccf1056c86103adcf099c0a0832cca24e0747ce901fcc9e77c860e4dc6d23b633713d40eb5aea483990
|
||||
|
@ -1,82 +0,0 @@
|
||||
# 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
|
||||
|
||||
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 )
|
||||
arm64? ( https://github.com/mullvad/mullvadvpn-app/releases/download/${PV}/MullvadVPN-${PV}_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 "${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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user