Browse Source

Update openssl to 1.0.0e.

0.8
Matt Corallo 13 years ago committed by Gavin Andresen
parent
commit
472bbb750c
  1. 10
      contrib/gitian-descriptors/gitian-win32.yml
  2. 4
      src/makefile.linux-mingw

10
contrib/gitian-descriptors/gitian-win32.yml

@ -18,7 +18,7 @@ remotes:
files: files:
- "wxwidgets-win32-2.9.2-gitian.zip" - "wxwidgets-win32-2.9.2-gitian.zip"
- "boost-win32-1.47.0-gitian.zip" - "boost-win32-1.47.0-gitian.zip"
- "openssl-1.0.0d.tar.gz" - "openssl-1.0.0e.tar.gz"
- "db-4.8.30.NC.tar.gz" - "db-4.8.30.NC.tar.gz"
- "miniupnpc-1.6.tar.gz" - "miniupnpc-1.6.tar.gz"
script: | script: |
@ -50,8 +50,8 @@ script: |
mv include/boost . mv include/boost .
cd .. cd ..
# #
tar xzf openssl-1.0.0d.tar.gz tar xzf openssl-1.0.0e.tar.gz
cd openssl-1.0.0d cd openssl-1.0.0e
./Configure --cross-compile-prefix=i586-mingw32msvc- mingw ./Configure --cross-compile-prefix=i586-mingw32msvc- mingw
make make
cd .. cd ..
@ -77,6 +77,10 @@ script: |
cp -a $OUTDIR/src/locale $OUTDIR cp -a $OUTDIR/src/locale $OUTDIR
cp $OUTDIR/src/doc/README_windows.txt $OUTDIR/readme.txt cp $OUTDIR/src/doc/README_windows.txt $OUTDIR/readme.txt
cp $OUTDIR/src/COPYING $OUTDIR/license.txt cp $OUTDIR/src/COPYING $OUTDIR/license.txt
$HOME/qt/src/bin/qmake -spec unsupported/win32-g++-cross MINIUPNPC_LIB_PATH=$HOME/build/miniupnpc MINIUPNPC_INCLUDE_PATH=$HOME/build/ BDB_LIB_PATH=$HOME/build/db-4.8.30.NC/build_unix BDB_INCLUDE_PATH=$HOME/build/db-4.8.30.NC/build_unix BOOST_LIB_PATH=$HOME/build/boost_1_47_0/stage/lib BOOST_INCLUDE_PATH=$HOME/build/boost_1_47_0 BOOST_LIB_SUFFIX=-mt-s BOOST_THREAD_LIB_SUFFIX=_win32-mt-s OPENSSL_LIB_PATH=$HOME/build/openssl-1.0.0e OPENSSL_INCLUDE_PATH=$HOME/build/openssl-1.0.0e/include INCLUDEPATH=$HOME/build DEFINES=BOOST_THREAD_USE_LIB BITCOIN_NEED_QT_PLUGINS=1 QMAKE_LRELEASE=lrelease
make $MAKEOPTS
cp release/bitcoin-qt.exe $OUTDIR/
#
cd src cd src
sed 's/$(DEBUGFLAGS)/-frandom-seed=bitcoin/' -i makefile.linux-mingw sed 's/$(DEBUGFLAGS)/-frandom-seed=bitcoin/' -i makefile.linux-mingw
export LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1 export LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1

4
src/makefile.linux-mingw

@ -9,13 +9,13 @@ USE_UPNP:=0
INCLUDEPATHS= \ INCLUDEPATHS= \
-I"$(DEPSDIR)/boost_1_47_0" \ -I"$(DEPSDIR)/boost_1_47_0" \
-I"$(DEPSDIR)/db-4.8.30.NC/build_unix" \ -I"$(DEPSDIR)/db-4.8.30.NC/build_unix" \
-I"$(DEPSDIR)/openssl-1.0.0d/include" \ -I"$(DEPSDIR)/openssl-1.0.0e/include" \
-I"$(DEPSDIR)" -I"$(DEPSDIR)"
LIBPATHS= \ LIBPATHS= \
-L"$(DEPSDIR)/boost_1_47_0/stage/lib" \ -L"$(DEPSDIR)/boost_1_47_0/stage/lib" \
-L"$(DEPSDIR)/db-4.8.30.NC/build_unix" \ -L"$(DEPSDIR)/db-4.8.30.NC/build_unix" \
-L"$(DEPSDIR)/openssl-1.0.0d" -L"$(DEPSDIR)/openssl-1.0.0e"
LIBS= \ LIBS= \
-l boost_system-mt-s \ -l boost_system-mt-s \

Loading…
Cancel
Save