From 0689598fc9d1e240a24548cda8b2f1682cce7eba Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 01 2017 03:31:20 +0000 Subject: import sblim-wbemcli-1.6.2-11.el7 --- diff --git a/SOURCES/sblim-wbemcli-1.6.2-dot-in-passwd.patch b/SOURCES/sblim-wbemcli-1.6.2-dot-in-passwd.patch new file mode 100644 index 0000000..e2a1eec --- /dev/null +++ b/SOURCES/sblim-wbemcli-1.6.2-dot-in-passwd.patch @@ -0,0 +1,15 @@ +diff -up sblim-wbemcli-1.6.2/CimXml.cpp.orig sblim-wbemcli-1.6.2/CimXml.cpp +--- sblim-wbemcli-1.6.2/CimXml.cpp.orig 2011-06-22 07:58:39.000000000 +0200 ++++ sblim-wbemcli-1.6.2/CimXml.cpp 2017-02-08 15:51:42.260757574 +0100 +@@ -2983,9 +2983,9 @@ URL::URL(const char *U) + u += 7; + } + phelp=strchr(u,'@'); // potential auth token delimiter +- p=strchr(u,'.'); // potential key/host delimiter (doesn't matter) ++ p=NULL; + b=strchr(u,'['); // likely an IPv6 host +- if (phelp && ( p==NULL || p > phelp)) { ++ if (phelp) { + // contains auth token[s] -- process them + p=strchr(u,':'); + if (b != NULL && p != NULL && (p < b)) { diff --git a/SPECS/sblim-wbemcli.spec b/SPECS/sblim-wbemcli.spec index b8fa9f4..3e5f2cb 100644 --- a/SPECS/sblim-wbemcli.spec +++ b/SPECS/sblim-wbemcli.spec @@ -1,6 +1,6 @@ Name: sblim-wbemcli Version: 1.6.2 -Release: 10%{?dist} +Release: 11%{?dist} Summary: SBLIM WBEM Command Line Interface Group: Applications/System @@ -11,6 +11,7 @@ Patch0: sblim-wbemcli-1.5.1-gcc43.patch Patch1: sblim-wbemcli-1.6.2-gcc47.patch Patch2: sblim-wbemcli-1.6.2-https-segfaults.patch Patch3: sblim-wbemcli-1.6.2-ssl-proto-option.patch +Patch4: sblim-wbemcli-1.6.2-dot-in-passwd.patch BuildRequires: curl-devel >= 7.9.3 BuildRequires: binutils-devel >= 2.17.50.0.3-4 @@ -27,9 +28,10 @@ scripts. %patch1 -p1 -b .gcc47 %patch2 -p1 -b .https-segfaults %patch3 -p1 -b .ssl-proto-option +%patch4 -p1 -b .dot-in-passwd %build -%configure CACERT=/etc/Pegasus/client.pem +%configure CACERT=/etc/pki/Pegasus/client.pem make %{?_smp_mflags} %install @@ -42,6 +44,13 @@ mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name} %{_datadir}/%{name} %changelog +* Wed Feb 08 2017 Vitezslav Crhonek - 1.6.2-11 +- Update default CA certificate file path due to recent changes in tog-pegasus + Resolves: #1320077 +- Fix wbemcli dont accept dot (.) as password character on command line + Resolves: #1103368 +- Fix bogus date in %%changelog + * Mon Mar 07 2016 Vitezslav Crhonek - 1.6.2-10 - Backport (slightly modified) configurable SSL version feature from upstream, update man page accordingly @@ -114,7 +123,7 @@ mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name} - Upgrade to version 1.5.1 (SSL V3 enforced, default CACERT). - Created Fedora/RH specific spec file. -* Thu Oct 28 2005 Viktor Mihajlovski - 1.5.0-1 +* Fri Oct 28 2005 Viktor Mihajlovski - 1.5.0-1 - Minor enhancements for Fedora compatibility, still not daring to nuke the build root though