Mercurial > trustbridge
comparison INSTALL @ 998:0570b1e562c2
(issue90) Add curl patches for the problems we had with curl.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Mon, 01 Sep 2014 19:48:53 +0200 |
parents | d3258a6faedd |
children | 4f999c7821ce |
comparison
equal
deleted
inserted
replaced
997:405c97ca4ab0 | 998:0570b1e562c2 |
---|---|
59 mkdir build | 59 mkdir build |
60 cd build | 60 cd build |
61 cmake .. -DCMAKE_C_FLAGS=-fpic -DCMAKE_INSTALL_PREFIX=$YOURPREFIX | 61 cmake .. -DCMAKE_C_FLAGS=-fpic -DCMAKE_INSTALL_PREFIX=$YOURPREFIX |
62 make && make test && make install | 62 make && make test && make install |
63 | 63 |
64 Trustbridge checkout: | |
65 At this point you need a trustbridge checkout as curl needs to be patched | |
66 to enable the certificate pinning and the force of SSL Ciphersuites when | |
67 using polarssl. | |
68 | |
69 hg clone https://wald.intevation.org/hg/trustbridge/ | |
70 | |
64 Libcurl: | 71 Libcurl: |
72 | |
65 wget http://curl.haxx.se/download/curl-7.37.1.tar.gz | 73 wget http://curl.haxx.se/download/curl-7.37.1.tar.gz |
66 a32492a38c10a097344892f5fd2041e54698cb909696852311b1161e4aa979f3 curl-7.37.1.tar.gz | 74 a32492a38c10a097344892f5fd2041e54698cb909696852311b1161e4aa979f3 curl-7.37.1.tar.gz |
67 | 75 |
68 tar -xf curl-7.37.1.tar.gz | 76 tar -xf curl-7.37.1.tar.gz |
69 cd curl-7.37.1/ | 77 cd curl-7.37.1/ |
78 patch -p1 < ../trustbridge/patches/*.patch | |
70 mkdir build | 79 mkdir build |
71 cd build | 80 cd build |
72 | 81 |
73 ../configure --prefix=$YOURPREFIX \ | 82 ../configure --prefix=$YOURPREFIX \ |
74 --without-nghttp2 --without-libidn --without-winidn --without-libssh2 \ | 83 --without-nghttp2 --without-libidn --without-winidn --without-libssh2 \ |
82 make && make install | 91 make && make install |
83 | 92 |
84 To compile the software you can use plain cmake. An out of source build is | 93 To compile the software you can use plain cmake. An out of source build is |
85 highly suggested. For build options see CMakeList.txt | 94 highly suggested. For build options see CMakeList.txt |
86 | 95 |
87 hg clone https://wald.intevation.org/hg/trustbridge/ | |
88 cd trustbridge | 96 cd trustbridge |
89 hg clone https://wald.intevation.org/hg/trustbridge/nss-cmake-static | 97 hg clone https://wald.intevation.org/hg/trustbridge/nss-cmake-static |
90 mkdir build-linux | 98 mkdir build-linux |
91 cd build-linux | 99 cd build-linux |
92 cmake .. -DCMAKE_PREFIX_PATH=$YOURPREFIX | 100 cmake .. -DCMAKE_PREFIX_PATH=$YOURPREFIX |
169 | 177 |
170 tar -xf hiawatha-9.5.tar.gz | 178 tar -xf hiawatha-9.5.tar.gz |
171 cp polarssl-1.3.7-gpl.tgz hiawatha-9.5/polarssl/polarssl.tgz | 179 cp polarssl-1.3.7-gpl.tgz hiawatha-9.5/polarssl/polarssl.tgz |
172 cd hiawatha-9.5/polarssl | 180 cd hiawatha-9.5/polarssl |
173 sed -i 's/wget.*//' upgrade | 181 sed -i 's/wget.*//' upgrade |
174 ./upgrade 1.3.7 | 182 ./upgrade 1.3.8 |
175 cd .. | 183 cd .. |
176 mkdir build | 184 mkdir build |
177 cd build | 185 cd build |
178 cmake .. -DCMAKE_INSTALL_PREFIX=$YOURPREFIX | 186 cmake .. -DCMAKE_INSTALL_PREFIX=$YOURPREFIX |
179 make && make install | 187 make && make install |
188 | |
189 | |
180 | 190 |
181 Osslsigncode (for binverify unit test) | 191 Osslsigncode (for binverify unit test) |
182 ====================================== | 192 ====================================== |
183 Osslsigncode is used to create PKCS#7 embedded signatures for Windows Authenticode | 193 Osslsigncode is used to create PKCS#7 embedded signatures for Windows Authenticode |
184 it is needed for the Windows part of the binverify unit test on the build system. | 194 it is needed for the Windows part of the binverify unit test on the build system. |
230 cd build-windows | 240 cd build-windows |
231 MXETARGET=$MXEPATH/usr/i686-w64-mingw32.static/ | 241 MXETARGET=$MXEPATH/usr/i686-w64-mingw32.static/ |
232 cmake .. \ | 242 cmake .. \ |
233 -DCMAKE_PREFIX_PATH="$MXETARGET/qt5;$MXETARGET;" \ | 243 -DCMAKE_PREFIX_PATH="$MXETARGET/qt5;$MXETARGET;" \ |
234 -DCMAKE_TOOLCHAIN_FILE="$MXETARGET/share/cmake/mxe-conf.cmake" \ | 244 -DCMAKE_TOOLCHAIN_FILE="$MXETARGET/share/cmake/mxe-conf.cmake" \ |
235 -DCMAKE_VERBOSE_MAKEFILE=True | 245 -DCMAKE_VERBOSE_MAKEFILE=True -DUSE_CURL=OFF |
236 | 246 |
237 Runtime Depdendencies | 247 Runtime Depdendencies |
238 ===================== | 248 ===================== |
239 The Admin tool needs some additional software to be able to create installtion | 249 The Admin tool needs some additional software to be able to create installtion |
240 packages: | 250 packages: |