mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-21 10:09:57 +01:00
speedo: Put the keyboxd into the Windows installer
* build-aux/speedo/w32/inst.nsi: Install keyboxd. * Makefile.am (sign-release): Sign the wixlib only if generated. * autogen.rc: Remove meanwhile obsolete option --with-regex.
This commit is contained in:
parent
bcd5feec0e
commit
10f52f9bf3
@ -243,7 +243,7 @@ release:
|
||||
echo "/* Build finished at $$(date -uIseconds) */" ;\
|
||||
echo "/*" ;\
|
||||
echo " * Please run the final step interactively:" ;\
|
||||
echo " * make sign-release" ;\
|
||||
echo " * make sign-release $${WITH_MSI:+WITH_MSI=1}" ;\
|
||||
echo " */" ;\
|
||||
) 2>&1 | tee "$(RELEASE_NAME).buildlog"
|
||||
|
||||
@ -280,8 +280,10 @@ sign-release:
|
||||
gpg -sbu $$mysignkey $${release_w32_name}.tar.xz ;\
|
||||
echo "/* Signing the W32 installer ..." ;\
|
||||
gpg -sbu $$mysignkey $${release_w32_name}.exe ;\
|
||||
if [ -e $${wixlibfile} ]; then \
|
||||
echo "/* Signing the Wixlib ..." ;\
|
||||
gpg -sbu $$mysignkey $${wixlibfile} ;\
|
||||
fi; \
|
||||
cat $(RELEASE_NAME).swdb >swdb.snippet;\
|
||||
echo '#+macro: gnupg24_branch STABLE-BRANCH-2-4' >>swdb.snippet;\
|
||||
cat $${release_w32_name}.exe.swdb >>swdb.snippet;\
|
||||
|
@ -18,7 +18,6 @@ case "$myhost" in
|
||||
w32)
|
||||
configure_opts="
|
||||
--with-zlib=@SYSROOT@
|
||||
--with-regex=@SYSROOT@
|
||||
--disable-g13
|
||||
--disable-tpm2d
|
||||
"
|
||||
|
@ -1,5 +1,5 @@
|
||||
# inst.nsi - Installer for GnuPG on Windows. -*- coding: latin-1; -*-
|
||||
# Copyright (C) 2005, 2014 g10 Code GmbH
|
||||
# Copyright (C) 2005, 2014, 2019-2021 g10 Code GmbH
|
||||
# 2017 Intevation GmbH
|
||||
#
|
||||
# This file is part of GnuPG.
|
||||
@ -43,7 +43,7 @@
|
||||
!define PRETTY_PACKAGE "GNU Privacy Guard"
|
||||
!define PRETTY_PACKAGE_SHORT "GnuPG"
|
||||
!define COMPANY "The GnuPG Project"
|
||||
!define COPYRIGHT "Copyright (C) 2017 The GnuPG Project"
|
||||
!define COPYRIGHT "Copyright (C) 2021 g10 Code GmbH"
|
||||
!define DESCRIPTION "GnuPG: The GNU Privacy Guard for Windows"
|
||||
|
||||
!define INSTALL_DIR "GnuPG"
|
||||
@ -600,6 +600,7 @@ Section "-gnupginst"
|
||||
ifFileExists "$INSTDIR\bin\gpgconf.exe" 0 no_gpgconf
|
||||
nsExec::ExecToLog '"$INSTDIR\bin\gpgconf" "--kill" "dirmngr"'
|
||||
nsExec::ExecToLog '"$INSTDIR\bin\gpgconf" "--kill" "gpg-agent"'
|
||||
nsExec::ExecToLog '"$INSTDIR\bin\gpgconf" "--kill" "keyboxd"'
|
||||
|
||||
no_gpgconf:
|
||||
|
||||
@ -655,6 +656,14 @@ Section "GnuPG" SEC_gnupg
|
||||
File /oname=scdaemon.exe.tmp "libexec/scdaemon.exe"
|
||||
Rename /REBOOTOK scdaemon.exe.tmp scdaemon.exe
|
||||
|
||||
ClearErrors
|
||||
SetOverwrite try
|
||||
File "libexec/keyboxd.exe"
|
||||
SetOverwrite lastused
|
||||
ifErrors 0 +3
|
||||
File /oname=keyboxd.exe.tmp "libexec/keyboxd.exe"
|
||||
Rename /REBOOTOK keyboxd.exe.tmp keyboxd.exe
|
||||
|
||||
SetOutPath "$INSTDIR\share\gnupg"
|
||||
File "share/gnupg/distsigkey.gpg"
|
||||
File "share/gnupg/sks-keyservers.netCA.pem"
|
||||
@ -1059,6 +1068,7 @@ Section "-un.gnupglast"
|
||||
ifFileExists "$INSTDIR\bin\gpgconf.exe" 0 no_gpgconf
|
||||
nsExec::ExecToLog '"$INSTDIR\bin\gpgconf" "--kill" "gpg-agent"'
|
||||
nsExec::ExecToLog '"$INSTDIR\bin\gpgconf" "--kill" "dirmngr"'
|
||||
nsExec::ExecToLog '"$INSTDIR\bin\gpgconf" "--kill" "keyboxd"'
|
||||
no_gpgconf:
|
||||
SectionEnd
|
||||
|
||||
@ -1316,6 +1326,7 @@ Section "-un.gnupg"
|
||||
Delete "$INSTDIR\bin\gpgsm.exe"
|
||||
Delete "$INSTDIR\bin\gpg-agent.exe"
|
||||
Delete "$INSTDIR\bin\scdaemon.exe"
|
||||
Delete "$INSTDIR\bin\keyboxd.exe"
|
||||
Delete "$INSTDIR\bin\dirmngr.exe"
|
||||
Delete "$INSTDIR\bin\gpgconf.exe"
|
||||
Delete "$INSTDIR\bin\gpg-connect-agent.exe"
|
||||
|
Loading…
x
Reference in New Issue
Block a user