Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2023-08-16 14:16:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and      /work/SRC/openSUSE:Factory/.linuxrc.new.11712 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "linuxrc"

Wed Aug 16 14:16:35 2023 rev:316 rq:1104022 version:9.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2023-07-06 
18:28:32.503097429 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new.11712/linuxrc.changes       
2023-08-16 14:16:51.194875427 +0200
@@ -1,0 +2,21 @@
+Mon Aug 14 17:11:28 UTC 2023 - [email protected]
+
+- merge gh#openSUSE/linuxrc#325
+- use extended shell pattern matching for 'descr' and 'url' parameters
+- don't crash if 'quiet' url parameter has no value
+- add 'auto' query parameter to 'slp' url scheme (bsc#1213531)
+- 9.1
+
+--------------------------------------------------------------------
+Mon Aug 14 13:11:56 UTC 2023 - [email protected]
+
+- merge gh#openSUSE/linuxrc#324
+- fix length of service type list field in SLP request (bsc#1213683)
+
+--------------------------------------------------------------------
+Wed Aug 9 13:41:24 UTC 2023 - [email protected]
+
+- merge gh#openSUSE/linuxrc#229
+- Fix syntax inconsistency filename::key
+
+--------------------------------------------------------------------

Old:
----
  linuxrc-9.0.tar.xz

New:
----
  linuxrc-9.1.tar.xz

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

Other differences:
------------------
++++++ linuxrc.spec ++++++
--- /var/tmp/diff_new_pack.x64TMB/_old  2023-08-16 14:16:51.918880496 +0200
+++ /var/tmp/diff_new_pack.x64TMB/_new  2023-08-16 14:16:51.922880523 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           linuxrc
-Version:        9.0
+Version:        9.1
 Release:        0
 Summary:        SUSE Installation Program
 License:        GPL-3.0+

++++++ linuxrc-9.0.tar.xz -> linuxrc-9.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-9.0/VERSION new/linuxrc-9.1/VERSION
--- old/linuxrc-9.0/VERSION     2023-07-05 16:15:18.000000000 +0200
+++ new/linuxrc-9.1/VERSION     2023-08-14 19:11:28.000000000 +0200
@@ -1 +1 @@
-9.0
+9.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-9.0/changelog new/linuxrc-9.1/changelog
--- old/linuxrc-9.0/changelog   2023-07-05 16:15:18.000000000 +0200
+++ new/linuxrc-9.1/changelog   2023-08-14 19:11:28.000000000 +0200
@@ -1,3 +1,13 @@
+2023-08-14:    9.1
+       - merge gh#openSUSE/linuxrc#229
+       - Fix syntax inconsistency filename::key
+       - merge gh#openSUSE/linuxrc#324
+       - fix length of service type list field in SLP request (bsc#1213683)
+       - add 'auto' query parameter to 'slp' url scheme (bsc#1213531)
+       - merge gh#openSUSE/linuxrc#325
+       - use extended shell pattern matching for 'descr' and 'url' parameters
+       - don't crash if 'quiet' url parameter has no value
+
 2023-07-05:    9.0
        - merge gh#openSUSE/linuxrc#321
        - adjust code to updated libhd API
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-9.0/linuxrc_hostname.md 
new/linuxrc-9.1/linuxrc_hostname.md
--- old/linuxrc-9.0/linuxrc_hostname.md 2023-07-05 16:15:18.000000000 +0200
+++ new/linuxrc-9.1/linuxrc_hostname.md 2023-08-14 19:11:28.000000000 +0200
@@ -18,7 +18,7 @@
 
 ## If `ifcfg=*=dhcp` is used
 
-- `linuxrc` writes `/etc/sysconfig/network/dhcp:DHCLIENT_SET_HOSTNAME="yes"`
+- `linuxrc` writes `/etc/sysconfig/network/dhcp::DHCLIENT_SET_HOSTNAME="yes"`
 
 ## If `hostname` boot option is used
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-9.0/slp.c new/linuxrc-9.1/slp.c
--- old/linuxrc-9.0/slp.c       2023-07-05 16:15:18.000000000 +0200
+++ new/linuxrc-9.1/slp.c       2023-08-14 19:11:28.000000000 +0200
@@ -230,12 +230,25 @@
   bp = sendbuf + 16;
   *bp++ = 0;
   *bp++ = 0;   /* prlistlen */
-  memcpy(bp, "\000\024service:", sizeof "\000\024service:" - 1);
-  bp += sizeof "\000\024service:" - 1;
+
+  /*
+   * Format note: each string (strings are not 0-terminated) is preceded by
+   * a 16-bit big-endian encoded length.
+   */
+
+  /* Get service name, use default if not set */
   sl = slist_getentry(url->query, "service");
   service = sl ? sl->value : "install.suse";
+
+  *(bp++) = 0x00;
+  *(bp++) = strlen(service) + sizeof "service:" - 1;
+
+  memcpy(bp, "service:", sizeof "service:" - 1);
+  bp += sizeof "service:" - 1;
+
   memcpy(bp, service, strlen(service));
   bp += strlen(service);
+
   memcpy(bp, "\000\007default", 7 + 2);
   bp += 7 + 2;
 
@@ -459,6 +472,10 @@
   set_activate_language(config.language);
   if(!config.win) util_disp_init();
   *urlbuf = 0;
+  int select_first = 0;
+  if((sl = slist_getentry(url->query, "auto"))) {
+    select_first = sl->value ? strtoul(sl->value, NULL, 0) : 1;
+  }
   for (;;)
     {
       sl = slist_getentry(url->query, "descr");
@@ -466,7 +483,7 @@
 
       while(1) {
         for(i = acnt = 0; i < urlcnt; i++) {
-          if(key && fnmatch(key, descs[i], FNM_CASEFOLD)) continue;
+          if(key && fnmatch(key, descs[i], FNM_EXTMATCH + FNM_CASEFOLD)) 
continue;
           if(acnt == 0 || strcmp(descs[i], ambg[acnt - 1])) {
             ambg[acnt++] = descs[i];
           }
@@ -476,6 +493,8 @@
         str_copy(&key, NULL);
       }
 
+      if(select_first && acnt > 1) acnt = 1;
+
       i = acnt == 1 && !config.manual ? 1 : dia_list("Choose an installation 
source", 70, NULL, ambg, 0, align_left);
       if (i <= 0 || i > acnt)
        break;
@@ -486,7 +505,7 @@
 
       while(1) {
         for(i = acnt = 0; i < urlcnt; i++) {
-          if(key && fnmatch(key, urls[i], FNM_CASEFOLD)) continue;
+          if(key && fnmatch(key, urls[i], FNM_EXTMATCH + FNM_CASEFOLD)) 
continue;
           if(!strcmp(descs[i], d)) {
             ambg[acnt++] = urls[i];
           }
@@ -498,6 +517,8 @@
 
       if(acnt == 0) break;
 
+      if(select_first && acnt > 1) acnt = 1;
+
       i = acnt == 1 ? 1 : dia_list("Choose an installation source", 70, NULL, 
ambg, 0, align_left);
 
       if (i > 0 && i - 1 < acnt)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-9.0/url.c new/linuxrc-9.1/url.c
--- old/linuxrc-9.0/url.c       2023-07-05 16:15:18.000000000 +0200
+++ new/linuxrc-9.1/url.c       2023-08-14 19:11:28.000000000 +0200
@@ -627,7 +627,7 @@
   }
 
   if((sl = slist_getentry(url->query, "quiet"))) {
-    url->quiet = strtoul(sl->value, NULL, 0);
+    url->quiet = sl->value ? strtoul(sl->value, NULL, 0) : 1;
   }
 
   url->is.mountable = url_is_mountable(url->scheme);
@@ -891,7 +891,7 @@
 
   for(sl = url->query; sl; sl = sl->next) {
     // skip parameters handled by linuxrc
-    
if(fnmatch("@(device|instsys|list|type|all|quiet|label|service|descr|proxy*)", 
sl->key, FNM_EXTMATCH)) {
+    
if(fnmatch("@(device|instsys|list|type|all|quiet|label|service|descr|proxy*|url|auto)",
 sl->key, FNM_EXTMATCH)) {
       strprintf(buf, "%s%c%s=%s", *buf, n++ ? '&' : '?', sl->key, sl->value);
     }
   }

Reply via email to