[PATCH] Document osslsigncode build
Wald Commits
scm-commit at wald.intevation.org
Mon Jun 23 17:24:03 CEST 2014
# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1403537040 -7200
# Node ID ed1887be5170d746ed4be0918629bc85101f4ae9
# Parent 80d1a80b3e8d5d5818df3977cfb45f56907ddeb9
Document osslsigncode build
diff -r 80d1a80b3e8d -r ed1887be5170 INSTALL
--- a/INSTALL Mon Jun 23 16:43:07 2014 +0200
+++ b/INSTALL Mon Jun 23 17:24:00 2014 +0200
@@ -83,6 +83,24 @@
cmake .. -DCMAKE_INSTALL_PREFIX=$YOURPREFIX
make && make install
+Osslsigncode (for binverify unit test)
+======================================
+Osslsigncode is used to create PKCS#7 embedded signatures for Windows Authenticode
+it is needed for the Windows part of the binverify unit test on the build system.
+
+Currently (23.06.2014) there is no released version with the OpenSSL exception
+available so we need to use the git version.
+
+ git clone git://git.code.sf.net/p/osslsigncode/osslsigncode osslsigncode
+ cd osslsigncode
+ git checkout 03848a9c60f957bf13bab39512d8fcfb4cb1fc98
+ ./autogen.sh
+ ./configure --prefix=$YOURPREFIX
+ make && make install
+
+ # for a windows binary (optional)
+ OPENSSL_CFLAGS=-I$MXETARGET/include OPENSSL_LIBS="-L$MXETARGET/lib -lcrypto -lz -lgdi32" ./configure --without-curl --host=i686-w64-mingw32 --prefix=$MXETARGET
+
For Microsoft Windows
=====================
The Windows variant can be cross compiled on Debian based GNU / Linux systems.
More information about the Trustbridge-commits
mailing list