File pegasus-2.9.0-defineable-user.patch of Package tog-pegasus

Index: mak/config.mak
===================================================================
--- mak/config.mak.orig
+++ mak/config.mak
@@ -1317,7 +1317,9 @@ ifdef PEGASUS_ENABLE_PRIVILEGE_SEPARATIO
 
   ## Defines the user context of the cimservermain process when privilege
   ## separation is enabled.
-  PEGASUS_CIMSERVERMAIN_USER = cimsrvr
+  ifndef PEGASUS_CIMSERVERMAIN_USER
+    PEGASUS_CIMSERVERMAIN_USER = cimsrvr
+  endif
   DEFINES += -DPEGASUS_CIMSERVERMAIN_USER=\"$(PEGASUS_CIMSERVERMAIN_USER)\"
 endif
 
openSUSE Build Service is sponsored by