comparison INSTALL @ 1089:3c67e32b5d4a

Document update to curl 7.38.0 and hiawatha update.
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 12 Sep 2014 15:39:54 +0200
parents 5ec1cf66922e
children 148014db2f3b 7839d3d696a1
comparison
equal deleted inserted replaced
1088:508c96e72f62 1089:3c67e32b5d4a
68 68
69 hg clone https://wald.intevation.org/hg/trustbridge/ 69 hg clone https://wald.intevation.org/hg/trustbridge/
70 70
71 Libcurl: 71 Libcurl:
72 72
73 wget http://curl.haxx.se/download/curl-7.37.1.tar.gz 73 wget http://curl.haxx.se/download/curl-7.38.0.tar.gz
74 a32492a38c10a097344892f5fd2041e54698cb909696852311b1161e4aa979f3 curl-7.37.1.tar.gz 74 5661028aa6532882fa228cd23c99ddbb8b87643dbb1a7ea55c068d34a943dff1 curl-7.38.0.tar.gz
75 75
76 tar -xf curl-7.37.1.tar.gz 76 tar -xf curl-7.38.0.tar.gz
77 cd curl-7.37.1/ 77 cd curl-7.38.0/
78 patch -p1 < ../trustbridge/patches/*.patch 78 patch -p1 < ../trustbridge/patches/*.patch
79 mkdir build 79 mkdir build
80 cd build 80 cd build
81 81
82 ../configure --prefix=$YOURPREFIX \ 82 ../configure --prefix=$YOURPREFIX \
139 -DENABLE_TESTING=FALSE -DENABLE_PROGRAMS=FALSE && \ 139 -DENABLE_TESTING=FALSE -DENABLE_PROGRAMS=FALSE && \
140 nice make -j`nproc` && \ 140 nice make -j`nproc` && \
141 make install 141 make install
142 142
143 Change to the curl directory 143 Change to the curl directory
144 cd ../../curl-7.37.1/ 144 cd ../../curl-7.38.0/
145 mkdir build-i386 145 mkdir build-i386
146 cd build-i386 146 cd build-i386
147 CFLAGS="-fpic -m32" CPPFLAGS="-fpic -m32" ../configure --prefix=$YOURPREFIX/i386 \ 147 CFLAGS="-fpic -m32" CPPFLAGS="-fpic -m32" ../configure --prefix=$YOURPREFIX/i386 \
148 --without-nghttp2 --without-libidn --without-winidn --without-libssh2 \ 148 --without-nghttp2 --without-libidn --without-winidn --without-libssh2 \
149 --without-librtmp --without-libmetalink --without-axtls --without-nss \ 149 --without-librtmp --without-libmetalink --without-axtls --without-nss \
168 =================================== 168 ===================================
169 Hiawatha is used in the downloader unit tests to provide a testbench 169 Hiawatha is used in the downloader unit tests to provide a testbench
170 for the ssl connection. To build it you may need libxslt-dev as additional 170 for the ssl connection. To build it you may need libxslt-dev as additional
171 dependency. 171 dependency.
172 172
173 wget https://www.hiawatha-webserver.org/files/hiawatha-9.5.tar.gz 173 wget https://www.hiawatha-webserver.org/files/hiawatha-9.7.tar.gz
174 sha256sum hiawatha-9.5.tar.gz 174 sha256sum hiawatha-9.7.tar.gz
175 175
176 c181011db1af187006190fc186689a0707a6f1e7b524c2a4347840e8fdf68b4f hiawatha-9.5.tar.gz 176 e8581336883b7b963f38572f6396f8c47b43e5bedd3147d052fa3652e6c0ed86 hiawatha-9.7.tar.gz
177 177
178 tar -xf hiawatha-9.5.tar.gz 178 tar -xf hiawatha-9.7.tar.gz
179 cp polarssl-1.3.7-gpl.tgz hiawatha-9.5/polarssl/polarssl.tgz 179 cd hiawatha-9.7
180 cd hiawatha-9.5/polarssl
181 sed -i 's/wget.*//' upgrade
182 ./upgrade 1.3.8
183 cd ..
184 mkdir build 180 mkdir build
185 cd build 181 cd build
186 cmake .. -DCMAKE_INSTALL_PREFIX=$YOURPREFIX 182 cmake .. -DCMAKE_INSTALL_PREFIX=$YOURPREFIX
187 make && make install 183 make && make install
188
189 184
190 185
191 Osslsigncode (for binverify unit test) 186 Osslsigncode (for binverify unit test)
192 ====================================== 187 ======================================
193 Osslsigncode is used to create PKCS#7 embedded signatures for Windows Authenticode 188 Osslsigncode is used to create PKCS#7 embedded signatures for Windows Authenticode

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