diff INSTALL @ 635:ed1887be5170

Document osslsigncode build
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 23 Jun 2014 17:24:00 +0200
parents 9cdc14373a5d
children d905758aa3a6
line wrap: on
line diff
--- 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.

http://wald.intevation.org/projects/trustbridge/