Hello community,
here is the log from the commit of package openlmi-networking for
openSUSE:Factory checked in at 2014-05-17 21:46:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openlmi-networking (Old)
and /work/SRC/openSUSE:Factory/.openlmi-networking.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openlmi-networking"
Changes:
--------
--- /work/SRC/openSUSE:Factory/openlmi-networking/openlmi-networking.changes
2013-10-17 20:43:12.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.openlmi-networking.new/openlmi-networking.changes
2014-05-17 21:46:55.000000000 +0200
@@ -1,0 +2,32 @@
+Tue Apr 29 07:45:32 UTC 2014 - [email protected]
+
+- Define new interfaces introduced by cim-schema 2.40.0
+ AddIPProtocolEndpoint_RemoveIPProtocolEndpoint.patch
+
+-------------------------------------------------------------------
+Sun Feb 9 18:54:54 UTC 2014 - [email protected]
+
+- SLE-12: FATE 316180
+
+-------------------------------------------------------------------
+Wed Jan 15 12:11:47 UTC 2014 - [email protected]
+
+- Update to 0.2.2
+ * Few bugfixes and small improvements.
+
+-------------------------------------------------------------------
+Tue Nov 5 13:48:35 UTC 2013 - [email protected]
+
+- Update to 0.2.1
+ * Documentation reworked and extended.
+ * Lots of bugfixing.
+ * Adapt to changes in openlmi-providers.
+
+- drop add-network_job-resume.patch, upstreamed
+
+-------------------------------------------------------------------
+Tue Oct 1 08:06:57 UTC 2013 - [email protected]
+
+- Fix 12.3 build, add networkmanager-defines.patch
+
+-------------------------------------------------------------------
Old:
----
add-network_job-resume.patch
openlmi-networking-0.1.1.tar.bz2
New:
----
AddIPProtocolEndpoint_RemoveIPProtocolEndpoint.patch
networkmanager-defines.patch
openlmi-networking-0.2.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ openlmi-networking.spec ++++++
--- /var/tmp/diff_new_pack.UFIjko/_old 2014-05-17 21:46:56.000000000 +0200
+++ /var/tmp/diff_new_pack.UFIjko/_new 2014-05-17 21:46:56.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package openlmi-networking
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 Redhat, Inc
#
# All modifications and additions to the file contributed by third parties
@@ -16,36 +16,43 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
+
%if 0%{?suse_version}
%global _libexecdir %{_prefix}/lib
%endif
+%global logfile %{_localstatedir}/log/openlmi-install.log
+
Name: openlmi-networking
-Version: 0.1.1
+Version: 0.2.2
Release: 1%{?dist}
Summary: CIM providers for network management
-
License: LGPL-2.1+
Group: System/Management
-URL: http://fedorahosted.org/openlmi/
+
+Url: http://fedorahosted.org/openlmi/
Source0: %{name}-%{version}.tar.bz2
-# define job control default functions, [email protected]
-Patch1: add-network_job-resume.patch
-# SUSE does not have libexec, [email protected]
+# PATCH-FIX-OPENSUSE SUSE does not have libexec, [email protected]
Patch2: no-libexec-in-suse.patch
+# PATCH-FIX-OPENSUSE NetworkManager in openSUSE 12.3 is too old,
[email protected]
+Patch3: networkmanager-defines.patch
+
+# PATCH-FIX-UPSTREAM cim-schema 2.40.0 adds new interfaces
+Patch4: AddIPProtocolEndpoint_RemoveIPProtocolEndpoint.patch
+
# Upstream name has been changed from cura-networking to openlmi-networking
Provides: cura-networking%{?_isa} = %{version}-%{release}
Obsoletes: cura-networking < 0.0.5-1
+BuildRequires: check-devel
+BuildRequires: cim-schema
BuildRequires: cmake
-BuildRequires: openlmi-providers-devel >= 0.0.19
+BuildRequires: glib2-devel
BuildRequires: konkretcmpi-devel
+BuildRequires: openlmi-providers-devel >= 0.0.19
BuildRequires: sblim-cmpi-devel
-BuildRequires: cim-schema
-BuildRequires: glib2-devel
-BuildRequires: check-devel
%if 0%{?suse_version}
BuildRequires: NetworkManager-devel
BuildRequires: gcc-c++
@@ -71,13 +78,15 @@
%{name} is set of CMPI providers for network management using
Common Information Model (CIM).
-
%prep
%setup -q
-%patch1 -p1
%if 0%{?suse_version}
%patch2 -p1
+%if 0%{?suse_version} <= 1230
+%patch3 -p1
%endif
+%endif
+%patch4 -p1
%build
mkdir -p %{_target_platform}
@@ -87,11 +96,9 @@
make %{?_smp_mflags} -C %{_target_platform}
-
%install
make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
-
%files
%defattr(-,root,root)
%doc README COPYING
@@ -103,20 +110,18 @@
%{_datadir}/%{name}/60_LMI_Networking.reg
%attr(755, root, root) %{_libexecdir}/pegasus/cmpiLMI_Networking-cimprovagt
-
%pre
# If upgrading, deregister old version
if [ "$1" -gt 1 ]; then
# delete indication filters
%{_bindir}/openlmi-mof-register --just-mofs -n root/interop unregister \
- %{_datadir}/%{name}/70_LMI_NetworkingIndicationFilters.mof \
- %{_datadir}/%{name}/90_LMI_Networking_Profile.mof \
- > /dev/null 2>&1 || :;
+ %{_datadir}/%{name}/70_LMI_NetworkingIndicationFilters.mof || :;
+ %{_bindir}/openlmi-mof-register --just-mofs -n root/interop unregister \
+ %{_datadir}/%{name}/90_LMI_Networking_Profile.mof || :;
%{_bindir}/openlmi-mof-register -v %{version} unregister \
%{_datadir}/%{name}/60_LMI_Networking.mof \
- %{_datadir}/%{name}/60_LMI_Networking.reg \
- > /dev/null 2>&1 || :;
-fi
+ %{_datadir}/%{name}/60_LMI_Networking.reg || :;
+fi >> %logfile 2>&1
%post
/sbin/ldconfig
@@ -124,30 +129,27 @@
if [ "$1" -ge 1 ]; then
%{_bindir}/openlmi-mof-register -v %{version} register \
%{_datadir}/%{name}/60_LMI_Networking.mof \
- %{_datadir}/%{name}/60_LMI_Networking.reg \
- > /dev/null 2>&1 || :;
+ %{_datadir}/%{name}/60_LMI_Networking.reg || :;
# install indication filters
%{_bindir}/openlmi-mof-register --just-mofs -n root/interop register \
- %{_datadir}/%{name}/70_LMI_NetworkingIndicationFilters.mof \
- %{_datadir}/%{name}/90_LMI_Networking_Profile.mof \
- > /dev/null 2>&1 || :;
-fi
+ %{_datadir}/%{name}/70_LMI_NetworkingIndicationFilters.mof || :;
+ %{_bindir}/openlmi-mof-register --just-mofs -n root/interop register \
+ %{_datadir}/%{name}/90_LMI_Networking_Profile.mof || :;
+fi >> %logfile 2>&1
%preun
# Deregister only if not upgrading
if [ "$1" -eq 0 ]; then
# delete indication filters
%{_bindir}/openlmi-mof-register --just-mofs -n root/interop unregister \
- %{_datadir}/%{name}/70_LMI_NetworkingIndicationFilters.mof \
- %{_datadir}/%{name}/90_LMI_Networking_Profile.mof \
- > /dev/null 2>&1 || :;
+ %{_datadir}/%{name}/70_LMI_NetworkingIndicationFilters.mof || :;
+ %{_bindir}/openlmi-mof-register --just-mofs -n root/interop unregister \
+ %{_datadir}/%{name}/90_LMI_Networking_Profile.mof || :;
%{_bindir}/openlmi-mof-register -v %{version} unregister \
%{_datadir}/%{name}/60_LMI_Networking.mof \
- %{_datadir}/%{name}/60_LMI_Networking.reg \
- > /dev/null 2>&1 || :;
-fi
+ %{_datadir}/%{name}/60_LMI_Networking.reg || :;
+fi >> %logfile 2>&1
%postun -p /sbin/ldconfig
-
%changelog
++++++ AddIPProtocolEndpoint_RemoveIPProtocolEndpoint.patch ++++++
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x
autom4te.cache -x .deps -x .libs
../orig-openlmi-networking-0.2.2/src/LMI_IPConfigurationServiceProvider.c
./src/LMI_IPConfigurationServiceProvider.c
--- ../orig-openlmi-networking-0.2.2/src/LMI_IPConfigurationServiceProvider.c
2014-01-07 17:38:18.000000000 +0100
+++ ./src/LMI_IPConfigurationServiceProvider.c 2014-04-29 09:40:58.906124193
+0200
@@ -640,6 +640,39 @@
return result;
}
+KUint32 LMI_IPConfigurationService_AddIPProtocolEndpoint(
+ const CMPIBroker* cb,
+ CMPIMethodMI* mi,
+ const CMPIContext* context,
+ const LMI_IPConfigurationServiceRef* self,
+ const KRef* TargetInterface,
+ const KInstanceA* IPProtocolEndpoint,
+ const KInstanceA* EndpointSettings,
+ KRefA* ResultingEndpoint,
+ KRef* Job,
+ CMPIStatus* status)
+{
+ KUint32 result = KUINT32_INIT;
+
+ KSetStatus(status, ERR_NOT_SUPPORTED);
+ return result;
+}
+
+KUint32 LMI_IPConfigurationService_RemoveIPProtocolEndpoint(
+ const CMPIBroker* cb,
+ CMPIMethodMI* mi,
+ const CMPIContext* context,
+ const LMI_IPConfigurationServiceRef* self,
+ const KRefA* Endpoint,
+ KRef* Job,
+ CMPIStatus* status)
+{
+ KUint32 result = KUINT32_INIT;
+
+ KSetStatus(status, ERR_NOT_SUPPORTED);
+ return result;
+}
+
KONKRET_REGISTRATION(
"root/cimv2",
"LMI_IPConfigurationService",
++++++ networkmanager-defines.patch ++++++
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x
autom4te.cache -x .deps -x .libs
../orig-openlmi-networking-0.1.1/src/activeconnection_nm.c
./src/activeconnection_nm.c
--- ../orig-openlmi-networking-0.1.1/src/activeconnection_nm.c 2013-08-07
08:28:28.000000000 +0200
+++ ./src/activeconnection_nm.c 2013-10-01 10:04:46.470136795 +0200
@@ -34,6 +34,9 @@
#include "network_private.h"
#include "errors.h"
+/* value taken from upstream:
http://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/include/NetworkManager.h
*/
+#define NM_ACTIVE_CONNECTION_STATE_DEACTIVATED 4
+
LMIResult active_connection_read_properties(ActiveConnection
*activeConnection, GHashTable *properties);
void active_connection_changed_cb(void *proxy, GHashTable *properties,
ActiveConnection *activeConnection);
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x
autom4te.cache -x .deps -x .libs ../orig-openlmi-networking-0.1.1/src/port_nm.c
./src/port_nm.c
--- ../orig-openlmi-networking-0.1.1/src/port_nm.c 2013-08-07
08:28:28.000000000 +0200
+++ ./src/port_nm.c 2013-10-01 10:03:03.730124597 +0200
@@ -31,6 +31,11 @@
#include "network_private.h"
#include "errors.h"
+/* values taken from upstream:
http://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/include/NetworkManager.h
*/
+#define NM_DEVICE_STATE_REASON_MODEM_MANAGER_UNAVAILABLE 52
+#define NM_DEVICE_STATE_REASON_SSID_NOT_FOUND 53
+#define NM_DEVICE_STATE_REASON_SECONDARY_CONNECTION_FAILED 54
+
typedef struct PortPriv {
DBusGProxy *proxy;
DBusGProxy *subproxy;
++++++ openlmi-networking-0.1.1.tar.bz2 -> openlmi-networking-0.2.2.tar.bz2
++++++
++++ 2853 lines of diff (skipped)
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]