Mailinglist Archive: yast-commit (819 mails)

< Previous Next >
[yast-commit] r54963 - in /branches/SuSE-Code-11-Branch/registration: VERSION package/yast2-registration.changes src/modules/Register.ycp
  • From: jdsn@xxxxxxxxxxxxxxxx
  • Date: Fri, 23 Jan 2009 17:56:30 -0000
  • Message-id: <E1LQQGc-0006Iw-6s@xxxxxxxxxxxxxxxx>
Author: jdsn
Date: Fri Jan 23 18:56:29 2009
New Revision: 54963

URL: http://svn.opensuse.org/viewcvs/yast?rev=54963&view=rev
Log:
setup proxy before suseRegister initializes (bnc#468480)
setup http and https proxy settings individually (bnc#468919)
2.17.18

Modified:
branches/SuSE-Code-11-Branch/registration/VERSION
branches/SuSE-Code-11-Branch/registration/package/yast2-registration.changes
branches/SuSE-Code-11-Branch/registration/src/modules/Register.ycp

Modified: branches/SuSE-Code-11-Branch/registration/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/registration/VERSION?rev=54963&r1=54962&r2=54963&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/registration/VERSION (original)
+++ branches/SuSE-Code-11-Branch/registration/VERSION Fri Jan 23 18:56:29 2009
@@ -1 +1 @@
-2.17.17
+2.17.18

Modified:
branches/SuSE-Code-11-Branch/registration/package/yast2-registration.changes
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/registration/package/yast2-registration.changes?rev=54963&r1=54962&r2=54963&view=diff
==============================================================================
---
branches/SuSE-Code-11-Branch/registration/package/yast2-registration.changes
(original)
+++
branches/SuSE-Code-11-Branch/registration/package/yast2-registration.changes
Fri Jan 23 18:56:29 2009
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Thu Jan 23 18:15:16 CET 2009 - jdsn@xxxxxxx
+
+- setup proxy before suseRegister initializes (bnc#468480)
+- setup http and https proxy settings individually (bnc#468919)
+- 2.17.18
+
+-------------------------------------------------------------------
Mon Dec 1 18:21:35 CET 2008 - jdsn@xxxxxxx

- fix detection of base product (bnc#449844)

Modified: branches/SuSE-Code-11-Branch/registration/src/modules/Register.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/registration/src/modules/Register.ycp?rev=54963&r1=54962&r2=54963&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/registration/src/modules/Register.ycp
(original)
+++ branches/SuSE-Code-11-Branch/registration/src/modules/Register.ycp Fri Jan
23 18:56:29 2009
@@ -1450,14 +1450,27 @@
// setting up proxy for SuseRegister
if (Register::use_proxy)
{
- if (Register::http_proxy != nil && Register::https_proxy != nil)
+ // setup proxy for http and https individually (bnc#468919)
+ if (Register::http_proxy == nil)
+ {
+ Register::http_proxy = "";
+ y2error("Setting for http proxy is broken. Resetting http
proxy. Registration will not use an http proxy.");
+ }
+
+ if (Register::https_proxy == nil)
+ {
+ Register::https_proxy = "";
+ y2error("Setting for https proxy is broken. Resetting https
proxy. Registration will not use an https proxy.");
+ }
+
+ if (Register::http_proxy != "" || Register::https_proxy != "")
{
y2milestone("Setting up proxy for SuseRegister. http_proxy: %1
-- https_proxy: %2", Register::http_proxy, Register::https_proxy);
YSR::set_proxy(Register::http_proxy, Register::https_proxy);
}
else
{
- y2error("Proxy settings are broken and could not be applied to
SuseRegister.");
+ y2milestone("No proxy settings will be used for registration
and SuseRegister.");
}
}


--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages