Hello community,

here is the log from the commit of package yast2-packager for openSUSE:Factory 
checked in at 2013-04-03 13:10:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-packager (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-packager.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-packager", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-packager/yast2-packager.changes    
2013-01-30 22:24:20.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-packager.new/yast2-packager.changes       
2013-04-03 13:10:17.000000000 +0200
@@ -1,0 +2,7 @@
+Fri Mar 15 13:43:08 UTC 2013 - [email protected]
+
+- disable certificate check for HTTPS installation repository
+  when sslcerts=0 boot option is used (bnc#807799)
+- 2.24.0
+
+-------------------------------------------------------------------

Old:
----
  yast2-packager-2.23.3.tar.bz2

New:
----
  yast2-packager-2.24.0.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-packager.spec ++++++
--- /var/tmp/diff_new_pack.GPFD9n/_old  2013-04-03 13:10:19.000000000 +0200
+++ /var/tmp/diff_new_pack.GPFD9n/_new  2013-04-03 13:10:19.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-packager
-Version:        2.23.3
+Version:        2.24.0
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ yast2-packager-2.23.3.tar.bz2 -> yast2-packager-2.24.0.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-packager-2.23.3/VERSION 
new/yast2-packager-2.24.0/VERSION
--- old/yast2-packager-2.23.3/VERSION   2013-01-30 11:39:14.000000000 +0100
+++ new/yast2-packager-2.24.0/VERSION   2013-03-26 10:31:35.000000000 +0100
@@ -1 +1 @@
-2.23.3
+2.24.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-packager-2.23.3/configure 
new/yast2-packager-2.24.0/configure
--- old/yast2-packager-2.23.3/configure 2013-01-30 11:39:24.000000000 +0100
+++ new/yast2-packager-2.24.0/configure 2013-03-26 10:31:46.000000000 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for yast2-packager 2.23.3.
+# Generated by GNU Autoconf 2.69 for yast2-packager 2.24.0.
 #
 # Report bugs to <http://bugs.opensuse.org/>.
 #
@@ -579,8 +579,8 @@
 # Identity of this package.
 PACKAGE_NAME='yast2-packager'
 PACKAGE_TARNAME='yast2-packager'
-PACKAGE_VERSION='2.23.3'
-PACKAGE_STRING='yast2-packager 2.23.3'
+PACKAGE_VERSION='2.24.0'
+PACKAGE_STRING='yast2-packager 2.24.0'
 PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
 PACKAGE_URL=''
 
@@ -1247,7 +1247,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures yast2-packager 2.23.3 to adapt to many kinds of 
systems.
+\`configure' configures yast2-packager 2.24.0 to adapt to many kinds of 
systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1318,7 +1318,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of yast2-packager 2.23.3:";;
+     short | recursive ) echo "Configuration of yast2-packager 2.24.0:";;
    esac
   cat <<\_ACEOF
 
@@ -1398,7 +1398,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-yast2-packager configure 2.23.3
+yast2-packager configure 2.24.0
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1415,7 +1415,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by yast2-packager $as_me 2.23.3, which was
+It was created by yast2-packager $as_me 2.24.0, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2354,7 +2354,7 @@
 
 # Define the identity of the package.
  PACKAGE='yast2-packager'
- VERSION='2.23.3'
+ VERSION='2.24.0'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -2477,7 +2477,7 @@
 
 
 
-VERSION="2.23.3"
+VERSION="2.24.0"
 RPMNAME="yast2-packager"
 MAINTAINER="Ladislav Slezak <[email protected]>"
 
@@ -3403,7 +3403,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by yast2-packager $as_me 2.23.3, which was
+This file was extended by yast2-packager $as_me 2.24.0, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -3456,7 +3456,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-yast2-packager config.status 2.23.3
+yast2-packager config.status 2.24.0
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-packager-2.23.3/configure.in 
new/yast2-packager-2.24.0/configure.in
--- old/yast2-packager-2.23.3/configure.in      2013-01-30 11:39:20.000000000 
+0100
+++ new/yast2-packager-2.24.0/configure.in      2013-03-26 10:31:42.000000000 
+0100
@@ -3,7 +3,7 @@
 dnl -- This file is generated by y2autoconf 2.23.2 - DO NOT EDIT! --
 dnl    (edit configure.in.in instead)
 
-AC_INIT(yast2-packager, 2.23.3, http://bugs.opensuse.org/, yast2-packager)
+AC_INIT(yast2-packager, 2.24.0, http://bugs.opensuse.org/, yast2-packager)
 dnl Check for presence of file 'RPMNAME'
 AC_CONFIG_SRCDIR([RPMNAME])
 
@@ -18,7 +18,7 @@
 AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
 
 dnl Important YaST2 variables
-VERSION="2.23.3"
+VERSION="2.24.0"
 RPMNAME="yast2-packager"
 MAINTAINER="Ladislav Slezak <[email protected]>"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-packager-2.23.3/src/modules/InstURL.ycp 
new/yast2-packager-2.24.0/src/modules/InstURL.ycp
--- old/yast2-packager-2.23.3/src/modules/InstURL.ycp   2013-01-22 
11:40:37.000000000 +0100
+++ new/yast2-packager-2.24.0/src/modules/InstURL.ycp   2013-03-26 
10:31:35.000000000 +0100
@@ -116,6 +116,15 @@
         return option_map;
     }
 
+    // check if SSL certificate check is enabled (default) or explicitely 
disabled by user
+    boolean SSLVerificationEnabled()
+    {
+        string ssl_verify = Linuxrc::InstallInf("ssl_verify");
+        y2milestone("Option ssl_verify: %1", ssl_verify);
+
+        return ssl_verify != "0";
+    }
+
     /**
      *
      */
@@ -354,6 +363,20 @@
                url = url + option_separator + "workgroup=" + workgroup;
                option_separator = "&";
            }
+
+            if (instmode == "https")
+            {
+                y2milestone("HTTPS instmode detected");
+
+                if (!SSLVerificationEnabled())
+                {
+                    y2security("Disabling certificate check for the 
installation repository");
+
+                    // libzypp uses ssl_verify=no option
+                    url = url + option_separator + "ssl_verify=no";
+                    option_separator = "&";
+                }
+            }
        } // is_network
 
        if (options != "")

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to