pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

vimb3-git: Check the credentials if possible



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Thu Oct 11 17:03:29 2018 +0200
Changeset:	0f4eb1446bab1829f82f9a94d67c09f1223bc634

Modified Files:
	vimb3-git/distinfo
	vimb3-git/patches/patch-src_ext-proxy.c
	vimb3-git/patches/patch-src_webextension_ext-main.c

Log Message:
vimb3-git: Check the credentials if possible

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0f4eb1446bab1829f82f9a94d67c09f1223bc634

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 vimb3-git/distinfo                                  |  4 ++--
 vimb3-git/patches/patch-src_ext-proxy.c             | 10 +++++-----
 vimb3-git/patches/patch-src_webextension_ext-main.c | 10 +++++-----
 3 files changed, 12 insertions(+), 12 deletions(-)

diffs:
diff --git a/vimb3-git/distinfo b/vimb3-git/distinfo
index ee9c2de0a3..18eaf04c9a 100644
--- a/vimb3-git/distinfo
+++ b/vimb3-git/distinfo
@@ -1,4 +1,4 @@
 $NetBSD$
 
-SHA1 (patch-src_ext-proxy.c) = 8b9578140699d2104ff386e9500a8e32e8d277e8
-SHA1 (patch-src_webextension_ext-main.c) = 37136bcf73290fc16f0577a547b85dbd19c6a6f8
+SHA1 (patch-src_ext-proxy.c) = 108eea1fa1ec4972e729ab68f20557e740161a82
+SHA1 (patch-src_webextension_ext-main.c) = 91a83a97eb7abd4a385f6e665886f87544c9200d
diff --git a/vimb3-git/patches/patch-src_ext-proxy.c b/vimb3-git/patches/patch-src_ext-proxy.c
index c9c341c14d..7655026b7c 100644
--- a/vimb3-git/patches/patch-src_ext-proxy.c
+++ b/vimb3-git/patches/patch-src_ext-proxy.c
@@ -4,14 +4,14 @@ Workaround for:
 
  <https://github.com/fanglingsu/vimb/issues/438>
 
---- src/ext-proxy.c.orig	2018-10-10 08:19:21.505729509 +0000
+--- src/ext-proxy.c.orig	2018-10-11 14:57:40.747987085 +0000
 +++ src/ext-proxy.c
-@@ -95,6 +95,8 @@ out:
+@@ -95,7 +95,7 @@ out:
  static gboolean on_authorize_authenticated_peer(GDBusAuthObserver *observer,
          GIOStream *stream, GCredentials *credentials, gpointer data)
  {
-+    return TRUE;
-+
-     gboolean authorized = FALSE;
+-    gboolean authorized = FALSE;
++    gboolean authorized = TRUE;
  
      if (credentials) {
+         GCredentials *own_credentials;
diff --git a/vimb3-git/patches/patch-src_webextension_ext-main.c b/vimb3-git/patches/patch-src_webextension_ext-main.c
index d46ac9bcf3..a6bd4ec84b 100644
--- a/vimb3-git/patches/patch-src_webextension_ext-main.c
+++ b/vimb3-git/patches/patch-src_webextension_ext-main.c
@@ -4,14 +4,14 @@ Workaround for:
 
  <https://github.com/fanglingsu/vimb/issues/438>
 
---- src/webextension/ext-main.c.orig	2018-10-10 08:19:21.506806584 +0000
+--- src/webextension/ext-main.c.orig	2018-10-11 14:57:40.749928061 +0000
 +++ src/webextension/ext-main.c
-@@ -136,6 +136,8 @@ void webkit_web_extension_initialize_wit
+@@ -136,7 +136,7 @@ void webkit_web_extension_initialize_wit
  static gboolean on_authorize_authenticated_peer(GDBusAuthObserver *observer,
          GIOStream *stream, GCredentials *credentials, gpointer extension)
  {
-+    return TRUE;
-+
-     gboolean authorized = FALSE;
+-    gboolean authorized = FALSE;
++    gboolean authorized = TRUE;
      if (credentials) {
          GCredentials *own_credentials;
+ 


Home | Main Index | Thread Index | Old Index