From owner-svn-ports-head@freebsd.org Mon Jan 13 18:43:41 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 72E1C1E8034; Mon, 13 Jan 2020 18:43:41 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47xMtP2QRpz421t; Mon, 13 Jan 2020 18:43:41 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4E0D590BB; Mon, 13 Jan 2020 18:43:41 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 00DIhfWL028679; Mon, 13 Jan 2020 18:43:41 GMT (envelope-from tcberner@FreeBSD.org) Received: (from tcberner@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 00DIheFw028676; Mon, 13 Jan 2020 18:43:40 GMT (envelope-from tcberner@FreeBSD.org) Message-Id: <202001131843.00DIheFw028676@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tcberner set sender to tcberner@FreeBSD.org using -f From: "Tobias C. Berner" Date: Mon, 13 Jan 2020 18:43:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r522969 - in head/net-im/kaccounts-providers: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tcberner X-SVN-Commit-Paths: in head/net-im/kaccounts-providers: . files X-SVN-Commit-Revision: 522969 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jan 2020 18:43:41 -0000 Author: tcberner Date: Mon Jan 13 18:43:40 2020 New Revision: 522969 URL: https://svnweb.freebsd.org/changeset/ports/522969 Log: net-im/kaccounts-providers: add upstream patches - 0a71da4: Google provider: limit requested OAuth scopes - 5952bf2: Remove the extra comma Added: head/net-im/kaccounts-providers/files/ head/net-im/kaccounts-providers/files/patch-git_0a71da4 (contents, props changed) head/net-im/kaccounts-providers/files/patch-git_5952bf2 (contents, props changed) Modified: head/net-im/kaccounts-providers/Makefile Modified: head/net-im/kaccounts-providers/Makefile ============================================================================== --- head/net-im/kaccounts-providers/Makefile Mon Jan 13 18:36:04 2020 (r522968) +++ head/net-im/kaccounts-providers/Makefile Mon Jan 13 18:43:40 2020 (r522969) @@ -2,6 +2,7 @@ PORTNAME= kaccounts-providers DISTVERSION= ${KDE_APPLICATIONS_VERSION} +PORTREVISION= 1 CATEGORIES= net-im kde kde-applications MAINTAINER= kde@FreeBSD.org Added: head/net-im/kaccounts-providers/files/patch-git_0a71da4 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-im/kaccounts-providers/files/patch-git_0a71da4 Mon Jan 13 18:43:40 2020 (r522969) @@ -0,0 +1,55 @@ +From 0a71da4e3caae0defe200a85954fc7e2012010c1 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Daniel=20Vr=C3=A1til?= +Date: Mon, 13 Jan 2020 13:48:37 +0100 +Subject: Google provider: limit requested OAuth scopes + +Summary: +Limit the scopes to what is actually permitted in the Google App settings: +contacts and calendars for future PIM integration, GDrive for KIO-GDrive, +and Youtube (upload-only) for the Purpose sharing plugin. We can extend +this in the future if needed easilly, it's easier for us to get the +Google App verified if we can proof and show how the individual scopes +are used by KDE. + +Reviewers: elvisangelaccio, bshah + +Reviewed By: elvisangelaccio, bshah + +Differential Revision: https://phabricator.kde.org/D26454 +--- + providers/google.provider.in | 13 +++---------- + 1 file changed, 3 insertions(+), 10 deletions(-) + +diff --git a/providers/google.provider.in b/providers/google.provider.in +index 638c1a9..97307af 100644 +--- providers/google.provider.in ++++ providers/google.provider.in +@@ -21,22 +21,15 @@ + order to return a refresh token --> + code + [ +- 'https://docs.google.com/feeds/', +- 'https://www.googleapis.com/auth/googletalk', +- 'https://www.googleapis.com/auth/youtube.upload', +- 'https://www.googleapis.com/auth/youtube', + 'https://www.googleapis.com/auth/userinfo.email', + 'https://www.googleapis.com/auth/userinfo.profile', +- 'https://picasaweb.google.com/data/', + 'https://www.googleapis.com/auth/calendar', +- 'https://www.google.com/m8/feeds/', + 'https://www.googleapis.com/auth/tasks', ++ 'https://www.google.com/m8/feeds/', + 'https://www.googleapis.com/auth/drive', +- 'https://www.googleapis.com/auth/drive.file', +- 'https://www.googleapis.com/auth/drive.metadata.readonly', +- 'https://www.googleapis.com/auth/drive.readonly' ++ 'https://www.googleapis.com/auth/youtube.upload', + ] +- ['https','http'] ++ ['https'] + 317066460457-pkpkedrvt2ldq6g2hj1egfka2n7vpuoo.apps.googleusercontent.com + Y8eFAaWfcanV3amZdDvtbYUq + true +-- +cgit v1.1 + Added: head/net-im/kaccounts-providers/files/patch-git_5952bf2 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-im/kaccounts-providers/files/patch-git_5952bf2 Mon Jan 13 18:43:40 2020 (r522969) @@ -0,0 +1,25 @@ +From 5952bf25358b8b2545cfdeb898461f82a7b17971 Mon Sep 17 00:00:00 2001 +From: Christophe Giboudeaux +Date: Mon, 13 Jan 2020 15:56:57 +0100 +Subject: Remove the extra comma + +--- + providers/google.provider.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/providers/google.provider.in b/providers/google.provider.in +index 97307af..e9f1b57 100644 +--- providers/google.provider.in ++++ providers/google.provider.in +@@ -27,7 +27,7 @@ + 'https://www.googleapis.com/auth/tasks', + 'https://www.google.com/m8/feeds/', + 'https://www.googleapis.com/auth/drive', +- 'https://www.googleapis.com/auth/youtube.upload', ++ 'https://www.googleapis.com/auth/youtube.upload' + ] + ['https'] + 317066460457-pkpkedrvt2ldq6g2hj1egfka2n7vpuoo.apps.googleusercontent.com +-- +cgit v1.1 +