summaryrefslogtreecommitdiff
path: root/instsetoo_native
diff options
context:
space:
mode:
Diffstat (limited to 'instsetoo_native')
-rw-r--r--instsetoo_native/CustomTarget_setup.mk16
1 files changed, 14 insertions, 2 deletions
diff --git a/instsetoo_native/CustomTarget_setup.mk b/instsetoo_native/CustomTarget_setup.mk
index 26fc42792a03..5ce472632cdf 100644
--- a/instsetoo_native/CustomTarget_setup.mk
+++ b/instsetoo_native/CustomTarget_setup.mk
@@ -104,7 +104,16 @@ $(call gb_CustomTarget_get_workdir,instsetoo_native/setup)/$(call gb_Helper_get_
) > $@
# for release-builds (building installers) adjust values in openoffice.lst.in
-# Added 'SecureUserConfig' flags to enable and safe three registrymodifications.xcu versions
+# Added 'SecureUserConfig' flags to enable and safe user config files
+# SecureUserConfig : boolean - switches securing on/off - default false
+# SecureUserConfigCompress : boolean - defines if backup data will be compressed - default true
+# SecureUserConfigNumCopies : integer - defines how many compressed copies of saved content will be kept - default 2
+# SecureUserConfigMode: integer - defines what to secure, default is 0
+# 0 : only registrymodifications.xcu
+# 1 : a selected amount of user-defined configs
+# 2 : everything in the user config directory
+# SecureUserConfigExtensions: boolean - defines to also safe the extension configuration (which extensions
+# are installed, which are activated) - default is true
$(call gb_CustomTarget_get_workdir,instsetoo_native/setup)/$(call gb_Helper_get_rcfile,soffice) :
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),ECH,1)
( \
@@ -120,7 +129,10 @@ $(call gb_CustomTarget_get_workdir,instsetoo_native/setup)/$(call gb_Helper_get_
&& echo 'ProgressTextColor=255,255,255' \
&& echo 'URE_BOOTSTRAP=$${ORIGIN}/$(call gb_Helper_get_rcfile,fundamental)' \
&& echo 'SecureUserConfig=true' \
- && echo 'SecureUserConfigNumCopies=3' \
+ && echo 'SecureUserConfigCompress=true' \
+ && echo 'SecureUserConfigNumCopies=2' \
+ && echo 'SecureUserConfigMode=0' \
+ && echo 'SecureUserConfigExtensions=true' \
) > $@
$(call gb_CustomTarget_get_workdir,instsetoo_native/setup)/$(call gb_Helper_get_rcfile,uno) :