openSUSE Commits
Threads by month
- ----- 2025 -----
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
December 2018
- 1 participants
- 2073 discussions
Hello community,
here is the log from the commit of package libstorage-ng for openSUSE:Factory checked in at 2018-12-31 09:45:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libstorage-ng (Old)
and /work/SRC/openSUSE:Factory/.libstorage-ng.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libstorage-ng"
Mon Dec 31 09:45:23 2018 rev:36 rq:660363 version:4.1.74
Changes:
--------
--- /work/SRC/openSUSE:Factory/libstorage-ng/libstorage-ng.changes 2018-11-10 16:48:28.900561320 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage-ng.new.28833/libstorage-ng.changes 2018-12-31 09:45:25.326264113 +0100
@@ -1,0 +2,225 @@
+Wed Dec 19 13:13:44 UTC 2018 - opensuse-packaging(a)opensuse.org
+
+- Translated using Weblate (Portuguese (Brazil))
+- 4.1.74
+
+--------------------------------------------------------------------
+Mon Dec 10 10:17:30 UTC 2018 - opensuse-packaging(a)opensuse.org
+
+- merge gh#openSUSE/libstorage-ng#602
+- merge gh#openSUSE/libstorage-ng#601
+- merge gh#openSUSE/libstorage-ng#600
+- merge gh#openSUSE/libstorage-ng#599
+- use exceptions to handle errors
+- Create crypttab with proper permissions (bsc#1059972)
+- Create lock with proper permissions (bsc#1059972)
+- Create log file with proper permissions (bsc#1059972)
+- Add missing quoting (bsc#1059972)
+- Improvements from review
+- Backport: Fix audit issues
+- avoid thread unsafe strerror function
+- Backport: avoid thread unsafe strerror function
+- Merge SLE-15-GA
+- 4.1.73
+
+--------------------------------------------------------------------
+Sat Dec 8 15:29:26 UTC 2018 - opensuse-packaging(a)opensuse.org
+
+- Translated using Weblate (German)
+- 4.1.72
+
+--------------------------------------------------------------------
+Wed Dec 5 11:08:15 UTC 2018 - aschnell(a)suse.com
+
+- merge gh#openSUSE/libstorage-ng#598
+- avoid thread unsafe strerror function
+- 4.1.71
+
+--------------------------------------------------------------------
+Wed Dec 5 09:30:06 UTC 2018 - opensuse-packaging(a)opensuse.org
+
+- merge gh#openSUSE/libstorage-ng#597
+- Create crypttab with proper permissions (bsc#1059972)
+- Create lock with proper permissions (bsc#1059972)
+- Create log file with proper permissions (bsc#1059972)
+- Add missing quoting (bsc#1059972)
+- Improvements from review
+- Fix audit issues
+- 4.1.70
+
+--------------------------------------------------------------------
+Sun Dec 2 19:01:01 UTC 2018 - opensuse-packaging(a)opensuse.org
+
+- Translated using Weblate (Finnish)
+- 4.1.69
+
+--------------------------------------------------------------------
+Sun Dec 2 02:22:39 UTC 2018 - opensuse-packaging(a)opensuse.org
+
+- Translated using Weblate (Chinese (China))
+- 4.1.68
+
+--------------------------------------------------------------------
+Fri Nov 30 20:43:03 UTC 2018 - opensuse-packaging(a)opensuse.org
+
+- Translated using Weblate (Spanish)
+- 4.1.67
+
+--------------------------------------------------------------------
+Wed Nov 28 17:44:54 UTC 2018 - opensuse-packaging(a)opensuse.org
+
+- Translated using Weblate (Italian)
+- 4.1.66
+
+--------------------------------------------------------------------
+Wed Nov 28 17:39:28 UTC 2018 - opensuse-packaging(a)opensuse.org
+
+- Translated using Weblate (Italian)
+- 4.1.65
+
+--------------------------------------------------------------------
+Sun Nov 25 19:00:30 UTC 2018 - opensuse-packaging(a)opensuse.org
+
+- Translated using Weblate (Slovak)
+- 4.1.64
+
+--------------------------------------------------------------------
+Sat Nov 24 16:43:33 UTC 2018 - opensuse-packaging(a)opensuse.org
+
+- Translated using Weblate (Slovak)
+- 4.1.63
+
+--------------------------------------------------------------------
+Sat Nov 24 08:37:11 UTC 2018 - antoine.belvire(a)opensuse.org
+
+- Translated using Weblate (French)
+- 4.1.62
+
+--------------------------------------------------------------------
+Sat Nov 24 08:22:52 UTC 2018 - opensuse-packaging(a)opensuse.org
+
+- Translated using Weblate (Czech)
+
+--------------------------------------------------------------------
+Fri Nov 23 23:55:42 UTC 2018 - opensuse-packaging(a)opensuse.org
+
+- Translated using Weblate (Japanese)
+- 4.1.61
+
+--------------------------------------------------------------------
+Fri Nov 23 17:35:40 UTC 2018 - freek(a)opensuse.org
+
+- Translated using Weblate (Dutch)
+- 4.1.60
+
+--------------------------------------------------------------------
+Fri Nov 23 13:58:24 UTC 2018 - opensuse-packaging(a)opensuse.org
+
+- Translated using Weblate (Portuguese (Brazil))
+- 4.1.59
+
+--------------------------------------------------------------------
+Fri Nov 23 13:37:38 UTC 2018 - opensuse-packaging(a)opensuse.org
+
+- Translated using Weblate (Catalan)
+- 4.1.58
+
+--------------------------------------------------------------------
+Fri Nov 23 13:27:11 UTC 2018 - aschnell(a)suse.com
+
+- merge gh#openSUSE/libstorage-ng#596
+- updated pot and po files
+
+--------------------------------------------------------------------
+Fri Nov 23 13:11:18 UTC 2018 - aschnell(a)suse.com
+
+- merge gh#openSUSE/libstorage-ng#595
+- improved sformat to be type safe and handle Text properly
+- properly translate partition type texts
+- properly translate devices size texts
+- removed now obsolete c_str calls
+- added comment for translators
+- reduce format warning level
+- fixed typo
+- 4.1.57
+
+--------------------------------------------------------------------
+Fri Nov 23 11:55:36 UTC 2018 - opensuse-packaging(a)opensuse.org
+
+- Translated using Weblate (Portuguese (Brazil))
+
+--------------------------------------------------------------------
+Wed Nov 21 14:41:14 UTC 2018 - opensuse-packaging(a)opensuse.org
+
+- Translated using Weblate (Italian)
+- 4.1.56
+
+--------------------------------------------------------------------
+Wed Nov 21 11:05:52 UTC 2018 - opensuse-packaging(a)opensuse.org
+
+- Translated using Weblate (Italian)
+
+--------------------------------------------------------------------
+Thu Nov 15 14:13:56 UTC 2018 - opensuse-packaging(a)opensuse.org
+
+- Translated using Weblate (German)
+
+--------------------------------------------------------------------
+Thu Nov 15 13:25:44 UTC 2018 - aschnell(a)suse.com
+
+- merge gh#openSUSE/libstorage-ng#594
+- use exceptions to handle errors
+
+--------------------------------------------------------------------
+Wed Nov 14 13:14:53 UTC 2018 - aschnell(a)suse.com
+
+- merge gh#openSUSE/libstorage-ng#593
+- added support to create udf (fate#312911)
+- added integration test
+- increased so patch number
+- handle block size in max_size for udf
+
+--------------------------------------------------------------------
+Tue Nov 13 09:55:06 UTC 2018 - aschnell(a)suse.com
+
+- merge gh#openSUSE/libstorage-ng#592
+- added comments for translators
+
+--------------------------------------------------------------------
+Sat Nov 10 16:18:01 UTC 2018 - opensuse-packaging(a)opensuse.org
+
+- Translated using Weblate (Slovak)
+
+--------------------------------------------------------------------
+Sat Nov 10 16:11:04 UTC 2018 - opensuse-packaging(a)opensuse.org
+
+- Translated using Weblate (Slovak)
+
++++ 28 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/libstorage-ng/libstorage-ng.changes
++++ and /work/SRC/openSUSE:Factory/.libstorage-ng.new.28833/libstorage-ng.changes
Old:
----
libstorage-ng-4.1.54.tar.xz
New:
----
libstorage-ng-4.1.74.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libstorage-ng.spec ++++++
--- /var/tmp/diff_new_pack.oMzFmh/_old 2018-12-31 09:45:25.702263804 +0100
+++ /var/tmp/diff_new_pack.oMzFmh/_new 2018-12-31 09:45:25.702263804 +0100
@@ -18,7 +18,7 @@
%define libname %{name}1
Name: libstorage-ng
-Version: 4.1.54
+Version: 4.1.74
Release: 0
Summary: Library for storage management
License: GPL-2.0-only
++++++ libstorage-ng-4.1.54.tar.xz -> libstorage-ng-4.1.74.tar.xz ++++++
++++ 17388 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package yast2-theme for openSUSE:Factory checked in at 2018-12-31 09:45:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-theme (Old)
and /work/SRC/openSUSE:Factory/.yast2-theme.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-theme"
Mon Dec 31 09:45:17 2018 rev:161 rq:660292 version:4.1.8
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-theme/yast2-theme.changes 2018-11-10 16:49:39.212472215 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-theme.new.28833/yast2-theme.changes 2018-12-31 09:45:21.142267542 +0100
@@ -1,0 +2,19 @@
+Thu Dec 20 14:39:51 CET 2018 - schubi(a)suse.de
+
+- Added pattern-public-cloud.svg icon for public cloud
+ (bsc#1119961).
+- 4.1.8
+
+-------------------------------------------------------------------
+Tue Nov 27 22:10:23 UTC 2018 - Stasiek Michalski <hellcp(a)mailbox.org>
+
+- Install via rake (boo#1108422)
+- 4.1.7
+
+-------------------------------------------------------------------
+Mon Nov 26 12:22:00 UTC 2018 - Stasiek Michalski <hellcp(a)mailbox.org>
+
+- Provide icon with module (boo#1109310)
+- 4.1.6
+
+-------------------------------------------------------------------
Old:
----
yast2-theme-4.1.5.tar.bz2
New:
----
yast2-theme-4.1.8.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-theme.spec ++++++
--- /var/tmp/diff_new_pack.zWwOLx/_old 2018-12-31 09:45:21.678267102 +0100
+++ /var/tmp/diff_new_pack.zWwOLx/_new 2018-12-31 09:45:21.678267102 +0100
@@ -16,322 +16,112 @@
#
-# YaST Oxygen icons maintained by Martin Schlander <martin.schlander () gmail ! com>
-
Name: yast2-theme
-Version: 4.1.5
+Version: 4.1.8
Release: 0
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.bz2
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
BuildRequires: pkg-config
BuildRequires: update-desktop-files
-BuildRequires: yast2-devtools >= 3.1.10
+BuildRequires: yast2-devtools
+BuildRequires: rubygem(yast-rake)
%if 0%{?is_opensuse}
+BuildRequires: oxygen5-icon-theme
BuildRequires: yast2-qt-branding-openSUSE
%endif
-BuildArch: noarch
-Summary: YaST2 - Theme
-License: GPL-2.0-only
-Group: System/YaST
-Url: http://github.com/yast/yast-theme
-%description
-Contains the SUSE Linux theme for YaST2.
+Requires: hicolor-icon-theme
-%if 0%{?is_opensuse}
-%package -n yast2-branding-openSUSE
-Summary: YaST2 - Theme (openSUSE)
-Group: System/YaST
Provides: yast2-branding = %{version}
+Provides: yast2-theme = %{version}
Provides: yast2_theme = %{version}
-Conflicts: otherproviders(yast2-branding)
-Supplements: packageand(yast2:branding-openSUSE)
-Conflicts: yast2-theme-SLE
-PreReq: /bin/ln
-Requires: hicolor-icon-theme
-Obsoletes: yast2-theme-openSUSE < %{version}
-Obsoletes: yast2-theme-openSUSE-Crystal < %{version}
-Provides: yast2-theme-openSUSE = %{version}
-%description -n yast2-branding-openSUSE
-This package contains the openSUSE theme for YaST2.
+Conflicts: otherproviders(yast2-branding)
+Conflicts: otherproviders(yast2-theme)
+Conflicts: otherproviders(yast2_theme)
+Obsoletes: yast2-branding-openSUSE
+Obsoletes: yast2-theme < %{version}
+Obsoletes: yast2-theme-SLE
+Obsoletes: yast2-theme-openSUSE
+Obsoletes: yast2-theme-openSUSE-Crystal < %{version}
-%package -n yast2-branding-openSUSE-Oxygen
-Summary: YaST2 - switcher into Oxygen icon theme
+BuildArch: noarch
+Summary: YaST2 - Theme
+License: GPL-2.0-only
Group: System/YaST
-Supplements: packageand(yast2:plasma5-session)
-PreReq: /bin/ln
-PreReq: yast2-branding-openSUSE = %{version}
-Conflicts: yast2-theme-SLE
-Provides: yast2-theme-openSUSE-Oxygen = %{version}
-Obsoletes: yast2-theme-openSUSE-Oxygen < %{version}
-
-%description -n yast2-branding-openSUSE-Oxygen
-After installing this package, symbolic link for "current" theme
-will be changed "Oxygen". This package does not contains icons
-of the openSUSE theme for YaST2. Icons itself exist in
-yast2-branding-openSUSE package.
+Url: http://github.com/yast/yast-theme
+%description
+Contains necessary theming resources to use YaST2.
-%else
-%package SLE
-Summary: YaST2 - SLE Theme
+%if 0%{?is_opensuse}
+%package oxygen
+Summary: YaST2 - Oxygen icon theme
Group: System/YaST
-Provides: yast2_theme = %{version}
-Conflicts: yast2-theme-openSUSE
-Conflicts: yast2-theme-openSUSE-Oxygen
-Conflicts: yast2-branding-openSUSE
-Conflicts: yast2-branding-openSUSE-Oxygen
-Obsoletes: yast2-branding-openSUSE
-Obsoletes: yast2-branding-openSUSE-Oxygen
-PreReq: /bin/ln
+Supplements: (yast2-theme and oxygen5-icon-theme)
+PreReq: yast2-branding = %{version}
+Requires: oxygen5-icon-theme
+Provides: yast2-theme-oxygen = %{version}
+Obsoletes: yast2-theme-openSUSE-Oxygen < %{version}
+Obsoletes: yast2-theme-oxygen < %{version}
-%description SLE
-This package contains the YaST2 theme for the SUSE Linux Enterprise
-Family.
+%description oxygen
+Contains icons in KDE Oxygen style (from KDE Plasma 4).
%endif
%prep
%setup -n %{name}-%{version}
%build
-%yast_build
%install
-%yast_install
+rake install DESTDIR=%{buildroot}
+# Distro specific config (should be moved to distro specific branding packages!)
+mkdir -p %{buildroot}/etc/icewm/
%if 0%{?is_opensuse}
-rm -rf $RPM_BUILD_ROOT/%{yast_themedir}/SLE
-mv $RPM_BUILD_ROOT%{yast_themedir}/openSUSE $RPM_BUILD_ROOT%{yast_themedir}/current
-
-# let's take hicolor icons for yast
-ln -s /usr/share/icons/hicolor $RPM_BUILD_ROOT%{yast_themedir}/current/icons
-
-# install opensuse icewm style
-mkdir -p $RPM_BUILD_ROOT/etc/icewm/
-cp openSUSE/wmconfig/* $RPM_BUILD_ROOT/etc/icewm/
-
-cp -R "$RPM_BUILD_ROOT/%{yast_docdir}" "$RPM_BUILD_ROOT/%{yast_docdir}-openSUSE"
-rm -rf "$RPM_BUILD_ROOT/%{yast_docdir}"
-mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/yast2-theme/
-echo 'This file marks the package yast2-branding-openSUSE-Oxygen to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/yast2-theme/yast2-branding-openSUSE-Oxygen.txt
-
+mv %{buildroot}%{yast_themedir}/openSUSE %{buildroot}%{yast_themedir}/current
+cp theme/openSUSE/wmconfig/* %{buildroot}/etc/icewm/
%else
-# install SLE icewm style
-mkdir -p $RPM_BUILD_ROOT/etc/icewm/
-cp SLE/wmconfig/* $RPM_BUILD_ROOT/etc/icewm/
-
-rm -rf $RPM_BUILD_ROOT/%{yast_themedir}/openSUSE*
-rm -rf "$RPM_BUILD_ROOT/%{yast_docdir}"
-rm -rf "$RPM_BUILD_ROOT/%{_docdir}/yast2-theme"
-
-mv $RPM_BUILD_ROOT%{yast_themedir}/SLE $RPM_BUILD_ROOT%{yast_themedir}/current
-
-# let's take hicolor icons for yast
-ln -s /usr/share/icons/hicolor $RPM_BUILD_ROOT%{yast_themedir}/current/icons
-
-# remove unneeded icons
-pushd $RPM_BUILD_ROOT/usr/share/icons/hicolor
-rm -rf 256x256
-rm 16x16/apps/pattern-enlightenment.png
-rm 16x16/apps/pattern-lxde.png
-rm 16x16/apps/yast-gray-dot.png
-rm 16x16/apps/yast-green-dot.png
-rm 16x16/apps/yast-red-dot.png
-rm 16x16/apps/yast-yellow-dot.png
-rm 22x22/apps/pattern-enlightenment.png
-rm 22x22/apps/pattern-lxde.png
-rm 22x22/apps/yast-gray-dot.png
-rm 22x22/apps/yast-green-dot.png
-rm 22x22/apps/yast-red-dot.png
-rm 22x22/apps/yast-yellow-dot.png
-rm 32x32/apps/pattern-enlightenment.png
-rm 32x32/apps/pattern-lxde.png
-rm 48x48/apps/pattern-enlightenment.png
-rm 48x48/apps/pattern-lxde.png
-rm 48x48/apps/yast-gray-dot.png
-rm 48x48/apps/yast-green-dot.png
-rm 48x48/apps/yast-red-dot.png
-rm 48x48/apps/yast-yellow-dot.png
-rm 64x64/apps/apparmor_app_armor.png
-rm 64x64/apps/bootdisk_create.png
-rm 64x64/apps/defaultgroup.png
-rm 64x64/apps/gnome.png
-rm 64x64/apps/kde.png
-rm 64x64/apps/keyboardlayout.png
-rm 64x64/apps/ktip.png
-rm 64x64/apps/msg_error.png
-rm 64x64/apps/msg_info.png
-rm 64x64/apps/msg_warning.png
-rm 64x64/apps/pattern-enlightenment.png
-rm 64x64/apps/pattern-lxde.png
-rm 64x64/apps/pixie.png
-rm 64x64/apps/printer2.png
-rm 64x64/apps/route.png
-rm 64x64/apps/samba_setup.png
-rm 64x64/apps/SuSEmenu.png
-rm 64x64/apps/system.png
-rm 64x64/apps/tdsl.png
-rm 64x64/apps/user_add.png
-rm 64x64/apps/user_system.png
-rm 64x64/apps/www.png
-rm 64x64/apps/yast-addon.png
-rm 64x64/apps/yast-autoyast.png
-rm 64x64/apps/yast-backup.png
-rm 64x64/apps/yast-bluetooth.png
-rm 64x64/apps/yast-bootloader.png
-rm 64x64/apps/yast-ca_mgm.png
-rm 64x64/apps/yast-cd-creator.png
-rm 64x64/apps/yast-cd_update.png
-rm 64x64/apps/yast-checkmedia.png
-rm 64x64/apps/yast-common_cert.png
-rm 64x64/apps/yast-controller.png
-rm 64x64/apps/yast-create-new-vm.png
-rm 64x64/apps/yast-dasd.png
-rm 64x64/apps/yast-dhcp-server.png
-rm 64x64/apps/yast-disk.png
-rm 64x64/apps/yast-dns.png
-rm 64x64/apps/yast-dns-server.png
-rm 64x64/apps/yast-dsl.png
-rm 64x64/apps/yast-firewall.png
-rm 64x64/apps/yast-ftp.png
-rm 64x64/apps/yast-hardware.png
-rm 64x64/apps/yast-heartbeat.png
-rm 64x64/apps/yast-high_availability.png
-rm 64x64/apps/yast-host.png
-rm 64x64/apps/yast-http-server.png
-rm 64x64/apps/yast-hwinfo.png
-rm 64x64/apps/yast-inetd.png
-rm 64x64/apps/yast-inst-mode.png
-rm 64x64/apps/yast-instserver.png
-rm 64x64/apps/yast-iscsi-client.png
-rm 64x64/apps/yast-iscsi-server.png
-rm 64x64/apps/yast-isdn.png
-rm 64x64/apps/yast-isns.png
-rm 64x64/apps/yast-joystick.png
-rm 64x64/apps/yast-kdump.png
-rm 64x64/apps/yast-kerberos.png
-rm 64x64/apps/yast-keyboard.png
-rm 64x64/apps/yast-kiwi.png
-rm 64x64/apps/yast-lan.png
-rm 64x64/apps/yast-ldap-browser.png
-rm 64x64/apps/yast-ldap.png
-rm 64x64/apps/yast-ldap-server.png
-rm 64x64/apps/yast-license.png
-rm 64x64/apps/yast-live-install.png
-rm 64x64/apps/yast-lvm_config.png
-rm 64x64/apps/yast-mail.png
-rm 64x64/apps/yast-mail-server.png
-rm 64x64/apps/yast-messages.png
-rm 64x64/apps/yast-misc.png
-rm 64x64/apps/yast-mouse.png
-rm 64x64/apps/yast-network_devices.png
-rm 64x64/apps/yast-network.png
-rm 64x64/apps/yast-network_services.png
-rm 64x64/apps/yast-nfs.png
-rm 64x64/apps/yast-nfs_server.png
-rm 64x64/apps/yast-nis.png
-rm 64x64/apps/yast-nis_server.png
-rm 64x64/apps/yast-ntp-client.png
-rm 64x64/apps/yast-online_update.png
-rm 64x64/apps/yast-powertweak.png
-rm 64x64/apps/yast-printer.png
-rm 64x64/apps/yast-product-registration.png
-rm 64x64/apps/yast-proxy.png
-rm 64x64/apps/yast-release-notes.png
-rm 64x64/apps/yast-remote.png
-rm 64x64/apps/yast-restore.png
-rm 64x64/apps/yast-routing.png
-rm 64x64/apps/yast-samba-client.png
-rm 64x64/apps/yast-samba-server.png
-rm 64x64/apps/yast-scanner.png
-rm 64x64/apps/yast-security.png
-rm 64x64/apps/yast-slp-server.png
-rm 64x64/apps/yast-software.png
-rm 64x64/apps/yast-sound.png
-rm 64x64/apps/yast_source.png
-rm 64x64/apps/yast-ssh-server.png
-rm 64x64/apps/yast-sudoers.png
-rm 64x64/apps/yast-support.png
-rm 64x64/apps/yast-sw_single.png
-rm 64x64/apps/yast-sw_source.png
-rm 64x64/apps/yast-sysconfig.png
-rm 64x64/apps/yast-system.png
-rm 64x64/apps/yast-tftp-server.png
-rm 64x64/apps/yast-timezone.png
-rm 64x64/apps/yast-tv.png
-rm 64x64/apps/yast-uml.png
-rm 64x64/apps/yast-update.png
-rm 64x64/apps/yast-vdisk.png
-rm 64x64/apps/yast-vendor.png
-rm 64x64/apps/yast-virtualisation.png
-rm 64x64/apps/yast-vm-domain0-setup.png
-rm 64x64/apps/yast-vm-install.png
-rm 64x64/apps/yast-vm-management.png
-rm 64x64/apps/yast-wol.png
-rm 64x64/apps/yast-x11.png
-rm 64x64/apps/yast-yast-language.png
-rm 64x64/apps/yast-zfcp.png
-
-popd
-
-# remove KDE icons - they are incomplete and only interesting for openSUSE
-rm -rf $RPM_BUILD_ROOT/usr/share/icons/{crystal,oxygen}
+mv %{buildroot}%{yast_themedir}/SLE %{buildroot}%{yast_themedir}/current
+cp theme/SLE/wmconfig/* %{buildroot}/etc/icewm/
+# SLE doesn't have oxygen5-icon-theme
+rm -rf %{buildroot}%{yast_icondir}/oxygen
%endif
-%fdupes $RPM_BUILD_ROOT%{yast_themedir}
-%fdupes $RPM_BUILD_ROOT/usr/share/icons
+# We only need current theme
+rm -rf %{buildroot}%{yast_themedir}/SLE %{buildroot}%{yast_themedir}/openSUSE
-%if 0%{?is_opensuse}
+# Clean out duplicates
+%fdupes %{buildroot}%{yast_themedir}
+%fdupes %{buildroot}%{yast_icondir}
-# ../current/icons is a directory in older versions of yast2-branding-openSUSE.
-# While update via cpio this directory cannot be overwritten by a link with the same name.
-# This link is provided by the newer versions of yast2-branding-openSUSE. So we have to remove
-# the parent directory which is also a link before installing the new package.
-%pre -n yast2-branding-openSUSE
+%pre
+# CPIO can't remove links on its own
if test -L %{yast_themedir}/current ; then
rm %{yast_themedir}/current
fi
-
-%post -n yast2-branding-openSUSE-Oxygen
+# No longer used
if test -L %{yast_themedir}/current/icons ; then
rm %{yast_themedir}/current/icons
fi
-ln -s /usr/share/icons/oxygen %{yast_themedir}/current/icons
-%postun -n yast2-branding-openSUSE-Oxygen
-# yast2-branding-openSUSE is still there, so we have to reset the link to higcolor
-if test -L %{yast_themedir}/current/icons ; then
- rm %{yast_themedir}/current/icons
-fi
-ln -s /usr/share/icons/hicolor %{yast_themedir}/current/icons
-
-%files -n yast2-branding-openSUSE
+%files
%defattr(-,root,root)
%dir %{yast_themedir}
%{yast_themedir}/current
%config %{_sysconfdir}/icewm
-/usr/share/icons/*
-%doc %{yast_docdir}-openSUSE
+%{yast_icondir}/hicolor/*
+%doc %{yast_docdir}
%license COPYING
-%files -n yast2-branding-openSUSE-Oxygen
-%dir /usr/share/doc/packages/yast2-theme/
-/usr/share/doc/packages/yast2-theme/yast2-branding-openSUSE-Oxygen.txt
-
-%else
-
-%files SLE
-%defattr(-,root,root)
-%dir %{yast_themedir}
-%{yast_themedir}/current
-/usr/share/icons/hicolor/*/apps/*
-%config %{_sysconfdir}/icewm
+%if 0%{?is_opensuse}
+%files oxygen
+%{yast_icondir}/oxygen/*
%endif
%changelog
++++++ yast2-theme-4.1.5.tar.bz2 -> yast2-theme-4.1.8.tar.bz2 ++++++
++++ 73033 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package yast2-packager for openSUSE:Factory checked in at 2018-12-31 09:45:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-packager (Old)
and /work/SRC/openSUSE:Factory/.yast2-packager.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-packager"
Mon Dec 31 09:45:12 2018 rev:361 rq:660277 version:4.1.23
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-packager/yast2-packager.changes 2018-11-10 16:48:21.192571097 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-packager.new.28833/yast2-packager.changes 2018-12-31 09:45:14.786272751 +0100
@@ -1,0 +2,79 @@
+Mon Dec 17 16:12:37 UTC 2018 - jreidinger(a)suse.com
+
+- always use absolute path to binaries (bsc#1118291)
+- properly escape shell arguments (bsc#1118291)
+- 4.1.23
+
+-------------------------------------------------------------------
+Mon Dec 17 16:12:36 UTC 2018 - Ancor Gonzalez Sosa <ancor(a)suse.com>
+
+- If linuxrc does not provide a repo URL (parameter NOREPO), use
+ the fallback repository included in the inst-sys to get the
+ information about the products (fate#325482).
+- 4.1.22
+
+-------------------------------------------------------------------
+Sat Dec 15 13:16:11 UTC 2018 - Stasiek Michalski <hellcp(a)mailbox.org>
+
+- Add missing icons and edit current ones (boo#1109310)
+- 4.1.21
+
+-------------------------------------------------------------------
+Wed Dec 5 09:52:52 UTC 2018 - snwint(a)suse.com
+
+- remove cd:/// fallback installation URL (fate#325482)
+- 4.1.20
+
+-------------------------------------------------------------------
+Thu Nov 29 14:47:37 UTC 2018 - lslezak(a)suse.cz
+
+- We do not need yast2_theme for building this package,
+ the desktopfile icon is included in this package now
+ (related to boo#1109310)
+- 4.1.19
+
+-------------------------------------------------------------------
+Wed Nov 28 08:01:43 UTC 2018 - Noah Davis <noahadvs(a)gmail.com>
+
+- Provide icon with module (boo#1109310)
+- 4.1.18
+
+-------------------------------------------------------------------
+Wed Nov 21 10:04:59 UTC 2018 - knut.anderssen(a)suse.com
+
+- software_proposal: Added warning in case the NTP configuration
+ was modified but the package is not selected to be installed
+ (bsc#1082369)
+- 4.1.17
+
+-------------------------------------------------------------------
+Tue Nov 20 10:49:25 CET 2018 - schubi(a)suse.de
+
+- Function SelectProduct removed in order NOT to select All
+ available products (bsc#1116332).
+- 4.1.16
+
+-------------------------------------------------------------------
+Mon Nov 19 07:27:24 UTC 2018 - mfilka(a)suse.com
+
+- fate#325541
+ - disabling CD / DVD repositories according to control file setup
+- 4.1.15
+
+-------------------------------------------------------------------
+Fri Nov 16 13:29:45 UTC 2018 - lslezak(a)suse.cz
+
+- sw_single_wrapper: fixed invalid variable reset causing a
+ possible command injection vulnerability via environment
+ variable (bsc#1116226)
+- 4.1.14
+
+-------------------------------------------------------------------
+Wed Nov 14 13:56:53 UTC 2018 - Stefan Hundhammer <shundhammer(a)suse.com>
+
+- Support for adding online repos during installation (bsc#1112937)
+- Added pop-up dialog to ask user first if he would like to add
+ online repos during installation and upgrade (only once)
+- 4.1.13
+
+-------------------------------------------------------------------
Old:
----
yast2-packager-4.1.12.tar.bz2
New:
----
yast2-packager-4.1.23.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-packager.spec ++++++
--- /var/tmp/diff_new_pack.0b5u5q/_old 2018-12-31 09:45:15.250272370 +0100
+++ /var/tmp/diff_new_pack.0b5u5q/_new 2018-12-31 09:45:15.250272370 +0100
@@ -17,7 +17,7 @@
Name: yast2-packager
-Version: 4.1.12
+Version: 4.1.23
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -38,9 +38,6 @@
# Y2Packager::ProductLicense
BuildRequires: yast2 >= 4.0.63
-# needed for icon for desktop file, it is verified at the end of build
-BuildRequires: yast2_theme
-
# Pkg::PrdLicenseLocales
BuildRequires: yast2-pkg-bindings >= 4.0.8
@@ -149,6 +146,7 @@
%{_datadir}/applications/*.desktop
%{yast_scrconfdir}/*
%{yast_execcompdir}/servers_non_y2/ag_*
+%{yast_icondir}
%dir %{yast_docdir}
%license COPYING
%doc %{yast_docdir}/README.md
++++++ yast2-packager-4.1.12.tar.bz2 -> yast2-packager-4.1.23.tar.bz2 ++++++
++++ 2057 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package yast2-fcoe-client for openSUSE:Factory checked in at 2018-12-31 09:45:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-fcoe-client (Old)
and /work/SRC/openSUSE:Factory/.yast2-fcoe-client.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-fcoe-client"
Mon Dec 31 09:45:06 2018 rev:50 rq:660276 version:4.1.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-fcoe-client/yast2-fcoe-client.changes 2018-09-04 22:50:57.387929862 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-fcoe-client.new.28833/yast2-fcoe-client.changes 2018-12-31 09:45:08.622277802 +0100
@@ -1,0 +2,13 @@
+Thu Dec 20 08:54:28 UTC 2018 - Josef Reidinger <jreidinger(a)suse.com>
+
+- always use absolute path to binaries (bsc#1118291)
+- properly escape shell arguments (bsc#1118291)
+- 4.1.2
+
+-------------------------------------------------------------------
+Sun Nov 25 14:04:13 UTC 2018 - Stasiek Michalski <hellcp(a)mailbox.org>
+
+- Provide icon with module (boo#1109310)
+- 4.1.1
+
+-------------------------------------------------------------------
Old:
----
yast2-fcoe-client-4.1.0.tar.bz2
New:
----
yast2-fcoe-client-4.1.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-fcoe-client.spec ++++++
--- /var/tmp/diff_new_pack.DeH7R4/_old 2018-12-31 09:45:09.130277385 +0100
+++ /var/tmp/diff_new_pack.DeH7R4/_new 2018-12-31 09:45:09.134277382 +0100
@@ -17,7 +17,7 @@
Name: yast2-fcoe-client
-Version: 4.1.0
+Version: 4.1.2
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -67,6 +67,7 @@
%dir %{yast_scrconfdir}
%{yast_scrconfdir}/*.scr
%doc %{yast_docdir}
+%{yast_icondir}
%license COPYING
%changelog
++++++ yast2-fcoe-client-4.1.0.tar.bz2 -> yast2-fcoe-client-4.1.2.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-fcoe-client-4.1.0/package/yast2-fcoe-client.changes new/yast2-fcoe-client-4.1.2/package/yast2-fcoe-client.changes
--- old/yast2-fcoe-client-4.1.0/package/yast2-fcoe-client.changes 2018-08-23 18:02:43.000000000 +0200
+++ new/yast2-fcoe-client-4.1.2/package/yast2-fcoe-client.changes 2018-12-20 13:11:12.000000000 +0100
@@ -1,4 +1,17 @@
-------------------------------------------------------------------
+Thu Dec 20 08:54:28 UTC 2018 - Josef Reidinger <jreidinger(a)suse.com>
+
+- always use absolute path to binaries (bsc#1118291)
+- properly escape shell arguments (bsc#1118291)
+- 4.1.2
+
+-------------------------------------------------------------------
+Sun Nov 25 14:04:13 UTC 2018 - Stasiek Michalski <hellcp(a)mailbox.org>
+
+- Provide icon with module (boo#1109310)
+- 4.1.1
+
+-------------------------------------------------------------------
Wed Aug 22 07:28:35 UTC 2018 - dgonzalez(a)suse.com
- Update calls to YaST2 systemd classes (related to fate#319428)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-fcoe-client-4.1.0/package/yast2-fcoe-client.spec new/yast2-fcoe-client-4.1.2/package/yast2-fcoe-client.spec
--- old/yast2-fcoe-client-4.1.0/package/yast2-fcoe-client.spec 2018-08-23 18:02:43.000000000 +0200
+++ new/yast2-fcoe-client-4.1.2/package/yast2-fcoe-client.spec 2018-12-20 13:11:12.000000000 +0100
@@ -17,7 +17,7 @@
Name: yast2-fcoe-client
-Version: 4.1.0
+Version: 4.1.2
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -66,6 +66,7 @@
%dir %{yast_scrconfdir}
%{yast_scrconfdir}/*.scr
%doc %{yast_docdir}
+%{yast_icondir}
%license COPYING
%changelog
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-fcoe-client-4.1.0/src/Makefile.am new/yast2-fcoe-client-4.1.2/src/Makefile.am
--- old/yast2-fcoe-client-4.1.0/src/Makefile.am 2018-08-23 18:02:43.000000000 +0200
+++ new/yast2-fcoe-client-4.1.2/src/Makefile.am 2018-12-20 13:11:12.000000000 +0100
@@ -24,6 +24,13 @@
desktop_DATA = \
desktop/fcoe-client.desktop
-EXTRA_DIST = $(module_DATA) $(client_DATA) $(ynclude_DATA) $(scrconf_DATA) $(desktop_DATA)
+symbolicdir = @icondir@/hicolor/symbolic/apps
+symbolic_DATA = \
+ icons/hicolor/symbolic/apps/yast-fcoe-symbolic.svg
+scalabledir = @icondir@/hicolor/scalable/apps
+scalable_DATA = \
+ icons/hicolor/scalable/apps/yast-fcoe.svg
-include $(top_srcdir)/Makefile.am.common
\ No newline at end of file
+EXTRA_DIST = $(module_DATA) $(client_DATA) $(ynclude_DATA) $(scrconf_DATA) $(desktop_DATA) $(symbolic_DATA) $(scalable_DATA)
+
+include $(top_srcdir)/Makefile.am.common
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-fcoe-client-4.1.0/src/clients/fcoe-client_auto.rb new/yast2-fcoe-client-4.1.2/src/clients/fcoe-client_auto.rb
--- old/yast2-fcoe-client-4.1.0/src/clients/fcoe-client_auto.rb 2018-08-23 18:02:43.000000000 +0200
+++ new/yast2-fcoe-client-4.1.2/src/clients/fcoe-client_auto.rb 2018-12-20 13:11:12.000000000 +0100
@@ -23,18 +23,20 @@
# Package: Configuration of fcoe-client
# Summary: Client for autoinstallation
# Authors: Gabriele Mohr <gs(a)suse.de>
-#
-#
-# This is a client for autoinstallation. It takes its arguments,
-# goes through the configuration and return the setting.
-# Does not do any changes to the configuration.
-
-# @param function to execute
-# @param map/list of fcoe-client settings
-# @return [Hash] edited settings, Summary or boolean on success depending on called function
-# @example map mm = $[ "FAIL_DELAY" : "77" ];
-# @example map ret = WFM::CallFunction ("fcoe-client_auto", [ "Summary", mm ]);
+
+require "shellwords"
+
module Yast
+ #
+ # This is a client for autoinstallation. It takes its arguments,
+ # goes through the configuration and return the setting.
+ # Does not do any changes to the configuration.
+
+ # @param function to execute
+ # @param map/list of fcoe-client settings
+ # @return [Hash] edited settings, Summary or boolean on success depending on called function
+ # @example map mm = $[ "FAIL_DELAY" : "77" ];
+ # @example map ret = WFM::CallFunction ("fcoe-client_auto", [ "Summary", mm ]);
class FcoeClientAutoClient < Client
def main
Yast.import "UI"
@@ -153,9 +155,9 @@
dev_name = card["dev_name"]
if card["fcoe_vlan"] == FcoeClient.NOT_CONFIGURED
if card["auto_vlan"] == "yes"
- command = "fipvlan -c -s -f '-fcoe' #{dev_name}"
+ command = "/usr/sbin/fipvlan -c -s -f '-fcoe' #{dev_name.shellescape}"
else
- command = "fipvlan -c -s #{dev_name}"
+ command = "/usr/sbin/fipvlan -c -s #{dev_name.shellescape}"
end
ifcfg_file = Builtins.sformat(
@@ -167,29 +169,25 @@
# call 'ifup' for the interface (creates /proc/net/vlan/<vlan-interface>)
if FileUtils.Exists(ifcfg_file)
cmd_ifup = Builtins.sformat(
- "ifup %1.%2",
- Ops.get_string(card, "dev_name", ""),
- Ops.get_string(card, "vlan_interface", "")
+ "/usr/sbin/ifup %1.%2",
+ Ops.get_string(card, "dev_name", "").shellescape,
+ Ops.get_string(card, "vlan_interface", "").shellescape
)
Builtins.y2milestone("Executing command: %1", cmd_ifup)
- output = Convert.to_map(
- SCR.Execute(path(".target.bash_output"), cmd_ifup)
- )
+ output = SCR.Execute(path(".target.bash_output"), cmd_ifup)
Builtins.y2milestone("Output: %1", output)
if Ops.get_integer(output, "exit", 255) == 0
# start FCoE
command = Builtins.sformat(
- "fipvlan -s %1",
- Ops.get_string(card, "dev_name", "")
+ "/usr/sbin/fipvlan -s %1",
+ Ops.get_string(card, "dev_name", "").shellescape
)
end
end
Builtins.y2milestone("Executing command: %1", command)
- output = Convert.to_map(
- SCR.Execute(path(".target.bash_output"), command)
- )
+ output = SCR.Execute(path(".target.bash_output"), command)
Builtins.y2milestone("Output: %1", output)
if Ops.get_integer(output, "exit", 255) != 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-fcoe-client-4.1.0/src/clients/fcoe-client_finish.rb new/yast2-fcoe-client-4.1.2/src/clients/fcoe-client_finish.rb
--- old/yast2-fcoe-client-4.1.0/src/clients/fcoe-client_finish.rb 2018-08-23 18:02:43.000000000 +0200
+++ new/yast2-fcoe-client-4.1.2/src/clients/fcoe-client_finish.rb 2018-12-20 13:11:12.000000000 +0100
@@ -28,6 +28,8 @@
# Authors:
# Gabriele Mohr <gs(a)suse.de>
#
+require "shellwords"
+
require "yast2/systemd/socket"
module Yast
@@ -76,21 +78,10 @@
if @netcards != []
Builtins.y2milestone("Copying files /etc/fcoe/* to destination")
# copy fcoe config files to destdir
+ destdir = File.join(Installation.destdir, "etc/fcoe")
WFM.Execute(
path(".local.bash"),
- Ops.add(
- Ops.add(
- Ops.add(
- Ops.add(
- "test -d /etc/fcoe/ && mkdir -p '",
- String.Quote(Installation.destdir)
- ),
- "/etc/fcoe' && cp -a /etc/fcoe/* '"
- ),
- String.Quote(Installation.destdir)
- ),
- "/etc/fcoe/'"
- )
+ "/usr/bin/test -d /etc/fcoe/ && /usr/bin/mkdir -p #{destdir.shellescape} && /usr/bin/cp -a /etc/fcoe/* #{destdir.shellescape}"
)
else
Builtins.y2milestone("Nothing to do")
@@ -111,9 +102,9 @@
Ops.get_string(card, "vlan_interface", "")
)
command = Builtins.sformat(
- "cp -a %1 '%2/etc/sysconfig/network'",
- file_name,
- String.Quote(Installation.destdir)
+ "/usr/bin/cp -a %1 %2/etc/sysconfig/network",
+ file_name.shellescape,
+ Installation.destdir.shellescape
)
Builtins.y2milestone("Executing command: %1", command)
WFM.Execute(path(".local.bash"), command)
@@ -123,9 +114,9 @@
Ops.get_string(card, "dev_name", "")
)
command = Builtins.sformat(
- "cp -a %1 '%2/etc/sysconfig/network'",
- file_name,
- String.Quote(Installation.destdir)
+ "/usr/bin/cp -a %1 %2/etc/sysconfig/network",
+ file_name.shellescape,
+ Installation.destdir.shellescape
)
Builtins.y2milestone("Executing command: %1", command)
WFM.Execute(path(".local.bash"), command)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-fcoe-client-4.1.0/src/clients/inst_fcoe-client.rb new/yast2-fcoe-client-4.1.2/src/clients/inst_fcoe-client.rb
--- old/yast2-fcoe-client-4.1.0/src/clients/inst_fcoe-client.rb 2018-08-23 18:02:43.000000000 +0200
+++ new/yast2-fcoe-client-4.1.2/src/clients/inst_fcoe-client.rb 2018-12-20 13:11:12.000000000 +0100
@@ -59,7 +59,7 @@
Builtins.y2milestone("fcoe-client module started during installation")
# create /etc/fcoe
- SCR.Execute(path(".target.bash"), "mkdir -p /etc/fcoe")
+ SCR.Execute(path(".target.bash"), "/usr/bin/mkdir -p /etc/fcoe")
# FcoeClient::CheckInstalledPackages() not needed in inst-sys
# FcoeClient::DetectStartStatus() doesn't make sense in inst-sys
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-fcoe-client-4.1.0/src/desktop/fcoe-client.desktop new/yast2-fcoe-client-4.1.2/src/desktop/fcoe-client.desktop
--- old/yast2-fcoe-client-4.1.0/src/desktop/fcoe-client.desktop 2018-08-23 18:02:43.000000000 +0200
+++ new/yast2-fcoe-client-4.1.2/src/desktop/fcoe-client.desktop 2018-12-20 13:11:12.000000000 +0100
@@ -16,7 +16,7 @@
X-SuSE-YaST-AutoInstClonable=true
X-SuSE-YaST-Keywords=fibre,channel,ethernet,network
-Icon=fcoe
+Icon=yast-fcoe
Exec=/usr/bin/xdg-su -c '/sbin/yast2 fcoe-client'
Name=FCoE Client Configuration
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-fcoe-client-4.1.0/src/icons/hicolor/scalable/apps/yast-fcoe.svg new/yast2-fcoe-client-4.1.2/src/icons/hicolor/scalable/apps/yast-fcoe.svg
--- old/yast2-fcoe-client-4.1.0/src/icons/hicolor/scalable/apps/yast-fcoe.svg 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-fcoe-client-4.1.2/src/icons/hicolor/scalable/apps/yast-fcoe.svg 2018-12-20 13:11:12.000000000 +0100
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg version="1.1" viewBox="0 0 128 128" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+<defs>
+<linearGradient id="a">
+<stop stop-color="#1a5fb4" offset="0"/>
+<stop stop-color="#1a5fb4" stop-opacity="0" offset="1"/>
+</linearGradient>
+<linearGradient id="k" x1="2" x2="30" y1="17" y2="17" gradientTransform="scale(4)" gradientUnits="userSpaceOnUse">
+<stop stop-color="#9a9996" offset="0"/>
+<stop stop-color="#c0bfbc" offset=".035714"/>
+<stop stop-color="#9a9996" offset=".071429"/>
+<stop stop-color="#9a9996" offset=".92502"/>
+<stop stop-color="#c0bfbc" offset=".96244"/>
+<stop stop-color="#9a9996" offset="1"/>
+</linearGradient>
+<radialGradient id="j" cx="16" cy="15.5" r="10" gradientTransform="matrix(4,0,0,2.6,0,25.7)" gradientUnits="userSpaceOnUse">
+<stop stop-color="#3d3846" offset="0"/>
+<stop stop-color="#241f31" offset="1"/>
+</radialGradient>
+<linearGradient id="l" x1="9" x2="9" y1="10" y2="12" gradientTransform="matrix(4,0,0,4,0,4)" gradientUnits="userSpaceOnUse">
+<stop stop-color="#e5a50a" offset="0"/>
+<stop stop-color="#f6d32d" stop-opacity="0" offset="1"/>
+</linearGradient>
+<linearGradient id="i" x1="2" x2="30" y1="16" y2="16" gradientTransform="scale(4)" gradientUnits="userSpaceOnUse">
+<stop stop-color="#deddda" offset="0"/>
+<stop stop-color="#f6f5f4" offset="1"/>
+</linearGradient>
+<linearGradient id="h" x1="8" x2="8" y1="13" y2="16" gradientTransform="scale(4)" gradientUnits="userSpaceOnUse" xlink:href="#a"/>
+<linearGradient id="g" x1="8" x2="8" y1="13" y2="16" gradientTransform="matrix(4 0 0 4 40 0)" gradientUnits="userSpaceOnUse" xlink:href="#a"/>
+<linearGradient id="c" x1="8" x2="8" y1="13" y2="16" gradientTransform="matrix(4,0,0,4,60,0)" gradientUnits="userSpaceOnUse" xlink:href="#a"/>
+<linearGradient id="b" x1="8" x2="8" y1="13" y2="16" gradientTransform="matrix(4 0 0 4 20 0)" gradientUnits="userSpaceOnUse">
+<stop stop-color="#c64600" offset="0"/>
+<stop stop-color="#c64600" stop-opacity="0" offset="1"/>
+</linearGradient>
+</defs>
+<rect x="8" y="24" width="112" height="88" ry="8" fill="url(#k)"/>
+<rect x="8" y="20" width="112" height="88" ry="8" fill="url(#i)"/>
+<path d="m24 40v44h24v8h32v-8h24v-44z" fill="url(#j)"/>
+<path d="m36 44v8h8v-8zm12 0v8h8v-8zm12 0v8h8v-8zm12 0v8h8v-8zm12 0v8h8v-8z" fill="url(#l)"/>
+<rect x="44" y="16" width="20" height="44" ry="8" fill="url(#b)"/>
+<rect x="22.072" y="88" width="12" height="8" ry="0" fill="#e5a50a"/>
+<rect x="92" y="88" width="12" height="8" ry="0" fill="#26a269"/>
+<rect x="24" y="28" width="20" height="32" ry="8" fill="url(#h)"/>
+<rect x="44" y="16" width="20" height="20" ry="8" fill="#ff7800"/>
+<rect x="24" y="28" width="20" height="20" ry="8" fill="#3584e4"/>
+<rect x="64" y="28" width="20" height="32" ry="8" fill="url(#g)"/>
+<rect x="64" y="28" width="20" height="20" ry="8" fill="#3584e4"/>
+<rect x="84" y="28" width="20" height="32" ry="8" fill="url(#c)"/>
+<rect x="84" y="28" width="20" height="20" ry="8" fill="#3584e4"/>
+</svg>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-fcoe-client-4.1.0/src/icons/hicolor/symbolic/apps/yast-fcoe-symbolic.svg new/yast2-fcoe-client-4.1.2/src/icons/hicolor/symbolic/apps/yast-fcoe-symbolic.svg
--- old/yast2-fcoe-client-4.1.0/src/icons/hicolor/symbolic/apps/yast-fcoe-symbolic.svg 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-fcoe-client-4.1.2/src/icons/hicolor/symbolic/apps/yast-fcoe-symbolic.svg 2018-12-20 13:11:12.000000000 +0100
@@ -0,0 +1,3 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16">
+ <path d="M 7 0 L 7 6 L 9 6 L 9 0 L 7 0 z M 1 1 C 0.446 1 0 1.446 0 2 L 0 12 C 0 12.554 0.44604254 12.993134 1 13 L 4 13 L 4 14 C 4 14.554 4.446 15 5 15 L 10 15 L 10 13 L 6 13 L 6 11 L 2 11 L 2 3 L 6 3 L 6 1 L 1 1 z M 10 1 L 10 3 L 14 3 L 14 10 L 16 10 L 16 2 C 16 1.446 15.554 1 15 1 L 10 1 z M 3 4 L 3 6 L 5 6 L 5 4 L 3 4 z M 11 4 L 11 6 L 13 6 L 13 4 L 11 4 z M 11 11 L 11 16 L 16 16 L 16 11 L 11 11 z M 12 12 L 13 12 L 13 13 L 14 13 L 14 12 L 15 12 L 15 14 L 14 14 L 14 15 L 13 15 L 13 14 L 12 14 L 12 12 z " fill="#c0bfbc" />
+</svg>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-fcoe-client-4.1.0/src/include/fcoe-client/complex.rb new/yast2-fcoe-client-4.1.2/src/include/fcoe-client/complex.rb
--- old/yast2-fcoe-client-4.1.0/src/include/fcoe-client/complex.rb 2018-08-23 18:02:43.000000000 +0200
+++ new/yast2-fcoe-client-4.1.2/src/include/fcoe-client/complex.rb 2018-12-20 13:11:12.000000000 +0100
@@ -24,6 +24,9 @@
# Summary: Dialogs definitions
# Authors: Gabriele Mohr <gs(a)suse.de>
#
+
+require "shellwords"
+
module Yast
module FcoeClientComplexInclude
def initialize_fcoe_client_complex(include_target)
@@ -393,9 +396,9 @@
end
if card["auto_vlan"] == "yes" || vlan_interface == "0"
- command = "fipvlan -c -s -f '-fcoe' #{dev_name}"
+ command = "/usr/sbin/fipvlan -c -s -f '-fcoe' #{dev_name.shellescape}"
else
- command = "fipvlan -c -s #{dev_name}"
+ command = "/usr/sbin/fipvlan -c -s #{dev_name.shellescape}"
end
output = {}
@@ -420,9 +423,7 @@
# execute command, e.g. 'fipvlan -c -s eth3'
Builtins.y2milestone("Executing command: %1", command)
- output = Convert.to_map(
- SCR.Execute(path(".target.bash_output"), command)
- )
+ output = SCR.Execute(path(".target.bash_output"), command)
Builtins.y2milestone("Output: %1", output)
if Ops.get_integer(output, "exit", 255) != 0
@@ -439,7 +440,7 @@
# if /etc/sysconfig/network/ifcfg-<if>.<vlan> already exists
# call 'ifup' for the interface (creates /proc/net/vlan/<if>.<vlan>)
if FileUtils.Exists(ifcfg_file)
- cmd_ifup = Builtins.sformat("ifup %1.%2", dev_name, vlan_interface)
+ cmd_ifup = Builtins.sformat("/usr/sbin/ifup %1.%2", dev_name.shellescape, vlan_interface.shellescape)
Builtins.y2milestone("Executing command: %1", cmd_ifup)
output = Convert.to_map(
SCR.Execute(path(".target.bash_output"), cmd_ifup)
@@ -448,14 +449,12 @@
if Ops.get_integer(output, "exit", 255) == 0
# only start FCoE
- command = Builtins.sformat("fipvlan -s %1", dev_name)
+ command = Builtins.sformat("/usr/sbin/fipvlan -s %1", dev_name.shellescape)
end
end
Builtins.y2milestone("Executing command: %1", command)
- output = Convert.to_map(
- SCR.Execute(path(".target.bash_output"), command)
- )
+ output = SCR.Execute(path(".target.bash_output"), command)
Builtins.y2milestone("Output: %1", output)
if Ops.get_integer(output, "exit", 255) != 0
if !FcoeClient.TestMode
@@ -505,7 +504,7 @@
# and removes the interface properly (tested on SP2 RC1)
# TODO: Retest for SLES12
FcoeClient.AddRevertCommand(
- Builtins.sformat("vconfig rem %1", fcoe_vlan_interface)
+ Builtins.sformat("/usr/sbin/vconfig rem %1", fcoe_vlan_interface.shellescape)
)
else
fcoe_vlan_interface = FcoeClient.NOT_CONFIGURED
@@ -605,19 +604,17 @@
# call fcoeadm -d <fcoe_vlan> first (bnc #719443)
command = Builtins.sformat(
- "fcoeadm -d %1",
- Ops.get_string(card, "cfg_device", "")
+ "/usr/sbin/fcoeadm -d %1",
+ Ops.get_string(card, "cfg_device", "").shellescape
)
Builtins.y2milestone("Calling %1", command)
- output = Convert.to_map(
- SCR.Execute(path(".target.bash_output"), command)
- )
+ output = SCR.Execute(path(".target.bash_output"), command)
Builtins.y2milestone("Output: %1", output)
if Ops.get_integer(output, "exit", 255) == 0 || FcoeClient.TestMode
command = Builtins.sformat(
- "vconfig rem %1",
- Ops.get_string(card, "fcoe_vlan", "")
+ "/usr/sbin/vconfig rem %1",
+ Ops.get_string(card, "fcoe_vlan", "").shellescape
)
Builtins.y2milestone("Calling %1", command)
output = Convert.to_map(
@@ -652,13 +649,11 @@
if del_cfg
command = Builtins.sformat(
- "rm /etc/fcoe/cfg-%1",
- Ops.get_string(card, "cfg_device", "")
+ "/usr/bin/rm /etc/fcoe/cfg-%1",
+ Ops.get_string(card, "cfg_device", "").shellescape
)
Builtins.y2milestone("Calling %1", command)
- output = Convert.to_map(
- SCR.Execute(path(".target.bash_output"), command)
- )
+ output = SCR.Execute(path(".target.bash_output"), command)
Builtins.y2milestone("Output: %1", output)
else
Builtins.y2milestone(
@@ -671,8 +666,8 @@
if Ops.get_string(card, "vlan_interface", "") != "0"
command = Builtins.sformat(
- "rm /etc/sysconfig/network/ifcfg-%1",
- Ops.get_string(card, "fcoe_vlan", "")
+ "/usr/bin/rm /etc/sysconfig/network/ifcfg-%1",
+ Ops.get_string(card, "fcoe_vlan", "").shellescape
)
Builtins.y2milestone("Calling %1", command)
output = Convert.to_map(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-fcoe-client-4.1.0/src/modules/FcoeClient.rb new/yast2-fcoe-client-4.1.2/src/modules/FcoeClient.rb
--- old/yast2-fcoe-client-4.1.0/src/modules/FcoeClient.rb 2018-08-23 18:02:43.000000000 +0200
+++ new/yast2-fcoe-client-4.1.2/src/modules/FcoeClient.rb 2018-12-20 13:11:12.000000000 +0100
@@ -27,6 +27,9 @@
#
# Representation of the configuration of fcoe-client.
# Input and output routines.
+
+require "shellwords"
+
require "yast"
require "yast2/systemd/socket"
@@ -100,17 +103,6 @@
# return boolean return true if abort
@AbortFunction = fun_ref(method(:Modified), "boolean ()")
- # from IscsiClientLib.ycp (line 53) - reading output
- #
- # string from_bios = ((map<string, any>)SCR::Execute(.target.bash_output, "iscsiadm -m fw"))["stdout"]:"";
- # foreach(string row, splitstring(from_bios, "\n"), {
- # list<string> key_val=splitstring(row, "=");
- # // if (size(key_val[0]:"")>0) ibft[key_val[0]:""] = key_val[1]:"";
- # string kv = String::CutBlanks(key_val[0]:"");
- # if (size(kv) > 0) ibft[kv] = String::CutBlanks(key_val[1]:"");
- # });
-
-
# Define all the variables necessary to hold
@current_card = 0 # currently selected card, means row in list of cards
@@ -461,15 +453,13 @@
def GetFcoeInfo(net_devices)
# Add option -u (or --link_up): don't shut down interfaces
# to be able to detect DCB state afterwards (see bnc #737683)
- vlan_cmd = "LANG=POSIX fipvlan -u"
+ vlan_cmd = "LANG=POSIX /usr/sbin/fipvlan -u"
if !Mode.autoinst
- vlan_cmd = Ops.add(Ops.add(vlan_cmd, " -l "), @number_of_retries)
+ vlan_cmd << " -l #{(a)number_of_retries.to_s.shellescape}"
end # reduce number of retries
- Builtins.foreach(
- Convert.convert(net_devices, :from => "list", :to => "list <string>")
- ) { |dev| vlan_cmd = Ops.add(Ops.add(vlan_cmd, " "), dev) }
+ Builtins.foreach(net_devices) { |dev| vlan_cmd << " #{dev.shellescape}" }
# call fipvlan command for all interfaces (saves time because is executed in parallel)
Builtins.y2milestone("Executing command: %1", vlan_cmd)
@@ -590,9 +580,9 @@
end
command = Builtins.sformat(
- "sed -n 's/\\([^ ]*\\) *.*%1*.*%2/\\1/p' /proc/net/vlan/config",
- vlan_interface,
- interface
+ "/usr/bin/sed -n 's/\\([^ ]*\\) *.*'%1'*.*'%2'/\\1/p' /proc/net/vlan/config",
+ vlan_interface.shellescape,
+ interface.shellescape
)
Builtins.y2milestone("Executing command: %1", command)
@@ -672,7 +662,7 @@
file_exists = SCR.Write(path(".target.string"), file_name, content)
if file_exists
- AddRevertCommand(Builtins.sformat("rm %1", file_name))
+ AddRevertCommand(Builtins.sformat("/usr/bin/rm %1", file_name.shellescape))
# fill status map
status_map = {
"FCOE_ENABLE" => netcard["fcoe_enable"] || "yes",
@@ -753,10 +743,10 @@
# 'lldpad' must be started to be able to use 'dcbtool'
# -> is started in ServiceStatus() ( called in Read() before DetectNetworkCards() )
- command = Builtins.sformat("LANG=POSIX dcbtool gc %1 dcb", netcard)
+ command = Builtins.sformat("LANG=POSIX /usr/sbin/dcbtool gc %1 dcb", netcard.shellescape)
Builtins.y2milestone("Executing command: %1", command)
- output = Convert.to_map(SCR.Execute(path(".target.bash_output"), command))
+ output = SCR.Execute(path(".target.bash_output"), command)
Builtins.y2milestone("Output: %1", output)
status = ""
@@ -1353,13 +1343,11 @@
if Ops.get_string(card, "dcb_required", "no") == "yes"
# enable DCB on the interface
command = Builtins.sformat(
- "dcbtool sc %1 dcb on",
- Ops.get_string(card, "dev_name", "")
+ "/usr/sbin/dcbtool sc %1 dcb on",
+ Ops.get_string(card, "dev_name", "").shellescape
)
Builtins.y2milestone("Executing command: %1", command)
- output = Convert.to_map(
- SCR.Execute(path(".target.bash_output"), command)
- )
+ output = SCR.Execute(path(".target.bash_output"), command)
Builtins.y2milestone("Output: %1", output)
if Ops.get_integer(output, "exit", 255) != 0
# only warning, not necessarily an error
@@ -1367,14 +1355,12 @@
end
# enable App:FCoE on the interface
command = Builtins.sformat(
- "dcbtool sc %1 app:0 e:1 a:1 w:1",
- Ops.get_string(card, "dev_name", "")
+ "/usr/sbin/dcbtool sc %1 app:0 e:1 a:1 w:1",
+ Ops.get_string(card, "dev_name", "").shellescape
)
Builtins.y2milestone("Executing command: %1", command)
- output = Convert.to_map(
- SCR.Execute(path(".target.bash_output"), command)
- )
+ output = SCR.Execute(path(".target.bash_output"), command)
Builtins.y2milestone("Output: %1", output)
if Ops.get_integer(output, "exit", 255) != 0
# only warning, not necessarily an error
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-fcoe-client-4.1.0/test/Makefile.am new/yast2-fcoe-client-4.1.2/test/Makefile.am
--- old/yast2-fcoe-client-4.1.0/test/Makefile.am 2018-08-23 18:02:43.000000000 +0200
+++ new/yast2-fcoe-client-4.1.2/test/Makefile.am 2018-12-20 13:11:12.000000000 +0100
@@ -1,5 +1,6 @@
TESTS = \
fcoe_client_write_spec.rb \
+ fcoe_client_complex_include_test.rb \
DetectNetworkCards_spec.rb \
GetVlanInterfaces_spec.rb
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-fcoe-client-4.1.0/test/fcoe_client_complex_include_test.rb new/yast2-fcoe-client-4.1.2/test/fcoe_client_complex_include_test.rb
--- old/yast2-fcoe-client-4.1.0/test/fcoe_client_complex_include_test.rb 2018-08-23 18:02:43.000000000 +0200
+++ new/yast2-fcoe-client-4.1.2/test/fcoe_client_complex_include_test.rb 2018-12-20 13:11:12.000000000 +0100
@@ -2,6 +2,7 @@
require_relative "test_helper"
Yast.import "Popup"
+Yast.import "FcoeClient"
class ComplexIncludeTest < Yast::Module
def initialize
@@ -34,7 +35,7 @@
it "smokes not" do
expect(Yast::SCR)
.to receive(:Execute)
- .with(path(".target.bash_output"), "fipvlan -c -s eth9")
+ .with(path(".target.bash_output"), "/usr/sbin/fipvlan -c -s eth9")
.and_return({"exit" => 0})
expect(Yast::FcoeClient).to receive(:GetFcoeVlanInterface).and_return("eth9.500")
expect { subject.HandleInterfacesDialog(nil, event) }.to_not raise_error
1
0
Hello community,
here is the log from the commit of package yast2-kdump for openSUSE:Factory checked in at 2018-12-31 09:45:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-kdump (Old)
and /work/SRC/openSUSE:Factory/.yast2-kdump.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-kdump"
Mon Dec 31 09:45:02 2018 rev:91 rq:660272 version:4.1.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-kdump/yast2-kdump.changes 2018-07-03 23:31:21.248667277 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-kdump.new.28833/yast2-kdump.changes 2018-12-31 09:45:03.826281731 +0100
@@ -1,0 +2,24 @@
+Fri Dec 14 17:21:24 UTC 2018 - jreidinger(a)suse.com
+
+- always use absolute path to binaries (bsc#1118291)
+- properly escape shell arguments (bsc#1118291)
+- enable rubocop
+- 4.1.1
+
+-------------------------------------------------------------------
+Sat Nov 24 21:42:27 UTC 2018 - Stasiek Michalski <hellcp(a)mailbox.org>
+
+- Provide icon with module (boo#1109310)
+- 4.1.0
+
+-------------------------------------------------------------------
+Tue Oct 16 15:41:31 CEST 2018 - schubi(a)suse.de
+
+- Added license file to spec.
+
+-------------------------------------------------------------------
+Mon Aug 20 09:50:33 CEST 2018 - schubi(a)suse.de
+
+- Switched license in spec file from SPDX2 to SPDX3 format.
+
+-------------------------------------------------------------------
Old:
----
yast2-kdump-4.0.4.tar.bz2
New:
----
yast2-kdump-4.1.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-kdump.spec ++++++
--- /var/tmp/diff_new_pack.S8N13b/_old 2018-12-31 09:45:04.290281351 +0100
+++ /var/tmp/diff_new_pack.S8N13b/_new 2018-12-31 09:45:04.302281341 +0100
@@ -17,10 +17,10 @@
Name: yast2-kdump
-Version: 4.0.4
+Version: 4.1.1
Release: 0
Summary: Configuration of kdump
-License: GPL-2.0
+License: GPL-2.0-only
Group: System/YaST
Url: https://github.com/yast/yast-kdump
Source0: %{name}-%{version}.tar.bz2
@@ -79,5 +79,7 @@
%{yast_schemadir}/autoyast/rnc/kdump.rnc
%{yast_scrconfdir}/*.scr
%doc %{yast_docdir}
+%{yast_icondir}
+%license COPYING
%changelog
++++++ yast2-kdump-4.0.4.tar.bz2 -> yast2-kdump-4.1.1.tar.bz2 ++++++
++++ 4110 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package yast2-sound for openSUSE:Factory checked in at 2018-12-31 09:44:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-sound (Old)
and /work/SRC/openSUSE:Factory/.yast2-sound.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-sound"
Mon Dec 31 09:44:57 2018 rev:93 rq:660235 version:4.1.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-sound/yast2-sound.changes 2018-07-03 23:31:56.616616285 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-sound.new.28833/yast2-sound.changes 2018-12-31 09:44:59.258285475 +0100
@@ -1,0 +2,30 @@
+Tue Dec 18 16:00:39 UTC 2018 - jreidinger(a)suse.com
+
+- always use absolute path to binaries (bsc#1118291)
+- properly escape shell arguments (bsc#1118291)
+- 4.1.1
+
+-------------------------------------------------------------------
+Wed Dec 12 17:20:57 UTC 2018 - jlopez(a)suse.com
+
+- Hardening commands execution (part of bsc#1118291).
+- Replace backticks by Yast::Execute.
+- 4.1.0
+
+-------------------------------------------------------------------
+Mon Nov 26 04:52:22 UTC 2018 - Noah Davis <noahadvs(a)gmail.com>
+
+- Provide icon with module (boo#1109310)
+- 4.0.2
+
+-------------------------------------------------------------------
+Wed Aug 22 16:17:28 CEST 2018 - schubi(a)suse.de
+
+- Switched license in spec file from SPDX2 to SPDX3 format.
+
+-------------------------------------------------------------------
+Tue Aug 21 09:26:06 CEST 2018 - schubi(a)suse.de
+
+- Changed dir of COPYING file.
+
+-------------------------------------------------------------------
Old:
----
yast2-sound-4.0.1.tar.bz2
New:
----
yast2-sound-4.1.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-sound.spec ++++++
--- /var/tmp/diff_new_pack.ynyLNB/_old 2018-12-31 09:44:59.574285216 +0100
+++ /var/tmp/diff_new_pack.ynyLNB/_new 2018-12-31 09:44:59.574285216 +0100
@@ -17,7 +17,7 @@
Name: yast2-sound
-Version: 4.0.1
+Version: 4.1.1
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -76,7 +76,7 @@
Requires: yast2-ruby-bindings >= 1.0.0
Summary: YaST2 - Sound Configuration
-License: GPL-2.0+
+License: GPL-2.0-or-later
Group: System/YaST
%description
@@ -121,8 +121,11 @@
%{yast_plugindir}/libpy2ag_audio.so*
%{yast_scrconfdir}/*.scr
+# icons
+%{yast_icondir}
+
%dir %{yast_docdir}
%doc %{yast_docdir}/README
-%doc %{yast_docdir}/COPYING
+%license %{yast_docdir}/COPYING
%changelog
++++++ yast2-sound-4.0.1.tar.bz2 -> yast2-sound-4.1.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-sound-4.0.1/data/alsa_drivers.rb new/yast2-sound-4.1.1/data/alsa_drivers.rb
--- old/yast2-sound-4.0.1/data/alsa_drivers.rb 2018-07-02 16:25:12.000000000 +0200
+++ new/yast2-sound-4.1.1/data/alsa_drivers.rb 2018-12-20 10:57:59.000000000 +0100
@@ -1,3 +1,22 @@
+require "yast"
+require "yast2/execute"
+
+# Auxiliary module to run a command and get its output
+module Command
+ # Returns the output of the given command
+ #
+ # @param args [Array<String>, Array<Array<String>>] the command to execute and
+ # its arguments. For a detailed description, see
+ # https://www.rubydoc.info/github/openSUSE/cheetah/Cheetah#run-class_method
+ # @return [String] commmand output or an empty string if the command fails.
+ def self.output(*args)
+ Yast::Execute.locally!(*args, stdout: :capture)
+ rescue Cheetah::ExecutionFailed => error
+ puts error.message
+ ""
+ end
+end
+
# handle modalias settings from modinfo output
# parses the device ID string to Vendor and Device parts
class ModAlias
@@ -60,29 +79,25 @@
# read the description from the driver
def description
- `/sbin/modinfo -F description #{(a)mod_path}`.strip
+ Command::output("/sbin/modinfo", "-F", "description", @mod_path).strip
end
# read the device module aliases
def modaliases
- lst = `/sbin/modinfo -F alias #{(a)mod_path}`.split("\n")
- ret = []
+ aliases = Command::output("/sbin/modinfo", "-F", "alias", @mod_path).split("\n")
+ aliases = aliases.grep(/^pci:/)
- lst.each do |a|
- ret << ModAlias.new(a) if a.match /^pci:/
- end
+ mod_aliases = aliases.map { |a| ModAlias.new(a) }
- extra_ids = YAML.load_file "data_extra_id.yml"
- extra_ids.each do |id|
- ret << ModAlias.new("pci:v#{id[1]}d#{id[2]}sv*sd*") if id[0] == name
- end
+ extra_ids = YAML.load_file("data_extra_id.yml")
+ extra_ids = extra_ids.select { |id| id[0] == name }
- ret
+ mod_aliases + extra_ids.map { |id| ModAlias.new("pci:v#{id[1]}d#{id[2]}sv*sd*") }
end
# read the module parameters
def params
- lst = `/sbin/modinfo #{(a)mod_path}`.split("\n")
+ lst = Command::output("/sbin/modinfo", @mod_path).split("\n")
ret = []
lst.each do |a|
@@ -107,15 +122,10 @@
# find all sound drivers below the given path
def self.find_all(path)
- ret = []
- lst = `find #{path} -type f -name 'snd-*.ko'`.split("\n").sort{|p1, p2|
- p1.split('/').last <=> p2.split('/').last
- }
+ files = Dir.glob(File.join(path, "**", "snd-*.ko")).select { |f| File.file?(f) }
- lst.each do |m|
- ret << AlsaModule.new(m)
- end
+ files.sort! { |f1, f2| File.basename(f1) <=> File.basename(f2) }
- ret
+ files.map { |f| AlsaModule.new(f) }
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-sound-4.0.1/package/yast2-sound.changes new/yast2-sound-4.1.1/package/yast2-sound.changes
--- old/yast2-sound-4.0.1/package/yast2-sound.changes 2018-07-02 16:25:12.000000000 +0200
+++ new/yast2-sound-4.1.1/package/yast2-sound.changes 2018-12-20 10:57:59.000000000 +0100
@@ -1,4 +1,34 @@
-------------------------------------------------------------------
+Tue Dec 18 16:00:39 UTC 2018 - jreidinger(a)suse.com
+
+- always use absolute path to binaries (bsc#1118291)
+- properly escape shell arguments (bsc#1118291)
+- 4.1.1
+
+-------------------------------------------------------------------
+Wed Dec 12 17:20:57 UTC 2018 - jlopez(a)suse.com
+
+- Hardening commands execution (part of bsc#1118291).
+- Replace backticks by Yast::Execute.
+- 4.1.0
+
+-------------------------------------------------------------------
+Mon Nov 26 04:52:22 UTC 2018 - Noah Davis <noahadvs(a)gmail.com>
+
+- Provide icon with module (boo#1109310)
+- 4.0.2
+
+-------------------------------------------------------------------
+Wed Aug 22 16:17:28 CEST 2018 - schubi(a)suse.de
+
+- Switched license in spec file from SPDX2 to SPDX3 format.
+
+-------------------------------------------------------------------
+Tue Aug 21 09:26:06 CEST 2018 - schubi(a)suse.de
+
+- Changed dir of COPYING file.
+
+-------------------------------------------------------------------
Thu Jun 28 14:24:04 CEST 2018 - schubi(a)suse.de
- Added additional searchkeys to desktop file (fate#321043).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-sound-4.0.1/package/yast2-sound.spec new/yast2-sound-4.1.1/package/yast2-sound.spec
--- old/yast2-sound-4.0.1/package/yast2-sound.spec 2018-07-02 16:25:12.000000000 +0200
+++ new/yast2-sound-4.1.1/package/yast2-sound.spec 2018-12-20 10:57:59.000000000 +0100
@@ -17,7 +17,7 @@
Name: yast2-sound
-Version: 4.0.1
+Version: 4.1.1
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -76,7 +76,7 @@
Requires: yast2-ruby-bindings >= 1.0.0
Summary: YaST2 - Sound Configuration
-License: GPL-2.0+
+License: GPL-2.0-or-later
Group: System/YaST
%description
@@ -121,8 +121,11 @@
%{yast_plugindir}/libpy2ag_audio.so*
%{yast_scrconfdir}/*.scr
+# icons
+%{yast_icondir}
+
%dir %{yast_docdir}
%doc %{yast_docdir}/README
-%doc %{yast_docdir}/COPYING
+%license %{yast_docdir}/COPYING
%changelog
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-sound-4.0.1/src/Makefile.am new/yast2-sound-4.1.1/src/Makefile.am
--- old/yast2-sound-4.0.1/src/Makefile.am 2018-07-02 16:25:12.000000000 +0200
+++ new/yast2-sound-4.1.1/src/Makefile.am 2018-12-20 10:57:59.000000000 +0100
@@ -45,6 +45,10 @@
desktop_DATA = \
desktop/sound.desktop
-EXTRA_DIST = $(module_DATA) $(client_DATA) $(ynclude_DATA) $(scrconf_DATA) $(schemafiles_DATA) $(ybin_SCRIPTS) $(ydata_DATA) $(desktop_DATA)
+scalabledir = @icondir@/hicolor/scalable/apps
+scalable_DATA = \
+ icons/hicolor/scalable/apps/yast-sound.svg
+
+EXTRA_DIST = $(module_DATA) $(client_DATA) $(ynclude_DATA) $(scrconf_DATA) $(schemafiles_DATA) $(ybin_SCRIPTS) $(ydata_DATA) $(desktop_DATA) $(scalable_DATA)
include $(top_srcdir)/Makefile.am.common
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-sound-4.0.1/src/icons/hicolor/scalable/apps/yast-sound.svg new/yast2-sound-4.1.1/src/icons/hicolor/scalable/apps/yast-sound.svg
--- old/yast2-sound-4.0.1/src/icons/hicolor/scalable/apps/yast-sound.svg 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-sound-4.1.1/src/icons/hicolor/scalable/apps/yast-sound.svg 2018-12-20 10:57:59.000000000 +0100
@@ -0,0 +1 @@
+<svg height="128" width="128" xmlns="http://www.w3.org/2000/svg"><radialGradient id="b" cx="64" cy="55.96" gradientUnits="userSpaceOnUse" r="24"><stop offset="0" stop-color="#f8e45c"/><stop offset="1" stop-color="#f6d32d"/></radialGradient><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="24" x2="104" y1="119.96" y2="119.96"><stop offset="0" stop-color="#5e5c64"/><stop offset=".05" stop-color="#9a9996"/><stop offset=".1" stop-color="#5e5c64"/><stop offset=".9" stop-color="#5e5c64"/><stop offset=".95" stop-color="#9a9996"/><stop offset="1" stop-color="#5e5c64"/></linearGradient><g stroke-width="4"><rect fill="url(#a)" height="104" rx="8" width="80" x="24" y="16"/><rect fill="#9a9996" height="104" rx="8" width="80" x="24" y="8"/><rect fill="#5e5c64" height="16" ry="4" width="16" x="76" y="84"/><path d="M64 40a32 32 0 0 0-32 32 32 32 0 0 0 32 32 32 32 0 0 0 32-32 32 32 0 0 0-32-32z" fill="#5e5c64"/><rect fill="#3d3846" height="16" ry="4" width="16" x="72" y="80"/><g fill="#5e5c64"><rect height="16" ry="4" width="16" x="36" y="44"/><rect height="16" ry="4" width="16" x="76" y="44"/><rect height="16" ry="4" width="16" x="36" y="84"/></g><g fill="#3d3846"><circle cx="64" cy="72" r="28"/><rect height="16" ry="4" width="16" x="40" y="48"/><rect height="16" ry="4" width="16" x="72" y="48"/><rect height="16" ry="4" width="16" x="40" y="80"/></g><path d="M64 48a24 24 0 0 0-24 24 24 24 0 0 0 24 24 24 24 0 0 0 24-24 24 24 0 0 0-24-24z" fill="url(#b)"/><path d="M64 60a12 12 0 0 0-12 12 12 12 0 0 0 12 12 12 12 0 0 0 12-12 12 12 0 0 0-12-12z" fill="#3d3846"/><path d="M64 48a24 24 0 0 0-24 24 24 24 0 0 0 .1 2.008A24 24 0 0 1 64 52a24 24 0 0 1 23.9 21.992A24 24 0 0 0 88 72a24 24 0 0 0-24-24z" fill="#e5a50a"/><path d="M64 12a12 12 0 0 0-12 12 12 12 0 0 0 12 12 12 12 0 0 0 12-12 12 12 0 0 0-12-12z" fill="#77767b"/><path d="M64 16a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8z" fill="#5e5c64"/><path d="M64 16a8 8 0 0 0-8 8 8 8 0 0 0 .256 1.984A8 8 0 0 1 64 20a8 8 0 0 1 7.744 6.016A8 8 0 0 0 72 24a8 8 0 0 0-8-8z" fill="#3d3846"/></g></svg>
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-sound-4.0.1/src/include/sound/routines.rb new/yast2-sound-4.1.1/src/include/sound/routines.rb
--- old/yast2-sound-4.0.1/src/include/sound/routines.rb 2018-07-02 16:25:12.000000000 +0200
+++ new/yast2-sound-4.1.1/src/include/sound/routines.rb 2018-12-20 10:57:59.000000000 +0100
@@ -14,6 +14,9 @@
# Dan Meszaros <dmeszar(a)suse.cz>
#
#
+
+require "shellwords"
+
module Yast
module SoundRoutinesInclude
def initialize_sound_routines(include_target)
@@ -992,7 +995,7 @@
res = Convert.to_map(
SCR.Execute(
path(".target.bash_output"),
- Ops.add(Ops.add(Directory.ybindir, "/copyfonts "), mpoint),
+ "#{File.join(Directory.ybindir, "/copyfonts")} #{mpoint.shellescape}",
{}
)
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-sound-4.0.1/src/include/sound/volume_routines.rb new/yast2-sound-4.1.1/src/include/sound/volume_routines.rb
--- old/yast2-sound-4.0.1/src/include/sound/volume_routines.rb 2018-07-02 16:25:12.000000000 +0200
+++ new/yast2-sound-4.1.1/src/include/sound/volume_routines.rb 2018-12-20 10:57:59.000000000 +0100
@@ -14,6 +14,8 @@
# Dan Meszaros <dmeszar(a)suse.cz>
# Jiri Suchomel <jsuchome(a)suse.cz>
#
+require "shellwords"
+
module Yast
module SoundVolumeRoutinesInclude
def initialize_sound_volume_routines(include_target)
@@ -43,8 +45,8 @@
if Arch.sparc
cmd = Builtins.sformat(
"/usr/bin/aumix -d /dev/mixer%1 -w %2",
- cardid,
- value
+ cardid.to_i,
+ value.to_i
)
SCR.Execute(path(".target.bash"), cmd, {})
else
@@ -121,12 +123,12 @@
end
command = !Sound.use_alsa ?
- Builtins.sformat("/usr/bin/mpg123 -a /dev/dsp%1 %2", card_id, fname) :
+ Builtins.sformat("/usr/bin/mpg123 -a /dev/dsp%1 %2", card_id.to_i, fname.shellescape) :
# unset ALSA_CONFIG_PATH (bnc#440981)
Builtins.sformat(
"ALSA_CONFIG_PATH= /usr/bin/aplay -q -N -D default:%1 %2 > /dev/null 2>&1",
- card_id,
- fname
+ card_id.to_i,
+ fname.shellescape
)
Builtins.y2milestone("Executing: %1", command)
@@ -156,7 +158,7 @@
snd = Builtins.sformat(
"/sbin/modprobe snd snd_cards_limit=%1 snd_major=116",
Builtins.size(Sound.modules_conf)
- )
+ )
#FIXME parameter names for OSS?
end
@@ -211,7 +213,7 @@
if Builtins.haskey(modules, mod)
SCR.Execute(
path(".target.bash"),
- Builtins.sformat("/sbin/rmmod -r %1", mod)
+ Builtins.sformat("/sbin/rmmod -r %1", mod.shellescape)
)
end
end
@@ -224,6 +226,8 @@
out = Convert.to_map(
SCR.Execute(
path(".target.bash_output"),
+ # cannot escape it here as escaped glob return without asterisk expansion,
+ # but we provide input
Builtins.sformat("echo -n %1", glob)
)
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-sound-4.0.1/src/include/sound/write_routines.rb new/yast2-sound-4.1.1/src/include/sound/write_routines.rb
--- old/yast2-sound-4.0.1/src/include/sound/write_routines.rb 2018-07-02 16:25:12.000000000 +0200
+++ new/yast2-sound-4.1.1/src/include/sound/write_routines.rb 2018-12-20 10:57:59.000000000 +0100
@@ -73,7 +73,7 @@
# remove the old configuration file
if Ops.get_string(entry, "hwcfg", "") != ""
rm = Ops.add(
- "rm -f /etc/sysconfig/hardware/hwcfg-",
+ "/usr/bin/rm -f /etc/sysconfig/hardware/hwcfg-",
Ops.get_string(entry, "hwcfg", "")
)
Builtins.y2milestone("Removing old configuration file: %1", rm)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-sound-4.0.1/src/modules/PulseAudio.rb new/yast2-sound-4.1.1/src/modules/PulseAudio.rb
--- old/yast2-sound-4.0.1/src/modules/PulseAudio.rb 2018-07-02 16:25:12.000000000 +0200
+++ new/yast2-sound-4.1.1/src/modules/PulseAudio.rb 2018-12-20 10:57:59.000000000 +0100
@@ -27,6 +27,9 @@
module Yast
class PulseAudioClass < Module
+ # path to the configuration script
+ PA_SETUP_SCRIPT = "/usr/bin/setup-pulseaudio".freeze
+
def main
textdomain "sound"
@@ -37,20 +40,16 @@
@pa_enabled = nil
@modified = false
- # path to the configuration script
- @pa_setup_script = "/usr/bin/setup-pulseaudio"
end
def Read
# reset the modification flag
@modified = false
- if FileUtils.Exists(@pa_setup_script)
- out = Convert.to_map(
- SCR.Execute(
- path(".target.bash_output"),
- Ops.add(@pa_setup_script, " --status")
- )
+ if FileUtils.Exists(PA_SETUP_SCRIPT)
+ out = SCR.Execute(
+ path(".target.bash_output"),
+ "#{PA_SETUP_SCRIPT} --status"
)
Builtins.y2milestone("Read status: %1", out)
@@ -66,7 +65,7 @@
else
Builtins.y2warning(
"PulseAudio setup script %1 is not present!",
- @pa_setup_script
+ PA_SETUP_SCRIPT
)
return false
end
@@ -124,20 +123,15 @@
# flush the changes
SCR.Write(path(".sysconfig.sound"), nil)
- if FileUtils.Exists(@pa_setup_script)
+ if FileUtils.Exists(PA_SETUP_SCRIPT)
Builtins.y2milestone(
"%1 PulseAudio support",
@pa_enabled ? "Enabling" : "Disabling"
)
- out = Convert.to_map(
- SCR.Execute(
- path(".target.bash_output"),
- Ops.add(
- @pa_setup_script,
- @pa_enabled ? " --enable" : " --disable"
- )
- )
+ out = SCR.Execute(
+ path(".target.bash_output"),
+ "#{PA_SETUP_SCRIPT} #{@pa_enabled ? "--enable" : " --disable"}"
)
Builtins.y2milestone("Write status: %1", out)
@@ -147,7 +141,7 @@
else
Builtins.y2warning(
"PulseAudio setup script %1 is not present, cannot configure applications",
- @pa_setup_script
+ PA_SETUP_SCRIPT
)
# reset the modification flag
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-sound-4.0.1/src/modules/Sound.rb new/yast2-sound-4.1.1/src/modules/Sound.rb
--- old/yast2-sound-4.0.1/src/modules/Sound.rb 2018-07-02 16:25:12.000000000 +0200
+++ new/yast2-sound-4.1.1/src/modules/Sound.rb 2018-12-20 10:57:59.000000000 +0100
@@ -7,6 +7,7 @@
#
require "yast"
require "yaml"
+require "shellwords"
module Yast
class SoundClass < Module
@@ -174,7 +175,7 @@
# @param [String] chip chip name
# @return non-empty string with card options when card is present
def ProbeOldChip(chip)
- command = Builtins.sformat("/usr/sbin/alsaconf -p %1", chip)
+ command = Builtins.sformat("/usr/sbin/alsaconf -p %1", chip.shellescape)
name = Ops.get_string(
@db_modules,
[Ops.add("snd-", chip), "description"],
1
0
Hello community,
here is the log from the commit of package yast2-iscsi-client for openSUSE:Factory checked in at 2018-12-31 09:44:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-iscsi-client (Old)
and /work/SRC/openSUSE:Factory/.yast2-iscsi-client.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-iscsi-client"
Mon Dec 31 09:44:52 2018 rev:120 rq:660229 version:4.1.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-iscsi-client/yast2-iscsi-client.changes 2018-11-10 16:50:41.236393728 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-iscsi-client.new.28833/yast2-iscsi-client.changes 2018-12-31 09:44:54.478289391 +0100
@@ -1,0 +2,13 @@
+Thu Dec 13 16:42:21 UTC 2018 - jreidinger(a)suse.com
+
+- always use absolute path to binaries (bsc#1118291)
+- properly escape shell arguments (bsc#1118291)
+- 4.1.4
+
+-------------------------------------------------------------------
+Sun Nov 25 00:21:37 UTC 2018 - Stasiek Michalski <hellcp(a)mailbox.org>
+
+- Provide icon with module (boo#1109310)
+- 4.1.3
+
+-------------------------------------------------------------------
Old:
----
yast2-iscsi-client-4.1.2.tar.bz2
New:
----
yast2-iscsi-client-4.1.4.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-iscsi-client.spec ++++++
--- /var/tmp/diff_new_pack.hrH60p/_old 2018-12-31 09:44:54.878289064 +0100
+++ /var/tmp/diff_new_pack.hrH60p/_new 2018-12-31 09:44:54.882289060 +0100
@@ -17,7 +17,7 @@
Name: yast2-iscsi-client
-Version: 4.1.2
+Version: 4.1.4
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -73,6 +73,7 @@
%{yast_scrconfdir}/iscsid.scr
%doc %{yast_docdir}
%{yast_schemadir}/autoyast/rnc/iscsi-client.rnc
+%{yast_icondir}
%license COPYING
%changelog
++++++ yast2-iscsi-client-4.1.2.tar.bz2 -> yast2-iscsi-client-4.1.4.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-iscsi-client-4.1.2/package/yast2-iscsi-client.changes new/yast2-iscsi-client-4.1.4/package/yast2-iscsi-client.changes
--- old/yast2-iscsi-client-4.1.2/package/yast2-iscsi-client.changes 2018-11-09 14:46:40.000000000 +0100
+++ new/yast2-iscsi-client-4.1.4/package/yast2-iscsi-client.changes 2018-12-20 10:30:23.000000000 +0100
@@ -1,4 +1,17 @@
-------------------------------------------------------------------
+Thu Dec 13 16:42:21 UTC 2018 - jreidinger(a)suse.com
+
+- always use absolute path to binaries (bsc#1118291)
+- properly escape shell arguments (bsc#1118291)
+- 4.1.4
+
+-------------------------------------------------------------------
+Sun Nov 25 00:21:37 UTC 2018 - Stasiek Michalski <hellcp(a)mailbox.org>
+
+- Provide icon with module (boo#1109310)
+- 4.1.3
+
+-------------------------------------------------------------------
Fri Nov 09 12:34:19 CET 2018 - aschnell(a)suse.com
- removed onboot startup mode for LUNs on S/390 (bsc#1045139)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-iscsi-client-4.1.2/package/yast2-iscsi-client.spec new/yast2-iscsi-client-4.1.4/package/yast2-iscsi-client.spec
--- old/yast2-iscsi-client-4.1.2/package/yast2-iscsi-client.spec 2018-11-09 14:46:40.000000000 +0100
+++ new/yast2-iscsi-client-4.1.4/package/yast2-iscsi-client.spec 2018-12-20 10:30:23.000000000 +0100
@@ -17,7 +17,7 @@
Name: yast2-iscsi-client
-Version: 4.1.2
+Version: 4.1.4
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -73,4 +73,5 @@
%{yast_scrconfdir}/iscsid.scr
%doc %{yast_docdir}
%{yast_schemadir}/autoyast/rnc/iscsi-client.rnc
+%{yast_icondir}
%license COPYING
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-iscsi-client-4.1.2/src/Makefile.am new/yast2-iscsi-client-4.1.4/src/Makefile.am
--- old/yast2-iscsi-client-4.1.2/src/Makefile.am 2018-11-09 14:46:40.000000000 +0100
+++ new/yast2-iscsi-client-4.1.4/src/Makefile.am 2018-12-20 10:30:23.000000000 +0100
@@ -26,6 +26,13 @@
desktop_DATA = \
desktop/iscsi-client.desktop
-EXTRA_DIST = $(module_DATA) $(client_DATA) $(ynclude_DATA) $(schemafiles_DATA) $(desktop_DATA)
+symbolicdir = @icondir@/hicolor/symbolic/apps
+symbolic_DATA = \
+ icons/hicolor/symbolic/apps/yast-iscsi-client-symbolic.svg
+scalabledir = @icondir@/hicolor/scalable/apps
+scalable_DATA = \
+ icons/hicolor/scalable/apps/yast-iscsi-client.svg
-include $(top_srcdir)/Makefile.am.common
\ No newline at end of file
+EXTRA_DIST = $(module_DATA) $(client_DATA) $(ynclude_DATA) $(schemafiles_DATA) $(desktop_DATA) $(symbolic_DATA) $(scalable_DATA)
+
+include $(top_srcdir)/Makefile.am.common
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-iscsi-client-4.1.2/src/clients/inst_iscsi-client.rb new/yast2-iscsi-client-4.1.4/src/clients/inst_iscsi-client.rb
--- old/yast2-iscsi-client-4.1.2/src/clients/inst_iscsi-client.rb 2018-11-09 14:46:40.000000000 +0100
+++ new/yast2-iscsi-client-4.1.4/src/clients/inst_iscsi-client.rb 2018-12-20 10:30:23.000000000 +0100
@@ -65,10 +65,9 @@
SCR.Execute(
path(".target.bash"),
- "mkdir -p /etc/iscsi; touch /etc/iscsi/initiatorname.iscsi; ln -s /etc/iscsi/initiatorname.iscsi /etc/initiatorname.iscsi"
+ "/usr/bin/mkdir -p /etc/iscsi; /usr/bin/touch /etc/iscsi/initiatorname.iscsi; /usr/bin/ln -s /etc/iscsi/initiatorname.iscsi /etc/initiatorname.iscsi"
)
# check initiator name, create if not exists
- # WFM::Execute (.local.bash,"test -d /etc/iscsi/ && /bin/cp -a /etc/iscsi/* " + String::Quote(Installation::destdir) + "/etc/iscsi/");
IscsiClientLib.checkInitiatorName
IscsiClientLib.getiBFT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-iscsi-client-4.1.2/src/clients/iscsi-client_finish.rb new/yast2-iscsi-client-4.1.4/src/clients/iscsi-client_finish.rb
--- old/yast2-iscsi-client-4.1.2/src/clients/iscsi-client_finish.rb 2018-11-09 14:46:40.000000000 +0100
+++ new/yast2-iscsi-client-4.1.4/src/clients/iscsi-client_finish.rb 2018-12-20 10:30:23.000000000 +0100
@@ -32,6 +32,8 @@
#
require "yast2/systemd/socket"
+require "shellwords"
+
module Yast
class IscsiClientFinishClient < Client
def main
@@ -74,19 +76,9 @@
# write open-iscsi database of automatic connected targets
WFM.Execute(
path(".local.bash"),
- Ops.add(
- Ops.add(
- Ops.add(
- Ops.add(
- "test -d /etc/iscsi/ && mkdir -p '",
- String.Quote(Installation.destdir)
- ),
- "/etc/iscsi' && cp -a /etc/iscsi/* '"
- ),
- String.Quote(Installation.destdir)
- ),
- "/etc/iscsi/'"
- )
+ "/usr/bin/test -d /etc/iscsi/ && " \
+ "mkdir -p #{Installation.destdir.shellescape}/etc/iscsi && " \
+ "cp -a /etc/iscsi/* #{Installation.destdir.shellescape}/etc/iscsi/"
)
if Ops.greater_than(Builtins.size(IscsiClientLib.sessions), 0)
Builtins.y2milestone("enabling iscsi and iscsid service/socket")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-iscsi-client-4.1.2/src/icons/hicolor/scalable/apps/yast-iscsi-client.svg new/yast2-iscsi-client-4.1.4/src/icons/hicolor/scalable/apps/yast-iscsi-client.svg
--- old/yast2-iscsi-client-4.1.2/src/icons/hicolor/scalable/apps/yast-iscsi-client.svg 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-iscsi-client-4.1.4/src/icons/hicolor/scalable/apps/yast-iscsi-client.svg 2018-12-20 10:30:23.000000000 +0100
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="128" height="128" version="1.1" viewBox="0 0 128 128.00001" xmlns="http://www.w3.org/2000/svg">
+<defs>
+<linearGradient id="c" x1="10" x2="10" y1="3" y2="37" gradientTransform="matrix(2,0,0,2,-2e-7,14)" gradientUnits="userSpaceOnUse">
+<stop stop-color="#acaba8" offset="0"/>
+<stop stop-color="#cac9c6" offset="1"/>
+</linearGradient>
+<linearGradient id="b" x1="3" x2="29" y1="17" y2="17" gradientTransform="matrix(4,0,0,4,0,-8)" gradientUnits="userSpaceOnUse">
+<stop stop-color="#9a9996" offset="0"/>
+<stop stop-color="#deddda" offset=".037101"/>
+<stop stop-color="#9a9996" offset=".076507"/>
+<stop stop-color="#9a9996" offset=".92289"/>
+<stop stop-color="#deddda" offset=".96229"/>
+<stop stop-color="#9a9996" offset="1"/>
+</linearGradient>
+<linearGradient id="a" x1="13.17" x2="13" y1="21" y2="11" gradientTransform="matrix(4,0,0,4,0,-12)" gradientUnits="userSpaceOnUse">
+<stop stop-color="#f6f5f4" offset="0"/>
+<stop stop-color="#deddda" offset="1"/>
+</linearGradient>
+</defs>
+<rect x="12" y="32" width="104" height="68" ry="8"/>
+<rect x="12" y="24" width="104" height="68" ry="8" fill="url(#b)"/>
+<rect x="12" y="20" width="104" height="68" ry="8" fill="url(#c)"/>
+<rect x="108" y="80" width="4" height="4" ry="2" fill="#77767b"/>
+<rect x="108" y="24" width="4" height="4" ry="2" fill="#77767b"/>
+<rect x="52" y="24" width="4" height="4" ry="2" fill="#77767b"/>
+<rect x="20" y="24" width="4" height="4" ry="2" fill="#77767b"/>
+<rect x="20" y="80" width="4" height="4" ry="2" fill="#77767b"/>
+<rect x="52" y="80" width="4" height="4" ry="2" fill="#77767b"/>
+<path d="m32 28a4.0004 4.0004 0 0 0 -4 4c0 2.2565-1.7435 4-4 4a4.0004 4.0004 0 0 0 -4 4v32a4.0004 4.0004 0 0 0 4 4c2.2565 0 4 1.7435 4 4a4.0004 4.0004 0 0 0 4 4h12a4.0004 4.0004 0 0 0 4 -4c0-2.2538 1.7396-3.9959 3.9922-4 0.0426 0.0014 0.08632 0.0052 0.125 8e-3a4.0004 4.0004 0 0 0 0.56248 -8e-3h6.5624c5.1432 4.8128 11.847 7.9952 18.898 8 7.3304 0 14.614-3.0198 19.797-8.2032s8.2032-12.466 8.2032-19.797-3.0198-14.614-8.2032-19.797c-5.1832-5.1832-12.466-8.2032-19.797-8.2032a4.0004 4.0004 0 0 0 -8e-3 0c-7.0416 0.0106-13.73 3.1955-18.867 8h-7.2656c-2.2565 0-4-1.7435-4-4a4.0004 4.0004 0 0 0 -4 -4z" fill="#acaba8"/>
+<path d="m32 24a4.0004 4.0004 0 0 0 -4 4c0 2.2565-1.7435 4-4 4a4.0004 4.0004 0 0 0 -4 4v32a4.0004 4.0004 0 0 0 4 4c2.2565 0 4 1.7435 4 4a4.0004 4.0004 0 0 0 4 4h12a4.0004 4.0004 0 0 0 4 -4c0-2.2538 1.7396-3.9959 3.9922-4 0.0426 0.0014 0.08632 0.0052 0.125 8e-3a4.0004 4.0004 0 0 0 0.56248 -8e-3h6.5624c5.1432 4.8128 11.847 7.9952 18.898 8 7.3304 0 14.614-3.0198 19.797-8.2032s8.2032-12.466 8.2032-19.797-3.0198-14.614-8.2032-19.797c-5.1832-5.1832-12.466-8.2032-19.797-8.2032a4.0004 4.0004 0 0 0 -8e-3 0c-7.0416 0.0106-13.73 3.1955-18.867 8h-7.2656c-2.2565 0-4-1.7435-4-4a4.0004 4.0004 0 0 0 -4 -4z" fill="url(#a)"/>
+<rect x="72" y="40" width="16" height="16" ry="8" fill="#adaba7" fill-opacity=".9959"/>
+<rect x="72" y="44" width="16" height="16" ry="8" fill="#cac9c6" fill-opacity=".9959"/>
+<rect x="48" y="108" width="32" height="12" ry="4" fill="#613583"/>
+<rect x="16" y="112" width="96" height="4" ry="0" fill="#613583"/>
+<rect x="60" y="96" width="8" height="12" fill="#a347ba"/>
+<rect x="48" y="104" width="32" height="12" ry="4" fill="#a347ba"/>
+<rect x="16" y="108" width="96" height="4" ry="0" fill="#a347ba"/>
+</svg>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-iscsi-client-4.1.2/src/icons/hicolor/symbolic/apps/yast-iscsi-client-symbolic.svg new/yast2-iscsi-client-4.1.4/src/icons/hicolor/symbolic/apps/yast-iscsi-client-symbolic.svg
--- old/yast2-iscsi-client-4.1.2/src/icons/hicolor/symbolic/apps/yast-iscsi-client-symbolic.svg 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-iscsi-client-4.1.4/src/icons/hicolor/symbolic/apps/yast-iscsi-client-symbolic.svg 2018-12-20 10:30:23.000000000 +0100
@@ -0,0 +1,3 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16">
+ <path d="M 4 0 C 2.892 0 2 0.892 2 2 L 2 11 C 2 12.108 2.892 13 4 13 L 7 13 L 7 14 L 3 14 L 3 16 L 10 16 L 10 14 L 9 14 L 9 13 L 10 13 L 10 10 L 14 10 L 14 2 C 14 0.892 13.108 0 12 0 L 4 0 z M 8 2 C 10.216 2 12 3.784 12 6 C 12 8.216 10.216 10 8 10 L 4 10 L 4 6 C 4 3.784 5.784 2 8 2 z M 8 4 C 6.892 4 6 4.892 6 6 C 6 7.108 6.892 8 8 8 C 9.108 8 10 7.108 10 6 C 10 4.892 9.108 4 8 4 z M 11 11 L 11 16 L 16 16 L 16 11 L 11 11 z M 12 12 L 13 12 L 13 13 L 14 13 L 14 12 L 15 12 L 15 14 L 14 14 L 14 15 L 13 15 L 13 14 L 12 14 L 12 12 z " fill="#c0bfbc" />
+</svg>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-iscsi-client-4.1.2/src/include/iscsi-client/dialogs.rb new/yast2-iscsi-client-4.1.4/src/include/iscsi-client/dialogs.rb
--- old/yast2-iscsi-client-4.1.2/src/include/iscsi-client/dialogs.rb 2018-11-09 14:46:40.000000000 +0100
+++ new/yast2-iscsi-client-4.1.4/src/include/iscsi-client/dialogs.rb 2018-12-20 10:30:23.000000000 +0100
@@ -432,7 +432,6 @@
VStretch()
)
- help = CWM.MergeHelps(w)
contents = CWM.PrepareDialog(contents, w)
Wizard.SetContentsButtons(
caption,
@@ -459,7 +458,6 @@
1
))
)
- help = CWM.MergeHelps(w)
contents = CWM.PrepareDialog(contents, w)
Wizard.SetContentsButtons(
caption,
@@ -497,7 +495,6 @@
VStretch()
)
- help = CWM.MergeHelps(w)
contents = CWM.PrepareDialog(contents, w)
Wizard.SetContentsButtons(
caption,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-iscsi-client-4.1.2/src/include/iscsi-client/widgets.rb new/yast2-iscsi-client-4.1.4/src/include/iscsi-client/widgets.rb
--- old/yast2-iscsi-client-4.1.2/src/include/iscsi-client/widgets.rb 2018-11-09 14:46:40.000000000 +0100
+++ new/yast2-iscsi-client-4.1.4/src/include/iscsi-client/widgets.rb 2018-12-20 10:30:23.000000000 +0100
@@ -27,6 +27,9 @@
# Authors: Michal Zugec <mzugec(a)suse.cz>
#
# Main file for iscsi-client configuration. Uses all other files.
+
+require "shellwords"
+
module Yast
module IscsiClientWidgetsInclude
def initialize_iscsi_client_widgets(_include_target)
@@ -526,6 +529,7 @@
when :auth_out
status = Convert.to_boolean(UI.QueryWidget(Id(:auth_out), :Value))
end
+ # FIXME: status unused, so this method do nothing
end
nil
end
@@ -565,7 +569,7 @@
if !IP.Check(ip)
# check for valid host name
result = SCR.Execute(path(".target.bash_output"),
- "LC_ALL=POSIX host #{ip}")
+ "LC_ALL=POSIX host #{ip.shellescape}")
Builtins.y2milestone("Cmd: host %1, result: %2", ip, result)
output = result["stdout"] || ""
@@ -762,15 +766,13 @@
cmd = IscsiClientLib.GetAdmCmd(
Builtins.sformat(
"-m node -T %1 -p %2 -I %3 --op=delete",
- Ops.get(params, 1, ""),
- Ops.get(params, 0, ""),
- Ops.get(params, 2, "")
+ Ops.get(params, 1, "").shellescape,
+ Ops.get(params, 0, "").shellescape,
+ Ops.get(params, 2, "").shellescape
)
)
- Builtins.y2milestone(
- "%1",
- SCR.Execute(path(".target.bash_output"), cmd, {})
- )
+ result = SCR.Execute(path(".target.bash_output"), cmd, {})
+ Builtins.y2milestone(result.inspect)
IscsiClientLib.readSessions
initDiscoveredTable("")
if selected != nil
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-iscsi-client-4.1.2/src/modules/IscsiClientLib.rb new/yast2-iscsi-client-4.1.4/src/modules/IscsiClientLib.rb
--- old/yast2-iscsi-client-4.1.2/src/modules/IscsiClientLib.rb 2018-11-09 14:46:40.000000000 +0100
+++ new/yast2-iscsi-client-4.1.4/src/modules/IscsiClientLib.rb 2018-12-20 10:30:23.000000000 +0100
@@ -25,12 +25,16 @@
require "yast2/systemd/socket"
require "ipaddr"
+require "shellwords"
+
module Yast
class IscsiClientLibClass < Module
include Yast::Logger
Yast.import "Arch"
+ OFFLOAD_SCRIPT = "/sbin/iscsi_offload".freeze
+
def main
textdomain "iscsi-client"
@@ -67,8 +71,6 @@
# interface type for hardware offloading
@offload_card = "default"
- @offboard_script = "iscsi_offload"
-
@offload = [
["default", _("default (Software)"), [], []],
["all", _("all"), [], []],
@@ -175,7 +177,7 @@
# @return [String] complete command
#
def GetAdmCmd(params, do_log = true)
- ret = "LC_ALL=POSIX iscsiadm"
+ ret = "LC_ALL=POSIX /sbin/iscsiadm"
ret = Ops.add(Ops.add(ret, " "), params)
Builtins.y2milestone("GetAdmCmd: #{ret}") if do_log
ret
@@ -237,7 +239,7 @@
return @ibft
end
ret = SCR.Execute(path(".target.bash_output"),
- "lsmod |grep -q iscsi_ibft || modprobe iscsi_ibft")
+ "/usr/bin/lsmod | /usr/bin/grep -q iscsi_ibft || /usr/sbin/modprobe iscsi_ibft")
log.info "check and modprobe iscsi_ibft: #{ret}"
@ibft = nodeInfoToMap(getFirmwareInfo)
@@ -322,16 +324,12 @@
cmdline = GetAdmCmd(
Builtins.sformat(
"-S -m node -I %3 -T %1 -p %2",
- Ops.get(@currentRecord, 1, ""),
- Ops.get(@currentRecord, 0, ""),
- Ops.get(@currentRecord, 2, "default")
+ Ops.get(@currentRecord, 1, "").shellescape,
+ Ops.get(@currentRecord, 0, "").shellescape,
+ Ops.get(@currentRecord, 2, "default").shellescape
)
)
- cmd = Convert.convert(
- SCR.Execute(path(".target.bash_output"), cmdline),
- :from => "any",
- :to => "map <string, any>"
- )
+ cmd = SCR.Execute(path(".target.bash_output"), cmdline)
return {} if Ops.get_integer(cmd, "exit", 0) != 0
auth = {}
Builtins.foreach(
@@ -509,11 +507,7 @@
# get all discovered targets
def getDiscovered
@discovered = []
- retcode = Convert.convert(
- SCR.Execute(path(".target.bash_output"), GetAdmCmd("-m node -P 1")),
- :from => "any",
- :to => "map <string, any>"
- )
+ retcode = SCR.Execute(path(".target.bash_output"), GetAdmCmd("-m node -P 1"))
if Builtins.size(Ops.get_string(retcode, "stderr", "")) == 0
@discovered = ScanDiscovered(
Builtins.splitstring(Ops.get_string(retcode, "stdout", ""), "\n")
@@ -529,20 +523,16 @@
end
def restart_iscsid_initial
- retcode = Convert.to_integer(SCR.Execute(path(".target.bash"), "pgrep iscsid"))
+ retcode = SCR.Execute(path(".target.bash"), "/usr/bin/pgrep iscsid")
Service.Stop("iscsid") if retcode == 0
start_iscsid_initial
end
def start_iscsid_initial
- SCR.Execute(path(".target.bash"), "pgrep iscsid || /sbin/iscsid")
- Builtins.foreach([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]) do |i|
+ SCR.Execute(path(".target.bash"), "/usr/bin/pgrep iscsid || /sbin/iscsid")
+ 10.times do |i|
Builtins.sleep(1 * 1000)
- cmd = Convert.convert(
- SCR.Execute(path(".target.bash_output"), GetAdmCmd("-m session")),
- :from => "any",
- :to => "map <string, any>"
- )
+ cmd = SCR.Execute(path(".target.bash_output"), GetAdmCmd("-m session"))
Builtins.y2internal(
"iteration %1, retcode %2",
i,
@@ -550,7 +540,7 @@
)
if Ops.get_integer(cmd, "exit", -1) == 0
Builtins.y2internal("Good response from daemon, exit.")
- raise Break
+ break
end
end
@@ -560,11 +550,7 @@
# get all connected targets
def readSessions
Builtins.y2milestone("reading current settings")
- retcode = Convert.convert(
- SCR.Execute(path(".target.bash_output"), GetAdmCmd("-m session -P 1")),
- :from => "any",
- :to => "map <string, any>"
- )
+ retcode = SCR.Execute(path(".target.bash_output"), GetAdmCmd("-m session -P 1"))
@sessions = ScanDiscovered(
Builtins.splitstring(Ops.get_string(retcode, "stdout", ""), "\n")
)
@@ -602,7 +588,7 @@
Builtins.y2milestone("%1 file exists, create backup", file)
SCR.Execute(
path(".target.bash"),
- Builtins.sformat("mv %1 /etc/iscsi/initiatorname.yastbackup", file)
+ Builtins.sformat("/usr/bin/mv %1 /etc/iscsi/initiatorname.yastbackup", file.shellescape)
)
end
ret = SCR.Write(
@@ -627,11 +613,7 @@
def getReverseDomainName
host_fq = Hostname.SplitFQ(
Ops.get_string(
- Convert.convert(
- SCR.Execute(path(".target.bash_output"), "hostname -f|tr -d '\n'"),
- :from => "any",
- :to => "map <string, any>"
- ),
+ SCR.Execute(path(".target.bash_output"), "/usr/bin/hostname -f | /usr/bin/tr -d '\n'"),
"stdout",
""
)
@@ -659,16 +641,12 @@
name_from_bios = getiBFT["iface.initiatorname"] || ""
# if (size((map<string, any>)SCR::Read (.target.lstat, file)) == 0 || ((map<string, any>)SCR::Read (.target.lstat, file))["size"]:0==0){
@initiatorname = Ops.get_string(
- Convert.convert(
- SCR.Execute(
- path(".target.bash_output"),
- Builtins.sformat(
- "grep -v '^#' %1 | grep InitiatorName | cut -d'=' -f2 | tr -d '\n'",
- file
- )
- ),
- :from => "any",
- :to => "map <string, any>"
+ SCR.Execute(
+ path(".target.bash_output"),
+ Builtins.sformat(
+ "/usr/bin/grep -v '^#' %1 | /usr/bin/grep InitiatorName | /usr/bin/cut -d'=' -f2 | /usr/bin/tr -d '\n'",
+ file.shellescape
+ )
),
"stdout",
""
@@ -683,27 +661,14 @@
@initiatorname = name_from_bios
else
Builtins.y2milestone("InitiatorName does not exist - generate it")
- domain = Ops.get_string(
- Convert.convert(
- SCR.Execute(path(".target.bash_output"), ""),
- :from => "any",
- :to => "map <string, any>"
- ),
- "stdout",
- "com.example"
- )
- output = Convert.convert(
- SCR.Execute(
- path(".target.bash_output"),
- Builtins.sformat(
- "/sbin/iscsi-iname -p iqn.%1.%2:01 | tr -d '\n'",
- "`date +%Y-%m`",
- getReverseDomainName
- ),
- {}
+ output = SCR.Execute(
+ path(".target.bash_output"),
+ Builtins.sformat(
+ "/sbin/iscsi-iname -p iqn.%1.%2:01 | tr -d '\n'",
+ "`date +%Y-%m`",
+ getReverseDomainName.shellescape
),
- :from => "any",
- :to => "map <string, any>"
+ {}
)
if Builtins.size(Ops.get_string(output, "stderr", "")) == 0
@initiatorname = Ops.get_string(output, "stdout", "")
@@ -744,20 +709,16 @@
ret = true
Builtins.y2milestone("Delete record %1", @currentRecord)
- retcode = Convert.convert(
- SCR.Execute(
- path(".target.bash_output"),
- GetAdmCmd(
- Builtins.sformat(
- "-m node -I %3 -T %1 -p %2 --logout",
- Ops.get(@currentRecord, 1, ""),
- Ops.get(@currentRecord, 0, ""),
- Ops.get(@currentRecord, 2, "default")
- )
+ retcode = SCR.Execute(
+ path(".target.bash_output"),
+ GetAdmCmd(
+ Builtins.sformat(
+ "-m node -I %3 -T %1 -p %2 --logout",
+ Ops.get(@currentRecord, 1, "").shellescape,
+ Ops.get(@currentRecord, 0, "").shellescape,
+ Ops.get(@currentRecord, 2, "default").shellescape
)
- ),
- :from => "any",
- :to => "map <string, any>"
+ )
)
if Ops.greater_than(
Builtins.size(Ops.get_string(retcode, "stderr", "")),
@@ -776,7 +737,7 @@
# converted to a hash
def getCurrentNodeValues
ret = SCR.Execute(path(".target.bash_output"),
- GetAdmCmd("-m node -I #{@currentRecord[2] || "default"} -T #{@currentRecord[1] || ""} -p #{@currentRecord[0] || ""}"))
+ GetAdmCmd("-m node -I #{(@currentRecord[2] || "default").shellescape} -T #{(@currentRecord[1] || "").shellescape} -p #{(@currentRecord[0] || "").shellescape}"))
return {} if ret["exit"] != 0
nodeInfoToMap(ret["stdout"] || "")
@@ -842,20 +803,16 @@
Builtins.y2milestone("set %1 for record %2", name, rec)
log = !name.include?("password")
- cmd = "-m node -I #{rec[2] || "default"} -T #{rec[1] || ""} -p #{rec[0] || ""} --op=update --name=#{name}"
+ cmd = "-m node -I #{(rec[2] || "default").shellescape} -T #{(rec[1] || "").shellescape} -p #{(rec[0] || "").shellescape} --op=update --name=#{name.shellescape}"
- command = GetAdmCmd("#{cmd} --value=#{value}", log)
+ command = GetAdmCmd("#{cmd} --value=#{value.shellescape}", log)
if !log
value = "*****" if !value.empty?
Builtins.y2milestone("AdmCmd:LC_ALL=POSIX iscsiadm #{cmd} --value=#{value}")
end
ret = true
- retcode = Convert.convert(
- SCR.Execute(path(".target.bash_output"), command),
- :from => "any",
- :to => "map <string, any>"
- )
+ retcode = SCR.Execute(path(".target.bash_output"), command)
if Ops.greater_than(
Builtins.size(Ops.get_string(retcode, "stderr", "")),
0
@@ -946,21 +903,17 @@
status
)
ret = true
- retcode = Convert.convert(
- SCR.Execute(
- path(".target.bash_output"),
- GetAdmCmd(
- Builtins.sformat(
- "-m node -I%3 -T %1 -p %2 --op=update --name=node.conn[0].startup --value=%4",
- Ops.get(@currentRecord, 1, ""),
- Ops.get(@currentRecord, 0, ""),
- Ops.get(@currentRecord, 2, "default"),
- status
- )
+ retcode = SCR.Execute(
+ path(".target.bash_output"),
+ GetAdmCmd(
+ Builtins.sformat(
+ "-m node -I%3 -T %1 -p %2 --op=update --name=node.conn[0].startup --value=%4",
+ Ops.get(@currentRecord, 1, "").shellescape,
+ Ops.get(@currentRecord, 0, "").shellescape,
+ Ops.get(@currentRecord, 2, "default").shellescape,
+ status.shellescape
)
- ),
- :from => "any",
- :to => "map <string, any>"
+ )
)
if Ops.greater_than(
Builtins.size(Ops.get_string(retcode, "stderr", "")),
@@ -968,21 +921,17 @@
)
return false
else
- retcode = Convert.convert(
- SCR.Execute(
- path(".target.bash_output"),
- GetAdmCmd(
- Builtins.sformat(
- "-m node -I %3 -T %1 -p %2 --op=update --name=node.startup --value=%4",
- Ops.get(@currentRecord, 1, ""),
- Ops.get(@currentRecord, 0, ""),
- Ops.get(@currentRecord, 2, "default"),
- status
- )
+ retcode = SCR.Execute(
+ path(".target.bash_output"),
+ GetAdmCmd(
+ Builtins.sformat(
+ "-m node -I %3 -T %1 -p %2 --op=update --name=node.startup --value=%4",
+ Ops.get(@currentRecord, 1, "").shellescape,
+ Ops.get(@currentRecord, 0, "").shellescape,
+ Ops.get(@currentRecord, 2, "default").shellescape,
+ status.shellescape
)
- ),
- :from => "any",
- :to => "map <string, any>"
+ )
)
end
@@ -994,8 +943,7 @@
ret = true
log.info "begin of autoLogOn function"
if !getiBFT.empty?
- result = Convert.to_map(SCR.Execute(path(".target.bash_output"),
- GetAdmCmd("-m fw -l")))
+ result = SCR.Execute(path(".target.bash_output"), GetAdmCmd("-m fw -l"))
ret = false if result["exit"] != 0
log.info "Autologin into iBFT : #{result}"
end
@@ -1036,20 +984,16 @@
setValue("node.session.auth.authmethod", "None")
end
- output = Convert.convert(
- SCR.Execute(
- path(".target.bash_output"),
- GetAdmCmd(
- Builtins.sformat(
- "-m node -I %3 -T %1 -p %2 --login",
- Ops.get_string(target, "target", ""),
- Ops.get_string(target, "portal", ""),
- Ops.get_string(target, "iface", "")
- )
+ output = SCR.Execute(
+ path(".target.bash_output"),
+ GetAdmCmd(
+ Builtins.sformat(
+ "-m node -I %3 -T %1 -p %2 --login",
+ Ops.get_string(target, "target", "").shellescape,
+ Ops.get_string(target, "portal", "").shellescape,
+ Ops.get_string(target, "iface", "").shellescape
)
- ),
- :from => "any",
- :to => "map <string, any>"
+ )
)
Builtins.y2internal("output %1", output)
@@ -1179,8 +1123,8 @@
GetAdmCmd(
Builtins.sformat(
"-m discovery %1 -t st -p %2",
- ifacepar,
- Ops.get_string(target, "portal", "")
+ ifacepar.shellescape,
+ Ops.get_string(target, "portal", "").shellescape
)
)
)
@@ -1254,11 +1198,7 @@
def InitOffloadCard
ret = "default"
- retcode = Convert.convert(
- SCR.Execute(path(".target.bash_output"), GetAdmCmd("-m node -P 1")),
- :from => "any",
- :to => "map <string, any>"
- )
+ retcode = SCR.Execute(path(".target.bash_output"), GetAdmCmd("-m node -P 1"))
ifaces = []
if Builtins.size(Ops.get_string(retcode, "stderr", "")) == 0
Builtins.foreach(
@@ -1293,16 +1233,9 @@
Builtins.y2milestone("InitIfaceFile files:%1", files)
if files == nil || Builtins.size(files) == 0
cmd = GetAdmCmd("-m iface")
- Builtins.y2milestone("InitIfaceFile cmd:%1", cmd)
- Builtins.y2milestone(
- "InitIfaceFile ret:%1",
- SCR.Execute(path(".target.bash_output"), cmd)
- )
- files = Convert.convert(
- SCR.Read(path(".target.dir"), "/etc/iscsi/ifaces"),
- :from => "any",
- :to => "list <string>"
- )
+ res = SCR.Execute(path(".target.bash_output"), cmd)
+ Builtins.y2milestone("InitIfaceFile cmd:#{cmd}\nres:#{res.inspect}", cmd)
+ files = SCR.Read(path(".target.dir"), "/etc/iscsi/ifaces")
Builtins.y2milestone("InitIfaceFile files:%1", files)
end
Builtins.foreach(files) do |file|
@@ -1342,7 +1275,6 @@
end
def GetOffloadItems
- i = 0
init = false
if @offload_valid == nil
init = true
@@ -1374,14 +1306,12 @@
idx = 0
Builtins.foreach(@offload) do |l|
- valid = false
mod = Convert.convert(
Builtins.sort(Ops.get_list(l, 2, [])),
:from => "list",
:to => "list <string>"
)
if Ops.greater_than(Builtins.size(mod), 0)
- i = 0
Builtins.foreach(hw_mods) do |hw|
if Ops.greater_than(
Builtins.size(
@@ -1427,13 +1357,7 @@
Builtins.filter(
Convert.convert(eth, :from => "list", :to => "list <list>")
) do |l|
- cmd = Ops.add(
- Ops.add(
- Ops.add(@offboard_script, " "),
- Ops.get_string(l, 0, "")
- ),
- " | grep ..:..:..:.." # grep for lines containing MAC address
- )
+ cmd = "#{OFFLOAD_SCRIPT} #{Ops.get_string(l, 0, "").shellescape} | grep ..:..:..:.." # grep for lines containing MAC address
Builtins.y2milestone("GetOffloadItems cmd:%1", cmd)
out = Convert.to_map(
SCR.Execute(path(".target.bash_output"), cmd)
@@ -1441,15 +1365,13 @@
# Example for output if offload is supported on interface:
# cmd: iscsi_offload eth2
# out: $["exit":0, "stderr":"", "stdout":"00:00:c9:b1:bc:7f ip \n"]
+ result = SCR.Execute(
+ path(".target.bash_output"),
+ "#{OFFLOAD_SCRIPT} #{Ops.get_string(l, 0, "").shellescape}"
+ )
Builtins.y2milestone(
"GetOffloadItems iscsi_offload out:%1",
- SCR.Execute(
- path(".target.bash_output"),
- Ops.add(
- Ops.add(@offboard_script, " "),
- Ops.get_string(l, 0, "")
- )
- )
+ result
)
Ops.set(offload_res, Ops.get_string(l, 0, ""), {})
Ops.set(
@@ -1506,14 +1428,10 @@
Ops.set(
@offload_valid,
i2,
- Builtins.maplist(
- Convert.convert(eth, :from => "list", :to => "list <list>")
- ) do |l|
- cmd = Ops.add("LC_ALL=POSIX ifconfig ", Ops.get_string(l, 0, ""))
+ Builtins.maplist(eth) do |l|
+ cmd = "LC_ALL=POSIX /usr/bin/ifconfig " + Ops.get_string(l, 0, "").shellescape # FIXME: ifconfig is deprecated
Builtins.y2milestone("GetOffloadItems cmd:%1", cmd)
- out = Convert.to_map(
- SCR.Execute(path(".target.bash_output"), cmd)
- )
+ out = SCR.Execute(path(".target.bash_output"), cmd)
Builtins.y2milestone("GetOffloadItems out:%1", out)
# Search for lines containing "init addr", means IPv4 address.
# Regarding the IPv6 support there are no changes needed here because
@@ -1600,8 +1518,7 @@
end
def GetOffloadModules
- it = nil
- it = GetOffloadItems() if @offload_valid == nil
+ GetOffloadItems() if @offload_valid == nil
modules = []
Builtins.foreach(@offload_valid) do |i, _l|
modules = Convert.convert(
@@ -1657,12 +1574,9 @@
) { |l| Ops.get_string(l, 2, "") == s }
Builtins.y2milestone("CallConfigScript hw:%1", hw)
if hw != nil
- cmd = Ops.add(
- Ops.add(@offboard_script, " "),
- Ops.get_string(hw, 0, "")
- )
+ cmd = "#{OFFLOAD_SCRIPT} #{Ops.get_string(hw, 0, "").shellescape}"
Builtins.y2milestone("CallConfigScript cmd:%1", cmd)
- output = Convert.to_map(SCR.Execute(path(".target.bash_output"), cmd))
+ output = SCR.Execute(path(".target.bash_output"), cmd)
Builtins.y2milestone("CallConfigScript %1", output)
end
end
1
0
Hello community,
here is the log from the commit of package yast2-network for openSUSE:Factory checked in at 2018-12-31 09:44:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-network (Old)
and /work/SRC/openSUSE:Factory/.yast2-network.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-network"
Mon Dec 31 09:44:46 2018 rev:396 rq:659960 version:4.1.25
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-network/yast2-network.changes 2018-11-27 10:39:11.208392992 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-network.new.28833/yast2-network.changes 2018-12-31 09:44:50.174292918 +0100
@@ -1,0 +2,50 @@
+Tue Dec 18 12:49:47 UTC 2018 - mfilka(a)suse.com
+
+- bnc#1119723
+ - properly copy ifcfg files from instsys to target
+- 4.1.25
+
+-------------------------------------------------------------------
+Mon Dec 10 14:02:40 UTC 2018 - jreidinger(a)suse.com
+
+- always use absolute path to binaries (bsc#1118291)
+- properly escape shell arguments (bsc#1118291)
+- 4.1.24
+
+-------------------------------------------------------------------
+Mon Dec 10 13:21:27 UTC 2018 - Stefan Hundhammer <shundhammer(a)suse.com>
+
+- Security audit fixes: Removed unused function stdout_of()
+ (part of bsc#1118291)
+- 4.1.23
+
+-------------------------------------------------------------------
+Thu Dec 6 10:58:23 UTC 2018 - Stefan Hundhammer <shundhammer(a)suse.com>
+
+- Security audit fixes: Use absolute paths when calling external
+ commands and shell-escape arguments (bsc#1118291)
+- 4.1.22
+
+-------------------------------------------------------------------
+Tue Dec 4 09:35:40 UTC 2018 - mfilka(a)suse.com
+
+- bnc#1114213
+ - improved help for dns nameserver address to mention also valid
+ format of IPv6
+- 4.1.21
+
+-------------------------------------------------------------------
+Sun Nov 29 02:07:57 UTC 2018 - Noah Davis <noahadvs(a)gmail.com>
+
+- Provide icon with module (boo#1109310)
+- 4.1.20
+
+-------------------------------------------------------------------
+Mon Nov 26 11:57:35 UTC 2018 - mfilka(a)suse.com
+
+- bnc#934055, bnc#972463
+ - cleanup in Hostname / DNS tab - removed obsolete or unsupported
+ options.
+- 4.1.19
+
+-------------------------------------------------------------------
Old:
----
yast2-network-4.1.18.tar.bz2
New:
----
yast2-network-4.1.25.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-network.spec ++++++
--- /var/tmp/diff_new_pack.d3EtrW/_old 2018-12-31 09:44:50.690292495 +0100
+++ /var/tmp/diff_new_pack.d3EtrW/_new 2018-12-31 09:44:50.690292495 +0100
@@ -17,7 +17,7 @@
Name: yast2-network
-Version: 4.1.18
+Version: 4.1.25
Release: 0
BuildArch: noarch
@@ -101,10 +101,9 @@
%{yast_schemadir}/autoyast/rnc/host.rnc
%{yast_libdir}/network
%{yast_libdir}/y2remote
-%dir %{yast_libdir}/cfa/
-%{yast_libdir}/cfa/hosts.rb
+%{yast_libdir}/cfa/
%{yast_ydatadir}/network
-
+%{yast_icondir}
%dir %{yast_docdir}
%doc %{yast_docdir}/CONTRIBUTING.md
%license COPYING
++++++ yast2-network-4.1.18.tar.bz2 -> yast2-network-4.1.25.tar.bz2 ++++++
++++ 1958 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package yast2-ruby-bindings for openSUSE:Factory checked in at 2018-12-31 09:44:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-ruby-bindings (Old)
and /work/SRC/openSUSE:Factory/.yast2-ruby-bindings.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-ruby-bindings"
Mon Dec 31 09:44:42 2018 rev:91 rq:659955 version:4.1.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-ruby-bindings/yast2-ruby-bindings.changes 2018-11-01 19:03:39.734011296 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-ruby-bindings.new.28833/yast2-ruby-bindings.changes 2018-12-31 09:44:43.834298112 +0100
@@ -1,0 +2,7 @@
+Tue Dec 18 15:30:14 UTC 2018 - jlopez(a)suse.com
+
+- Configure $PATH environment variable to execute external commands
+ only from safe paths (part of bsc#1118291).
+- 4.1.1
+
+-------------------------------------------------------------------
Old:
----
yast2-ruby-bindings-4.1.0.tar.bz2
New:
----
yast2-ruby-bindings-4.1.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-ruby-bindings.spec ++++++
--- /var/tmp/diff_new_pack.Mvkw0g/_old 2018-12-31 09:44:44.170297837 +0100
+++ /var/tmp/diff_new_pack.Mvkw0g/_new 2018-12-31 09:44:44.170297837 +0100
@@ -17,7 +17,7 @@
Name: yast2-ruby-bindings
-Version: 4.1.0
+Version: 4.1.1
Release: 0
Url: https://github.com/yast/yast-ruby-bindings
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ yast2-ruby-bindings-4.1.0.tar.bz2 -> yast2-ruby-bindings-4.1.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ruby-bindings-4.1.0/package/yast2-ruby-bindings.changes new/yast2-ruby-bindings-4.1.1/package/yast2-ruby-bindings.changes
--- old/yast2-ruby-bindings-4.1.0/package/yast2-ruby-bindings.changes 2018-10-23 16:03:14.000000000 +0200
+++ new/yast2-ruby-bindings-4.1.1/package/yast2-ruby-bindings.changes 2018-12-19 09:24:47.000000000 +0100
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Tue Dec 18 15:30:14 UTC 2018 - jlopez(a)suse.com
+
+- Configure $PATH environment variable to execute external commands
+ only from safe paths (part of bsc#1118291).
+- 4.1.1
+
+-------------------------------------------------------------------
Tue Oct 23 09:52:53 UTC 2018 - jreidinger(a)suse.com
- Fix encoding-related problems by assuming that file contents is
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ruby-bindings-4.1.0/package/yast2-ruby-bindings.spec new/yast2-ruby-bindings-4.1.1/package/yast2-ruby-bindings.spec
--- old/yast2-ruby-bindings-4.1.0/package/yast2-ruby-bindings.spec 2018-10-23 16:03:14.000000000 +0200
+++ new/yast2-ruby-bindings-4.1.1/package/yast2-ruby-bindings.spec 2018-12-19 09:24:47.000000000 +0100
@@ -17,7 +17,7 @@
Name: yast2-ruby-bindings
-Version: 4.1.0
+Version: 4.1.1
Url: https://github.com/yast/yast-ruby-bindings
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ruby-bindings-4.1.0/src/ruby/yast/y2start_helpers.rb new/yast2-ruby-bindings-4.1.1/src/ruby/yast/y2start_helpers.rb
--- old/yast2-ruby-bindings-4.1.0/src/ruby/yast/y2start_helpers.rb 2018-10-23 16:03:14.000000000 +0200
+++ new/yast2-ruby-bindings-4.1.1/src/ruby/yast/y2start_helpers.rb 2018-12-19 09:24:47.000000000 +0100
@@ -1,5 +1,17 @@
module Yast
module Y2StartHelpers
+ # Configure global environment for YaST
+ #
+ # Currently it only sets values for $PATH.
+ #
+ # By configuring $PATH, it ensures that correct external programs are executed when
+ # relative paths are given, so possible CVEs are avoided when running YaST.
+ #
+ # Note that forked processes will inherit the environment configuration, for example
+ # when executing commands via SCR or Cheetah.
+ def self.config_env
+ ENV["PATH"] = "/sbin:/usr/sbin:/usr/bin:/bin"
+ end
# Parses ARGV of y2start. it returns map with keys:
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ruby-bindings-4.1.0/src/y2start/y2start new/yast2-ruby-bindings-4.1.1/src/y2start/y2start
--- old/yast2-ruby-bindings-4.1.0/src/y2start/y2start 2018-10-23 16:03:14.000000000 +0200
+++ new/yast2-ruby-bindings-4.1.1/src/y2start/y2start 2018-12-19 09:24:47.000000000 +0100
@@ -13,6 +13,10 @@
Yast::Y2StartHelpers.setup_signals
+# Configure global YaST environment. For example, it sets $PATH to ensure that
+# external commands are only executed from safe paths.
+Yast::Y2StartHelpers.config_env
+
File.umask(0o022)
Yast.y2milestone("y2base called with #{ARGV.inspect}")
1
0
Hello community,
here is the log from the commit of package yast2-configuration-management for openSUSE:Factory checked in at 2018-12-31 09:44:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-configuration-management (Old)
and /work/SRC/openSUSE:Factory/.yast2-configuration-management.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-configuration-management"
Mon Dec 31 09:44:38 2018 rev:7 rq:659820 version:4.1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-configuration-management/yast2-configuration-management.changes 2018-11-01 19:02:31.510006198 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-configuration-management.new.28833/yast2-configuration-management.changes 2018-12-31 09:44:39.670301524 +0100
@@ -1,0 +2,6 @@
+Mon Dec 17 11:22:35 UTC 2018 - Stasiek Michalski <hellcp(a)mailbox.org>
+
+- Provide icon with module (boo#1109310)
+- 4.1.0
+
+-------------------------------------------------------------------
Old:
----
yast2-configuration-management-4.0.3.tar.bz2
New:
----
yast2-configuration-management-4.1.0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-configuration-management.spec ++++++
--- /var/tmp/diff_new_pack.2iezBK/_old 2018-12-31 09:44:40.030301229 +0100
+++ /var/tmp/diff_new_pack.2iezBK/_new 2018-12-31 09:44:40.034301226 +0100
@@ -17,7 +17,7 @@
Name: yast2-configuration-management
-Version: 4.0.3
+Version: 4.1.0
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -59,6 +59,7 @@
%{yast_clientdir}/*.rb
%{yast_libdir}/configuration_management
%{yast_desktopdir}/*.desktop
+%{yast_icondir}
%dir %{yast_docdir}
%license COPYING
++++++ yast2-configuration-management-4.0.3.tar.bz2 -> yast2-configuration-management-4.1.0.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-configuration-management-4.0.3/package/yast2-configuration-management.changes new/yast2-configuration-management-4.1.0/package/yast2-configuration-management.changes
--- old/yast2-configuration-management-4.0.3/package/yast2-configuration-management.changes 2018-10-17 11:11:20.000000000 +0200
+++ new/yast2-configuration-management-4.1.0/package/yast2-configuration-management.changes 2018-12-18 09:13:30.000000000 +0100
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Mon Dec 17 11:22:35 UTC 2018 - Stasiek Michalski <hellcp(a)mailbox.org>
+
+- Provide icon with module (boo#1109310)
+- 4.1.0
+
+-------------------------------------------------------------------
Tue Oct 16 14:01:15 CEST 2018 - schubi(a)suse.de
- Fixed path to license file.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-configuration-management-4.0.3/package/yast2-configuration-management.spec new/yast2-configuration-management-4.1.0/package/yast2-configuration-management.spec
--- old/yast2-configuration-management-4.0.3/package/yast2-configuration-management.spec 2018-10-17 11:11:20.000000000 +0200
+++ new/yast2-configuration-management-4.1.0/package/yast2-configuration-management.spec 2018-12-18 09:13:30.000000000 +0100
@@ -17,7 +17,7 @@
Name: yast2-configuration-management
-Version: 4.0.3
+Version: 4.1.0
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -59,6 +59,7 @@
%{yast_clientdir}/*.rb
%{yast_libdir}/configuration_management
%{yast_desktopdir}/*.desktop
+%{yast_icondir}
%dir %{yast_docdir}
%license COPYING
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-configuration-management-4.0.3/src/desktop/configuration_management.desktop new/yast2-configuration-management-4.1.0/src/desktop/configuration_management.desktop
--- old/yast2-configuration-management-4.0.3/src/desktop/configuration_management.desktop 2018-10-17 11:11:20.000000000 +0200
+++ new/yast2-configuration-management-4.1.0/src/desktop/configuration_management.desktop 2018-12-18 09:13:30.000000000 +0100
@@ -11,4 +11,5 @@
X-SuSE-YaST-Keywords=salt,privisioning,configuration_management
Name=YaST2 Configuration Management
+Icon=yast-configuration-management
Hidden=true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-configuration-management-4.0.3/src/icons/hicolor/scalable/apps/yast-configuration-management.svg new/yast2-configuration-management-4.1.0/src/icons/hicolor/scalable/apps/yast-configuration-management.svg
--- old/yast2-configuration-management-4.0.3/src/icons/hicolor/scalable/apps/yast-configuration-management.svg 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-configuration-management-4.1.0/src/icons/hicolor/scalable/apps/yast-configuration-management.svg 2018-12-18 09:13:30.000000000 +0100
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg enable-background="new" version="1.0" viewBox="0 0 128 128" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+<defs>
+<linearGradient id="b" x1="40" x2="88" y1="204" y2="204" gradientUnits="userSpaceOnUse">
+<stop stop-color="#deddda" offset="0"/>
+<stop stop-color="#c0bfbc" offset="1"/>
+</linearGradient>
+<linearGradient id="a" x1="40" x2="88" y1="210" y2="210" gradientUnits="userSpaceOnUse">
+<stop stop-color="#c0bfbc" offset="0"/>
+<stop stop-color="#deddda" offset=".083333"/>
+<stop stop-color="#c0bfbc" offset=".16667"/>
+<stop stop-color="#c0bfbc" offset=".83333"/>
+<stop stop-color="#f6f5f4" offset=".91667"/>
+<stop stop-color="#9a9996" offset="1"/>
+</linearGradient>
+</defs>
+<g transform="translate(0,-172)">
+<g display="none">
+<text x="7.9499588" y="148.65199" display="inline" enable-background="new" fill="#000000" font-family="Cantarell" font-size="5.3333px" stroke-width=".33265" style="line-height:125%" xml:space="preserve"><tspan x="7.9499588" y="148.65199" font-size="5.3333px" stroke-width=".33265">apps</tspan></text>
+<text x="7.7533054" y="157.23398" display="inline" enable-background="new" fill="#000000" font-family="Cantarell" font-size="5.3333px" font-weight="bold" stroke-width=".33265" style="line-height:125%" xml:space="preserve"><tspan x="7.7533054" y="157.23398" font-size="5.3333px" stroke-width=".33265">org.gnome.</tspan></text>
+<rect x="9.2651e-8" y="172" width="128" height="128" display="inline" enable-background="accumulate" fill="#f0f0f0"/>
+<g transform="matrix(.25 0 0 .25 6.9489e-8 225)" fill="#2864b0">
+<circle cx="256" cy="44" r="240" opacity=".1" style="paint-order:normal"/>
+<rect x="96" y="-180" width="320" height="448" rx="32" ry="32" opacity=".1" style="paint-order:normal"/>
+<rect x="48" y="-164" width="416" height="416" rx="32" ry="32" display="inline" enable-background="new" opacity=".1" style="paint-order:normal"/>
+<rect x="32" y="-116" width="448" height="320" rx="32" ry="32" display="inline" enable-background="new" opacity=".1" style="paint-order:normal"/>
+</g>
+</g>
+<g>
+<rect x="40" y="208" width="48" height="80" ry="8" fill="#f6f5f4"/>
+<rect x="40" y="232" width="48" height="56" ry="8" fill="#e4effb"/>
+<rect x="40" y="232" width="48" height="20" ry="8" fill="#d8e7f9"/>
+<path transform="translate(0,172)" d="m48 36c-4.432 0-8 3.568-8 8v64c0 4.432 3.568 8 8 8h2.666l26.668-80h-29.334z" enable-background="new" fill="#fff" opacity=".3"/>
+<rect x="40" y="200" width="48" height="24" ry="8" fill="url(#a)"/>
+<rect x="40" y="188" width="48" height="28" ry="8" fill="url(#b)"/>
+<circle cx="74" cy="194" r="2" fill="#5e5c64"/>
+<circle cx="66" cy="194" r="2" fill="#5e5c64"/>
+<circle cx="58" cy="194" r="2" fill="#5e5c64"/>
+<circle cx="50" cy="198" r="2" fill="#5e5c64"/>
+<circle cx="58" cy="202" r="2" fill="#5e5c64"/>
+<circle cx="66" cy="202" r="2" fill="#5e5c64"/>
+<circle cx="74" cy="206" r="2" fill="#5e5c64"/>
+<circle cx="66" cy="210" r="2" fill="#5e5c64"/>
+<circle cx="58" cy="210" r="2" fill="#5e5c64"/>
+<circle cx="50" cy="210" r="2" fill="#5e5c64"/>
+</g>
+</g>
+</svg>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-configuration-management-4.0.3/src/icons/hicolor/symbolic/yast-configuration-management-symbolic.svg new/yast2-configuration-management-4.1.0/src/icons/hicolor/symbolic/yast-configuration-management-symbolic.svg
--- old/yast2-configuration-management-4.0.3/src/icons/hicolor/symbolic/yast-configuration-management-symbolic.svg 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-configuration-management-4.1.0/src/icons/hicolor/symbolic/yast-configuration-management-symbolic.svg 2018-12-18 09:13:30.000000000 +0100
@@ -0,0 +1,3 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16">
+ <path d="M 5 0 C 3.892 0 3 0.892 3 2 L 3 3 C 3 4.108 3.892 5 5 5 L 11 5 C 12.108 5 13 4.108 13 3 L 13 2 C 13 0.892 12.108 0 11 0 L 5 0 z M 6.5 1 C 6.777 1 7 1.223 7 1.5 C 7 1.777 6.777 2 6.5 2 C 6.223 2 6 1.777 6 1.5 C 6 1.223 6.223 1 6.5 1 z M 8.5 1 C 8.777 1 9 1.223 9 1.5 C 9 1.777 8.777 2 8.5 2 C 8.223 2 8 1.777 8 1.5 C 8 1.223 8.223 1 8.5 1 z M 10.5 1 C 10.777 1 11 1.223 11 1.5 C 11 1.777 10.777 2 10.5 2 C 10.223 2 10 1.777 10 1.5 C 10 1.223 10.223 1 10.5 1 z M 5.5761719 2 C 5.8531719 2 6.0761719 2.223 6.0761719 2.5 C 6.0761719 2.777 5.8531719 3 5.5761719 3 C 5.2991719 3 5.0761719 2.777 5.0761719 2.5 C 5.0761719 2.223 5.2991719 2 5.5761719 2 z M 7.5761719 2 C 7.8531719 2 8.0761719 2.223 8.0761719 2.5 C 8.0761719 2.777 7.8531719 3 7.5761719 3 C 7.2991719 3 7.0761719 2.777 7.0761719 2.5 C 7.0761719 2.223 7.2991719 2 7.5761719 2 z M 9.5761719 2 C 9.8531719 2 10.076172 2.223 10.076172 2.5 C 10.076172 2.777 9.8531719 3 9.5761719 3 C 9.2991719 3 9.0761719 2.777 9.0761719 2.5 C 9.0761719 2.223 9.2991719 2 9.5761719 2 z M 6.3867188 3 C 6.6637188 3 6.8867187 3.223 6.8867188 3.5 C 6.8867187 3.777 6.6637188 4 6.3867188 4 C 6.1097187 4 5.8867187 3.777 5.8867188 3.5 C 5.8867186 3.223 6.1097187 3 6.3867188 3 z M 8.3867188 3 C 8.6637185 3 8.8867188 3.223 8.8867188 3.5 C 8.8867188 3.777 8.6637185 4 8.3867188 4 C 8.1097186 4 7.8867188 3.777 7.8867188 3.5 C 7.8867188 3.223 8.1097186 3 8.3867188 3 z M 10.386719 3 C 10.663719 3 10.886719 3.223 10.886719 3.5 C 10.886719 3.777 10.663719 4 10.386719 4 C 10.109719 4 9.8867188 3.777 9.8867188 3.5 C 9.8867188 3.223 10.109719 3 10.386719 3 z M 3 4 L 3 14 C 3 15.108 3.892 16 5 16 L 10 16 L 10 15 L 5 15 C 4.446 15 4 14.554 4 14 L 4 6.7246094 C 4.2950013 6.8957089 4.6330699 7 5 7 L 11 7 C 11.36693 7 11.704999 6.8957089 12 6.7246094 L 12 10 L 13 10 L 13 4 C 13 5.108 12.108 6 11 6 L 5 6 C 3.892 6 3 5.108 3 4 z M 5 10 L 5 13 C 5 13.554 5.446 14 6 14 L 10 14 L 10 10 L 5 10 z M 11 11 L 11 16 L 16 16 L 16 11 L 11 11 z M 12 12 L 13 12 L 13 13 L 14 13 L 14 12 L 15 12 L 15 14 L 14 14 L 14 15 L 13 15 L 13 14 L 12 14 L 12 12 z " fill="#c0bfbc" />
+</svg>
1
0