New Authorization for Business Products

Kevin Ivory <[email protected]> Mon, 05 Dec 2005 16:51:35 +0100
Newsgroups gmane.linux.suse.fou4s.devel
Organization Service Network GmbH
Message-ID <[email protected]>
Novell is forcing business customers to convert their SUSE accounts
to Novell accounts until Dec 31, 2005. When the Novell accounts are
active, YaST Online Update uses a new server https://you.novell.com/update

A typical download/patch comes from:
https://USERNAME:[email protected]/update/i386/update/SUSE-CORE/9/rpm/i586/yast2-packagemanager-2.9.67-0.3.i586.patch.rpm

/etc/fou4s.conf now needs (the next fou4s version should have this example):
Server=https://you.novell.com/update

But that is not enough: fou4s in the most recent version does not use
the https_proxy environment variable, so two fixes are needed:

# diff -U3 /usr/sbin/fou4s-0.13.1 /usr/sbin/fou4s
--- /usr/sbin/fou4s-0.13.1      2005-05-31 23:51:14.000000000 +0200
+++ /usr/sbin/fou4s     2005-12-05 15:54:25.063959616 +0100
@@ -586,6 +586,7 @@
                        --proxy)
                                if [[ $2 == http://*([^\/])/ ]] ; then
                                        export http_proxy=$2
+                                       export https_proxy=$2
                                        export ftp_proxy=$2
                                        if [[ $USERSYNCPROXY -eq 1 ]] ; then
                                                RSYNC_PROXY=$2
@@ -2609,6 +2610,7 @@
                                VERBOSE=`checkOption "$value" $key $VERBOSE range 0 3` ;;
                        Proxy)
                                export http_proxy=`checkOption "$value" $key $http_proxy`
+                               export https_proxy=`checkOption "$value" $key $https_proxy`
                                export ftp_proxy=`checkOption "$value" $key $ftp_proxy` ;;
                        AcceptPreinstallInfo)
                                ACCEPTPREINSTALLINFO=`checkOption "$value" $key $ACCEPTPREINSTALLINFO` ;;
#

The next problem is that the newest wget version for SLES9 (1.9.1-45.12)
does not use the https_proxy variable correctly, but that is a bug I will
have to file at Novell's bugzilla. w3m and curl have no problems downloading
a file via the proxy set in https_proxy.

Kevin
-- 
   _             |  Kevin Ivory          |  Tel: +49-551-3700000
  |_     |\ |    |  Service Network GmbH |  Fax: +49-551-3700009
  ._|ER  | \|ET  |  Bahnhofsallee 1b     |  mailto:[email protected]
 Service Network |  37081 Goettingen     |    http://www.SerNet.de/
--