Hello community, here is the log from the commit of package openwsman for openSUSE:Leap:15.2 checked in at 2020-06-04 16:02:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/openwsman (Old) and /work/SRC/openSUSE:Leap:15.2/.openwsman.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openwsman" Thu Jun 4 16:02:38 2020 rev:18 rq:810747 version:2.7.0 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/openwsman/openwsman.changes 2020-01-15 15:37:30.623031215 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.openwsman.new.3606/openwsman.changes 2020-06-04 16:03:53.239563191 +0200 @@ -2 +2 @@ -Tue Sep 17 13:55:05 UTC 2019 - Klaus Kämpf <[email protected]> +Mon May 25 12:43:49 UTC 2020 - Klaus Kämpf <[email protected]> @@ -4,2 +4,38 @@ -- bsc1105331.patch: add CIM_NAMESPACE if it's _not_ already present - (bsc#1105331) +- Update to 2.7.0 + * API change: + client_opt: expiry and hearbeat_interval are float (Alexander Usyskin) + wsmc_set_sub_expiry() and wsmc_set_heartbeat_interval() change their + first parameter from int to float + * bump so version of libwsman_client from 4 to 5 + + * split off client libraries from server libraries + libwsman_client5 is separate from libwsman3 now. + +- Features + * new functions for C++ bindings: OpenWsmanClient::GetWithFlags() + and OpenWsmanClient::PutWithFlags to add a 'flags' parameter + (Alexander Usyskin) + * add FLAG_SUPRESS_100_CONTINUE to options, fixes #131 to workaround + a curl problem. Reportedly curl 7.69.0 fixes this also in curl. + (Alexander Usyskin) + +- Fixes + * fixed several compiler warnings (Alexander Usyskin) + * fixed spelling errors (Tomas Winkler) + +------------------------------------------------------------------- +Fri Oct 4 06:37:08 UTC 2019 - Klaus Kämpf <[email protected]> + +- Update to 2.6.13 + * Bugfixes + - fixed several compiler warnings (Alexander Usyskin) + - code cleanup (Alexander Usyskin) + - general code robustness (Alexander Usyskin) + +------------------------------------------------------------------- +Tue Sep 17 14:42:10 UTC 2019 - Klaus Kämpf <[email protected]> + +- Update to 2.6.12 + * Bugfix release + - fix regression from 2.5.0: __cimnamespace selector was not + properly set in requests. @@ -8 +44,26 @@ -Thu Mar 14 13:42:50 UTC 2019 - Adam Majer <[email protected]> +Tue Sep 17 09:42:38 UTC 2019 - Klaus Kämpf <[email protected]> + +- Update to 2.6.11 + * Bugfix release + - prevent double free in events error processing + +------------------------------------------------------------------- +Wed Aug 7 11:44:15 UTC 2019 - Klaus Kämpf <[email protected]> + +- Update to 2.6.10 + * install firewalld configuration (Leap/SLE 15+, Fedora 15+) + * Fix possible denial of service (bsc#1122623, CVE-2019-3816, CVE-2019-3833) + * Pthread usage fixes (Alexander Usyskin) + * Convert sprintf to snprintf and strcpy to strncpy (Tomas Winkler) + * Many potential NULL dereferences fixed (Alexander Usyskin) + +- drop bsc1122623.patch and debug_fix.patch, upstreamed + +------------------------------------------------------------------- +Wed Jun 12 14:23:10 UTC 2019 - Dominique Leuenberger <[email protected]> + +- BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to + shortcut the build queues by allowing usage of systemd-mini + +------------------------------------------------------------------- +Wed Apr 3 09:01:06 UTC 2019 - Adam Majer <[email protected]> @@ -13,0 +75,32 @@ +- use OBS specific BuildIgnore syntax that is rpm friendly. This is + to prevent rpm parser from reporting errors. + +------------------------------------------------------------------- +Tue Jan 8 09:27:48 UTC 2019 - [email protected] + +- Remove comment from postun scriptlet because it generates a + script which is not understood by specified interpreter + +------------------------------------------------------------------- +Mon Nov 19 12:28:41 UTC 2018 - Klaus Kämpf <[email protected]> + +- Update to 2.6.9 + +- Build with CURL 7.62.0 or later + +- Fix VS 2017 compilation (#114) + +- Warn on empty ssl_cipher_list (#111) + +------------------------------------------------------------------- +Mon Oct 12 12:28:41 UTC 2018 - Klaus Kämpf <[email protected]> + +- Update to 2.6.8 + +- Disable directory listing in the http(s) component + +- Switch license to BSD-3-Clause AND GPL-2.0-only, since redirect + plugin is under GPL 2.0 only license. + +------------------------------------------------------------------- +Sun Mar 4 12:39:01 UTC 2018 - [email protected] @@ -15,3 +108,4 @@ -Backport patches from upstream, -- 31c355f.patch: Work with OpenSSL 1.1 -- a4a66e8.patch: disable directory listings by default (bsc#1092206) +- Update RPM groups and package descriptions. +- Replace old $RPM_* shell vars. Remove some unnecessary + %if..%endif blocks that do not affect the build process or + result. Old: ---- 31c355f.patch a4a66e8.patch bsc1105331.patch bsc1122623.patch debug_fix.patch openwsman-2.6.7.tar.bz2 New: ---- openwsman-2.7.0.tar.bz2 openwsman.firewalld ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openwsman.spec ++++++ --- /var/tmp/diff_new_pack.utxFEn/_old 2020-06-04 16:03:53.675564650 +0200 +++ /var/tmp/diff_new_pack.utxFEn/_new 2020-06-04 16:03:53.679564663 +0200 @@ -1,7 +1,7 @@ # # spec file for package openwsman # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -22,6 +22,12 @@ %define has_systemd 0 %endif +%if 0%{?suse_version} > 1500 || 0%{?fedora_version} > 14 +%define has_firewalld 1 +%else +%define has_firewalld 0 +%endif + %if 0%{?suse_version} >= 1500 %define want_python3 1 %else @@ -29,7 +35,7 @@ %endif Name: openwsman -BuildRequires: cmake +BuildRequires: cmake >= 2.6 BuildRequires: gcc-c++ BuildRequires: libxml2-devel BuildRequires: pam-devel @@ -44,7 +50,7 @@ %endif %if 0%{?rhel_version} > 0 -BuildRequires: -vim +#!BuildIgnore: vim %endif %if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel} @@ -127,23 +133,25 @@ %endif %if 0%{?has_systemd} -BuildRequires: systemd +BuildRequires: pkgconfig(systemd) %{?systemd_requires} %endif +%if 0%{?has_firewalld} +BuildRequires: firewall-macros +%endif + Requires(pre): sed coreutils grep /bin/hostname -Version: 2.6.7 +Version: 2.7.0 Release: 0 # Mandriva: # Release %%mkrel 1 -Url: http://www.openwsman.org/ -Summary: Opensource Implementation of WS-Management +URL: http://www.openwsman.org/ +Summary: An implementation of the WS-MAN specification License: BSD-3-Clause AND GPL-2.0-only Group: System/Management Source: %{name}-%{version}.tar.bz2 Source1: %{name}.rpmlintrc -Source3: %{name}.SuSEfirewall2 -Source4: %{name}.service Source21: %{name}.pam.rh Source22: %{name}.pam Patch1: openwsman-initscript.patch @@ -152,30 +160,43 @@ %else %define pamfile %{S:22} %endif -Patch2: 31c355f.patch -Patch3: a4a66e8.patch -Patch4: debug_fix.patch -Patch5: bsc1122623.patch -Patch6: bsc1105331.patch +Source3: %{name}.SuSEfirewall2 BuildRoot: %{_tmppath}/%{name}-%{version}-build +Source4: %{name}.service +Source5: %{name}.firewalld %description -Opensource Implementation of WS-Management protocol stack - +OpenWSMAN is an implementation of the WS-Management protocol stack. +Web Services for Management (WS-MAN) is a specification for managing +computer systems using web services standards. %package -n libwsman3 -Summary: Opensource Implementation of WS-Management -Group: System/Management +Summary: An implementation of the WS-MAN specification +Group: System/Libraries Provides: openwsman = %{version} Obsoletes: libwsman1 < %{version} Obsoletes: openwsman < %{version} %description -n libwsman3 -Opensource Implementation of WS-Management protocol stack -(Common libraries) +OpenWSMAN is an implementation of the WS-Management protocol stack. +Web Services for Management (WS-MAN) is a specification for managing +computer systems using web services standards. + +This subpackage provides the common libraries of OpenWSMAN. + +%package -n libwsman_client5 +Summary: An implementation of the WS-MAN specification +Group: System/Libraries + +%description -n libwsman_client5 +OpenWSMAN is an implementation of the WS-Management protocol stack. +Web Services for Management (WS-MAN) is a specification for managing +computer systems using web services standards. + +This subpackage provides the client libraries of OpenWSMAN. %package -n libwsman-devel -Summary: Opensource Implementation of WS-Management +Summary: Development files for OpenWSMAN Group: Development/Libraries/C and C++ Provides: openwsman-devel = %{version} Obsoletes: openwsman-devel < %{version} @@ -186,27 +207,31 @@ Requires: sblim-sfcc-devel %description -n libwsman-devel -Opensource Implementation of WS-Management stack -(Development files) +OpenWSMAN is an implementation of the WS-Management protocol stack. + +This subpackage provides the header files for its libraries. %package -n libwsman_clientpp1 -Summary: C++ bindings to Openwsman Client libraries -Group: System/Management +Summary: C++ bindings to the OpenWSMAN client library +Group: System/Libraries Provides: openwsman-client = %{version} Obsoletes: openwsman-client < %{version} %description -n libwsman_clientpp1 -An implementation of the WsmanClient interface using C++ +OpenWSMAN is an implementation of the WS-Management protocol stack. +This subpackage provides a C++ API library for OpenWSMAN. %package -n libwsman_clientpp-devel -Summary: C++ bindings to Openwsman Client libraries +Summary: C++ development files for OpenWSMAN Group: Development/Libraries/C and C++ Requires: libwsman-devel = %{version} Requires: libwsman_clientpp1 = %{version} %description -n libwsman_clientpp-devel -Development files for C++ interface to OpenWSMAN client library. +OpenWSMAN is an implementation of the WS-Management protocol stack. + +Development files for the C++ interface to the OpenWSMAN client library. %package server @@ -214,41 +239,38 @@ %if 0%{?suse_version} Requires(pre): fillup %endif -Summary: Openwsman Server and service libraries +Summary: OpenWSMAN server and service libraries Group: System/Management %description server -Openwsman Server and service libraries - +OpenWSMAN server and service libraries. -%if 0%{?rhel_version} != 700 %package server-plugin-ruby Requires: openwsman-server -Summary: Openwsman Server Plugin for Ruby extensions +Summary: OpenWSMAN Server Plugin for Ruby extensions Group: System/Management %description server-plugin-ruby -This package provides a Openwsman server plugin to write a -WS-Management resource handler in Ruby - -%endif +This package provides a OpenWSMAN server plugin to write a +WS-Management resource handler in Ruby. %if 0%{?want_python3} %package -n python3-%{name} -Summary: Python3 bindings for openwsman client API +Summary: Python3 bindings for OpenWSMAN client API Group: Development/Libraries/Python +Provides: %{name}-python %{!?python3_sitelib: %global python3_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python3_sitearch: %global python3_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %{!?py3_requires: %define py3_requires Requires: python3} %{py3_requires} %description -n python3-%{name} -This package provides Python3 bindings to access the openwsman client +This package provides Python3 bindings to access the OpenWSMAN client API. %else %package python -Summary: Python bindings for openwsman client API +Summary: Python bindings for OpenWSMAN client API Group: Development/Libraries/Python %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} @@ -256,7 +278,7 @@ %{py_requires} %description python -This package provides Python bindings to access the openwsman client +This package provides Python bindings to access the OpenWSMAN client API. %endif @@ -300,18 +322,18 @@ %endif %endif -Summary: Ruby bindings for openwsman client API +Summary: Ruby bindings for OpenWSMAN client API Group: System/Management %description ruby -This package provides Ruby bindings to access the openwsman client API. +This package provides Ruby bindings to access the OpenWSMAN client API. %package ruby-docs -Summary: HTML documentation for Opendwsman Ruby bindings +Summary: HTML documentation for OpenWSMAN Ruby bindings Group: Documentation/HTML %description ruby-docs -This package provides HTML documentation for the Openwsman Ruby +This package provides HTML documentation for the OpenWSMAN Ruby bindings. %endif # not rhel7 @@ -324,11 +346,11 @@ %else Requires: perl = %{perl_version} %endif -Summary: Perl bindings for openwsman client API +Summary: Perl bindings for OpenWSMAN client API Group: System/Management %description perl -This package provides Perl bindings to access the openwsman client API. +This package provides Perl bindings to access the OpenWSMAN client API. %if 0%{?suse_version} == 0 || 0%{?suse_version} >= 1100 @@ -336,11 +358,11 @@ %package java Requires: java Requires: libwsman3 = %{version} -Summary: Java bindings for openwsman client API +Summary: Java bindings for OpenWSMAN client API Group: System/Management %description java -This package provides Java bindings to access the openwsman client API. +This package provides Java bindings to access the OpenWSMAN client API. %endif @@ -353,8 +375,8 @@ Requires: openwsman-ruby = %{version} %description -n winrs -This is a command line tool for the Windows Remote Shell protocol. You -can use it to send shell commands to a remote Windows hosts. +This is a command line tool for the Windows Remote Shell protocol. +It can be used to send shell commands to remote Windows hosts. %endif @@ -363,11 +385,6 @@ %if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel} %patch1 -p1 %endif -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 %build rm -rf build @@ -383,8 +400,6 @@ export EXPLICIT_TARGET=1.5 %endif -# export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -D_DEBUG" - cd build # SLE 10 Java doesn't like EXPLICIT_TARGET any more, disable cmake \ @@ -400,9 +415,6 @@ -DBUILD_PYTHON3=FALSE \ %endif -DCMAKE_VERBOSE_MAKEFILE=TRUE \ -%if 0 - -DWSMAN_DEBUG_VERBOSE=TRUE \ -%endif -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_C_FLAGS_RELEASE:STRING="$RPM_OPT_FLAGS -fno-strict-aliasing" \ -DCMAKE_CXX_FLAGS_RELEASE:STRING="$RPM_OPT_FLAGS" \ @@ -418,43 +430,45 @@ %install cd build -make DESTDIR=$RPM_BUILD_ROOT install -mkdir -p $RPM_BUILD_ROOT%{_docdir} +%make_install +mkdir -p %{buildroot}/%{_docdir} # don't copy ruby docs if they don't exist -[ -d bindings/ruby/html ] && cp -a bindings/ruby/html $RPM_BUILD_ROOT%{_docdir}/openwsman-ruby-docs +[ -d bindings/ruby/html ] && cp -a bindings/ruby/html %{buildroot}/%{_docdir}/openwsman-ruby-docs cd .. -rm -f $RPM_BUILD_ROOT%{_libdir}/*.la -rm -f $RPM_BUILD_ROOT%{_libdir}/openwsman/plugins/*.la -rm -f $RPM_BUILD_ROOT%{_libdir}/openwsman/authenticators/*.la -[ -d $RPM_BUILD_ROOT%{ruby_sitelib} ] && rm -f $RPM_BUILD_ROOT%{ruby_sitelib}/openwsmanplugin.rb -[ -d $RPM_BUILD_ROOT%{ruby_vendorlib} ] && rm -f $RPM_BUILD_ROOT%{ruby_vendorlib}/openwsmanplugin.rb +rm -f %{buildroot}/%{_libdir}/*.la +rm -f %{buildroot}/%{_libdir}/openwsman/plugins/*.la +rm -f %{buildroot}/%{_libdir}/openwsman/authenticators/*.la +[ -d %{buildroot}/%{ruby_sitelib} ] && rm -f %{buildroot}/%{ruby_sitelib}/openwsmanplugin.rb +[ -d %{buildroot}/%{ruby_vendorlib} ] && rm -f %{buildroot}/%{ruby_vendorlib}/openwsmanplugin.rb %if 0%{?has_systemd} -install -D -m 644 %{S:4} $RPM_BUILD_ROOT%{_unitdir}/%{name}.service +install -D -m 644 %{S:4} %{buildroot}/%{_unitdir}/%{name}.service # rcopenwsman -ln -sf %{_sbindir}/service $RPM_BUILD_ROOT%{_sbindir}/rc%{name} +ln -sf %{_sbindir}/service %{buildroot}/%{_sbindir}/rc%{name} %else -mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/init.d -install -m 755 build/etc/init/openwsmand.sh $RPM_BUILD_ROOT%{_sysconfdir}/init.d/openwsmand -ln -sf %{_sysconfdir}/init.d/openwsmand $RPM_BUILD_ROOT%{_sbindir}/rcopenwsmand -%endif -install -m 644 etc/openwsman.conf $RPM_BUILD_ROOT%{_sysconfdir}/openwsman -install -m 644 etc/openwsman_client.conf $RPM_BUILD_ROOT%{_sysconfdir}/openwsman -install -m 644 etc/ssleay.cnf $RPM_BUILD_ROOT%{_sysconfdir}/openwsman -install -m 644 %{pamfile} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/openwsman -%if 0%{?suse_version} > 1010 -install -D -m 644 %{S:3} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/openwsman -%endif +mkdir -p %{buildroot}/%{_sysconfdir}/init.d +install -m 755 build/etc/init/openwsmand.sh %{buildroot}/%{_sysconfdir}/init.d/openwsmand +ln -sf %{_sysconfdir}/init.d/openwsmand %{buildroot}/%{_sbindir}/rcopenwsmand +%endif +%if 0%{?has_firewalld} +mkdir -p %{buildroot}/%{_libexecdir}/firewalld/services +install -D -m 644 %{S:5} %{buildroot}/%{_libexecdir}/firewalld/services/%{name}.xml +%else +install -D -m 644 %{S:3} %{buildroot}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/openwsman +%endif +install -m 644 etc/openwsman.conf %{buildroot}/%{_sysconfdir}/openwsman +install -m 644 etc/openwsman_client.conf %{buildroot}/%{_sysconfdir}/openwsman +install -m 644 etc/ssleay.cnf %{buildroot}/%{_sysconfdir}/openwsman +install -m 644 %{pamfile} %{buildroot}/%{_sysconfdir}/pam.d/openwsman %if 0%{?rhel_version} == 700 -rm -f $RPM_BUILD_ROOT%{_bindir}/winrs +rm -f %{buildroot}/%{_bindir}/winrs %endif %post -n libwsman3 -p /sbin/ldconfig +%postun -n libwsman3 -p /sbin/ldconfig -%postun -n libwsman3 -/sbin/ldconfig -exit 0 +%post -n libwsman_client5 -p /sbin/ldconfig +%postun -n libwsman_client5 -p /sbin/ldconfig -# follow http://en.opensuse.org/openSUSE:Systemd_packaging_guidelines %if 0%{?has_systemd} %pre server if [ -f /var/lib/systemd/migrated/%{name} ]; then @@ -473,6 +487,9 @@ # FIXME: chkconfig?! %endif %endif +%if 0%{?has_firewalld} +%firewalld_reload +%endif %preun server %if 0%{?has_systemd} @@ -505,11 +522,17 @@ %files -n libwsman3 %defattr(-,root,root) -%doc AUTHORS COPYING ChangeLog README.md TODO src/plugins/redirect/redirect-README +%doc AUTHORS ChangeLog README.md TODO src/plugins/redirect/redirect-README +%license COPYING %{_libdir}/libwsman.so.* -%{_libdir}/libwsman_client.so.* %{_libdir}/libwsman_curl_client_transport.so.* %dir %{_sysconfdir}/openwsman + +%files -n libwsman_client5 +%defattr(-,root,root) +%doc AUTHORS +%license COPYING +%{_libdir}/libwsman_client.so.* %config(noreplace) %{_sysconfdir}/openwsman/openwsman_client.conf %files -n libwsman-devel @@ -572,7 +595,11 @@ %config(noreplace) %{_sysconfdir}/openwsman/ssleay.cnf %attr(0755,root,root) %{_sysconfdir}/openwsman/owsmangencert.sh %config %{_sysconfdir}/pam.d/openwsman -%if 0%{?suse_version} > 1010 +%if 0%{?has_firewalld} +%dir %{_libexecdir}/firewalld +%dir %{_libexecdir}/firewalld/services +%{_libexecdir}/firewalld/services/%{name}.xml +%else %config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/openwsman %endif %if 0%{?has_systemd} ++++++ openwsman-2.6.7.tar.bz2 -> openwsman-2.7.0.tar.bz2 ++++++ ++++ 12000 lines of diff (skipped) ++++++ openwsman.firewalld ++++++ <?xml version="1.0" encoding="utf-8"?> <service> <short>Openwsman</short> <description>Openwsman is a project intended to provide an open-source implementation of the Web Services Management specification (WS-Management) and to expose system management information on the Linux operating system using the WS-Management protocol.</description> <port protocol="tcp" port="5985"/> <port protocol="tcp" port="5986"/> </service>
