| 33 | |
| 34 | = aur:gdrivefs = |
| 35 | |
| 36 | * 作者が用意したクレデンシャルが埋め込まれており、コード書き換え以外に変更する手段が存在しない |
| 37 | * gdrivefs 0.14.8-2に対するパッチ |
| 38 | * PKGBUILD.diff |
| 39 | {{{#!diff |
| 40 | diff --git a/PKGBUILD b/PKGBUILD |
| 41 | index dec95ef..2af649c 100644 |
| 42 | --- a/PKGBUILD |
| 43 | +++ b/PKGBUILD |
| 44 | @@ -28,6 +28,9 @@ build() { |
| 45 | # Fix for oauth2client.util library |
| 46 | patch -p1 < ../../issue_166.patch |
| 47 | |
| 48 | + # change api_credentials |
| 49 | + patch -p1 < ../../cred.patch |
| 50 | + |
| 51 | python2 setup.py build |
| 52 | } |
| 53 | |
| 54 | }}} |
| 55 | * cred.patch |
| 56 | {{{#!diff |
| 57 | diff --git a/gdrivefs/conf.py b/gdrivefs/conf.py |
| 58 | index 5310a3d..1496df3 100644 |
| 59 | --- a/gdrivefs/conf.py |
| 60 | +++ b/gdrivefs/conf.py |
| 61 | @@ -11,8 +11,8 @@ class Conf(object): |
| 62 | """Manages options.""" |
| 63 | |
| 64 | api_credentials = { |
| 65 | - "web": { "client_id": "1056816309698.apps.googleusercontent.com", |
| 66 | - "client_secret": "R7FJFlbtWXgUoG3ZjIAWUAzv", |
| 67 | + "web": { "client_id": "564155291697-r72paq515fukt1uoc0bjofjl9fvsoerb.apps.googleusercontent.com", |
| 68 | + "client_secret": "WVcC9DJTJzLdbjByhMJmwA68", |
| 69 | "redirect_uris": [], |
| 70 | "auth_uri": "https://accounts.google.com/o/oauth2/auth", |
| 71 | "token_uri": "https://accounts.google.com/o/oauth2/token" |
| 72 | }}} |