pidgin/pidgin

Parents d13511faaeec
Children 90c81031ac46
Add support for doing the win32 signing with signtool so that we can make SHA256 signatures
--- a/Makefile.mingw Sat Sep 27 21:31:32 2014 -0400
+++ b/Makefile.mingw Sat Sep 27 22:28:08 2014 -0400
@@ -33,12 +33,21 @@
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