Mailinglist Archive: opensuse-commit (1082 mails)

< Previous Next >
commit yast2-add-on
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Wed, 02 May 2007 10:44:38 +0200
  • Message-id: <20070502084439.0F526678188@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package yast2-add-on
checked in at Wed May 2 10:44:38 CEST 2007.

--------
--- yast2-add-on/yast2-add-on.changes   2007-03-30 14:00:24.000000000 +0200
+++ /mounts/work_src_done/NOARCH/yast2-add-on/yast2-add-on.changes      2007-05-02 10:18:47.000000000 +0200
@@ -1,0 +2,12 @@
+Wed May  2 10:05:37 CEST 2007 - locilka@xxxxxxx
+
+- CommandLine interface (no support reported) for add-on (#269886)
+- CommandLine interface (no support reported) for vendor (#269911)
+- 2.15.7
+
+-------------------------------------------------------------------
+Wed Apr  4 15:42:16 CEST 2007 - ug@xxxxxxx
+
+- signature checks for individual add-ons for autoyast
+
+-------------------------------------------------------------------

Old:
----
  yast2-add-on-2.15.6.tar.bz2

New:
----
  yast2-add-on-2.15.7.tar.bz2

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

Other differences:
------------------
++++++ yast2-add-on.spec ++++++
--- /var/tmp/diff_new_pack.XK7578/_old  2007-05-02 10:44:33.000000000 +0200
+++ /var/tmp/diff_new_pack.XK7578/_new  2007-05-02 10:44:33.000000000 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package yast2-add-on (Version 2.15.6)
+# spec file for package yast2-add-on (Version 2.15.7)
 #
 # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # This file and all modifications and additions to the pristine
@@ -11,12 +11,12 @@
 # norootforbuild
 
 Name:           yast2-add-on
-Version:        2.15.6
+Version:        2.15.7
 Release:        1
 License:        GNU General Public License (GPL)
 Group:          System/YaST
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Source0:        yast2-add-on-2.15.6.tar.bz2
+Source0:        yast2-add-on-2.15.7.tar.bz2
 prefix:                /usr
 Requires:       autoyast2-installation
 # WorkflowManager module
@@ -47,7 +47,7 @@
     Lukas Ocilka <locilka@xxxxxxx>
 
 %prep
-%setup -n yast2-add-on-2.15.6
+%setup -n yast2-add-on-2.15.7
 
 %build
 %{prefix}/bin/y2tool y2autoconf
@@ -86,6 +86,12 @@
 %doc %{prefix}/share/doc/packages/yast2-add-on
 
 %changelog
+* Wed May 02 2007 - locilka@xxxxxxx
+- CommandLine interface (no support reported) for add-on (#269886)
+- CommandLine interface (no support reported) for vendor (#269911)
+- 2.15.7
+* Wed Apr 04 2007 - ug@xxxxxxx
+- signature checks for individual add-ons for autoyast
 * Fri Mar 30 2007 - locilka@xxxxxxx
 - Reporting Low-Memory issue during installation on machines with
   less than 384 MB (-5%%) of total memory (together with available

++++++ yast2-add-on-2.15.6.tar.bz2 -> yast2-add-on-2.15.7.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-add-on-2.15.6/src/add-on_auto.ycp new/yast2-add-on-2.15.7/src/add-on_auto.ycp
--- old/yast2-add-on-2.15.6/src/add-on_auto.ycp 2007-02-22 18:11:51.000000000 +0100
+++ new/yast2-add-on-2.15.7/src/add-on_auto.ycp 2007-04-05 13:41:21.000000000 +0200
@@ -25,6 +25,7 @@
 import "AutoinstSoftware";
 import "PackageCallbacksInit";
 import "Label";
+import "AutoinstGeneral";
 
 include "add-on/add-on-workflow.ycp";
 
@@ -109,6 +110,42 @@
 /**
  * Write configuration data
  * return boolean
+ *
+
+  <add-on>
+    <add_on_products config:type="list">
+      <listentry>
+        <media_url>http://software.opensuse.org/download/server:/dns/SLE_10/</media_url>
+        <product>buildservice</product>
+        <product_dir>/</product_dir>
+        <signature-handling>
+           <accept_unsigned_file config:type="boolean">true</accept_unsigned_file>
+           <accept_file_without_checksum config:type="boolean">true</accept_file_without_checksum>
+           <accept_verification_failed config:type="boolean">true</accept_verification_failed>
+           <accept_unknown_gpg_key>
+             <all config:type="boolean">true</all>
+             <keys config:type="list">
+                <keyid>...</keyid>
+                <keyid>3B3011B76B9D6523</keyid>
+             </keys>
+           </accept_unknown_gpg_key>
+           <accept_non_trusted_gpg_key>
+             <all config:type="boolean">true</all>
+             <keys config:type="list">
+                <keyid>...</keyid>
+             </keys>
+           </accept_non_trusted_gpg_key>
+           <import_gpg_key>
+             <all config:type="boolean">true</all>
+             <keys config:type="list">
+                <keyid>...</keyid>
+             </keys>
+           </import_gpg_key>
+        </signature-handling>
+      </listentry>
+    </add_on_products>
+  </add-on>
+
  */
 else if (func == "Write") {
     map<string,map<string,integer> > sources = $[];
@@ -116,6 +153,7 @@
        string media = prod["media_url"]:"";
        string pth = prod["product_dir"]:"/";
        sources[media] = sources[media]:$[];
+        AddOnProduct::SetSignatureCallbacks( prod["product"]:"" ); // set addon specific sig-handling
        if (sources[media, pth]:-1 == -1)
        {
            integer srcid = Pkg::SourceCreate (media, pth);
@@ -123,6 +161,7 @@
                // error report
                Report::Error (_("Failed to add add-on product."));
            sources[media, pth] = srcid;
+            AutoinstGeneral::SetSignatureHandling(); // reset to global sig-handling
        }
        prod["media"] = sources[media, pth]:-1;
        Pkg::ResolvableInstall (prod["product"]:"", `product);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-add-on-2.15.6/src/add-on.rnc new/yast2-add-on-2.15.7/src/add-on.rnc
--- old/yast2-add-on-2.15.6/src/add-on.rnc      2007-02-16 16:03:32.000000000 +0100
+++ new/yast2-add-on-2.15.7/src/add-on.rnc      2007-04-05 13:41:21.000000000 +0200
@@ -8,7 +8,33 @@
   element listentry {
      media_url? &
      product? &
-     product_dir?
+     product_dir? &
+     element signature-handling {
+        element accept_unsigned_file { BOOLEAN }? &
+        element accept_file_without_checksum { BOOLEAN }? &
+        element accept_verification_failed { BOOLEAN }? &
+        element accept_unknown_gpg_key {
+            element all { BOOLEAN }? &
+            element keys {
+                LIST,
+                element keyid { text }*
+            }?
+        }? &
+        element accept_non_trusted_gpg_key {
+            element all { BOOLEAN }? &
+            element keys {
+                LIST,
+                element keyid { text }*
+            }?
+        }? &
+        element import_gpg_key {
+            element all { BOOLEAN }? &
+            element keys {
+                LIST,
+                element keyid { text }*
+            }?
+        }?
+     }?
   }
 media_url = element media_url { text }
 product = element product { text }
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-add-on-2.15.6/src/add-on.ycp new/yast2-add-on-2.15.7/src/add-on.ycp
--- old/yast2-add-on-2.15.6/src/add-on.ycp      2007-02-22 18:11:25.000000000 +0100
+++ new/yast2-add-on-2.15.7/src/add-on.ycp      2007-05-02 10:07:19.000000000 +0200
@@ -15,9 +15,23 @@
 import "PackageCallbacksInit";
 import "Report";
 import "Wizard";
+import "GetInstArgs";
+import "Mode";
+import "CommandLine";
 
 include "add-on/add-on-workflow.ycp";
 
+
+// Bugzilla #269886, CommanLine "support"
+// argmap is only a map, CommandLine uses string parameters
+if (size (GetInstArgs::argmap()) == 0 && size (WFM::Args()) > 0) {
+    Mode::SetUI ("commandline");
+    y2milestone ("Mode CommandLine not supported, exiting...");
+    // TRANSLATORS: error message - the module does not provide command line interface
+    CommandLine::Print(_("There is no user interface available for this module."));
+    return `auto;
+}
+
 Wizard::CreateDialog();
 
 Wizard::SetContents (
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-add-on-2.15.6/src/vendor.ycp new/yast2-add-on-2.15.7/src/vendor.ycp
--- old/yast2-add-on-2.15.6/src/vendor.ycp      2007-02-22 18:18:18.000000000 +0100
+++ new/yast2-add-on-2.15.7/src/vendor.ycp      2007-05-02 10:20:22.000000000 +0200
@@ -4,7 +4,7 @@
  * Summary:    Load vendor driver CD
  * Authors:    Klaus Kaempf <kkaempf@xxxxxxx>
  *
- * $Id: vendor.ycp 36425 2007-02-22 17:18:14Z locilka $
+ * $Id: vendor.ycp 37769 2007-05-02 08:20:21Z locilka $
  */
 
 {
@@ -16,6 +16,19 @@
     import "Popup";
     import "StorageDevices";
     import "Wizard";
+    import "GetInstArgs";
+    import "Mode";
+    import "CommandLine";
+
+    // Bugzilla #269911, CommanLine "support"
+    // argmap is only a map, CommandLine uses string parameters
+    if (size (GetInstArgs::argmap()) == 0 && size (WFM::Args()) > 0) {
+        Mode::SetUI ("commandline");
+        y2milestone ("Mode CommandLine not supported, exiting...");
+        // TRANSLATORS: error message - the module does not provide command line interface
+        CommandLine::Print(_("There is no user interface available for this module."));
+        return `auto;
+    }
 
     // display message if the CD seems to be wrong
 
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-add-on-2.15.6/VERSION new/yast2-add-on-2.15.7/VERSION
--- old/yast2-add-on-2.15.6/VERSION     2007-03-30 13:54:57.000000000 +0200
+++ new/yast2-add-on-2.15.7/VERSION     2007-05-02 10:18:55.000000000 +0200
@@ -1 +1 @@
-2.15.6
+2.15.7


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



Remember to have fun...

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

< Previous Next >
This Thread