[vlc-commits] Win32: sign dlls and exe
Jean-Baptiste Kempf
git at videolan.org
Fri Nov 7 16:27:48 CET 2014
vlc/vlc-2.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Nov 3 11:41:57 2014 +0100| [a7336c2a0da897acbf708b03ab0698c4a71862fb] | committer: Jean-Baptiste Kempf
Win32: sign dlls and exe
(cherry picked from commit 7c653e6ab5bcd0ca9f459c015a0c43a998d09c74)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=a7336c2a0da897acbf708b03ab0698c4a71862fb
---
extras/package/win32/package.mak | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/extras/package/win32/package.mak b/extras/package/win32/package.mak
index ce54e16..2da6f1f 100644
--- a/extras/package/win32/package.mak
+++ b/extras/package/win32/package.mak
@@ -109,6 +109,14 @@ package-win-strip: package-win-common
$(OBJCOPY) --add-gnu-debuglink="$(win32_debugdir)/`basename $$i.dbg`" "$$i" ; \
fi ; \
done
+ if test -n "$(SIGNATURE)"; then \
+ cd $(win32_destdir); find . -type f \( -name '*$(LIBEXT)' -or -name '*$(EXEEXT)' \) | while read i; \
+ do if test -n "$$i" ; then \
+ osslsigncode sign -certs $(SIGNATURE)/cert.cer -key $(SIGNATURE)/videolan.key -n "VLC media player" -i http://www.videolan.org/ -in "$$i" -out "$$i.sign"; \
+ mv "$$i.sign" "$$i" ; \
+ fi ; \
+ done \
+ fi
package-win32-webplugin-common: package-win-strip
@@ -176,6 +184,10 @@ package-win32-exe: package-win-strip $(win32_destdir)/NSIS/UAC.dll $(win32_destd
fi; \
eval "$$MAKENSIS $(win32_destdir)/spad.nsi"; \
eval "$$MAKENSIS $(win32_destdir)/vlc.win32.nsi"
+ if test -n "$(SIGNATURE)"; then \
+ osslsigncode sign -certs $(SIGNATURE)/cert.cer -key $(SIGNATURE)/videolan.key -n "VLC media player" -i http://www.videolan.org/ -in "$(WINVERSION).exe" -out "$(WINVERSION).exe.sign"; \
+ mv "$(WINVERSION).exe.sign" "$(WINVERSION).exe" ; \
+ fi
package-win32-zip: package-win-strip
rm -f -- $(WINVERSION).zip
More information about the vlc-commits
mailing list