[tog-pegasus] Allow unprivileged users to subscribe to indications, Remove packages which are part of the minimum

vcrhonek vcrhonek at fedoraproject.org
Wed Jan 8 09:09:16 UTC 2014


commit d97d481fa5d3d97491d2096b10f08fd66e87426e
Author: Vitezslav Crhonek <vcrhonek at redhat.com>
Date:   Wed Jan 8 10:09:14 2014 +0100

    Allow unprivileged users to subscribe to indications, Remove packages which are part of the minimum build environment from BR

 ...ble-subscriptions-for-nonprivileged-users.patch |   24 ++++++++++++++++++++
 tog-pegasus.spec                                   |   13 ++++++++--
 2 files changed, 34 insertions(+), 3 deletions(-)
---
diff --git a/pegasus-2.13.0-enable-subscriptions-for-nonprivileged-users.patch b/pegasus-2.13.0-enable-subscriptions-for-nonprivileged-users.patch
new file mode 100644
index 0000000..7312327
--- /dev/null
+++ b/pegasus-2.13.0-enable-subscriptions-for-nonprivileged-users.patch
@@ -0,0 +1,24 @@
+diff -up pegasus/rpm/manLinux/man8.Z/cimconfig.8.orig pegasus/rpm/manLinux/man8.Z/cimconfig.8
+--- pegasus/rpm/manLinux/man8.Z/cimconfig.8.orig	2014-01-07 14:51:40.841757649 +0100
++++ pegasus/rpm/manLinux/man8.Z/cimconfig.8	2014-01-07 14:52:03.415820767 +0100
+@@ -161,7 +161,7 @@ and listener destination instances other
+ is required.
+ .PD 0
+ .IP 
+-.BR "Default Value: " False
++.BR "Default Value: " True
+ .IP 
+ .BR Dynamic: \0No
+ .PD
+diff -up pegasus/src/Pegasus/Config/SecurityPropertyOwner.cpp.orig pegasus/src/Pegasus/Config/SecurityPropertyOwner.cpp
+--- pegasus/src/Pegasus/Config/SecurityPropertyOwner.cpp.orig	2014-01-07 14:48:14.377180640 +0100
++++ pegasus/src/Pegasus/Config/SecurityPropertyOwner.cpp	2014-01-07 14:51:30.760729464 +0100
+@@ -121,7 +121,7 @@ static struct ConfigPropertyRow properti
+ #if defined(PEGASUS_OS_HPUX) || defined(PEGASUS_OS_LINUX)
+ # ifdef PEGASUS_USE_RELEASE_CONFIG_OPTIONS
+     {"enableSubscriptionsForNonprivilegedUsers",
+-         "false", IS_STATIC, IS_VISIBLE},
++         "true", IS_STATIC, IS_VISIBLE},
+ # else
+     {"enableSubscriptionsForNonprivilegedUsers", "true", IS_STATIC, IS_VISIBLE},
+ # endif
diff --git a/tog-pegasus.spec b/tog-pegasus.spec
index fd17fe0..a11b497 100644
--- a/tog-pegasus.spec
+++ b/tog-pegasus.spec
@@ -8,7 +8,7 @@
 
 Name:           tog-pegasus
 Version:        %{major_ver}.0
-Release:        5%{?dist}
+Release:        6%{?dist}
 Epoch:          2
 Summary:        OpenPegasus WBEM Services for Linux
 
@@ -76,9 +76,10 @@ Patch27:        pegasus-2.13.0-build-fix.patch
 # 28: PG_ComputerSystem having CreationClassName="CIM_ComputerSystem"
 # http://bugzilla.openpegasus.org/show_bug.cgi?id=9795
 Patch28:        pegasus-2.13.0-PG_ComputerSystem.CreationClassName.patch
+# 29: bz#1049314, allow unprivileged users to subscribe to indications by default
+Patch29:        pegasus-2.13.0-enable-subscriptions-for-nonprivileged-users.patch
 
-BuildRequires:  bash, sed, grep, coreutils, procps, gcc, gcc-c++
-BuildRequires:  libstdc++, make, pam-devel
+BuildRequires:  procps, libstdc++, pam-devel
 BuildRequires:  openssl, openssl-devel
 BuildRequires:  net-snmp-devel, openslp-devel
 BuildRequires:  systemd-units
@@ -210,6 +211,7 @@ yes | mak/CreateDmtfSchema 238 %{SOURCE9} cim_schema_2.38.0
 %patch26 -p1 -b .schema-version-and-includes
 %patch27 -p1 -b .build-fix
 %patch28 -p0 -b .PG_ComputerSystem.CreationClassName
+%patch29 -p1 -b .enable-subscriptions-for-nonprivileged-users
 
 
 %build
@@ -477,6 +479,11 @@ fi
 
 
 %changelog
+* Wed Jan 08 2014 Vitezslav Crhonek <vcrhonek at redhat.com> - 2:2.13.0-6
+- Allow unprivileged users to subscribe to indications
+  Resolves: #1049314
+- Remove packages which are part of the minimum build environment from BR
+
 * Mon Nov 04 2013 Vitezslav Crhonek <vcrhonek at redhat.com> - 2:2.13.0-5
 - Fix missing openssl dependency
   Resolves: #1022056


More information about the scm-commits mailing list