Index: head/net-im/kaccounts-providers/Makefile =================================================================== --- head/net-im/kaccounts-providers/Makefile (revision 522968) +++ head/net-im/kaccounts-providers/Makefile (revision 522969) @@ -1,29 +1,30 @@ # $FreeBSD$ PORTNAME= kaccounts-providers DISTVERSION= ${KDE_APPLICATIONS_VERSION} +PORTREVISION= 1 CATEGORIES= net-im kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= System to administer web accounts for the KDE desktop LIB_DEPENDS= libaccounts-glib.so:net-im/libaccounts-glib \ libkaccounts.so:net-im/kaccounts-integration \ libaccounts-qt5.so:net-im/libaccounts-qt5 \ libsignon-qt5.so:sysutils/signon-qt5 USES= cmake compiler:c++11-lang gettext gnome kde:5 \ pkgconfig qt:5 tar:xz USE_GNOME= intltool USE_KDE= config coreaddons i18n kdeclarative kio package service USE_QT= concurrent core dbus declarative gui network xml \ buildtools_build qmake_build OPTIONS_DEFINE= DOCS #install to ${LOCALBASE}: pre-configure: ${REINPLACE_CMD} -e 's,/etc,${PREFIX}/etc,' \ ${WRKSRC}/webkit-options/CMakeLists.txt .include Index: head/net-im/kaccounts-providers/files/patch-git_0a71da4 =================================================================== --- head/net-im/kaccounts-providers/files/patch-git_0a71da4 (nonexistent) +++ head/net-im/kaccounts-providers/files/patch-git_0a71da4 (revision 522969) @@ -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 + Property changes on: head/net-im/kaccounts-providers/files/patch-git_0a71da4 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net-im/kaccounts-providers/files/patch-git_5952bf2 =================================================================== --- head/net-im/kaccounts-providers/files/patch-git_5952bf2 (nonexistent) +++ head/net-im/kaccounts-providers/files/patch-git_5952bf2 (revision 522969) @@ -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 + Property changes on: head/net-im/kaccounts-providers/files/patch-git_5952bf2 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property