Skip to content

Commit 4c6cab2

Browse files
committed
Merge pull request #4033
219b512 doc: update expected intermediate dependency hashes (Wladimir J. van der Laan) 25d4911 gitian: upgrade miniupnpc input to 1.9 (Wladimir J. van der Laan)
2 parents 20ecf5c + 219b512 commit 4c6cab2

File tree

7 files changed

+37
-41
lines changed

7 files changed

+37
-41
lines changed

contrib/gitian-descriptors/deps-linux.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ reference_datetime: "2013-06-01 00:00:00"
1717
remotes: []
1818
files:
1919
- "openssl-1.0.1g.tar.gz"
20-
- "miniupnpc-1.8.tar.gz"
20+
- "miniupnpc-1.9.tar.gz"
2121
- "qrencode-3.4.3.tar.bz2"
2222
- "protobuf-2.5.0.tar.bz2"
2323
- "db-4.8.30.NC.tar.gz"
@@ -31,7 +31,7 @@ script: |
3131
export LIBRARY_PATH="$STAGING/lib"
3232
# Integrity Check
3333
echo "53cb818c3b90e507a8348f4f5eaedb05d8bfe5358aabb508b7263cc670c3e028 openssl-1.0.1g.tar.gz" | sha256sum -c
34-
echo "bc5f73c7b0056252c1888a80e6075787a1e1e9112b808f863a245483ff79859c miniupnpc-1.8.tar.gz" | sha256sum -c
34+
echo "2923e453e880bb949e3d4da9f83dd3cb6f08946d35de0b864d0339cf70934464 miniupnpc-1.9.tar.gz" | sha256sum -c
3535
echo "dfd71487513c871bad485806bfd1fdb304dedc84d2b01a8fb8e0940b50597a98 qrencode-3.4.3.tar.bz2" | sha256sum -c
3636
echo "13bfc5ae543cf3aa180ac2485c0bc89495e3ae711fc6fab4f8ffe90dfb4bb677 protobuf-2.5.0.tar.bz2" | sha256sum -c
3737
echo "12edc0df75bf9abd7f82f821795bcee50f42cb2e5f76a6a281b85732798364ef db-4.8.30.NC.tar.gz" | sha256sum -c
@@ -46,8 +46,8 @@ script: |
4646
make install_sw
4747
cd ..
4848
#
49-
tar xzfm miniupnpc-1.8.tar.gz
50-
cd miniupnpc-1.8
49+
tar xzfm miniupnpc-1.9.tar.gz
50+
cd miniupnpc-1.9
5151
# miniupnpc is always built with -fPIC
5252
INSTALLPREFIX=$STAGING make $MAKEOPTS install
5353
rm -f $STAGING/lib/libminiupnpc.so* # no way to skip shared lib build
@@ -95,4 +95,4 @@ script: |
9595
done
9696
#
9797
cd $STAGING
98-
find include lib bin host | sort | zip -X@ $OUTDIR/bitcoin-deps-linux${GBUILD_BITS}-gitian-r4.zip
98+
find include lib bin host | sort | zip -X@ $OUTDIR/bitcoin-deps-linux${GBUILD_BITS}-gitian-r5.zip

contrib/gitian-descriptors/deps-win.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ remotes: []
1616
files:
1717
- "openssl-1.0.1g.tar.gz"
1818
- "db-4.8.30.NC.tar.gz"
19-
- "miniupnpc-1.8.tar.gz"
19+
- "miniupnpc-1.9.tar.gz"
2020
- "zlib-1.2.8.tar.gz"
2121
- "libpng-1.6.8.tar.gz"
2222
- "qrencode-3.4.3.tar.bz2"
@@ -30,7 +30,7 @@ script: |
3030
# Input Integrity Check
3131
echo "53cb818c3b90e507a8348f4f5eaedb05d8bfe5358aabb508b7263cc670c3e028 openssl-1.0.1g.tar.gz" | sha256sum -c
3232
echo "12edc0df75bf9abd7f82f821795bcee50f42cb2e5f76a6a281b85732798364ef db-4.8.30.NC.tar.gz" | sha256sum -c
33-
echo "bc5f73c7b0056252c1888a80e6075787a1e1e9112b808f863a245483ff79859c miniupnpc-1.8.tar.gz" | sha256sum -c
33+
echo "2923e453e880bb949e3d4da9f83dd3cb6f08946d35de0b864d0339cf70934464 miniupnpc-1.9.tar.gz" | sha256sum -c
3434
echo "36658cb768a54c1d4dec43c3116c27ed893e88b02ecfcb44f2166f9c0b7f2a0d zlib-1.2.8.tar.gz" | sha256sum -c
3535
echo "32c7acf1608b9c8b71b743b9780adb7a7b347563dbfb4a5263761056da44cc96 libpng-1.6.8.tar.gz" | sha256sum -c
3636
echo "dfd71487513c871bad485806bfd1fdb304dedc84d2b01a8fb8e0940b50597a98 qrencode-3.4.3.tar.bz2" | sha256sum -c
@@ -67,11 +67,11 @@ script: |
6767
make install_lib install_include
6868
cd ../..
6969
#
70-
tar xzf $INDIR/miniupnpc-1.8.tar.gz
71-
cd miniupnpc-1.8
70+
tar xzf $INDIR/miniupnpc-1.9.tar.gz
71+
cd miniupnpc-1.9
7272
echo "
73-
--- miniupnpc-1.8/Makefile.mingw.orig 2013-09-29 18:52:51.014087958 -1000
74-
+++ miniupnpc-1.8/Makefile.mingw 2013-09-29 19:09:29.663318691 -1000
73+
--- miniupnpc-1.9/Makefile.mingw.orig 2013-09-29 18:52:51.014087958 -1000
74+
+++ miniupnpc-1.9/Makefile.mingw 2013-09-29 19:09:29.663318691 -1000
7575
@@ -67,8 +67,8 @@
7676
7777
wingenminiupnpcstrings.o: wingenminiupnpcstrings.c
@@ -124,5 +124,5 @@ script: |
124124
done
125125
#
126126
cd $INSTALLPREFIX
127-
find include lib | sort | zip -X@ $OUTDIR/bitcoin-deps-win$BITS-gitian-r11.zip
127+
find include lib | sort | zip -X@ $OUTDIR/bitcoin-deps-win$BITS-gitian-r12.zip
128128
done # for BITS in

contrib/gitian-descriptors/gitian-linux.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ remotes:
2121
- "url": "https://github.com/bitcoin/bitcoin.git"
2222
"dir": "bitcoin"
2323
files:
24-
- "bitcoin-deps-linux32-gitian-r4.zip"
25-
- "bitcoin-deps-linux64-gitian-r4.zip"
24+
- "bitcoin-deps-linux32-gitian-r5.zip"
25+
- "bitcoin-deps-linux64-gitian-r5.zip"
2626
- "boost-linux32-1.55.0-gitian-r1.zip"
2727
- "boost-linux64-1.55.0-gitian-r1.zip"
2828
script: |
@@ -36,7 +36,7 @@ script: |
3636
#
3737
mkdir -p $STAGING
3838
cd $STAGING
39-
unzip ../build/bitcoin-deps-linux${GBUILD_BITS}-gitian-r4.zip
39+
unzip ../build/bitcoin-deps-linux${GBUILD_BITS}-gitian-r5.zip
4040
unzip ../build/boost-linux${GBUILD_BITS}-1.55.0-gitian-r1.zip
4141
cd ../build
4242

contrib/gitian-descriptors/gitian-win.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ files:
2626
- "qt-win64-5.2.0-gitian-r3.zip"
2727
- "boost-win32-1.55.0-gitian-r6.zip"
2828
- "boost-win64-1.55.0-gitian-r6.zip"
29-
- "bitcoin-deps-win32-gitian-r11.zip"
30-
- "bitcoin-deps-win64-gitian-r11.zip"
29+
- "bitcoin-deps-win32-gitian-r12.zip"
30+
- "bitcoin-deps-win64-gitian-r12.zip"
3131
- "protobuf-win32-2.5.0-gitian-r4.zip"
3232
- "protobuf-win64-2.5.0-gitian-r4.zip"
3333
script: |
@@ -61,7 +61,7 @@ script: |
6161
cd $STAGING
6262
unzip $INDIR/qt-win${BITS}-5.2.0-gitian-r3.zip
6363
unzip $INDIR/boost-win${BITS}-1.55.0-gitian-r6.zip
64-
unzip $INDIR/bitcoin-deps-win${BITS}-gitian-r11.zip
64+
unzip $INDIR/bitcoin-deps-win${BITS}-gitian-r12.zip
6565
unzip $INDIR/protobuf-win${BITS}-2.5.0-gitian-r4.zip
6666
if [ "$NEEDDIST" == "1" ]; then
6767
# Make source code archive which is architecture independent so it only needs to be done once

contrib/gitian-descriptors/qt-win.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ reference_datetime: "2011-01-30 00:00:00"
1515
remotes: []
1616
files:
1717
- "qt-everywhere-opensource-src-5.2.0.tar.gz"
18-
- "bitcoin-deps-win32-gitian-r11.zip"
19-
- "bitcoin-deps-win64-gitian-r11.zip"
18+
- "bitcoin-deps-win32-gitian-r12.zip"
19+
- "bitcoin-deps-win64-gitian-r12.zip"
2020
script: |
2121
# Defines
2222
export TZ=UTC
@@ -48,7 +48,7 @@ script: |
4848
#
4949
# Need mingw-compiled openssl from bitcoin-deps:
5050
cd $DEPSDIR
51-
unzip $INDIR/bitcoin-deps-win${BITS}-gitian-r11.zip
51+
unzip $INDIR/bitcoin-deps-win${BITS}-gitian-r12.zip
5252
#
5353
cd $BUILDDIR
5454
#

doc/gitian-building.md

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -346,25 +346,6 @@ tail -f var/install.log
346346
tail -f var/build.log
347347
```
348348

349-
To make sure that the output is exactly the same, and that the time, date, locale and
350-
even the ordering of files in the file system doesn't influence the result,
351-
some special precautions are taken. This means that the result is expected to
352-
be the same every time. The expected SHA256 hashes of the intermediate
353-
inputs (at the time of release 0.9.0) are:
354-
355-
05fe8e9aef00d295f24a94deef7d3a918af5aeef371ba57fdd5a6acd8c51f6cb bitcoin-deps-linux32-gitian-r3.zip
356-
4227aa9d9fedbb4265b8d10a4f78b7435f34b00a54eb4d662bf78f59c6e70c27 bitcoin-deps-linux64-gitian-r3.zip
357-
f29b7d9577417333fb56e023c2977f5726a7c297f320b175a4108cf7cd4c2d29 boost-linux32-1.55.0-gitian-r1.zip
358-
88232451c4104f7eb16e469ac6474fd1231bd485687253f7b2bdf46c0781d535 boost-linux64-1.55.0-gitian-r1.zip
359-
60dc2d3b61e9c7d5dbe2f90d5955772ad748a47918ff2d8b74e8db9b1b91c909 boost-win32-1.55.0-gitian-r6.zip
360-
f65fcaf346bc7b73bc8db3a8614f4f6bee2f61fcbe495e9881133a7c2612a167 boost-win64-1.55.0-gitian-r6.zip
361-
0ba0855e1084132d05fd8687c19d8430b91f6c410a9ab7938e4fea650c2b22c8 bitcoin-deps-win32-gitian-r10.zip
362-
5f9ffba0c13ddefc1d339f66ab973ea64623c9cc1f9078cb2b145bce86bd28e2 bitcoin-deps-win64-gitian-r10.zip
363-
963e3e5e85879010a91143c90a711a5d1d5aba992e38672cdf7b54e42c56b2f1 qt-win32-5.2.0-gitian-r2.zip
364-
751c579830d173ef3e6f194e83d18b92ebef6df03289db13ab77a52b6bc86ef0 qt-win64-5.2.0-gitian-r2.zip
365-
e2e403e1a08869c7eed4d4293bce13d51ec6a63592918b90ae215a0eceb44cb4 protobuf-win32-2.5.0-gitian-r4.zip
366-
a0999037e8b0ef9ade13efd88fee261ba401f5ca910068b7e0cd3262ba667db0 protobuf-win64-2.5.0-gitian-r4.zip
367-
368349
Building Bitcoin
369350
----------------
370351

doc/release-process.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Release Process
3939
Fetch and build inputs: (first time, or when dependency versions change)
4040

4141
mkdir -p inputs; cd inputs/
42-
wget 'http://miniupnp.free.fr/files/download.php?file=miniupnpc-1.8.tar.gz' -O miniupnpc-1.8.tar.gz
42+
wget 'http://miniupnp.free.fr/files/download.php?file=miniupnpc-1.9.tar.gz' -O miniupnpc-1.9.tar.gz
4343
wget 'https://www.openssl.org/source/openssl-1.0.1g.tar.gz'
4444
wget 'http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz'
4545
wget 'http://zlib.net/zlib-1.2.8.tar.gz'
@@ -64,6 +64,21 @@ Release Process
6464
./bin/gbuild ../bitcoin/contrib/gitian-descriptors/protobuf-win.yml
6565
mv build/out/protobuf-*.zip inputs/
6666

67+
The expected SHA256 hashes of the intermediate inputs are:
68+
69+
35c3dfd8b9362f59e81b51881b295232e3bc9e286f1add193b59d486d9ac4a5c bitcoin-deps-linux32-gitian-r5.zip
70+
571789867d172500fa96d63d0ba8c5b1e1a3d6f44f720eddf2f93665affc88b3 bitcoin-deps-linux64-gitian-r5.zip
71+
f29b7d9577417333fb56e023c2977f5726a7c297f320b175a4108cf7cd4c2d29 boost-linux32-1.55.0-gitian-r1.zip
72+
88232451c4104f7eb16e469ac6474fd1231bd485687253f7b2bdf46c0781d535 boost-linux64-1.55.0-gitian-r1.zip
73+
60dc2d3b61e9c7d5dbe2f90d5955772ad748a47918ff2d8b74e8db9b1b91c909 boost-win32-1.55.0-gitian-r6.zip
74+
f65fcaf346bc7b73bc8db3a8614f4f6bee2f61fcbe495e9881133a7c2612a167 boost-win64-1.55.0-gitian-r6.zip
75+
97e62002d338885336bb24e7cbb9471491294bd8857af7a83d18c0961f864ec0 bitcoin-deps-win32-gitian-r11.zip
76+
ee3ea2d5aac1a67ea6bfbea2c04068a7c0940616ce48ee4f37c264bb9d4438ef bitcoin-deps-win64-gitian-r11.zip
77+
963e3e5e85879010a91143c90a711a5d1d5aba992e38672cdf7b54e42c56b2f1 qt-win32-5.2.0-gitian-r3.zip
78+
751c579830d173ef3e6f194e83d18b92ebef6df03289db13ab77a52b6bc86ef0 qt-win64-5.2.0-gitian-r3.zip
79+
e2e403e1a08869c7eed4d4293bce13d51ec6a63592918b90ae215a0eceb44cb4 protobuf-win32-2.5.0-gitian-r4.zip
80+
a0999037e8b0ef9ade13efd88fee261ba401f5ca910068b7e0cd3262ba667db0 protobuf-win64-2.5.0-gitian-r4.zip
81+
6782
Build bitcoind and bitcoin-qt on Linux32, Linux64, and Win32:
6883

6984
./bin/gbuild --commit bitcoin=v${VERSION} ../bitcoin/contrib/gitian-descriptors/gitian-linux.yml

0 commit comments

Comments
 (0)