Hello community,
here is the log from the commit of package sblim-wbemcli
checked in at Sat Aug 2 05:37:20 CEST 2008.
--------
--- sblim-wbemcli/sblim-wbemcli.changes 2007-11-01 10:51:48.000000000 +0100
+++ sblim-wbemcli/sblim-wbemcli.changes 2008-07-29 10:43:44.000000000 +0200
@@ -1,0 +2,7 @@
+Tue Jul 29 10:42:55 CEST 2008 - mmarek@suse.cz
+
+- updated to 1.5.6
+ * can specify IPv6 addresses on command line
+ * bug fixes
+
+-------------------------------------------------------------------
Old:
----
sblim-wbemcli-1.5.3-const-char.patch
sblim-wbemcli-1.5.3-missing-includes.patch
sblim-wbemcli-1.5.3.tar.bz2
New:
----
sblim-wbemcli-1.5.4-const-char.patch
sblim-wbemcli-1.5.4-missing-includes.patch
sblim-wbemcli-1.5.4.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sblim-wbemcli.spec ++++++
--- /var/tmp/diff_new_pack.t16674/_old 2008-08-02 05:36:16.000000000 +0200
+++ /var/tmp/diff_new_pack.t16674/_new 2008-08-02 05:36:16.000000000 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package sblim-wbemcli (Version 1.5.3)
+# spec file for package sblim-wbemcli (Version 1.5.4)
#
-# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -10,17 +10,18 @@
# norootforbuild
+
Name: sblim-wbemcli
BuildRequires: binutils-devel curl-devel gcc-c++
-Version: 1.5.3
+Version: 1.5.4
Release: 1
Group: System/Management
License: IBM Public License
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://sblim.wiki.sourceforge.net/
Source: http://prdownloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2
-Patch1: sblim-wbemcli-1.5.3-missing-includes.patch
-Patch2: sblim-wbemcli-1.5.3-const-char.patch
+Patch1: sblim-wbemcli-1.5.4-missing-includes.patch
+Patch2: sblim-wbemcli-1.5.4-const-char.patch
Summary: SBLIM WBEM Command Line Interface
%description
@@ -54,8 +55,13 @@
%doc ChangeLog README* NEWS samples/ *py
%{_bindir}/wbem*
%{_mandir}/man1/wbemcli.1.gz
+
%changelog
-* Thu Nov 01 2007 - mmarek@suse.cz
+* Tue Jul 29 2008 mmarek@suse.cz
+- updated to 1.5.6
+ * can specify IPv6 addresses on command line
+ * bug fixes
+* Thu Nov 01 2007 mmarek@suse.cz
- updated to 1.5.3
Bugs (http://sourceforge.net/tracker/?group_id=128809):
* 1560865 create/modifyInstance do not correctly deal with arrays
@@ -64,9 +70,9 @@
* 1652347 does not correctly handle VALUE.REFERENCE blocks
* 1457924 fixed some compile warnings
- fixed some compiler warnings / errors
-* Tue Jan 23 2007 - aj@suse.de
+* Tue Jan 23 2007 aj@suse.de
- Add binutils-devel to BuildRequires to fix build.
-* Wed Mar 01 2006 - mrueckert@suse.de
+* Thu Mar 02 2006 mrueckert@suse.de
- update to version 1.5.1 [#142308]
* 1362712 wbemcli was failing on https connections with FC5
Pegasus, forcing SSL V3 works around the failure.
@@ -74,22 +80,22 @@
connections, added RH specific spec file.
- added sblim-wbemcli-1.5.1_parentheses.patch
fixes "suggest parentheses around assignment used as truth value"
-* Wed Jan 25 2006 - mls@suse.de
+* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
-* Mon Nov 14 2005 - mrueckert@suse.de
+* Mon Nov 14 2005 mrueckert@suse.de
- Update to version 1.5.0
- removed all patches (applied upstream or obsoleted)
-* Tue Nov 08 2005 - dmueller@suse.de
+* Tue Nov 08 2005 dmueller@suse.de
- don't build as root
-* Thu May 05 2005 - schwab@suse.de
+* Thu May 05 2005 schwab@suse.de
- Remove -gstabs+.
-* Thu May 05 2005 - schwab@suse.de
+* Thu May 05 2005 schwab@suse.de
- Fix last change.
-* Thu May 05 2005 - ro@suse.de
+* Thu May 05 2005 ro@suse.de
- fix build with gcc-4
-* Wed May 12 2004 - nashif@suse.de
+* Wed May 12 2004 nashif@suse.de
- Update to version 1.4.1
-* Tue Mar 30 2004 - ro@suse.de
+* Tue Mar 30 2004 ro@suse.de
- ppc64 is also a lib64 platform
-* Mon Mar 22 2004 - nashif@suse.de
+* Mon Mar 22 2004 nashif@suse.de
- Initial release (1.4)
++++++ sblim-wbemcli-1.5.3-const-char.patch -> sblim-wbemcli-1.5.4-const-char.patch ++++++
--- sblim-wbemcli/sblim-wbemcli-1.5.3-const-char.patch 2007-11-01 10:42:24.000000000 +0100
+++ sblim-wbemcli/sblim-wbemcli-1.5.4-const-char.patch 2008-07-29 10:52:20.000000000 +0200
@@ -58,7 +58,7 @@
--- CimXml.cpp.orig
+++ CimXml.cpp
-@@ -155,7 +155,7 @@ int XmlBuffer::skipElement(const char *t
+@@ -157,7 +157,7 @@ int XmlBuffer::skipElement(const char *t
return 0;
}
@@ -67,7 +67,7 @@
char *end=strchr(cur,'>'),*tcur=cur,dlm,*a=NULL;
int l=strlen(val),rv=0;
-@@ -308,7 +308,7 @@ string XmlBuffer::getValue(const char *v
+@@ -310,7 +310,7 @@ string XmlBuffer::getValue(const char *v
return NULL;
}
@@ -76,7 +76,7 @@
#ifndef WIN32
if (DBGXB)
cerr<<"--- XmlBuffer::getContent()"<getReturnData()) {
sb += name;
-@@ -1300,7 +1300,7 @@ void InstanceNameXml::init(XmlBuffer &xb
+@@ -1464,7 +1464,7 @@ void InstanceNameXml::init(XmlBuffer &xb
else throw ParseException("Expecting INSTANCENAME element");
}
@@ -93,8 +93,8 @@
+void InstanceNameXml::toStringBuffer(string &sb, const char *q)
{
- sb = sb + q + clsName + ".";
-@@ -1356,7 +1356,7 @@ void InstanceXml::init(XmlBuffer &xb)
+ sb = sb + nspace + q + clsName + ".";
+@@ -1520,7 +1520,7 @@ void InstanceXml::init(XmlBuffer &xb)
else throw ParseException("Expecting INSTANCE element");
}
@@ -103,7 +103,7 @@
{
if (useNl) properties.toStringBuffer(sb,"",q);
else properties.toStringBuffer(sb,",",q);
-@@ -1410,7 +1410,7 @@ void ClassNameXml::init(XmlBuffer &xb)
+@@ -1574,7 +1574,7 @@ void ClassNameXml::init(XmlBuffer &xb)
else throw ParseException("Expecting CLASSNAME element");
}
@@ -112,7 +112,7 @@
{
sb += string(q)+name;
}
-@@ -1469,7 +1469,7 @@ void ClassXml::init(XmlBuffer &xb)
+@@ -1633,7 +1633,7 @@ void ClassXml::init(XmlBuffer &xb)
else throw ParseException("Expecting CLASS element");
}
@@ -121,7 +121,7 @@
{
if (useNl) properties.toStringBuffer(sb,"",q);
else properties.toStringBuffer(sb,",",q);
-@@ -1545,7 +1545,7 @@ ParamvalueXml::ParamvalueXml(XmlBuffer&
+@@ -1713,7 +1713,7 @@ ParamvalueXml::ParamvalueXml(XmlBuffer&
}
}
@@ -130,7 +130,7 @@
{
sb += name;
sb += ":";
-@@ -1696,7 +1696,7 @@ void PropertyXml::init(char *nvp, int re
+@@ -1865,7 +1865,7 @@ void PropertyXml::init(char *nvp, int re
}
}
@@ -139,7 +139,7 @@
{
if (useNl) sb += "-";
sb = sb + name + q;
-@@ -1879,7 +1879,7 @@ void KeyBindingXml::init(XmlBuffer &xb)
+@@ -2306,7 +2306,7 @@ void KeyBindingXml::init(XmlBuffer &xb)
else throw ParseException("Expecting KEYBINDING element");
}
@@ -148,7 +148,7 @@
{
which = KEYVAL;
name = string(n);
-@@ -1887,7 +1887,7 @@ KeyBindingXml::KeyBindingXml(char *n, ch
+@@ -2314,7 +2314,7 @@ KeyBindingXml::KeyBindingXml(char *n, ch
}
@@ -157,7 +157,7 @@
{
sb += name;
if (!noVal) {
-@@ -1935,7 +1935,7 @@ KeyValueXml::KeyValueXml(const char *v)
+@@ -2362,7 +2362,7 @@ KeyValueXml::KeyValueXml(const char *v)
val=v;
}
@@ -166,7 +166,7 @@
{
string s;
s=Cimom::unescapeXml(val.c_str(),1); //bug??
-@@ -1972,7 +1972,7 @@ NameSpaceXml::NameSpaceXml(XmlBuffer &xb
+@@ -2399,7 +2399,7 @@ NameSpaceXml::NameSpaceXml(XmlBuffer &xb
else throw ParseException("Expecting NAMESPACE element");
}
@@ -175,7 +175,7 @@
{
throw CmdException("Internal error. never print NameSpaceXml.");
}
-@@ -2116,7 +2116,7 @@ void LocalInstancepathValueXml::init(Xml
+@@ -2551,7 +2551,7 @@ void LocalInstancepathValueXml::init(Xml
else throw ParseException("Expecting LOCALINSTANCEPATH element");
}
@@ -184,16 +184,16 @@
{
name.toStringBuffer(sb,q);
}
-@@ -2161,7 +2161,7 @@ void InstancepathValueXml::init(XmlBuffe
+@@ -2597,7 +2597,7 @@ void InstancepathValueXml::init(XmlBuffe
else throw ParseException("Expecting INSTANCEPATH element");
}
-void InstancepathValueXml::toStringBuffer(string &sb, char *q)
+void InstancepathValueXml::toStringBuffer(string &sb, const char *q)
{
+ nsp.toStringBuffer(sb,"");
name.toStringBuffer(sb,q);
- }
-@@ -2197,7 +2197,7 @@ void InstancenameValueXml::init(XmlBuffe
+@@ -2629,7 +2629,7 @@ void InstancenameValueXml::init(XmlBuffe
else throw ParseException("Expecting INSTANCENAME element");
}
@@ -202,7 +202,7 @@
{
name.toStringBuffer(sb,q);
}
-@@ -2342,7 +2342,7 @@ ValueXml::~ValueXml()
+@@ -2774,7 +2774,7 @@ ValueXml::~ValueXml()
delete subVal;
}
@@ -211,7 +211,7 @@
{
switch (vType) {
case TypeValue:
-@@ -2658,7 +2658,7 @@ int URL::refLookAhead(char *u, char **nu
+@@ -3109,7 +3109,7 @@ int URL::refLookAhead(char *u, char **nu
char *URL::resolveIndirection(char *ind, char *u)
{
@@ -227,8 +227,8 @@
+ /*
* CimXml.h
*
- * Copyright IBM Corp. 2002, 2004, 2006
-@@ -56,7 +56,7 @@ class StringArray : public vectorsize()-1) sb += sep;
-@@ -305,7 +305,7 @@ class KeyValueXml {
+@@ -304,7 +304,7 @@ class KeyValueXml {
KeyValueXml(const char*);
KeyValueXml() {}
KeyValueXml& operator=(const KeyValueXml& src) {if(this!=&src) {valType=src.valType; val = src.val;} return *this;}
@@ -267,7 +267,7 @@
};
-@@ -315,7 +315,7 @@ class NameSpaceXml {
+@@ -314,7 +314,7 @@ class NameSpaceXml {
string name;
NameSpaceXml() {}
NameSpaceXml(XmlBuffer&);
@@ -314,7 +314,7 @@
};
-@@ -440,7 +440,7 @@ class InstanceNameXml : public RetValXml
+@@ -441,7 +441,7 @@ class InstanceNameXml : public RetValXml
InstanceNameXml(XmlBuffer&, char op=0);
InstanceNameXml * clone() { return new InstanceNameXml(*this);}
void init(XmlBuffer&, char op);
@@ -323,7 +323,7 @@
};
class InstanceNamesXml : public RetValXml, public InstanceNameArray {
-@@ -460,7 +460,7 @@ class InstancepathValueXml : public SubV
+@@ -462,7 +462,7 @@ class InstancepathValueXml : public SubV
InstancepathValueXml(XmlBuffer&);
InstancepathValueXml * clone() { return new InstancepathValueXml(*this); }
void init(XmlBuffer&);
@@ -332,7 +332,7 @@
};
/*
-@@ -479,7 +479,7 @@ class InstancenameValueXml : public SubV
+@@ -481,7 +481,7 @@ class InstancenameValueXml : public SubV
InstancenameValueXml(XmlBuffer&);
InstancenameValueXml * clone() { return new InstancenameValueXml(*this); }
void init(XmlBuffer&);
@@ -341,7 +341,7 @@
};
class ClassnameValueXml : public SubValueXml {
-@@ -497,7 +497,7 @@ class LocalInstancepathValueXml : public
+@@ -499,7 +499,7 @@ class LocalInstancepathValueXml : public
LocalInstancepathValueXml(XmlBuffer&);
LocalInstancepathValueXml * clone() { return new LocalInstancepathValueXml(*this); }
void init(XmlBuffer&);
@@ -350,7 +350,7 @@
};
class PropertyXml {
-@@ -522,7 +522,7 @@ class PropertyXml {
+@@ -524,7 +524,7 @@ class PropertyXml {
PropertyXml(XmlBuffer&);
PropertyXml(char*,int);
void addQualifier(QualifierXml& q) { qualifiers.add(q); }
@@ -359,7 +359,7 @@
void toXmlBuffer(string&,AValue*,int vOnly=0,URL* url=NULL);
};
-@@ -547,7 +547,7 @@ class ClassXml : public RetValXml {
+@@ -595,7 +595,7 @@ class ClassXml : public RetValXml {
void addQualifier(QualifierXml& q) { qualifiers.add(q); }
void addProperty(PropertyXml& p) { properties.add(p); if (p.key) keys.add(p); }
void addMethod(MethodXml& m) { methods.add(m); }
@@ -368,7 +368,7 @@
int keysOk(URL&);
};
-@@ -577,7 +577,7 @@ class InstanceXml : public RetValXml {
+@@ -625,7 +625,7 @@ class InstanceXml : public RetValXml {
QualifierArray &getQualifiers() { return qualifiers; }
void addQualifier(QualifierXml& q) { qualifiers.add(q); }
void addProperty(PropertyXml& p) { properties.add(p); }
@@ -377,7 +377,7 @@
};
class NamedInstanceXml : public RetValXml {
-@@ -642,7 +642,7 @@ class ClassNameXml : public RetValXml {
+@@ -690,7 +690,7 @@ class ClassNameXml : public RetValXml {
ClassNameXml(XmlBuffer&);
ClassNameXml * clone() { return new ClassNameXml(*this);}
void init(XmlBuffer&);
@@ -386,7 +386,7 @@
};
-@@ -665,7 +665,7 @@ class ParamvalueXml : public RetValXml {
+@@ -713,7 +713,7 @@ class ParamvalueXml : public RetValXml {
ParamvalueXml(const ParamvalueXml&);
~ParamvalueXml() {delete val;}
ParamvalueXml *clone() {return new ParamvalueXml(*this);}
@@ -395,7 +395,7 @@
};
class IReturnvalueXml {
-@@ -729,7 +729,7 @@ class MethodresponseXml : public RetValX
+@@ -777,7 +777,7 @@ class MethodresponseXml : public RetValX
MethodresponseXml(const MethodresponseXml &);
~MethodresponseXml() {delete rvl; delete pvll; delete err;}
MethodresponseXml *clone() {return new MethodresponseXml(*this);};
@@ -404,7 +404,7 @@
virtual RetValXml *getReturnData() {
if (err) throw ErrorXml(*err);
return clone();
-@@ -798,7 +798,7 @@ class Cimom {
+@@ -846,7 +846,7 @@ class Cimom {
static char xmlTrailer[];
protected:
virtual bool supportsSSL() { return false; };
@@ -415,7 +415,7 @@
char *newstr;
--- Cimghttp.cpp.orig
+++ Cimghttp.cpp
-@@ -30,7 +30,7 @@ CimomGhttp::CimomGhttp()
+@@ -30,7 +30,7 @@ CimomGhttp::CimomGhttp()
newstr=NULL;
}
@@ -459,7 +459,7 @@
string errorbuf;
--- main.cpp.orig
+++ main.cpp
-@@ -113,7 +113,7 @@ int main (int argc, char *argv[]) {
+@@ -114,7 +114,7 @@ int main (int argc, char *argv[]) {
int pos, retval = 0;
char *cmd, *params, *opStr=NULL,*urlStr=NULL,*xtraStr=NULL;
char *assocClass=NULL,*resultClass=NULL,*role=NULL,*resultRole=NULL;
++++++ sblim-wbemcli-1.5.3-missing-includes.patch -> sblim-wbemcli-1.5.4-missing-includes.patch ++++++
--- sblim-wbemcli/sblim-wbemcli-1.5.3-missing-includes.patch 2007-10-31 16:04:05.000000000 +0100
+++ sblim-wbemcli/sblim-wbemcli-1.5.4-missing-includes.patch 2008-07-29 10:53:55.000000000 +0200
@@ -6,7 +6,7 @@
--- main.cpp.orig
+++ main.cpp
-@@ -44,6 +44,7 @@
+@@ -45,6 +45,7 @@
#include <iostream>
#include
#include
@@ -16,7 +16,7 @@
using namespace std;
--- CimXml.cpp.orig
+++ CimXml.cpp
-@@ -24,6 +24,7 @@
+@@ -26,6 +26,7 @@
#include <iostream>
#include <cstdlib>
#include <cstdio>
++++++ sblim-wbemcli-1.5.3.tar.bz2 -> sblim-wbemcli-1.5.4.tar.bz2 ++++++
++++ 3727 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/sblim-wbemcli-1.5.3/ChangeLog new/sblim-wbemcli-1.5.4/ChangeLog
--- old/sblim-wbemcli-1.5.3/ChangeLog 2007-02-05 13:28:39.000000000 +0100
+++ new/sblim-wbemcli-1.5.4/ChangeLog 2008-07-29 08:17:22.000000000 +0200
@@ -1,3 +1,60 @@
+2008-07-28 Tyrel Datwyler
+
+ * main.cpp, CimXml.cpp, CimXml.h
+ Bug 1783603: wbemcli reports incorrect namespace
+
+2008-07-09 Tyrel Datwyler
+
+ * main.cpp
+ Bug 1756553: doesn't accept classes for ain,ai,rin,ri operations
+
+2008-07-09 Tyrel Datwyler
+
+ * CimXml.cpp:
+ Bug 1616370: null property display/setting unlogical
+
+2008-07-09 Tyrel Datwyler
+
+ * CimXml.cpp:
+ Bug 1979654: ec of CIM_InstIndication w/EmbeddedObj fails
+
+2007-06-04 Tyrel Datwyler
+
+ * CimXml.cpp:
+ Bug 1728703: gcd doesn't report error when class not found
+
+2007-05-02 Tyrel Datwyler
+
+ * CimXml.cpp:
+ Bug 1710167: namespace is not parsed from ref property
+
+2007-04-20 Tyrel Datwyler
+
+ * CimXml.cpp:
+ Bug 1698325 enumeration of association instances does not work
+
+2007-04-02 heidi eckhart
+
+ * CimXml.cpp:
+ Bug 1692696: mi does not correctly parse ref parameter
+
+2007-03-30 heidi eckhart
+
+ * CimXml.cpp:
+ Bug 1690542: ci/di do not correctly parse ref parameter
+
+2007-03-28 Chris Buccella
+
+ * CimXml.cpp:
+ Bug 1689495: IPv6 address support
+ Bug 1689497: specify username and port without password
+
+2007-03-27 heidi eckhart
+
+ * CimXml.cpp, CimXml.h:
+ Bug 1671996: wbemcli fails handling reference values of
+ extrinsic methods
+
2007-02-05 heidi eckhart
* CimXml.cpp, CimXml.h:
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/sblim-wbemcli-1.5.3/CimXml.cpp new/sblim-wbemcli-1.5.4/CimXml.cpp
--- old/sblim-wbemcli-1.5.3/CimXml.cpp 2007-02-05 13:28:39.000000000 +0100
+++ new/sblim-wbemcli-1.5.4/CimXml.cpp 2008-07-29 08:17:22.000000000 +0200
@@ -1,7 +1,7 @@
/*
* CimXml.cpp
*
- * © Copyright IBM Corp. 2002, 2004, 2006
+ * © Copyright IBM Corp. 2002, 2004, 2006, 2007
*
* THIS FILE IS PROVIDED UNDER THE TERMS OF THE COMMON PUBLIC LICENSE
* ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE
@@ -16,6 +16,8 @@
* Steve Shepherd
* Heidi Eckhart
* David Eger
+ * Tyrel Datwyler
+ * Chris Buccella
*
* Description: Line command interface to DMTF conforming WBEM servers
*/
@@ -334,11 +336,10 @@
return NULL;
}
-
AVPs::AVPs(char *s, PropertyArray &prop)
{
- char *v,*n;
- int i=0,j=0,k;
+ char *v,*n, *u, *t;
+ int i,k,j,l;
bool name = false;
bool addAValue = false;
AValue av(s,"");
@@ -350,15 +351,15 @@
*/
if (*s) {
- for (i=0,v=strchr(s,'='); *s; v=strpbrk(s,"=,"),i++) {
+ for (v=strchr(s,'='); *s; v=strpbrk(s,"=,")) {
/* check if s is a <value> and add it to the current AValue */
if (v==NULL || *v==',') {
if (v) *v=0;
/* check if s is a <name> */
name=false;
- for (int j=0,k=prop.size(); j";
xb += "";
if (av) {
- int i, s;
+ int i,s;
string urlstr;
- char *p = NULL;
+ char *p,*q;
// create full wbemcli URL
- p=strchr(av->val.c_str(),':');
- if(!p) {
+ p=strchr(av->val.c_str(),'/');
+ if(p) q=strchr(p,':');
+ if(!p || !q) {
// neither hostname nor namespace are defined
// same hostname and namespace as in url
urlstr += url->scheme + "://" + url->host + ":";
@@ -1790,10 +1961,229 @@
/*-------------------------------------------------------*/
-/* QualifierXml support */
+/* ParameterXml support */
/*-------------------------------------------------------*/
+XmlElement ParameterXml::elm;
+XmlElement ParameterXml::elmRef;
+XmlElement ParameterXml::elmArray;
+XmlElement ParameterXml::elmRefArray;
+bool ParameterXml::initialized(false);
+
+void ParameterXml::initialize() {
+ elm.attr = StringArray(2);
+ elm.attr[0] = string("NAME");
+ elm.attr[1] = string("TYPE");
+ elmRef.attr = StringArray(2);
+ elmRef.attr[0] = string("NAME");
+ elmRef.attr[1] = string("REFERENCECLASS");
+ elmArray.attr = StringArray(3);
+ elmArray.attr[0] = string("NAME");
+ elmArray.attr[1] = string("TYPE");
+ elmArray.attr[2] = string("ARRAYSIZE");
+ elmRefArray.attr = StringArray(3);
+ elmRefArray.attr[0] = string("NAME");
+ elmRefArray.attr[1] = string("REFERENCECLASS");
+ elmRefArray.attr[2] = string("ARRAYSIZE");
+ initialized = true;
+}
+
+ParameterXml::ParameterXml(XmlBuffer &xb) : eprop(-1), lprop(-1)
+{
+ init(xb);
+}
+
+void ParameterXml::init(XmlBuffer &xb) {
+ if(!initialized) { initialize();}
+#ifndef WIN32
+ if (DBGX)
+ cerr<<"--- ParameterXml::ParameterXml("<";
+ xb += "<VALUE>";
+ if (av) {
+ if (av->val[0]=='"') {
+ xb.append(av->val,1,av->val.length()-2);
+ }
+ else xb += av->val;
+ }
+ xb += "</VALUE>";
+ if (vOnly==0) xb += "</PARAMETER>";
+ break;
+ case TypeParameterArray:
+ if (vOnly==0) xb += "\n";
+ if (av && av->val != "") { av->vals.push_back(string(av->val)); av->val=""; }
+ xb += "";
+ if (av && av->vals.size()) {
+ for (int i=0,s=av->vals.size(); ivals[i][0]=='"') {
+ xb.append(av->vals[i],1,av->vals[i].length()-2);
+ }
+ else xb += av->vals[i];
+ xb += "</VALUE>";
+ }
+ }
+ else xb += "<VALUE></VALUE>";
+ xb += "";
+ if (vOnly==0) xb += "";
+ break;
+ case TypeParameterRef:
+ if (vOnly==0) xb += "\n";
+ if (av) {
+ refToXmlBuffer(xb, av->val.c_str(), url);
+ }
+ else xb += "";
+ if (vOnly==0) xb += "";
+ break;
+ case TypeParameterRefArray:
+ if (vOnly==0) xb += "\n";
+ if (av && av->val != "") { av->vals.push_back(string(av->val)); av->val=""; }
+ xb += "";
+ if (av && av->vals.size()) {
+ for (int i=0,s=av->vals.size(); ivals[i].c_str(), url);
+ }
+ }
+ else xb += "";
+ xb += "";
+ if (vOnly==0) xb += "";
+ break;
+ }
+}
+
+void ParameterXml::refToXmlBuffer(string &xb, const char *s , URL *url)
+{
+ int i, k;
+ string urlstr;
+ char *p, *q;
+
+ xb += "";
+
+ // create full wbemcli URL
+ p=strchr(s,'/');
+ if(p) q=strchr(p,':');
+ if(!p || !q) {
+ // neither hostname nor namespace are defined
+ // same hostname and namespace as in url
+ urlstr += url->scheme + "://" + url->host + ":";
+ for (i=0,k=url->ns.size(); ins[i];
+ urlstr = urlstr + ":" + s;
+ }
+ else urlstr += url->scheme + "://" + s;
+ URL refurl = URL(urlstr.c_str());
+
+ xb += "<INSTANCEPATH>";
+ xb += "<NAMESPACEPATH>";
+ xb += "<HOST>" + refurl.host + "</HOST>";
+ xb += "<LOCALNAMESPACEPATH>";
+ for (i=0,k=refurl.ns.size(); i</NAMESPACE>";
+ xb += "</LOCALNAMESPACEPATH>";
+ xb += "</NAMESPACEPATH>";
+ xb += "";
+ refurl.toStringBuffer(xb);
+ xb += "</INSTANCENAME>";
+ xb += "</INSTANCEPATH>";
+
+ xb += "";
+}
+
+
+
+/*-------------------------------------------------------*/
+/* QualifierXml support */
+/*-------------------------------------------------------*/
QualifierXml::QualifierXml(XmlBuffer &xb)
{
@@ -1818,25 +2208,62 @@
/* MethodXml support */
/*-------------------------------------------------------*/
+XmlElement MethodXml::elm(4);
+bool MethodXml::initialized(false);
+MethodXml::MethodXml(XmlBuffer &xb) {init(xb);}
-MethodXml::MethodXml(XmlBuffer &xb)
+void MethodXml::init(XmlBuffer &xb)
{
- char *start,*end;
+ if(!initialized) {
+ elm.attr[0] = string("NAME");
+ elm.attr[1] = string("TYPE");
+ elm.attr[2] = string("CLASSORIGIN");
+ elm.attr[3] = string("PROPAGATED");
+ initialized = true;
+ }
#ifndef WIN32
if (DBGX)
cerr<<"--- MethodXml::MethodXml("< phelp)) {
// contains auth token[s] -- process them
p=strchr(u,':');
- if (p && phelp > p) {
- // user and password specified
+ if (b != NULL && p != NULL && (p < b)) {
+ // IPv6 host; user and password
+ user=string(u,p-u);
+ password=string(p+1,phelp-p-1);
+ }
+ else if (p && phelp > p && (b == NULL)) {
+ // user and password specified, not IPv6 host
user=string(u,p-u);
password=string(p+1,phelp-p-1);
- } else if (p==NULL)
+ }
+ else if (p==NULL || ((b != NULL) && (p != NULL)) ) {
+ //only user is specified
+ user=string(u,phelp-u);
+ }
+ else if (p > phelp ) {
+ //user and port specified
user=string(u,phelp-u);
+ }
u=phelp+1;
}
phelp=strchr(u,'/');
@@ -2522,7 +2967,14 @@
// namespace is specified -- truncate the string and remember that
*phelp=0;
}
- p=strchr(u,':');
+ if (b == NULL) {
+ p=strchr(u,':');
+ }
+ else {
+ p=strchr(u,']'); // make sure we don't grab inside the []
+ p=strchr(p,':');
+ }
+
if (!p) {
host=u; // we may do that as we are at the end of the string
// No port specified, use default based on the scheme
@@ -2531,7 +2983,6 @@
host=string(u,p-u);
port=string(p+1); // we may do that as we are at the end of the string
}
-
if (host.size()==0) throw URLException("Could not locate hostname");
pint=strtol(port.c_str(),&np,10);
if (*np) throw URLException("Invalid port number");
@@ -2716,16 +3167,38 @@
case 0:
sb = sb + "";
if (p.pType==TypePropertyRef) {
+ char *u, *nsp;
+ const char *cnp;
+ StringArray lns;
+ string cn;
+
+ cn = p.value.val().getValue();
+ cnp = cn.c_str();
+ u = strchr(cnp, ':');
+
+ if (!u) {
+ lns = ns;
+ } else {
+ if (*cnp == '/')
+ cnp++;
+ for (; (nsp = strchr(cnp, '/')) != NULL && nsp";
sb += "<INSTANCEPATH>";
sb += "<NAMESPACEPATH>"
"<HOST>"+host+"</HOST>"
"<LOCALNAMESPACEPATH>";
- for (unsigned int i=0; i</NAMESPACE>";
+ for (unsigned int i=0; i</NAMESPACE>";
sb += "</LOCALNAMESPACEPATH>"
"</NAMESPACEPATH>";
- sb = sb + "";
+ sb = sb + "";
state=1;
continue;
}
@@ -2828,7 +3301,8 @@
string Cimom::getClass2str(URL *url, char *attr, bool qual, bool origin, bool local)
{
- string sb;
+ string sb;
+ string resp;
genRequest(*url,"GetClass");
@@ -2858,7 +3332,13 @@
sb += xmlTrailer;
addPayload(sb);
- return getResponse();
+ resp = getResponse();
+ if (resp != "") {
+ CimXml cx(resp);
+ SimplerspXml *rsp = cx.getResponse();
+ RetValXml *rv = rsp->getReturnData();
+ }
+ return resp;
}
int Cimom::testInst(URL &url, AValue *av)
@@ -3655,8 +4135,9 @@
string Cimom::callMethod2str(URL *url, char *method, char *params)
{
- int i, s;
+ int i, s, j, t;
string sb;
+ string out;
ClassXml *cls;
bool instance = (url->keys.size() > 0);
@@ -3693,14 +4174,26 @@
}
if (params) {
- AVPs avp(params);
-
- for ( i = 0, s = avp.size() ; i < s ; i++ ) {
- AValue *av = avp.get(i);
- sb = sb + "attr + "\">";
- sb = sb + "<VALUE>" + av->val + "</VALUE>";
- sb += "</PARAMVALUE>";
- }
+ MethodArray &methods = cls->getMethods();
+ for (i=0,s=methods.size(); iattr.c_str())==0) {
+ sb = sb + "attr + "\">";
+ p.toXmlBuffer(sb,av,1,url);
+ sb += "</PARAMVALUE>";
+ }
+ }
+ }
+ break;
+ }
+ }
}
sb += "</METHODCALL>";
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/sblim-wbemcli-1.5.3/CimXml.h new/sblim-wbemcli-1.5.4/CimXml.h
--- old/sblim-wbemcli-1.5.3/CimXml.h 2007-02-05 13:28:39.000000000 +0100
+++ new/sblim-wbemcli-1.5.4/CimXml.h 2008-07-29 08:17:22.000000000 +0200
@@ -1,7 +1,7 @@
/*
* CimXml.h
*
- * Copyright IBM Corp. 2002, 2004, 2006
+ * © Copyright IBM Corp. 2002, 2004, 2006, 2007
*
* THIS FILE IS PROVIDED UNDER THE TERMS OF THE COMMON PUBLIC LICENSE
* ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE
@@ -14,8 +14,9 @@
* Contributors: Viktor Mihajlovski
* Markus Mueller
* Steve Shepherd
- * Heidi Neumann
+ * Heidi Eckhart
* David Eger
+ * Tyrel Datwyler
*
* Description: Line command interface to DMTF conforming WBEM servers
*/
@@ -171,6 +172,7 @@
class ValueXml;
class PropertyXml;
+class ParameterXml;
class InstanceNameXml;
class InstancePathXml;
class InstanceXml;
@@ -183,12 +185,6 @@
class AValue;
class ParamvalueXml;
-class MethodXml {
- public:
- string str;
- MethodXml(XmlBuffer&);
-};
-
class QualifierXml {
public:
string str;
@@ -198,6 +194,7 @@
typedef ArrayXml<QualifierXml> QualifierArray;
typedef ArrayXml<PropertyXml> PropertyArray;
+typedef ArrayXml<ParameterXml> ParameterArray;
typedef ArrayXml<MethodXml> MethodArray;
typedef ArrayXml<ValueXml> ValueArray;
typedef ArrayXml<InstanceNameXml> InstanceNameArray;
@@ -230,9 +227,11 @@
AValueArray avals;
char type[256];
char *all;
+ void parseRefList(char *name, char *s, bool isArray=false);
public:
AVPs(char*);
AVPs(char*,PropertyArray&);
+ AVPs(char*,ParameterArray&);
~AVPs() { if(all) free(all); }
static AVPs *makeAVPs(char *s, unsigned int n);
AValue* get(unsigned int n);
@@ -340,6 +339,7 @@
LocalNameSpacePathXml lns;
NameSpacePathXml() {}
NameSpacePathXml(XmlBuffer&);
+ void toStringBuffer(string &sb, char *q="");
};
class SubValueXml {
@@ -434,6 +434,7 @@
class InstanceNameXml : public RetValXml {
static XmlElement elm;
string clsName;
+ string nspace;
public:
KeyBindingArray keys;
InstanceNameXml() {}
@@ -454,6 +455,7 @@
protected:
static XmlElement elm;
public:
+ string nspace;
NameSpacePathXml nsp;
InstanceNameXml name;
InstancepathValueXml() {}
@@ -526,6 +528,51 @@
void toXmlBuffer(string&,AValue*,int vOnly=0,URL* url=NULL);
};
+class MethodXml {
+ static XmlElement elm;
+ static bool initialized;
+ void init(XmlBuffer&);
+ QualifierArray qualifiers;
+ ParameterArray parameters;
+ public:
+ string name;
+ string str;
+ MethodXml() : name("") {}
+ MethodXml(XmlBuffer&);
+ // MethodXml * clone() { return new MethodXml(*this); }
+ QualifierArray &getQualifiers() { return qualifiers; }
+ ParameterArray &getParameters() { return parameters; }
+ void addQualifier(QualifierXml& q) { qualifiers.add(q); }
+ void addParameter(ParameterXml& p) { parameters.add(p); }
+ // void toStringBuffer(string&,char*);
+};
+
+class ParameterXml {
+ static XmlElement elm,elmRef,elmArray, elmRefArray;
+ static bool initialized;
+ void initialize();
+ void init(XmlBuffer&);
+ void refToXmlBuffer(string &xb, const char *s, URL *url);
+ public:
+ string name, type, refCls, arraySize;
+ int pType;
+ string str;
+ int eprop, lprop;
+#define TypeParameter 1
+#define TypeParameterRef 2
+#define TypeParameterArray 3
+#define TypeParameterRefArray 4
+ QualifierArray qualifiers;
+ Option<ValueXml> value;
+ int key;
+ // so we can vector-ize PropertyXml's, we need a default constructor
+ ParameterXml() : pType(TypeNull) {}
+ ParameterXml(XmlBuffer&);
+ // ParameterXml(char*,int);
+ void addQualifier(QualifierXml& q) { qualifiers.add(q); }
+ void toStringBuffer(string&,char*);
+ void toXmlBuffer(string&,AValue*,int vOnly=0,URL* url=NULL);
+};
class ClassXml : public RetValXml {
static XmlElement elm;
@@ -544,6 +591,7 @@
PropertyArray &getProperties() { return properties; }
QualifierArray &getQualifiers() { return qualifiers; }
PropertyArray &getKeys() { return keys; }
+ MethodArray &getMethods() { return methods; }
void addQualifier(QualifierXml& q) { qualifiers.add(q); }
void addProperty(PropertyXml& p) { properties.add(p); if (p.key) keys.add(p); }
void addMethod(MethodXml& m) { methods.add(m); }
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/sblim-wbemcli-1.5.3/configure.ac new/sblim-wbemcli-1.5.4/configure.ac
--- old/sblim-wbemcli-1.5.3/configure.ac 2007-02-05 13:29:48.000000000 +0100
+++ new/sblim-wbemcli-1.5.4/configure.ac 2008-07-29 08:27:45.000000000 +0200
@@ -1,7 +1,7 @@
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
-AC_INIT(SBLIM WBEMCLI, 1.5.3, sblim-devel@lists.sourceforge.net,sblim-wbemcli)
+AC_INIT(SBLIM WBEMCLI, 1.5.4, sblim-devel@lists.sourceforge.net,sblim-wbemcli)
AC_CONFIG_SRCDIR([CimXml.cpp])
AC_CANONICAL_HOST
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/sblim-wbemcli-1.5.3/main.cpp new/sblim-wbemcli-1.5.4/main.cpp
--- old/sblim-wbemcli-1.5.3/main.cpp 2005-11-21 13:33:19.000000000 +0100
+++ new/sblim-wbemcli-1.5.4/main.cpp 2008-07-29 08:17:22.000000000 +0200
@@ -17,6 +17,7 @@
* Heidi Neumann
* David Eger
* Philip K. Warren
+ * Tyrel Datwyler
*
* Description: Line command interface to DMTF conforming WBEM servers
*/
@@ -194,7 +195,7 @@
else if (strcmp(*argv,"-ar")==0) role=*(++argv);
else if (strcmp(*argv,"-arr")==0) resultRole=*(++argv);
else if (strcmp(*argv,"-v")==0) {
- cerr<<"* wbemcli Version " PACKAGE_VERSION ", $Date: 2005/11/21 12:33:19 $" <size(); isize(); igetInst(i);
InstancePathXml n=owp->getName(i);
- url.toStringBuffer(sb,1);
+ // url.toStringBuffer(sb,1);
n.toStringBuffer(sb,":");
- in.propagateKeyFlags(n.name.keys);
+ in.propagateKeyFlags(n.name.keys);
if (useNl) sb += "\n";
else sb += " ";
in.toStringBuffer(sb);
@@ -503,8 +500,6 @@
case ReferenceNames:
if (url.cName == "")
throw CmdException("Class name not specified");
- if (url.keys.size() == 0)
- throw CmdException("Keys not specified");
if (BAD_REFERENCES_PARMS)
throw CmdException("Invalid command invocation");
if ((ina=cimom.referenceNames(url,resultClass,role))) {
@@ -521,8 +516,6 @@
case References:
if (url.cName == "")
throw CmdException("Class name not specified");
- if (url.keys.size() == 0)
- throw CmdException("Keys not specified");
if (BAD_REFERENCES_PARMS)
throw CmdException("Invalid command invocation");
if ((owp=cimom.references(url,resultClass,role,xtraStr))) {
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/sblim-wbemcli-1.5.3/man/wbemcli.1 new/sblim-wbemcli-1.5.4/man/wbemcli.1
--- old/sblim-wbemcli-1.5.3/man/wbemcli.1 2007-02-05 13:31:47.000000000 +0100
+++ new/sblim-wbemcli-1.5.4/man/wbemcli.1 2008-07-29 08:33:28.000000000 +0200
@@ -11,7 +11,7 @@
permission notice identical to this one.
..
-.TH wbemcli 1 "November 2005" "wbemcli Version 1.5.3"
+.TH wbemcli 1 "November 2005" "wbemcli Version 1.5.4"
.SH NAME
wbemcli \- independent command line CIM Client
@@ -357,6 +357,9 @@
.LP
.B \t<scheme>://[user:pwd@]<host>:<port>/:<classname>[.]
.TP
+The \fIobjectPath\fP should be enclosed in single quotes so that double quoted
+strings are perserved by the command line shell. Refer to the examples section.
+.TP
The only scheme supported is http. Example:
.B \thttp://krz:xyz@localhost:5988/root/cimv2:rpm_package.name=glibc
.LP
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/sblim-wbemcli-1.5.3/man/wbemcli.1.pre.in new/sblim-wbemcli-1.5.4/man/wbemcli.1.pre.in
--- old/sblim-wbemcli-1.5.3/man/wbemcli.1.pre.in 2005-11-21 13:33:19.000000000 +0100
+++ new/sblim-wbemcli-1.5.4/man/wbemcli.1.pre.in 2007-06-05 03:55:49.000000000 +0200
@@ -357,6 +357,9 @@
.LP
.B \t<scheme>://[user:pwd@]<host>:<port>/:<classname>[.]
.TP
+The \fIobjectPath\fP should be enclosed in single quotes so that double quoted
+strings are perserved by the command line shell. Refer to the examples section.
+.TP
The only scheme supported is http. Example:
.B \thttp://krz:xyz@localhost:5988/root/cimv2:rpm_package.name=glibc
.LP
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/sblim-wbemcli-1.5.3/missing new/sblim-wbemcli-1.5.4/missing
--- old/sblim-wbemcli-1.5.3/missing 2004-09-29 07:15:05.000000000 +0200
+++ new/sblim-wbemcli-1.5.4/missing 2006-04-23 02:59:37.000000000 +0200
@@ -1,9 +1,9 @@
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
-scriptversion=2004-09-07.08
+scriptversion=2005-06-08.21
-# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004
+# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
# Free Software Foundation, Inc.
# Originally by Fran,cois Pinard , 1996.
@@ -19,8 +19,8 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
@@ -87,12 +87,12 @@
yacc create \`y.tab.[ch]', if possible, from existing .[ch]
Send bug reports to ."
- exit 0
+ exit $?
;;
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
echo "missing $scriptversion (GNU Automake)"
- exit 0
+ exit $?
;;
-*)
@@ -288,11 +288,18 @@
call might also be the consequence of using a buggy \`make' (AIX,
DU, IRIX). You might want to install the \`Texinfo' package or
the \`GNU make' package. Grab either from any GNU archive site."
+ # The file to touch is that specified with -o ...
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
if test -z "$file"; then
- file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
- file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
- fi
+ # ... or it is the one specified with @setfilename ...
+ infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
+ file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile`
+ # ... or it is derived from the source name (dir/f.texi becomes f.info)
+ test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
+ fi
+ # If the file does not exist, the user really needs makeinfo;
+ # let's fail without touching anything.
+ test -f $file || exit 1
touch $file
;;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/sblim-wbemcli-1.5.3/NEWS new/sblim-wbemcli-1.5.4/NEWS
--- old/sblim-wbemcli-1.5.3/NEWS 2007-02-05 13:28:39.000000000 +0100
+++ new/sblim-wbemcli-1.5.4/NEWS 2008-07-29 08:27:45.000000000 +0200
@@ -1,3 +1,20 @@
+Changes in Version 1.5.4
+========================
+
+Bugs:
+- 1692696: mi does not correctly parse ref parameter
+- 1690542: ci/di do not correctly parse ref parameter
+- 1671996: wbemcli fails handling reference values of extrinsic methods
+- 1689495: IPv6 address support
+- 1689497: specify username and port without password
+- 1698325: enumeration of association instances does not work
+- 1710167: namespace is not parsed from ref property
+- 1728703: gcd doesn't report error when class not found
+- 1979654: ec of CIM_InstIndication w/EmbeddedObj fails
+- 1616370: null property display/setting unlogical
+- 1756553: doesn't accept classes for ain,ai,rin,ri operations
+- 1783603: wbemcli reports incorrect namespace
+
Changes in Version 1.5.3
========================
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/sblim-wbemcli-1.5.3/README new/sblim-wbemcli-1.5.4/README
--- old/sblim-wbemcli-1.5.3/README 2005-09-29 16:02:36.000000000 +0200
+++ new/sblim-wbemcli-1.5.4/README 2007-06-05 03:55:49.000000000 +0200
@@ -68,9 +68,15 @@
-arc result class name (ai, ain, rin, ri only)
-ar role name (ai, ain, rin, ri only)
-arr result role name (ai, ain only)
- url <protocol>://[user:password@]<host>[:<port>]/:<classname>[.]
- example http://localhost:5988/root/cimv2:rpm_package.name=glibc,id=5
- attrs (required for ci and mi only)
+
+ url '<protocol>://[user:password@]<host>[:<port>]/:<classname>[.]'
+ attrs '' (required for ci and mi only)
+
+ Single quotes should be used around the url and attrs to perserve double
+ qouted strings. If not enclosed the double quotes will be striped by the
+ shell, and wbemcli will mistake string values starting with a digit/+/- as
+ numeric, or strings starting with 'true/false' as boolean.
+ example 'http://localhost:5988/root/cimv2:rpm_package.name="glibc",id=5'
Host indirection support: The string '<protocol>://[user:password@]<host>[:<port>]'
can be replaced by an arbitrary string. This string will be used to
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/sblim-wbemcli-1.5.3/sblim-wbemcli.spec new/sblim-wbemcli-1.5.4/sblim-wbemcli.spec
--- old/sblim-wbemcli-1.5.3/sblim-wbemcli.spec 2007-02-05 13:31:41.000000000 +0100
+++ new/sblim-wbemcli-1.5.4/sblim-wbemcli.spec 2008-07-29 08:33:20.000000000 +0200
@@ -8,7 +8,7 @@
Summary: SBLIM WBEM Command Line Interface
Name: sblim-wbemcli
-Version: 1.5.3
+Version: 1.5.4
Release: 1
Group: Systems Management/Base
URL: http://www.sblim.org
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org