diff --git a/net-vpn/mullvadvpn-app/Manifest b/net-vpn/mullvadvpn-app/Manifest index 701b13af9c..2cd7992eba 100644 --- a/net-vpn/mullvadvpn-app/Manifest +++ b/net-vpn/mullvadvpn-app/Manifest @@ -1,8 +1,2 @@ -DIST MullvadVPN-2026.2_aarch64.rpm 86648725 BLAKE2B 444f0c0fbacd152f9b9f8370fb9dc6317bd4145cade6f1de80d2ea80f1296a7c3514f850aefbcef1f6393134b40fdcee316d48662db0bc44ef52ca041ac5faf5 SHA512 11466107e37d8fcf4c0b6dec4d10c4adc45f942b0a88e16fc101d47892ccacd4f641f36393b96c88a356638533ce1b9d29119338f0d31d942ad16671fd62d2b8 -DIST MullvadVPN-2026.2_x86_64.rpm 92476557 BLAKE2B a8f8ef36443c6626339f212653a560ca88faf67f46ff3dcd679a9d96fb9cb08e957e6aec706750a13a003dd405ff89375c7f3ca08f8d78ab28746700722b2edc SHA512 8fc1adc375be15a1ae174064adf141b77e5dc74f86b139515b83df22008e9eb5154cdc47a87cdc4401ff068ecdb340030c9ac082b779feb24cbca21393c650c9 -DIST MullvadVPN-2026.3-beta1_aarch64.rpm 86593117 BLAKE2B 3d2e013c2b1e49119f48271006518f243bf72fb7cff3e1b079a37bb1db630edaf39804387ce8db8b6a98f55f89079b990dc56dfacec695a02319c4acea495d70 SHA512 b6ddecaf79f86d4348d7cf9f1268e391c95edf41b410820fc05ecc5c95fe3f1bbbeb893c3c69ed36ed4d3c01207fcad710ae8331f861672ad443e44225863ef7 -DIST MullvadVPN-2026.3-beta1_x86_64.rpm 92416845 BLAKE2B 45ced52c61d304104b47d81271a562085afcbb91a5ea0b7eca9ec5664373f8414d223bf422ba3442266063988ac89070c31c0b9e0a9c7aab8b1793f8ba512def SHA512 eb0cc822df717bf74191801bf34ad24f21061e5e48e85524b3857945e7dc8a755fb69572d5aa90d67ad19d3c05823f5237100c746fca39dbbf0c95efa550f10c -DIST MullvadVPN-2026.3-beta2_aarch64.rpm 86583585 BLAKE2B a66d87100c8a2e649b9469a22a82a9b605b8fe23ef143d1fad046b08d8559e03d2ece03fd79bc981f24992f69bc796d0ba667c8ca0818f268a9dbf9ee9b6bf45 SHA512 b4c452c94f0b5985f0cef751ecdd51a1d08baa0d192ce0acd916d8702540a938371c7b5dae9beee88c5db4f2783560849354cf67776f58037f13f6ade1791fff -DIST MullvadVPN-2026.3-beta2_x86_64.rpm 92396141 BLAKE2B e9e7ba36229e36e9edaad2eae0e82decfa5837ff6d8f397824f0d76d798cbc39453af83d64eb1bc8dfcfe824be53cf6629ae1632f17a59263a4c7ebaee3bfb7e SHA512 f33f6977a0529b7f37270a55d717c4ff70c8a34f3219f627558903ac0c21b2a30cd263c5a922cfeed8355d3ca47c2e49703f7ac71f2733b264ce58149eb3ba80 -DIST MullvadVPN-2026.3-beta3_aarch64.rpm 86584745 BLAKE2B cfd5993130ab4fa9c26ddba78cbce68fe25931a0413dcc7243aeda8979e68e5fd833e99626b0e01084a4e201061cbd3de1032efb65ff9c75fccc9a81baf80142 SHA512 da7ff1c217cdee083c3414cf7c2d29bf1716b5ccf3a8bd0dd6ebfb56af261e98d8d799b87ad0f9470c69df76d1eb1093005b3c6c7ab2f477f07d8b9a3935632f -DIST MullvadVPN-2026.3-beta3_x86_64.rpm 92417573 BLAKE2B b0dac745b7ed6e694216281bc43ebcc49fcbe5a1d574e3e297de1e9fa840ca502e292593f4d444c7e09e5551dc6d53e13455c89d9e798048bcfa6cc52fcbbc20 SHA512 02d352eb6dd1f5817d212467facdaa626aacdeba37bbb1544b30f8f08207bba00efd2e1079d98c31eec09e252fcd0e8b02b2fc912a1cf20621abefe5881543f6 +DIST MullvadVPN-2026.3_aarch64.rpm 86586701 BLAKE2B 19e23dd53116df4fa0dbd3affce1eb3edf9ef769aba48eb3e8ddeadf7d08bc3345ae9d5e18b18ff6d11907082f4d1bb3dfab54f49864cf9ffbc47c15aefd7368 SHA512 69ab22c8946c7189272daf889b5f2df01ef0537a016febcc1de00e329291a21d545a1b03dbf11b8beadb4022ed51f541559e3abd7fd5d16202b9377e63baf26f +DIST MullvadVPN-2026.3_x86_64.rpm 92403313 BLAKE2B e61b732f108e043b38f99ece7f560cc8d9a6d1b68b180b334dc7b80e7be9b9b364e90c42a711d7a8011e0dd1ee278bd62db4323027bd53b3d2ec89e136d0d523 SHA512 3df078700eb02310a7d31ec11dc538c9e2a328eaaa12d1a7753c11e7bbddc8cc6047ce198a283becd91130bbafebf17aebaaf449dd72c34e8c45dae335ee9e9f diff --git a/net-vpn/mullvadvpn-app/mullvadvpn-app-2026.2.ebuild b/net-vpn/mullvadvpn-app/mullvadvpn-app-2026.3.ebuild similarity index 100% rename from net-vpn/mullvadvpn-app/mullvadvpn-app-2026.2.ebuild rename to net-vpn/mullvadvpn-app/mullvadvpn-app-2026.3.ebuild diff --git a/net-vpn/mullvadvpn-app/mullvadvpn-app-2026.3_beta1.ebuild b/net-vpn/mullvadvpn-app/mullvadvpn-app-2026.3_beta1.ebuild deleted file mode 100644 index 3407daab5e..0000000000 --- a/net-vpn/mullvadvpn-app/mullvadvpn-app-2026.3_beta1.ebuild +++ /dev/null @@ -1,156 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -RPM_COMPRESS_TYPE="xz" -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" - -# Betas are kept unkeyworded; users can opt in to testing by accepting '**' instead of '~amd64'/ -# '~arm64' keywords. -# -# See https://bugs.gentoo.org/966989 -if [[ "${PV}" != *_beta* ]]; then - KEYWORDS="-* ~amd64 ~arm64" -fi - -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 - || ( - net-firewall/nftables - net-firewall/iptables[nftables] - ) -" - -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 -} - -pkg_postrm() { - xdg_pkg_postrm - - if [[ -z ${REPLACED_BY_VERSION} ]]; 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 [[ -n ${REPLACING_VERSIONS} ]]; 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 -} diff --git a/net-vpn/mullvadvpn-app/mullvadvpn-app-2026.3_beta2.ebuild b/net-vpn/mullvadvpn-app/mullvadvpn-app-2026.3_beta2.ebuild deleted file mode 100644 index 3407daab5e..0000000000 --- a/net-vpn/mullvadvpn-app/mullvadvpn-app-2026.3_beta2.ebuild +++ /dev/null @@ -1,156 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -RPM_COMPRESS_TYPE="xz" -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" - -# Betas are kept unkeyworded; users can opt in to testing by accepting '**' instead of '~amd64'/ -# '~arm64' keywords. -# -# See https://bugs.gentoo.org/966989 -if [[ "${PV}" != *_beta* ]]; then - KEYWORDS="-* ~amd64 ~arm64" -fi - -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 - || ( - net-firewall/nftables - net-firewall/iptables[nftables] - ) -" - -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 -} - -pkg_postrm() { - xdg_pkg_postrm - - if [[ -z ${REPLACED_BY_VERSION} ]]; 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 [[ -n ${REPLACING_VERSIONS} ]]; 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 -} diff --git a/net-vpn/mullvadvpn-app/mullvadvpn-app-2026.3_beta3.ebuild b/net-vpn/mullvadvpn-app/mullvadvpn-app-2026.3_beta3.ebuild deleted file mode 100644 index 3407daab5e..0000000000 --- a/net-vpn/mullvadvpn-app/mullvadvpn-app-2026.3_beta3.ebuild +++ /dev/null @@ -1,156 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -RPM_COMPRESS_TYPE="xz" -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" - -# Betas are kept unkeyworded; users can opt in to testing by accepting '**' instead of '~amd64'/ -# '~arm64' keywords. -# -# See https://bugs.gentoo.org/966989 -if [[ "${PV}" != *_beta* ]]; then - KEYWORDS="-* ~amd64 ~arm64" -fi - -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 - || ( - net-firewall/nftables - net-firewall/iptables[nftables] - ) -" - -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 -} - -pkg_postrm() { - xdg_pkg_postrm - - if [[ -z ${REPLACED_BY_VERSION} ]]; 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 [[ -n ${REPLACING_VERSIONS} ]]; 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 -}