/pidgin/main: 89bb3eaa33b9: Add support for doing the win32 sign...
Daniel Atallah <[email protected]>
| Newsgroups | gmane.comp.gnome.gaim.cvs |
|---|---|
| Message-ID | <[email protected]> |
Changeset: 89bb3eaa33b9c3580e0ac34789c4834aedc299fb Author: Daniel Atallah <[email protected]> Date: 2014-09-27 22:28 -0400 Branch: release-2.x.y URL: https://hg.pidgin.im/pidgin/main/rev/89bb3eaa33b9 Description: Add support for doing the win32 signing with signtool so that we can make SHA256 signatures diffstat: Makefile.mingw | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diffs (25 lines): diff --git a/Makefile.mingw b/Makefile.mingw --- a/Makefile.mingw +++ b/Makefile.mingw @@ -33,12 +33,21 @@ awk 'BEGIN {FS="."} { \ GTK_INSTALL_VERSION = 2.16.6.2 +ifdef SIGNTOOL +authenticode_sign = $(SIGNTOOL) sign \ + /fd SHA256 \ + /f "$(SIGNTOOL_PFX)" /p "$(SIGNTOOL_PASSWORD)" \ + /d $(2) /du "https://pidgin.im" \ + /tr "http://timestamp.comodoca.com/rfc3161" /td SHA256 \ + $(1) +else authenticode_sign = $(MONO_SIGNCODE) \ -spc "$(SIGNCODE_SPC)" -v "$(SIGNCODE_PVK)" \ -a sha1 -$$ commercial \ -n "$(2)" -i "https://pidgin.im" \ -t "http://timestamp.verisign.com/scripts/timstamp.dll" -tr 10 \ $(1) && rm -f $(1).bak +endif gpg_sign = $(GPG_SIGN) -ab $(1) && $(GPG_SIGN) --verify $(1).asc