From 79dac2f616b2995b55cf77d051763ff8e74f6f4d Mon Sep 17 00:00:00 2001 From: tobik Date: Sat, 23 Feb 2019 05:16:28 +0000 Subject: [PATCH] net/gdrive: Update to a newer snapshot - Pull in patches from https://github.com/prasmussen/gdrive/pull/428 enabling support for external Google API OAuth2 client credentials - Add pkg-message with reference to workaround for "Rate Limit Exceeded" errors - Pet portlint while here PR: 235497 Submitted by: Dmitri Goutnik (maintainer) --- net/gdrive/Makefile | 13 +++++++++++-- net/gdrive/distinfo | 14 +++++++++++--- net/gdrive/pkg-message | 2 ++ 3 files changed, 24 insertions(+), 5 deletions(-) create mode 100644 net/gdrive/pkg-message diff --git a/net/gdrive/Makefile b/net/gdrive/Makefile index d2089588f8cb0..4b6b6fe5b5a34 100644 --- a/net/gdrive/Makefile +++ b/net/gdrive/Makefile @@ -2,19 +2,28 @@ # $FreeBSD$ PORTNAME= gdrive -PORTVERSION= 2.1.0 +DISTVERSION= 2.1.0-23 +DISTVERSIONSUFFIX= -gc3cbcce CATEGORIES= net +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +# https://github.com/prasmussen/gdrive/pull/428 +PATCHFILES= 3c060f4d33530866496515b45fcfaa3fd2da5f32.patch:-p1 \ + 4916e16a91b84702ebe67ca7be4295b26d4cb0b5.patch:-p1 \ + 0197c982f6c961e8a44ec9895fcc33c1fe4c3ac2.patch:-p1 \ + f397bb25e339dc4cf1e9bf2467336ba6fd48fd9f.patch:-p1 + MAINTAINER= dg@syrec.org COMMENT= Google Drive CLI Client LICENSE= MIT USES= go -GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} USE_GITHUB= yes GH_ACCOUNT= prasmussen +GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} + OPTIONS_DEFINE= DOCS PLIST_FILES= bin/gdrive diff --git a/net/gdrive/distinfo b/net/gdrive/distinfo index ab06301ec24f0..65ee23b483a49 100644 --- a/net/gdrive/distinfo +++ b/net/gdrive/distinfo @@ -1,3 +1,11 @@ -TIMESTAMP = 1482262863 -SHA256 (prasmussen-gdrive-2.1.0_GH0.tar.gz) = a1ea624e913e258596ea6340c8818a90c21962b0a75cf005e49a0f72f2077b2e -SIZE (prasmussen-gdrive-2.1.0_GH0.tar.gz) = 151273 +TIMESTAMP = 1550792240 +SHA256 (prasmussen-gdrive-2.1.0-23-gc3cbcce_GH0.tar.gz) = a82f4c91f01dbfdfa3bcaae783a2c0c844d02e08cb8a6e4021df8aee11b5942e +SIZE (prasmussen-gdrive-2.1.0-23-gc3cbcce_GH0.tar.gz) = 152474 +SHA256 (3c060f4d33530866496515b45fcfaa3fd2da5f32.patch) = 8608eaab69b1a88efef2030e4dbe1380681ea1048e46bc5bb323430c2dc86505 +SIZE (3c060f4d33530866496515b45fcfaa3fd2da5f32.patch) = 5705 +SHA256 (4916e16a91b84702ebe67ca7be4295b26d4cb0b5.patch) = 1613ab7660fbb96ef2143cfe9609193418dfb7129856f993252bb17150a47fa1 +SIZE (4916e16a91b84702ebe67ca7be4295b26d4cb0b5.patch) = 13731 +SHA256 (0197c982f6c961e8a44ec9895fcc33c1fe4c3ac2.patch) = 2794e6a60bcabc995a87b35bd5063beff926172c90c56e85c7143da4f3ebb335 +SIZE (0197c982f6c961e8a44ec9895fcc33c1fe4c3ac2.patch) = 189034 +SHA256 (f397bb25e339dc4cf1e9bf2467336ba6fd48fd9f.patch) = beee3ac5f3eac03d6f340fd5499e97091ac01c83b923f958dc3e954d36032bee +SIZE (f397bb25e339dc4cf1e9bf2467336ba6fd48fd9f.patch) = 1034150 diff --git a/net/gdrive/pkg-message b/net/gdrive/pkg-message new file mode 100644 index 0000000000000..7116557c0d532 --- /dev/null +++ b/net/gdrive/pkg-message @@ -0,0 +1,2 @@ +If you are getting "Error 403: Rate Limit Exceeded" errors, please see +workaround described here: https://github.com/prasmussen/gdrive/pull/428