LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File 0001-Fix-broken-proxy-config.patch of Package modi-firefox (Project home:uninstall:ModiCustomizations132)

From 8553e28c33fa792b30720ef1975a3a9c54e30f80 Mon Sep 17 00:00:00 2001
From: Davide Bettio <davide@uninstall.it>
Date: Fri, 7 Oct 2016 11:35:52 +0200
Subject: [PATCH] Fix broken proxy config

---
 cck2.cfg                    | 13 +++----------
 defaults/pref/autoconfig.js | 17 +++++++++++++++++
 2 files changed, 20 insertions(+), 10 deletions(-)

diff --git a/cck2.cfg b/cck2.cfg
index 81f12a8..0973855 100644
--- a/cck2.cfg
+++ b/cck2.cfg
@@ -8,19 +8,12 @@ var config = {
   "homePage": "https://start.edu.liceomodigliani.it/",
   "welcomePage": "https://start.edu.liceomodigliani.it/first-use/",
   "upgradePage": "https://start.edu.liceomodigliani.it/upgrade/",
-  "network": {
-    "proxyHTTP": "andy.edu.liceomodigliani.it",
-    "proxyHTTPPort": 3128,
-    "proxyNone": "10.32.0.0/16, 127.0.0.1",
-    "shareAllProxies": true,
-    "proxyAutologin": true,
-    "locked": true,
-    "proxyType": 1,
-    "proxySocksVersion": 4
-  },
   "extension": {
     "name": "Modigliani Firefox"
   },
+  "network": {
+     "locked": true
+  },
   "lockHomePage": true,
   "displayMenuBar": true,
   "removeSafeModeMenu": true,
diff --git a/defaults/pref/autoconfig.js b/defaults/pref/autoconfig.js
index dfaf8fa..32250a0 100644
--- a/defaults/pref/autoconfig.js
+++ b/defaults/pref/autoconfig.js
@@ -1,2 +1,19 @@
 pref("general.config.filename", "cck2.cfg");
 pref("general.config.obscure_value", 0);
+
+pref("network.proxy.backup.ftp", "");
+pref("network.proxy.backup.ftp_port", 0);
+pref("network.proxy.backup.socks", "");
+pref("network.proxy.backup.socks_port", 0);
+pref("network.proxy.backup.ssl", "");
+pref("network.proxy.backup.ssl_port", 0);
+pref("network.proxy.ftp", "andy.edu.liceomodigliani.it");
+pref("network.proxy.ftp_port", 3128);
+pref("network.proxy.http", "andy.edu.liceomodigliani.it");
+pref("network.proxy.http_port", 3128);
+pref("network.proxy.share_proxy_settings", true);
+pref("network.proxy.socks", "andy.edu.liceomodigliani.it");
+pref("network.proxy.socks_port", 3128);
+pref("network.proxy.ssl", "andy.edu.liceomodigliani.it");
+pref("network.proxy.ssl_port", 3128);
+pref("network.proxy.type", 1);
-- 
2.7.4