summaryrefslogtreecommitdiffstats
path: root/Makefile.Release
diff options
context:
space:
mode:
authordenise.eckstein <denise.eckstein>2008-03-08 00:59:11 +0000
committerdenise.eckstein <denise.eckstein>2008-03-08 00:59:11 +0000
commit34591e228fccc8c0d06bc1aca1ce3788126a9e67 (patch)
treebb7e6b888e65e85fcd5ff56668eaea278dc051eb /Makefile.Release
parent2d6cdc76a971382cf551c4c73bcc722080e4467b (diff)
downloadtog-pegasus-34591e228fccc8c0d06bc1aca1ce3788126a9e67.zip
tog-pegasus-34591e228fccc8c0d06bc1aca1ce3788126a9e67.tar.gz
tog-pegasus-34591e228fccc8c0d06bc1aca1ce3788126a9e67.tar.xz
BUG#: 7001
TITLE: Wrong permissions on the Pegasus packaged mof files DESCRIPTION: Modified tog-pegasus.spec file to set correct permissions.
Diffstat (limited to 'Makefile.Release')
-rw-r--r--Makefile.Release30
1 files changed, 15 insertions, 15 deletions
diff --git a/Makefile.Release b/Makefile.Release
index 99c607d..c5a75bd 100644
--- a/Makefile.Release
+++ b/Makefile.Release
@@ -999,12 +999,15 @@ endif
_append_filesSectionToSpecFile: FORCE
@$(ECHO-E) "%files" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
- @$(ECHO-E) "%defattr($(Prw_______), $(CIMSERVERMAIN_USR),"\
- "$(CIMSERVERMAIN_GRP), $(Prwx______))" \
+ @$(ECHO-E) "%defattr($(Prw_______),$(CIMSERVERMAIN_USR),$(CIMSERVERMAIN_GRP),$(Prwx______))" \
>> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) "$(PEGASUS_REPOSITORY_DIR)" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
- @$(ECHO-E) "%defattr($(Prw_______), $(INSTALL_USR),"\
- "$(INSTALL_GRP), $(Prwxr_xr_x))" \
+ @$(ECHO-E) "" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
+ @$(ECHO-E) "%defattr($(Prw_r__r__),$(INSTALL_USR),$(INSTALL_GRP),$(Prwxr_xr_x))"\
+ >> $(PEGASUS_RPM_SPEC_FILE_PATH)
+ @$(ECHO-E) "$(PEGASUS_MOF_DIR)" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
+ @$(ECHO-E) "" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
+ @$(ECHO-E) "%defattr($(Prw_______),$(INSTALL_USR),$(INSTALL_GRP),$(Prwxr_xr_x))" \
>> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(foreach i, $(PEGASUS_SPECIFIC_DIRECTORIES), \
if [ $(i) != $(PEGASUS_LOCAL_DOMAIN_SOCKET_DIR) ]; then \
@@ -1012,28 +1015,25 @@ _append_filesSectionToSpecFile: FORCE
if [ $(i) != $(PEGASUS_TRACE_DIR) ]; then \
if [ $(i) != $(PEGASUS_CONFIG_DIR) ]; then \
if [ $(i) != $(PEGASUS_VARRUN_DIR) ]; then \
+ if [ $(i) != $(PEGASUS_MOF_DIR) ]; then \
$(ECHO-E) "%dir $(i)" >> \
- $(PEGASUS_RPM_SPEC_FILE_PATH); fi; fi; fi; fi; fi;)
+ $(PEGASUS_RPM_SPEC_FILE_PATH); fi; fi; fi; fi; fi;fi;)
@$(ECHO-E) "%dir $(PEGASUS_PROVIDER_DIR_2) " \
>> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) "%dir $(PEGASUS_PROVIDER_LIB_DIR_2) " \
>> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) "" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
- @$(ECHO-E) "%dir %attr($(Prwxr_xr_x), $(INSTALL_USR)," \
- "$(INSTALL_GRP)) $(PEGASUS_CONFIG_DIR)" \
- >> $(PEGASUS_RPM_SPEC_FILE_PATH)
- @$(ECHO-E) "%dir %attr($(Prwxr_xr_x), $(CIMSERVERMAIN_USR)," \
- "$(CIMSERVERMAIN_GRP)) $(PEGASUS_VARRUN_DIR)" \
- >> $(PEGASUS_RPM_SPEC_FILE_PATH)
- @$(ECHO-E) "%dir %attr(1755,$(CIMSERVERMAIN_USR),$(CIMSERVERMAIN_GRP))" \
+ @$(ECHO-E) "%dir %attr($(Prwxr_xr_x),$(INSTALL_USR),$(INSTALL_GRP))"\
+ "$(PEGASUS_CONFIG_DIR)" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
+ @$(ECHO-E) "%dir" \
+ "%attr($(Prwxr_xr_x),$(CIMSERVERMAIN_USR),$(CIMSERVERMAIN_GRP))"\
+ "$(PEGASUS_VARRUN_DIR)" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
+ @$(ECHO-E) "%dir %attr(1755,$(CIMSERVERMAIN_USR),$(CIMSERVERMAIN_GRP))"\
"$(PEGASUS_LOCAL_DOMAIN_SOCKET_DIR)" \
>> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) "%dir %attr($(Prwxrwxrwt),$(INSTALL_USR),$(INSTALL_GRP))" \
"$(PEGASUS_TRACE_DIR)" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) "" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
- @$(ECHO-E) "$(PEGASUS_MOF_DIR)/Pegasus/*" \
- >> $(PEGASUS_RPM_SPEC_FILE_PATH)
- @$(ECHO-E) "" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) "%config %attr($(Prwxr_x___),$(INSTALL_USR),$(INSTALL_GRP))"\
"/etc/init.d/tog-pegasus" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) "%config(noreplace)" \