forked from pool/gnome-software
Dominique Leuenberger
99f0d66592
- Add gnome-software-nouser-proxy.patch: Do not pass proxy settings between user session and packagekitd. openSUSE does not grant the required polkit privileges, as user settings should not have an impact on the package manager in our view. The proxy settings for packagekitd are handled by libzypp/libproxy and are loaded from yast proxy settings. OBS-URL: https://build.opensuse.org/request/show/254729 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-software?expand=0&rev=35
36 lines
1.1 KiB
Diff
36 lines
1.1 KiB
Diff
From 583ebeac8fab17a25527360c499f9a4dbd084f6f Mon Sep 17 00:00:00 2001
|
|
From: Dominique Leuenberger <dimstar@opensuse.org>
|
|
Date: Tue, 7 Oct 2014 11:01:36 +0200
|
|
Subject: [PATCH] packagekit: openSUSE relies on libzypp/libproxy to have the
|
|
correct proxy settings for packagekitd.
|
|
|
|
This avoids having to pass on proxy settings between the user session
|
|
(which user, in a multi-seat env?) and the packagekitd service.
|
|
---
|
|
src/gs-proxy-settings.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/src/gs-proxy-settings.c b/src/gs-proxy-settings.c
|
|
index 494ad2f..17b5724 100644
|
|
--- a/src/gs-proxy-settings.c
|
|
+++ b/src/gs-proxy-settings.c
|
|
@@ -144,6 +144,7 @@ set_proxy_cb (GObject *object, GAsyncResult *res, gpointer user_data)
|
|
static void
|
|
reload_proxy_settings (GsProxySettings *proxy_settings)
|
|
{
|
|
+/* openSUSE relies on libzypp/libproxy to get the right proxy settings
|
|
gchar *proxy_http;
|
|
gchar *proxy_ftp;
|
|
|
|
@@ -160,6 +161,7 @@ reload_proxy_settings (GsProxySettings *proxy_settings)
|
|
proxy_settings);
|
|
g_free (proxy_http);
|
|
g_free (proxy_ftp);
|
|
+*/
|
|
}
|
|
|
|
static void
|
|
--
|
|
2.1.1
|
|
|