Compare commits

..

No commits in common. "imports/c8s/sblim-wbemcli-1.6.3-15.el8" and "c8s" have entirely different histories.

9 changed files with 26 additions and 2 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
SOURCES/sblim-wbemcli-1.6.3.tar.bz2
/sblim-wbemcli-1.6.3.tar.bz2

View File

@ -1 +0,0 @@
3ad04cb8e1a301ab514f059cf92f0a1f45e00d6b SOURCES/sblim-wbemcli-1.6.3.tar.bz2

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}

View File

@ -0,0 +1,11 @@
diff -up sblim-wbemcli-1.6.3/main.cpp.orig sblim-wbemcli-1.6.3/main.cpp
--- sblim-wbemcli-1.6.3/main.cpp.orig 2022-05-02 10:36:09.283825148 +0200
+++ sblim-wbemcli-1.6.3/main.cpp 2022-05-02 10:36:33.440858294 +0200
@@ -286,6 +286,7 @@ int main (int argc, char *argv[]) {
op==GetProperty ||
op==SetProperty ||
op==CallMethod ||
+ op==CallMethodX ||
op==ModifyInstance) && !xtraStr)
throw CmdException("Invalid command invocation 2");

View File

@ -1,6 +1,6 @@
Name: sblim-wbemcli
Version: 1.6.3
Release: 15%{?dist}
Release: 16%{?dist}
Summary: SBLIM WBEM Command Line Interface
License: EPL-1.0
@ -9,6 +9,7 @@ Source0: http://downloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz
Patch0: sblim-wbemcli-1.5.1-gcc43.patch
Patch1: sblim-wbemcli-1.6.2-https-segfaults.patch
Patch2: sblim-wbemcli-1.6.1-ssl-proto-option.patch
Patch3: sblim-wbemcli-1.6.3-fix-cmx-crash.patch
BuildRequires: curl-devel >= 7.9.3
BuildRequires: binutils-devel >= 2.17.50.0.3-4
@ -27,6 +28,7 @@ autoreconf --install --force
%patch0 -p1 -b .gcc43
%patch1 -p1 -b .https-segfaults
%patch2 -p1 -b .ssl-proto-option
%patch3 -p1 -b .fix-cmx-crash
%build
%configure CACERT=/etc/pki/Pegasus/client.pem
@ -43,6 +45,10 @@ mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name}
%{_datadir}/%{name}
%changelog
* Mon May 23 2022 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.6.3-16
- Fix crash when using "cmx" command with no additional parameter
Resolves: #2075807
* Mon Jul 29 2019 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.6.3-15
- Rebuild

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (sblim-wbemcli-1.6.3.tar.bz2) = 19e90f69ecdb6af1d36d8af7f318174f84ffe3ee4f9a2936238ab6bbc37f06f467c8276b496c9b34c11c271596bda4fb6f339839d6aa7ed3b677411df3139f83