1 |
vapier 15/03/03 05:34:08 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: chrome-remote-desktop-41.0.2272.41-r1.ebuild |
5 |
Log: |
6 |
Avoid using gksu and always use sudo #541708 by Kelly Price. |
7 |
|
8 |
(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key D2E96200) |
9 |
|
10 |
Revision Changes Path |
11 |
1.3 net-misc/chrome-remote-desktop/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/chrome-remote-desktop/ChangeLog?rev=1.3&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/chrome-remote-desktop/ChangeLog?rev=1.3&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/chrome-remote-desktop/ChangeLog?r1=1.2&r2=1.3 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/chrome-remote-desktop/ChangeLog,v |
20 |
retrieving revision 1.2 |
21 |
retrieving revision 1.3 |
22 |
diff -u -r1.2 -r1.3 |
23 |
--- ChangeLog 27 Feb 2015 08:05:14 -0000 1.2 |
24 |
+++ ChangeLog 3 Mar 2015 05:34:08 -0000 1.3 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for net-misc/chrome-remote-desktop |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/chrome-remote-desktop/ChangeLog,v 1.2 2015/02/27 08:05:14 vapier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/chrome-remote-desktop/ChangeLog,v 1.3 2015/03/03 05:34:08 vapier Exp $ |
30 |
+ |
31 |
+*chrome-remote-desktop-41.0.2272.41-r1 (03 Mar 2015) |
32 |
+ |
33 |
+ 03 Mar 2015; Mike Frysinger <vapier@g.o> |
34 |
+ +chrome-remote-desktop-41.0.2272.41-r1.ebuild, |
35 |
+ +files/chrome-remote-desktop-41.0.2272.41-always-sudo.patch: |
36 |
+ Avoid using gksu and always use sudo #541708 by Kelly Price. |
37 |
|
38 |
*chrome-remote-desktop-41.0.2272.41 (27 Feb 2015) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 net-misc/chrome-remote-desktop/chrome-remote-desktop-41.0.2272.41-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/chrome-remote-desktop/chrome-remote-desktop-41.0.2272.41-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/chrome-remote-desktop/chrome-remote-desktop-41.0.2272.41-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: chrome-remote-desktop-41.0.2272.41-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2015 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/chrome-remote-desktop/chrome-remote-desktop-41.0.2272.41-r1.ebuild,v 1.1 2015/03/03 05:34:08 vapier Exp $ |
53 |
|
54 |
# Base URL: https://dl.google.com/linux/chrome-remote-desktop/deb/ |
55 |
# Fetch the Release file: |
56 |
# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/Release |
57 |
# Which gives you the Packages file: |
58 |
# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-i386/Packages |
59 |
# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-amd64/Packages |
60 |
# And finally gives you the file name: |
61 |
# pool/main/c/chrome-remote-desktop/chrome-remote-desktop_29.0.1547.32_amd64.deb |
62 |
# |
63 |
# Use curl to find the answer: |
64 |
# curl -q https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-i386/Packages | grep ^Filename |
65 |
|
66 |
EAPI="4" |
67 |
|
68 |
inherit unpacker |
69 |
|
70 |
DESCRIPTION="access remote computers via Chrome!" |
71 |
PLUGIN_URL="https://chrome.google.com/remotedesktop" |
72 |
HOMEPAGE="https://support.google.com/chrome/answer/1649523 ${PLUGIN_URL}" |
73 |
BASE_URI="https://dl.google.com/linux/chrome-remote-desktop/deb/pool/main/c/${PN}/${PN}_${PV}" |
74 |
SRC_URI="amd64? ( ${BASE_URI}_amd64.deb ) |
75 |
x86? ( ${BASE_URI}_i386.deb )" |
76 |
|
77 |
LICENSE="google-chrome" |
78 |
SLOT="0" |
79 |
KEYWORDS="-* ~amd64 ~x86" |
80 |
IUSE="" |
81 |
|
82 |
# All the libs this package links against. |
83 |
RDEPEND="app-admin/sudo |
84 |
dev-lang/python |
85 |
>=dev-libs/expat-2 |
86 |
dev-libs/glib:2 |
87 |
dev-libs/nspr |
88 |
dev-libs/nss |
89 |
dev-python/psutil |
90 |
gnome-base/gconf:2 |
91 |
media-libs/fontconfig |
92 |
media-libs/freetype:2 |
93 |
sys-devel/gcc |
94 |
sys-libs/glibc |
95 |
sys-libs/pam |
96 |
x11-libs/cairo |
97 |
x11-libs/gtk+:2 |
98 |
x11-libs/libX11 |
99 |
x11-libs/libXdamage |
100 |
x11-libs/libXext |
101 |
x11-libs/libXfixes |
102 |
x11-libs/libXi |
103 |
x11-libs/libXrandr |
104 |
x11-libs/libXtst |
105 |
x11-libs/pango" |
106 |
# Settings we just need at runtime. |
107 |
RDEPEND+=" |
108 |
x11-base/xorg-server[xvfb]" |
109 |
DEPEND="" |
110 |
|
111 |
S=${WORKDIR} |
112 |
|
113 |
QA_PREBUILT="/opt/google/chrome-remote-desktop/*" |
114 |
|
115 |
src_prepare() { |
116 |
epatch "${FILESDIR}"/${PN}-41.0.2272.41-always-sudo.patch #541708 |
117 |
} |
118 |
|
119 |
src_install() { |
120 |
insinto /etc |
121 |
doins -r etc/opt |
122 |
|
123 |
insinto /opt |
124 |
doins -r opt/google |
125 |
chmod a+rx "${ED}"/opt/google/${PN}/* || die |
126 |
|
127 |
dodir /etc/pam.d |
128 |
dosym system-remote-login /etc/pam.d/${PN} |
129 |
|
130 |
dodoc usr/share/doc/${PN}/changelog* |
131 |
|
132 |
newinitd "${FILESDIR}"/${PN}.rc ${PN} |
133 |
newconfd "${FILESDIR}"/${PN}.conf.d ${PN} |
134 |
} |
135 |
|
136 |
pkg_postinst() { |
137 |
if [[ -z ${REPLACING_VERSIONS} ]] ; then |
138 |
elog "Two ways to launch the server:" |
139 |
elog "(1) access an existing desktop" |
140 |
elog " (a) install the Chrome plugin on the server & client:" |
141 |
elog " ${PLUGIN_URL}" |
142 |
elog " (b) on the server, run the Chrome plugin & enable remote access" |
143 |
elog " (c) on the client, connect to the server" |
144 |
elog "(2) headless system" |
145 |
elog " (a) install the Chrome plugin on the client:" |
146 |
elog " ${PLUGIN_URL}" |
147 |
elog " (b) visit https://accounts.google.com/o/oauth2/auth?response_type=code&scope=https://www.googleapis.com/auth/chromoting+https://www.googleapis.com/auth/googletalk+https://www.googleapis.com/auth/userinfo.email&access_type=offline&redirect_uri=https://chromoting-auth.googleplex.com/auth&approval_prompt=force&client_id=440925447803-avn2sj1kc099s0r7v62je5s339mu0am1.apps.googleusercontent.com&hl=en&from_login=1&as=-760f476eeaec11b8&pli=1&authuser=0" |
148 |
elog " (c) run the command mentioned on the server" |
149 |
elog " (d) on the client, connect to the server" |
150 |
elog |
151 |
elog "Configuration settings you might want to be aware of:" |
152 |
elog " ~/.${PN}-session - shell script to start your session" |
153 |
elog " /etc/init.d/${PN} - script to auto-restart server" |
154 |
fi |
155 |
} |