diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-08-19 14:36:02 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-05-19 03:43:15 +0200 |
commit | 4a2b087645cc1363b9d8fc9ca5fa6257d6da3263 (patch) | |
tree | 36f86def8ee563030758cfb8eda7a0952d14a8fa /onlineupdate | |
parent | ed267696b5b0922eff08823c300f94ff060aab50 (diff) |
start work on the updater service
Change-Id: Ic0b98c859cf2115195a75e9521c35ef32bd8b833
Diffstat (limited to 'onlineupdate')
-rw-r--r-- | onlineupdate/Executable_update_service.mk | 32 | ||||
-rw-r--r-- | onlineupdate/Module_onlineupdate.mk | 2 | ||||
-rw-r--r-- | onlineupdate/README | 2 |
3 files changed, 36 insertions, 0 deletions
diff --git a/onlineupdate/Executable_update_service.mk b/onlineupdate/Executable_update_service.mk new file mode 100644 index 000000000000..eda3e5931868 --- /dev/null +++ b/onlineupdate/Executable_update_service.mk @@ -0,0 +1,32 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +$(eval $(call gb_Executable_Executable,update_service)) + +$(eval $(call gb_Executable_set_include,update_service,\ + -I$(SRCDIR)/onlineupdate/source/libmar/src/ \ + -I$(SRCDIR)/onlineupdate/source/libmar/verify/ \ + -I$(SRCDIR)/onlineupdate/source/libmar/sign/ \ + $$(INCLUDE) \ +)) + +$(eval $(call gb_Executable_add_libs,update_service,\ + ws2_32.lib \ + Crypt32.lib \ +)) + +$(eval $(call gb_Executable_add_cxxobjects,update_service,\ + onlineupdate/source/libmar/sign/nss_secutil \ + onlineupdate/source/libmar/sign/mar_sign \ + onlineupdate/source/libmar/verify/cryptox \ + onlineupdate/source/libmar/verify/mar_verify \ + onlineupdate/source/libmar/tool/mar \ +)) + +# vim:set shiftwidth=4 tabstop=4 noexpandtab: */ diff --git a/onlineupdate/Module_onlineupdate.mk b/onlineupdate/Module_onlineupdate.mk index 2611faa595e7..19a4ae954b3c 100644 --- a/onlineupdate/Module_onlineupdate.mk +++ b/onlineupdate/Module_onlineupdate.mk @@ -15,6 +15,8 @@ $(eval $(call gb_Module_add_targets,onlineupdate,\ StaticLibrary_libmar \ Executable_mar \ Executable_updater \ + $(if $(filter WNT,$(OS)), \ + Executable_update_service ) \ )) endif diff --git a/onlineupdate/README b/onlineupdate/README index 539e04ceb03c..5e98cce3049d 100644 --- a/onlineupdate/README +++ b/onlineupdate/README @@ -5,3 +5,5 @@ LibreOffice needs: firefox/modules/libmar -> onlineupdate/source/libmar firefox/toolkit/mozapps/update -> onlineupdate/source/update + +The source/service directory contains the code for the silent windows updater that avoids the repeated administrator check for an update. |