[gentoo-commits] repo/proj/guru:master commit in: net-vpn/mullvadvpn-app/
commit: 0bd3a2153959b6c3d47d74c61c5d148735b87bf6 Author: Itai Ferber itaiferber net> AuthorDate: Wed May 15 23:01:36 2024 + Commit: Julien Roy jroy ca> CommitDate: Wed May 15 23:01:36 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0bd3a215 net-vpn/mullvadvpn-app: add 2024.3, drop 2024.2 Signed-off-by: Itai Ferber itaiferber.net> net-vpn/mullvadvpn-app/Manifest | 2 +- .../{mullvadvpn-app-2024.2.ebuild => mullvadvpn-app-2024.3.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/net-vpn/mullvadvpn-app/Manifest b/net-vpn/mullvadvpn-app/Manifest index 13faf70b74..3315713c94 100644 --- a/net-vpn/mullvadvpn-app/Manifest +++ b/net-vpn/mullvadvpn-app/Manifest @@ -1 +1 @@ -DIST MullvadVPN-2024.2_x86_64.rpm 87985737 BLAKE2B f0950fe226f87888be8a769fb2f042e5432c77537a032450101587d4e7ca80e780d03cd0b1d0145a8feb70fd196edc00da0c6764cd8c1aff1c5919694722ca0f SHA512 7591c8bed4de8ecd990d28b6048318ba1c2fe0381d4f94ff9386d8f4ea58a102ca146f90347fc0dedfa9067ea77bc39df96ad0de7b935fabb5a24956fde75a05 +DIST MullvadVPN-2024.3_x86_64.rpm 88010345 BLAKE2B 8335327427e3033eca1219f16e340b0a5e9aac399e1d54f9abd771a0c02a5a6451dff89af7d9bc977ef2aca744259e99ba5ada1014eae6a69c38c384d1762d03 SHA512 4feec0521cd3a52b7d3aa82f851694ff8a27ab63188d673d6ce8b62d5485acbd8eefc6d35f99da6c40c6b6fce0e9c735d121329d97589a6869138aafafd62fd9 diff --git a/net-vpn/mullvadvpn-app/mullvadvpn-app-2024.2.ebuild b/net-vpn/mullvadvpn-app/mullvadvpn-app-2024.3.ebuild similarity index 100% rename from net-vpn/mullvadvpn-app/mullvadvpn-app-2024.2.ebuild rename to net-vpn/mullvadvpn-app/mullvadvpn-app-2024.3.ebuild
[gentoo-commits] repo/proj/guru:master commit in: net-vpn/mullvadvpn-app/
commit: f5a3836facfa2dc8192eb0a306cd8a92274c121e Author: Itai Ferber itaiferber net> AuthorDate: Fri May 10 18:23:11 2024 + Commit: Viorel Munteanu gentoo org> CommitDate: Fri May 10 18:23:11 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f5a3836f net-vpn/mullvadvpn-app: Enable setuid bit for mullvad-exclude Signed-off-by: Itai Ferber itaiferber.net> net-vpn/mullvadvpn-app/mullvadvpn-app-2024.2.ebuild | 6 ++ 1 file changed, 6 insertions(+) diff --git a/net-vpn/mullvadvpn-app/mullvadvpn-app-2024.2.ebuild b/net-vpn/mullvadvpn-app/mullvadvpn-app-2024.2.ebuild index 1efc699958..4332496f1a 100644 --- a/net-vpn/mullvadvpn-app/mullvadvpn-app-2024.2.ebuild +++ b/net-vpn/mullvadvpn-app/mullvadvpn-app-2024.2.ebuild @@ -49,6 +49,12 @@ src_install() { dobin "${S}"/usr/bin/mullvad-exclude 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
[gentoo-commits] repo/proj/guru:master commit in: net-vpn/mullvadvpn-app/
commit: e19635a0c39c574d4291f2c064fd3ca3b3b952e6 Author: Itai Ferber itaiferber net> AuthorDate: Fri May 10 17:33:27 2024 + Commit: Viorel Munteanu gentoo org> CommitDate: Fri May 10 17:33:52 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e19635a0 net-vpn/mullvadvpn-app: add 2024.2, drop 2024.1 Signed-off-by: Itai Ferber itaiferber.net> net-vpn/mullvadvpn-app/Manifest | 2 +- .../{mullvadvpn-app-2024.1.ebuild => mullvadvpn-app-2024.2.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/net-vpn/mullvadvpn-app/Manifest b/net-vpn/mullvadvpn-app/Manifest index c9c8fb0107..13faf70b74 100644 --- a/net-vpn/mullvadvpn-app/Manifest +++ b/net-vpn/mullvadvpn-app/Manifest @@ -1 +1 @@ -DIST MullvadVPN-2024.1_x86_64.rpm 87750673 BLAKE2B 000d43bceeec45650f95aed4812d327da2fe5017e0a23a784521066d3aedf6499695f441ddb82bc1ca86c5e8f414d0ddaecaec09ade2642395a7505ab0e53065 SHA512 f5e2408a964520805427c53c97f1ed2313632a68e0f8b10b78b541878be591e8d62883e0ef8536959747c80769ffae9d0f11b82571328b9d62686466e88d9b7c +DIST MullvadVPN-2024.2_x86_64.rpm 87985737 BLAKE2B f0950fe226f87888be8a769fb2f042e5432c77537a032450101587d4e7ca80e780d03cd0b1d0145a8feb70fd196edc00da0c6764cd8c1aff1c5919694722ca0f SHA512 7591c8bed4de8ecd990d28b6048318ba1c2fe0381d4f94ff9386d8f4ea58a102ca146f90347fc0dedfa9067ea77bc39df96ad0de7b935fabb5a24956fde75a05 diff --git a/net-vpn/mullvadvpn-app/mullvadvpn-app-2024.1.ebuild b/net-vpn/mullvadvpn-app/mullvadvpn-app-2024.2.ebuild similarity index 100% rename from net-vpn/mullvadvpn-app/mullvadvpn-app-2024.1.ebuild rename to net-vpn/mullvadvpn-app/mullvadvpn-app-2024.2.ebuild
[gentoo-commits] repo/proj/guru:master commit in: net-vpn/mullvadvpn-app/
commit: 10ec5f8ad9200abf6125792d47b57c052c4eb6b0 Author: Joe Kappus wt gd> AuthorDate: Thu Apr 11 14:35:34 2024 + Commit: Julien Roy jroy ca> CommitDate: Thu Apr 11 14:35:34 2024 + 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 8853 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 00..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 + +}
[gentoo-commits] repo/proj/guru:master commit in: net-vpn/mullvadvpn-app/
commit: a2750d6ce6db4e21de41725c7ea5b49017def5f0 Author: Joe Kappus wt gd> AuthorDate: Mon Jan 1 02:29:22 2024 + Commit: David Roman gmail com> CommitDate: Mon Jan 1 02:29:22 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a2750d6c net-vpn/mullvadvpn-app: update upstream metadata Signed-off-by: Joe Kappus wt.gd> net-vpn/mullvadvpn-app/metadata.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-vpn/mullvadvpn-app/metadata.xml b/net-vpn/mullvadvpn-app/metadata.xml index b2cd3596d1..c16f1c4d20 100644 --- a/net-vpn/mullvadvpn-app/metadata.xml +++ b/net-vpn/mullvadvpn-app/metadata.xml @@ -6,6 +6,6 @@ David Roman - mullvad/mullvad-app + mullvad/mullvadvpn-app
[gentoo-commits] repo/proj/guru:master commit in: net-vpn/mullvadvpn-app/, net-vpn/mullvadvpn-app/files/
commit: cda3c298152cde05c308142b6331e33caa385c7d Author: Thanos Apollo thanosapollo com> AuthorDate: Mon Nov 6 10:58:34 2023 + Commit: David Roman gmail com> CommitDate: Mon Nov 6 11:00:09 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cda3c298 net-vpn/mullvadvpn-app: Add openrc service for mullvad-daemon Signed-off-by: Thanos Apollo thanosapollo.com> net-vpn/mullvadvpn-app/files/mullvad-daemon.initd | 7 +++ net-vpn/mullvadvpn-app/mullvadvpn-app-2023.5.ebuild | 2 ++ 2 files changed, 9 insertions(+) diff --git a/net-vpn/mullvadvpn-app/files/mullvad-daemon.initd b/net-vpn/mullvadvpn-app/files/mullvad-daemon.initd new file mode 100644 index 00..6a7c965459 --- /dev/null +++ b/net-vpn/mullvadvpn-app/files/mullvad-daemon.initd @@ -0,0 +1,7 @@ +#!/sbin/openrc-run +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +command="/usr/bin/mullvad-daemon" +pidfile="/run/${RC_SVCNAME}.pid" +command_background=true diff --git a/net-vpn/mullvadvpn-app/mullvadvpn-app-2023.5.ebuild b/net-vpn/mullvadvpn-app/mullvadvpn-app-2023.5.ebuild index 2d0ec2ef34..81d0825e99 100644 --- a/net-vpn/mullvadvpn-app/mullvadvpn-app-2023.5.ebuild +++ b/net-vpn/mullvadvpn-app/mullvadvpn-app-2023.5.ebuild @@ -49,6 +49,8 @@ src_install() { 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
[gentoo-commits] repo/proj/guru:master commit in: net-vpn/mullvadvpn-app/
commit: e24260e84588bf5b290e6aff8abe2dd3f0185b80 Author: David Roman gmail com> AuthorDate: Wed Nov 1 12:55:45 2023 + Commit: Haelwenn Monnier hacktivis me> CommitDate: Wed Nov 1 12:55:45 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e24260e8 net-vpn/mullvadvpn-app: update icon cache and desktop db Closes: https://bugs.gentoo.org/916608 Signed-off-by: David Roman gmail.com> net-vpn/mullvadvpn-app/mullvadvpn-app-2023.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-vpn/mullvadvpn-app/mullvadvpn-app-2023.5.ebuild b/net-vpn/mullvadvpn-app/mullvadvpn-app-2023.5.ebuild index 44bab54cfc..2d0ec2ef34 100644 --- a/net-vpn/mullvadvpn-app/mullvadvpn-app-2023.5.ebuild +++ b/net-vpn/mullvadvpn-app/mullvadvpn-app-2023.5.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit desktop rpm systemd shell-completion +inherit desktop rpm systemd shell-completion xdg DESCRIPTION="Tool used to manage daemon setup" HOMEPAGE="https://github.com/mullvad/mullvadvpn-app https://mullvad.net/;