summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2021-06-09 14:29:17 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-09 14:29:30 -0400
commitb5eb726b2becb7be35d1bd6991a12eff1805940b (patch)
treec154a8b400e56f749f4c5b953809ee9f94de8212 /net-misc/chrome-remote-desktop
parentapp-emulation/diskimage-builder: 3.12.0 bump (diff)
downloadgentoo-b5eb726b2becb7be35d1bd6991a12eff1805940b.tar.gz
gentoo-b5eb726b2becb7be35d1bd6991a12eff1805940b.tar.bz2
gentoo-b5eb726b2becb7be35d1bd6991a12eff1805940b.zip
net-misc/chrome-remote-desktop: version bump
Closes: https://bugs.gentoo.org/792180 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'net-misc/chrome-remote-desktop')
-rw-r--r--net-misc/chrome-remote-desktop/Manifest2
-rw-r--r--net-misc/chrome-remote-desktop/chrome-remote-desktop-91.0.4472.10.ebuild (renamed from net-misc/chrome-remote-desktop/chrome-remote-desktop-88.0.4324.33.ebuild)7
-rw-r--r--net-misc/chrome-remote-desktop/files/chrome-remote-desktop-44.0.2403.44-always-sudo.patch20
-rw-r--r--net-misc/chrome-remote-desktop/files/chrome-remote-desktop-91.0.4472.10-always-sudo.patch20
4 files changed, 25 insertions, 24 deletions
diff --git a/net-misc/chrome-remote-desktop/Manifest b/net-misc/chrome-remote-desktop/Manifest
index 0be220722555..ed316569b7b5 100644
--- a/net-misc/chrome-remote-desktop/Manifest
+++ b/net-misc/chrome-remote-desktop/Manifest
@@ -1 +1 @@
-DIST chrome-remote-desktop_88.0.4324.33_amd64.deb 33645072 BLAKE2B 5fc565c3a27307e46ff307ad2e68a9a390b5fb86be9d3d8bb5f82f3d22013f70af18002c888d5df82956b6f33b3397cf2cb8b9a7e4c07db480ead81abbb5743c SHA512 0cf6ebe8ce916874be79255faf870b20df892ce4825902996685416cedd8d8ef52215e7f278301fd6ff11e2cbc3b2e82078d7b0ee23ab35669760b1102d5827e
+DIST chrome-remote-desktop_91.0.4472.10_amd64.deb 38240812 BLAKE2B 34a91fba76c70abe3ae3aa4704f977f2f4788c412962a77c9c3f4c54aec0452cffb9705f650ee0688a63482ad20ccce8dcd2348cb606db6c2dd143592e68e222 SHA512 882138361926cf0975739ff9cee4105a3b95336021a1c63461a42e1eb76f8ae94fef4a36589da5ccda0c16bf8e9655be2517035e925f1bad08609f8d1f404553
diff --git a/net-misc/chrome-remote-desktop/chrome-remote-desktop-88.0.4324.33.ebuild b/net-misc/chrome-remote-desktop/chrome-remote-desktop-91.0.4472.10.ebuild
index 32d84d049579..f2057d508820 100644
--- a/net-misc/chrome-remote-desktop/chrome-remote-desktop-88.0.4324.33.ebuild
+++ b/net-misc/chrome-remote-desktop/chrome-remote-desktop-91.0.4472.10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Base URL: https://dl.google.com/linux/chrome-remote-desktop/deb/
@@ -77,7 +77,7 @@ S=${WORKDIR}
QA_PREBUILT="/opt/google/chrome-remote-desktop/*"
PATCHES=(
- "${FILESDIR}"/${PN}-44.0.2403.44-always-sudo.patch #541708
+ "${FILESDIR}"/${PN}-91.0.4472.10-always-sudo.patch #541708
)
src_prepare() {
@@ -89,7 +89,8 @@ src_prepare() {
python_fix_shebang chrome-remote-desktop
cd remoting_locales
- rm fake-bidi* || die
+ # These isn't always included.
+ rm -f fake-bidi* || die
PLOCALES=${PLOCALES//_/-} l10n_find_plocales_changes "${PWD}" '' '.pak'
}
diff --git a/net-misc/chrome-remote-desktop/files/chrome-remote-desktop-44.0.2403.44-always-sudo.patch b/net-misc/chrome-remote-desktop/files/chrome-remote-desktop-44.0.2403.44-always-sudo.patch
deleted file mode 100644
index d303e5e753f9..000000000000
--- a/net-misc/chrome-remote-desktop/files/chrome-remote-desktop-44.0.2403.44-always-sudo.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-https://bugs.gentoo.org/541708
-
-just use `sudo` for everything
-
---- a/opt/google/chrome-remote-desktop/chrome-remote-desktop
-+++ b/opt/google/chrome-remote-desktop/chrome-remote-desktop
-@@ -1092,12 +1092,7 @@
- logging.info("Group '%s' not found." % CHROME_REMOTING_GROUP_NAME)
-
- command = [SCRIPT_PATH, '--add-user-as-root', user]
-- if os.getenv("DISPLAY"):
-- # TODO(rickyz): Add a Polkit policy that includes a more friendly message
-- # about what this command does.
-- command = ["/usr/bin/pkexec"] + command
-- else:
-- command = ["/usr/bin/sudo", "-k", "--"] + command
-+ command = ["/usr/bin/sudo", "-k", "--"] + command
-
- # Run with an empty environment out of paranoia, though if an attacker
- # controls the environment this script is run under, we're already screwed
diff --git a/net-misc/chrome-remote-desktop/files/chrome-remote-desktop-91.0.4472.10-always-sudo.patch b/net-misc/chrome-remote-desktop/files/chrome-remote-desktop-91.0.4472.10-always-sudo.patch
new file mode 100644
index 000000000000..9e9ebd80c73b
--- /dev/null
+++ b/net-misc/chrome-remote-desktop/files/chrome-remote-desktop-91.0.4472.10-always-sudo.patch
@@ -0,0 +1,20 @@
+https://bugs.gentoo.org/541708
+
+just use `sudo` for everything
+
+--- a/opt/google/chrome-remote-desktop/chrome-remote-desktop
++++ b/opt/google/chrome-remote-desktop/chrome-remote-desktop
+@@ -1092,12 +1092,7 @@
+
+
+ def run_command_as_root(command):
+- if os.getenv("DISPLAY"):
+- # TODO(rickyz): Add a Polkit policy that includes a more friendly
+- # message about what this command does.
+- command = ["/usr/bin/pkexec"] + command
+- else:
+- command = ["/usr/bin/sudo", "-k", "--"] + command
++ command = ["/usr/bin/sudo", "-k", "--"] + command
+
+ return subprocess.call(command)
+