From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9DBB71388BF for ; Mon, 11 Jan 2016 18:03:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5074021C004; Mon, 11 Jan 2016 18:03:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D8ADE21C004 for ; Mon, 11 Jan 2016 18:03:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AFED1340871 for ; Mon, 11 Jan 2016 18:03:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2AC38A15 for ; Mon, 11 Jan 2016 18:03:01 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1452535371.389d8741d003db6e60ff2bc4e074bc7e5a86e7b6.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/chrome-remote-desktop/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/chrome-remote-desktop/Manifest net-misc/chrome-remote-desktop/chrome-remote-desktop-47.0.2526.18.ebuild X-VCS-Directories: net-misc/chrome-remote-desktop/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 389d8741d003db6e60ff2bc4e074bc7e5a86e7b6 X-VCS-Branch: master Date: Mon, 11 Jan 2016 18:03:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 8ac64ba9-302e-4253-92e6-13ecd255c285 X-Archives-Hash: d96e3e6e72a631ce6669fe4b123f81d8 commit: 389d8741d003db6e60ff2bc4e074bc7e5a86e7b6 Author: Mike Frysinger gentoo org> AuthorDate: Mon Jan 11 18:02:17 2016 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Mon Jan 11 18:02:51 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=389d8741 net-misc/chrome-remote-desktop: version bump to 47.0.2526.18 net-misc/chrome-remote-desktop/Manifest | 2 + .../chrome-remote-desktop-47.0.2526.18.ebuild | 109 +++++++++++++++++++++ 2 files changed, 111 insertions(+) diff --git a/net-misc/chrome-remote-desktop/Manifest b/net-misc/chrome-remote-desktop/Manifest index 8dfeb99..09f6068 100644 --- a/net-misc/chrome-remote-desktop/Manifest +++ b/net-misc/chrome-remote-desktop/Manifest @@ -2,3 +2,5 @@ DIST chrome-remote-desktop_44.0.2403.44_amd64.deb 15171514 SHA256 ff47c5611447d2 DIST chrome-remote-desktop_44.0.2403.44_i386.deb 16004938 SHA256 dde48a5cd7ff840857bcb3fad811b9cd1406c800a2332027240f0fb5788d0254 SHA512 5172d73c4bb45835ed3398a7f82f3096241b22f116fb24abf719c9160f234b82c3bf46f0d7b5ce43f1f50c62a39291ea2644876dc4af77a90fb11f8301b585b3 WHIRLPOOL ef3f3326c20f67bff9d1788ed6c70673051fff1ac309644b7edcd3fe2a2dbbeb1f7f17d269187185f4a06f0a154109793f11eeb87387c1229939b88bd2f9322e DIST chrome-remote-desktop_45.0.2454.17_amd64.deb 15349384 SHA256 c176730b1d42c1855804836ab7532dce9523710c7f68db11811a2d8b4fc4f2a7 SHA512 139b50d607db138d674fe1b7159ab7ec08a8a574b3114ed21eb5b1f82b6b9b447348ad0b28d3752ec1f54855e95ff439af08c3b1f7b2928efbcec3ca795817da WHIRLPOOL 045ed2dd8c64a1b8be6f87f970e241977ee19de92061c97e231a9ca7bb2e926ec2b80c36ccb09e67bf65b78e87c7b21aaae84d278f89d93eb356d6034a15a73f DIST chrome-remote-desktop_45.0.2454.17_i386.deb 16146850 SHA256 c4687db4424f0cd867db6926d3a1d458c19baa77c176064fbb707bf38e8f68f4 SHA512 59441ca3f4a9177e8999bc9953fd7b58aaae9afcc8d55252ff0d3dac965c7aec632bb708a925e56ef1d2351b7dc3415f238ce88a9975d99d86565f78fb19e6b1 WHIRLPOOL 1690447e012af6740c10f8a4c6dceeb75e24219c4101e230da26d7f87bdc14c46079af2f72d1a99bec57a3e8bfc0e3a1955ad5d165338f6426cd85fd7bd0fff7 +DIST chrome-remote-desktop_47.0.2526.18_amd64.deb 16611922 SHA256 311bd33e434fae2cb0471a9a494f875faab551d53c769140b5a9715d239a68dd SHA512 3503a1471f6f2236951832035c97d18d64917bf374ca01edf93ae652ea10572a8d84d63a8b7a970a5ea37c67c8b24d3a2563db61e2aaeeedc94a5a06936dbb3c WHIRLPOOL bcd24c053c04f7fe352b346d63238783d6cc5b5f205a66bd066fe477371e7558322f846452ac03f89260bc536a8ed49c1d56988b5b14c62ab4ebef36033f1c00 +DIST chrome-remote-desktop_47.0.2526.18_i386.deb 17153928 SHA256 3de83736447f20193d85733d15617befa1adb7a70c0b17c0dd46bcc31b7af414 SHA512 ec03a967c49f092593ec46c8dbf1a72ce7d5b2e63dbaa6d0ea9ea1c0e47ebcbc2aa130ba3135ac6559e3d55b14e77f17568cb72181c86d30f7b64b5666d4c8d6 WHIRLPOOL 032c43af5447bab5a790bf6cb78627573caafceb31de84a3e5024ef25239fb9eb44d44746f1a64d3bc92221cd0c0662b0d511beb8ce538ad162954e9a29456f8 diff --git a/net-misc/chrome-remote-desktop/chrome-remote-desktop-47.0.2526.18.ebuild b/net-misc/chrome-remote-desktop/chrome-remote-desktop-47.0.2526.18.ebuild new file mode 100644 index 0000000..b244ef8 --- /dev/null +++ b/net-misc/chrome-remote-desktop/chrome-remote-desktop-47.0.2526.18.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Base URL: https://dl.google.com/linux/chrome-remote-desktop/deb/ +# Fetch the Release file: +# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/Release +# Which gives you the Packages file: +# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-i386/Packages +# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-amd64/Packages +# And finally gives you the file name: +# pool/main/c/chrome-remote-desktop/chrome-remote-desktop_29.0.1547.32_amd64.deb +# +# Use curl to find the answer: +# curl -q https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-i386/Packages | grep ^Filename + +EAPI="5" + +PYTHON_COMPAT=( python2_7 ) + +inherit unpacker eutils python-single-r1 + +DESCRIPTION="access remote computers via Chrome!" +PLUGIN_URL="https://chrome.google.com/remotedesktop" +HOMEPAGE="https://support.google.com/chrome/answer/1649523 ${PLUGIN_URL}" +BASE_URI="https://dl.google.com/linux/chrome-remote-desktop/deb/pool/main/c/${PN}/${PN}_${PV}" +SRC_URI="amd64? ( ${BASE_URI}_amd64.deb ) + x86? ( ${BASE_URI}_i386.deb )" + +LICENSE="google-chrome" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" + +# All the libs this package links against. +RDEPEND="app-admin/sudo + ${PYTHON_DEPS} + >=dev-libs/expat-2 + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + dev-python/psutil + gnome-base/gconf:2 + media-libs/fontconfig + media-libs/freetype:2 + sys-devel/gcc + sys-libs/glibc + sys-libs/pam + x11-libs/cairo + x11-libs/gtk+:2 + x11-libs/libX11 + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXtst + x11-libs/pango" +# Settings we just need at runtime. +RDEPEND+=" + x11-base/xorg-server[xvfb]" +DEPEND="" + +S=${WORKDIR} + +QA_PREBUILT="/opt/google/chrome-remote-desktop/*" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-44.0.2403.44-always-sudo.patch #541708 + python_fix_shebang opt/google/chrome-remote-desktop/chrome-remote-desktop +} + +src_install() { + insinto /etc + doins -r etc/opt + + insinto /opt + doins -r opt/google + chmod a+rx "${ED}"/opt/google/${PN}/* || die + + dodir /etc/pam.d + dosym system-remote-login /etc/pam.d/${PN} + + dodoc usr/share/doc/${PN}/changelog* + + newinitd "${FILESDIR}"/${PN}.rc ${PN} + newconfd "${FILESDIR}"/${PN}.conf.d ${PN} +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] ; then + elog "Two ways to launch the server:" + elog "(1) access an existing desktop" + elog " (a) install the Chrome plugin on the server & client:" + elog " ${PLUGIN_URL}" + elog " (b) on the server, run the Chrome plugin & enable remote access" + elog " (c) on the client, connect to the server" + elog "(2) headless system" + elog " (a) install the Chrome plugin on the client:" + elog " ${PLUGIN_URL}" + 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" + elog " (c) run the command mentioned on the server" + elog " (d) on the client, connect to the server" + elog + elog "Configuration settings you might want to be aware of:" + elog " ~/.${PN}-session - shell script to start your session" + elog " /etc/init.d/${PN} - script to auto-restart server" + fi +}