Mercurial > trustbridge
comparison INSTALL @ 1285:4a3a482dc337
Build instruction consistency: always using curl -O instead of wget. Wget taken out.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Mon, 29 Sep 2014 13:01:50 +0200 |
parents | d9ecf3a83620 |
children | dab626e44347 |
comparison
equal
deleted
inserted
replaced
1284:2dc66e510fa7 | 1285:4a3a482dc337 |
---|---|
18 export PATH=$YOURPREFIX/bin:$PATH | 18 export PATH=$YOURPREFIX/bin:$PATH |
19 | 19 |
20 curl https://download.qt-project.org/official_releases/qt/5.3/5.3.2/single/qt-everywhere-opensource-src-5.3.2.tar.xz.mirrorlist | grep SHA-256 | 20 curl https://download.qt-project.org/official_releases/qt/5.3/5.3.2/single/qt-everywhere-opensource-src-5.3.2.tar.xz.mirrorlist | grep SHA-256 |
21 7f5bf93344cb57bac374ea4a32c8eda87f1357f998f14278e717cf84d0289bf0 | 21 7f5bf93344cb57bac374ea4a32c8eda87f1357f998f14278e717cf84d0289bf0 |
22 | 22 |
23 http://qt-mirror.dannhauer.de/official_releases/qt/5.3/5.3.2/single/qt-everywhere-opensource-src-5.3.2.tar.xz | 23 curl -O http://qt-mirror.dannhauer.de/official_releases/qt/5.3/5.3.2/single/qt-everywhere-opensource-src-5.3.2.tar.xz |
24 | 24 |
25 sha256sum qt-everywhere-opensource-src-5.3.2.tar.xz | 25 sha256sum qt-everywhere-opensource-src-5.3.2.tar.xz |
26 | 26 |
27 tar -xf qt-everywhere-opensource-src-5.3.2.tar.xz | 27 tar -xf qt-everywhere-opensource-src-5.3.2.tar.xz |
28 | 28 |
57 | 57 |
58 | 58 |
59 Polarssl is required for TrustBridge: | 59 Polarssl is required for TrustBridge: |
60 | 60 |
61 curl -O https://polarssl.org/download/polarssl-1.3.8-gpl.tgz | 61 curl -O https://polarssl.org/download/polarssl-1.3.8-gpl.tgz |
62 sha256sum polarssl-1.3.8-gpl.tgz | |
62 318171db41335cacbb5b0047c94f1faf91442ab70a223b5223436703c9406ff1 polarssl-1.3.8-gpl.tgz | 63 318171db41335cacbb5b0047c94f1faf91442ab70a223b5223436703c9406ff1 polarssl-1.3.8-gpl.tgz |
63 | 64 |
64 tar -xf polarssl-1.3.8-gpl.tgz | 65 tar -xf polarssl-1.3.8-gpl.tgz |
65 cd polarssl-1.3.8 | 66 cd polarssl-1.3.8 |
66 mkdir build | 67 mkdir build |
75 | 76 |
76 hg clone https://wald.intevation.org/hg/trustbridge/ | 77 hg clone https://wald.intevation.org/hg/trustbridge/ |
77 | 78 |
78 Libcurl: | 79 Libcurl: |
79 | 80 |
80 wget http://curl.haxx.se/download/curl-7.38.0.tar.gz | 81 curl -O http://curl.haxx.se/download/curl-7.38.0.tar.gz |
82 sha256sum curl-7.38.0.tar.gz | |
81 5661028aa6532882fa228cd23c99ddbb8b87643dbb1a7ea55c068d34a943dff1 curl-7.38.0.tar.gz | 83 5661028aa6532882fa228cd23c99ddbb8b87643dbb1a7ea55c068d34a943dff1 curl-7.38.0.tar.gz |
84 curl -O http://curl.haxx.se/download/curl-7.38.0.tar.gz.asc | |
85 gpg2 --verify curl-7.38.0.tar.gz.asc | |
82 | 86 |
83 tar -xf curl-7.38.0.tar.gz | 87 tar -xf curl-7.38.0.tar.gz |
84 cd curl-7.38.0/ | 88 cd curl-7.38.0/ |
85 patch -p1 < ../trustbridge/patches/*.patch | 89 patch -p1 < ../trustbridge/patches/*.patch |
86 mkdir build | 90 mkdir build |
212 =================================== | 216 =================================== |
213 Hiawatha is used in the downloader unit tests to provide a testbench | 217 Hiawatha is used in the downloader unit tests to provide a testbench |
214 for the ssl connection. To build it you may need libxslt-dev as additional | 218 for the ssl connection. To build it you may need libxslt-dev as additional |
215 dependency. | 219 dependency. |
216 | 220 |
217 wget https://www.hiawatha-webserver.org/files/hiawatha-9.7.tar.gz | 221 curl -O https://www.hiawatha-webserver.org/files/hiawatha-9.7.tar.gz |
218 sha256sum hiawatha-9.7.tar.gz | 222 sha256sum hiawatha-9.7.tar.gz |
219 | 223 |
220 e8581336883b7b963f38572f6396f8c47b43e5bedd3147d052fa3652e6c0ed86 hiawatha-9.7.tar.gz | 224 e8581336883b7b963f38572f6396f8c47b43e5bedd3147d052fa3652e6c0ed86 hiawatha-9.7.tar.gz |
221 | 225 |
222 tar -xf hiawatha-9.7.tar.gz | 226 tar -xf hiawatha-9.7.tar.gz |
230 Osslsigncode (for binverify unit test) | 234 Osslsigncode (for binverify unit test) |
231 ====================================== | 235 ====================================== |
232 Osslsigncode is used to create PKCS#7 embedded signatures for Windows Authenticode | 236 Osslsigncode is used to create PKCS#7 embedded signatures for Windows Authenticode |
233 it is needed for the Windows part of the binverify unit test on the build system. | 237 it is needed for the Windows part of the binverify unit test on the build system. |
234 | 238 |
235 wget http://downloads.sourceforge.net/project/osslsigncode/osslsigncode/osslsigncode-1.7.1.tar.gz | 239 curl -L --max-redirs=1 -O http://downloads.sourceforge.net/project/osslsigncode/osslsigncode/osslsigncode-1.7.1.tar.gz |
236 sha256sum osslsigncode-1.7.1.tar.gz | 240 sha256sum osslsigncode-1.7.1.tar.gz |
237 f9a8cdb38b9c309326764ebc937cba1523a3a751a7ab05df3ecc99d18ae466c9 | 241 f9a8cdb38b9c309326764ebc937cba1523a3a751a7ab05df3ecc99d18ae466c9 |
238 tar -xf osslsigncode-1.7.1.tar.gz | 242 tar -xf osslsigncode-1.7.1.tar.gz |
239 cd osslsigncode-1.7.1 | 243 cd osslsigncode-1.7.1 |
240 ./configure --without-curl --prefix=$YOURPREFIX | 244 ./configure --without-curl --prefix=$YOURPREFIX |
253 | 257 |
254 apt-get install git autoconf automake bash bison bzip2 \ | 258 apt-get install git autoconf automake bash bison bzip2 \ |
255 cmake flex gettext git g++ intltool \ | 259 cmake flex gettext git g++ intltool \ |
256 libffi-dev libtool libltdl-dev libssl-dev \ | 260 libffi-dev libtool libltdl-dev libssl-dev \ |
257 libxml-parser-perl make openssl patch perl \ | 261 libxml-parser-perl make openssl patch perl \ |
258 pkg-config scons sed unzip wget xz-utils autopoint \ | 262 pkg-config scons sed unzip curl xz-utils autopoint \ |
259 gperf | 263 gperf |
260 | 264 |
261 Build the windows binaries: | 265 Build the windows binaries: |
262 | 266 |
263 MXEPATH=$YOURPREFIX/win | 267 MXEPATH=$YOURPREFIX/win |