Hello community, here is the log from the commit of package openwsman for openSUSE:Factory checked in at 2018-02-27 16:57:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openwsman (Old) and /work/SRC/openSUSE:Factory/.openwsman.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openwsman" Tue Feb 27 16:57:11 2018 rev:63 rq:579039 version:2.6.7 Changes: -------- --- /work/SRC/openSUSE:Factory/openwsman/openwsman.changes 2017-09-13 22:32:58.209351668 +0200 +++ /work/SRC/openSUSE:Factory/.openwsman.new/openwsman.changes 2018-02-27 16:57:12.845654472 +0100 @@ -1,0 +2,59 @@ +Thu Feb 22 13:57:52 UTC 2018 - [email protected] + +- Switch license to BSD-3-Clause AND GPL-2.0-only, since redirect + plugin is under GPL 2.0 only license. + +------------------------------------------------------------------- +Mon Feb 19 12:12:37 UTC 2018 - [email protected] + +- Update to 2.6.7 + - Features + - Build with CMake 2.6 or later + - Bugfixes + - fix return value check for SSL_CTX_set_cipher_list() + - fix pam config for local install + +------------------------------------------------------------------- +Wed Dec 13 09:57:47 UTC 2017 - [email protected] + +- python3-openwsman + +------------------------------------------------------------------- +Mon Dec 11 10:45:20 UTC 2017 - [email protected] + +- fix Source declarations to get a complete src.rpm + +------------------------------------------------------------------- +Tue Dec 5 08:45:38 UTC 2017 - [email protected] + +- Build Python3 on Leap and SLE 15 +- Fix RHEL7 build + +------------------------------------------------------------------- +Mon Dec 4 13:41:41 UTC 2017 - [email protected] + +- update to 2.6.6 + - openssl 1.1.0 compatibility + - build python3 or python2 binding, but not both + +------------------------------------------------------------------- +Fri Nov 24 15:43:33 UTC 2017 - [email protected] + +- update to 2.6.5 + - Fix python3 / ruby 2.5 compatibility + - drop openwsman-2.6.2-python3.patch + +------------------------------------------------------------------- +Wed Nov 8 15:09:32 CET 2017 - [email protected] + +- Replace obsolete pam modules with standard ones + +------------------------------------------------------------------- +Tue Nov 7 12:26:11 UTC 2017 - [email protected] + +- update to 2.6.4 + - Bugfixes + - setup ECDHE to allow Perfect Forward Secrecy, using the p256 + NIST prime curve (CVE-2016-2183) (mmeissner) + +------------------------------------------------------------------- Old: ---- openwsman-2.6.2-python3.patch openwsman-2.6.3.tar.bz2 New: ---- openwsman-2.6.7.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openwsman.spec ++++++ --- /var/tmp/diff_new_pack.C2VtqW/_old 2018-02-27 16:57:13.793620220 +0100 +++ /var/tmp/diff_new_pack.C2VtqW/_new 2018-02-27 16:57:13.793620220 +0100 @@ -1,7 +1,7 @@ # # spec file for package openwsman # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,30 +22,25 @@ %define has_systemd 0 %endif +%if 0%{?suse_version} >= 1500 +%define want_python3 1 +%else +%define want_python3 0 +%endif + Name: openwsman BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: libxml2-devel BuildRequires: pam-devel -%if 0%{?suse_version} > 1320 -BuildRequires: python2 -BuildRequires: python2-devel -%else -BuildRequires: python -BuildRequires: python-devel -%endif -%if 0%{?suse_version} -%if 0%{?suse_version} != 1010 -BuildRequires: python3 -BuildRequires: python3-devel -%endif -%endif BuildRequires: sblim-sfcc-devel BuildRequires: swig >= 2.0.5 BuildRequires: perl -%if 0%{?suse_version} > 1320 -BuildRequires: strip-nondeterminism +%if 0%{?want_python3} +BuildRequires: python3-devel +%else +BuildRequires: python-devel %endif %if 0%{?rhel_version} > 0 @@ -97,7 +92,7 @@ %if 0%{?suse_version} > 0 BuildRequires: java-devel # No jni_md.h on SLE10 :-/ -#%%if 0%{?suse_version} < 1100 +#%%if 0%%{?suse_version} < 1100 #BuildRequires: java-1_5_0-ibm-devel #BuildRequires: libgcj-devel #BuildRequires: update-alternatives @@ -137,23 +132,24 @@ %endif Requires(pre): sed coreutils grep /bin/hostname -Version: 2.6.3 +Version: 2.6.7 Release: 0 # Mandriva: # Release %%mkrel 1 Url: http://www.openwsman.org/ Summary: Opensource Implementation of WS-Management -License: BSD-3-Clause +License: BSD-3-Clause AND GPL-2.0-only Group: System/Management Source: %{name}-%{version}.tar.bz2 Source1: %{name}.rpmlintrc -%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel} -Source2: %{name}.pam.rh +Source21: %{name}.pam.rh +Source22: %{name}.pam Patch1: openwsman-initscript.patch +%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel} +%define pamfile %{S:21} %else -Source2: %{name}.pam +%define pamfile %{S:22} %endif -Patch2: openwsman-2.6.2-python3.patch Source3: %{name}.SuSEfirewall2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source4: %{name}.service @@ -212,8 +208,6 @@ Requires(pre): sed coreutils grep diffutils /bin/hostname %if 0%{?suse_version} Requires(pre): fillup -# for pam_unix2 and pam_pwcheck -Requires: pam-modules %endif Summary: Openwsman Server and service libraries Group: System/Management @@ -222,6 +216,7 @@ Openwsman Server and service libraries +%if 0%{?rhel_version} != 700 %package server-plugin-ruby Requires: openwsman-server Summary: Openwsman Server Plugin for Ruby extensions @@ -231,39 +226,39 @@ This package provides a Openwsman server plugin to write a WS-Management resource handler in Ruby +%endif -%package -n python2-openwsman -Provides: openwsman-python = %{version} -Provides: openwsman-python2 = %{version} -Summary: Python bindings for openwsman client API +%if 0%{?want_python3} +%package -n python3-%{name} +Summary: Python3 bindings for openwsman client API Group: Development/Libraries/Python -%if 0%{?suse_version} > 1320 -Requires: python2 +%{!?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 +API. + %else +%package python +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)")} %{!?py_requires: %define py_requires Requires: python} %{py_requires} -%endif -%description -n python2-openwsman +%description python This package provides Python bindings to access the openwsman client API. -%if 0%{?suse_version} -%if 0%{?suse_version} != 1010 -%package -n python3-openwsman -Provides: openwsman-python3 = %{version} -Summary: Python bindings for openwsman client API -Group: Development/Libraries/Python -Requires: python3 - -%description -n python3-openwsman -This package provides Python bindings to access the openwsman client -API. -%endif %endif +# RHEL7 does not have ruby-devel +%if 0%{?rhel_version} != 700 + %package ruby Requires: ruby @@ -314,6 +309,7 @@ This package provides HTML documentation for the Openwsman Ruby bindings. +%endif # not rhel7 %package perl %if 0%{?fedora} @@ -344,6 +340,8 @@ %endif +# RHEL7 does not have ruby-devel +%if 0%{?rhel_version} != 700 %package -n winrs Summary: Windows Remote Shell Group: System/Management @@ -353,27 +351,13 @@ 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. +%endif %prep %setup -q - -%if 0%{?suse_version} -%if 0%{?suse_version} != 1010 -# support python3 -pushd bindings -cp -r python python3 -popd -%endif -%endif - %if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel} %patch1 -p1 %endif -%if 0%{?suse_version} -%if 0%{?suse_version} != 1010 -%patch2 -p1 -b .python3 -%endif -%endif %build rm -rf build @@ -396,6 +380,13 @@ %if 0%{?suse_version} == 1010 -DBUILD_JAVA=FALSE \ %endif +%if 0%{?want_python3} + -DBUILD_PYTHON=FALSE \ + -DBUILD_PYTHON3=TRUE \ +%else + -DBUILD_PYTHON=TRUE \ + -DBUILD_PYTHON3=FALSE \ +%endif -DCMAKE_VERBOSE_MAKEFILE=TRUE \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_C_FLAGS_RELEASE:STRING="$RPM_OPT_FLAGS -fno-strict-aliasing" \ @@ -409,15 +400,13 @@ .. make -%if 0%{?suse_version} > 1320 -strip-nondeterminism bindings/java/*.jar bindings/ruby/html/js/*.js.gz -%endif %install cd build make DESTDIR=$RPM_BUILD_ROOT install mkdir -p $RPM_BUILD_ROOT%{_docdir} -cp -a bindings/ruby/html $RPM_BUILD_ROOT%{_docdir}/openwsman-ruby-docs +# 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 cd .. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/openwsman/plugins/*.la @@ -436,10 +425,13 @@ 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 %{S:2} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/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 +%if 0%{?rhel_version} == 700 +rm -f $RPM_BUILD_ROOT%{_bindir}/winrs +%endif %post -n libwsman3 -p /sbin/ldconfig @@ -513,31 +505,20 @@ %exclude %{_includedir}/openwsman/cpp/*.h %exclude %{_libdir}/libwsman_clientpp.so -%files -n python2-openwsman +%if 0%{?want_python3} +%files -n python3-%{name} %defattr(-,root,root) -%if 0%{?suse_version} > 1320 -%{python2_sitearch}/*.so -%{python2_sitearch}/*.py +%{python3_sitearch}/*.so +%{python3_sitearch}/*.py* %else -%{python_sitearch}/*.so -%{python_sitearch}/*.py -%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} -%{python_sitearch}/*.pyc -%{python_sitearch}/*.pyo -%endif -%endif -%doc AUTHORS COPYING ChangeLog README.md - -%if 0%{?suse_version} -%if 0%{?suse_version} != 1010 -%files -n python3-openwsman +%files python %defattr(-,root,root) -%{python3_sitearch}/*.so -%{python3_sitearch}/*.py -%doc AUTHORS COPYING ChangeLog README.md -%endif +%{python_sitearch}/*.so +%{python_sitearch}/*.py* %endif +# RHEL7 does not have ruby-devel +%if 0%{?rhel_version} != 700 %files ruby %defattr(-,root,root) %if 0%{?mandriva_version} @@ -556,6 +537,7 @@ %defattr(-,root,root) %dir %{_docdir}/openwsman-ruby-docs %{_docdir}/openwsman-ruby-docs +%endif # not rhel-7 %files perl %defattr(-,root,root) @@ -596,9 +578,12 @@ %{_sbindir}/openwsmand %{_libdir}/libwsman_server.so.* +# RHEL7 does not have ruby-devel +%if 0%{?rhel_version} != 700 %files server-plugin-ruby %defattr(-,root,root) %{_libdir}/openwsman/plugins/*ruby*.so +%endif %files -n libwsman_clientpp1 %defattr(-,root,root) @@ -610,8 +595,11 @@ %dir %{_includedir}/openwsman/cpp %{_includedir}/openwsman/cpp/*.h +# RHEL7 does not have ruby-devel +%if 0%{?rhel_version} != 700 %files -n winrs %defattr(-,root,root) %{_bindir}/winrs +%endif %changelog ++++++ openwsman-2.6.3.tar.bz2 -> openwsman-2.6.7.tar.bz2 ++++++ ++++ 9143 lines of diff (skipped) ++++++ openwsman.pam ++++++ --- /var/tmp/diff_new_pack.C2VtqW/_old 2018-02-27 16:57:14.265603167 +0100 +++ /var/tmp/diff_new_pack.C2VtqW/_new 2018-02-27 16:57:14.265603167 +0100 @@ -1,7 +1,7 @@ #%PAM-1.0 -auth required pam_unix2.so nullok +auth required pam_unix.so nullok auth required pam_nologin.so -account required pam_unix2.so -password required pam_pwcheck.so nullok -password required pam_unix2.so nullok use_first_pass use_authtok -session required pam_unix2.so none +account required pam_unix.so +password required pam_cracklib.so nullok +password required pam_unix.so nullok use_first_pass use_authtok nis shadow +session required pam_unix.so none ++++++ openwsman.pam.rh ++++++ --- /var/tmp/diff_new_pack.C2VtqW/_old 2018-02-27 16:57:14.289602300 +0100 +++ /var/tmp/diff_new_pack.C2VtqW/_new 2018-02-27 16:57:14.293602156 +0100 @@ -2,6 +2,6 @@ auth required pam_unix.so nullok auth required pam_nologin.so account required pam_unix.so -password required pam_pwcheck.so nullok -password required pam_unix.so nullok use_first_pass use_authtok +password required pam_cracklib.so nullok +password required pam_unix.so nullok use_first_pass use_authtok nis shadow session required pam_unix.so none
