tree checksum vpatch file split hunks
all signers: mircea_popescu asciilifeform ben_vulpes mod6 trinque
antecedents: malleus_mikehearnificarum mod6_der_high_low_s asciilifeform_maxint_locks_corrected
press order:
patch:
(0 . 0)(1 . 23)
5 # Required Public Keys:
6 # 0x027A8D7C0FB8A16643720F40721705A8B71EADAF
7
8 export ONLINE
9
10 all: deps build bin
11
12 clean:
13 $(MAKE) -C deps clean
14 $(MAKE) -C build clean
15 $(MAKE) -C bin clean
16
17 .PHONY: deps
18 deps:
19 $(MAKE) -C deps
20
21 .PHONY: build
22 build:
23 $(MAKE) -C build
24
25 .PHONY: bin
26 bin:
27 $(MAKE) -C bin
-(0 . 0)(1 . 13)
32 include ../verify.mk
33
34 all: bitcoind
35
36 clean:
37 rm -rf bitcoind
38
39 check:
40 $(SHA512) -c Manifest.sha512
41
42 bitcoind:
43 cp ../build/bitcoind .
44 #$(CHECKSUM_OR_DIE)
-(0 . 0)(1 . 1)
49 # bitcoind checksum goes here.
-(0 . 0)(1 . 40)
54 BUILDER=rotor
55
56 all: buildroot-2015.05 rotor bitcoind
57
58 clean:
59 find . -maxdepth 1 \
60 -not -name 'Makefile' \
61 -not -name 'Makefile.rotor' \
62 -not -name '.' \
63 -exec rm -rf {} \;
64
65 buildroot-2015.05:
66 tar -xvzf ../deps/buildroot-2015.05.tar.gz
67 tar -xvzf ../deps/rotor.tar.gz
68 cp rotor_buildroot_dot_config buildroot-2015.05/.config
69 mkdir -p buildroot-2015.05/dl
70 cp ../deps/binutils-2.24.tar.bz2 \
71 ../deps/busybox-1.23.2.tar.bz2 \
72 ../deps/expat-2.1.0.tar.gz \
73 ../deps/fakeroot_1.18.4.orig.tar.bz2 \
74 ../deps/gcc-4.9.2.tar.bz2 \
75 ../deps/gdb-7.8.2.tar.xz \
76 ../deps/gmp-6.0.0a.tar.xz \
77 ../deps/linux-3.18.14.tar.xz \
78 ../deps/m4-1.4.17.tar.xz \
79 ../deps/mpc-1.0.3.tar.gz \
80 ../deps/mpfr-3.1.2.tar.xz \
81 ../deps/musl-1.1.8.tar.gz \
82 ../deps/ncurses-5.9.tar.gz \
83 ../deps/pkgconf-0.8.9.tar.bz2 \
84 buildroot-2015.05/dl
85
86 $(MAKE) -C buildroot-2015.05
87
88 .PHONY: $(BUILDER)
89 $(BUILDER):
90 $(MAKE) -f Makefile.$(BUILDER)
91
92 bitcoind:
93 cp ../src/bitcoind .
-(0 . 0)(1 . 56)
98 ######################################
99 #Turds!
100 OPENSSL=openssl-1.0.1g
101 BDB=db-4.8.30
102 BOOST=boost_1_52_0
103 ######################################
104
105 export DIST=$(shell readlink -f ../deps)
106 export OURLIBS=$(shell readlink -f ./ourlibs)
107 export CC=$(shell readlink -f toolchain/usr/bin/x86_64-therealbitcoin-linux-musl-gcc)
108 export CXX=$(shell readlink -f toolchain/usr/bin/x86_64-therealbitcoin-linux-musl-g++)
109 export LD=$(shell readlink -f toolchain/usr/bin/x86_64-therealbitcoin-linux-musl-ld)
110 export CFLAGS=-I$(shell readlink -f toolchain/usr/include)
111 export LDFLAGS=-L$(shell readlink -f toolchain/usr/lib)
112 export PATH := $(PATH):$(shell readlink -f toolchain/usr/bin)
113 export BOOST_INCLUDE_PATH=$(OURLIBS)/include
114 export BDB_INCLUDE_PATH=$(OURLIBS)/include
115 export OPENSSL_INCLUDE_PATH=$(OURLIBS)/include
116 export BOOST_LIB_PATH=$(OURLIBS)/lib
117 export BDB_LIB_PATH=$(OURLIBS)/lib
118 export OPENSSL_LIB_PATH=$(OURLIBS)/lib
119
120
121 all: $(BOOST) $(BDB) $(OPENSSL) bitcoind
122
123 clean:
124 rm -rf $(BOOST) $(BDB) $(OPENSSL)
125
126 $(BOOST):
127 tar xvjf $(DIST)/$(BOOST).tar.bz2
128 cd $(BOOST) && \
129 echo "using gcc : : $(CXX) ;" >> tools/build/v2/user-config.jam && \
130 ./bootstrap.sh && \
131 (./bjam toolset=gcc link=static -sNO_BZIP2=1 -sNO_ZLIB=1 -sNO_COMPRESSION=1 || true) # FIX THIS ABOMINATION!!!
132 cd $(BOOST) && \
133 (./bjam toolset=gcc link=static --prefix=$(OURLIBS) install || true) # FIX THIS ABOMINATION!!!
134
135 $(BDB):
136 tar xvfz $(DIST)/$(BDB).tar.gz
137 cd $(BDB)/build_unix && \
138 ../dist/configure --enable-cxx --prefix=$(OURLIBS) --host=x86_64-linux && \
139 $(MAKE) && \
140 $(MAKE) install
141
142 $(OPENSSL):
143 tar xvfz $(DIST)/$(OPENSSL).tar.gz
144 cd $(OPENSSL) && \
145 patch -p1 < ../openssl-004-musl-termios.patch && \
146 ./Configure --prefix=$(OURLIBS) no-dso threads linux-x86_64 && \
147 $(MAKE) && \
148 $(MAKE) install_sw
149
150 bitcoind:
151 cd ../src && \
152 $(MAKE) STATIC=all -f makefile.unix bitcoind
153 strip ../src/bitcoind
-(0 . 0)(1 . 189)
158 include ../verify.mk
159
160 all: boost_1_52_0.tar.bz2 buildroot-2015.05.tar.gz db-4.8.30.tar.gz \
161 openssl-1.0.1g.tar.gz binutils-2.24.tar.bz2 busybox-1.23.2.tar.bz2 \
162 expat-2.1.0.tar.gz fakeroot_1.18.4.orig.tar.bz2 gcc-4.9.2.tar.bz2 \
163 gdb-7.8.2.tar.xz gmp-6.0.0a.tar.xz linux-3.18.14.tar.xz \
164 m4-1.4.17.tar.xz mpc-1.0.3.tar.gz mpfr-3.1.2.tar.xz musl-1.1.8.tar.gz \
165 ncurses-5.9.tar.gz pkgconf-0.8.9.tar.bz2 rotor.tar.gz \
166 rotor-db-configure-fix.patch
167
168 check:
169 $(SHA512) -c Manifest.sha512
170
171 clean:
172 rm -f boost_1_52_0.tar.bz2 buildroot-2015.05.tar.gz db-4.8.30.tar.gz \
173 openssl-1.0.1g.tar.gz binutils-2.24.tar.bz2 busybox-1.23.2.tar.bz2 \
174 expat-2.1.0.tar.gz fakeroot_1.18.4.orig.tar.bz2 gcc-4.9.2.tar.bz2 \
175 gdb-7.8.2.tar.xz gmp-6.0.0a.tar.xz linux-3.18.14.tar.xz \
176 m4-1.4.17.tar.xz mpc-1.0.3.tar.gz mpfr-3.1.2.tar.xz musl-1.1.8.tar.gz \
177 ncurses-5.9.tar.gz pkgconf-0.8.9.tar.bz2 rotor.tar.gz \
178 rotor-db-configure-fix.patch boost_1_52_0.tar.bz2.asc \
179 buildroot-2015.05.tar.gz.asc db-4.8.30.tar.gz.asc \
180 openssl-1.0.1g.tar.gz.asc binutils-2.24.tar.bz2.asc \
181 busybox-1.23.2.tar.bz2.asc expat-2.1.0.tar.gz.asc \
182 fakeroot_1.18.4.orig.tar.bz2.asc gcc-4.9.2.tar.bz2.asc \
183 gdb-7.8.2.tar.xz.asc gmp-6.0.0a.tar.xz.asc linux-3.18.14.tar.xz.asc \
184 m4-1.4.17.tar.xz.asc mpc-1.0.3.tar.gz.asc mpfr-3.1.2.tar.xz.asc \
185 musl-1.1.8.tar.gz.asc ncurses-5.9.tar.gz.asc pkgconf-0.8.9.tar.bz2.asc \
186 rotor.tar.gz.asc rotor-db-configure-fix.patch.asc
187
188 boost_1_52_0.tar.bz2:
189 ifdef ONLINE
190 curl -s http://deedbot.org/deed-422651-1.txt -o $@.asc
191 endif
192 $(VERIFY_DEED_OR_DIE)
193 $(DECODE_DEED)
194 $(CHECKSUM_OR_DIE)
195
196 buildroot-2015.05.tar.gz:
197 ifdef ONLINE
198 curl -s http://deedbot.org/deed-422651-2.txt -o $@.asc
199 endif
200 $(VERIFY_DEED_OR_DIE)
201 $(DECODE_DEED)
202 $(CHECKSUM_OR_DIE)
203
204 db-4.8.30.tar.gz:
205 ifdef ONLINE
206 curl -s http://deedbot.org/deed-422651-3.txt -o $@.asc
207 endif
208 $(VERIFY_DEED_OR_DIE)
209 $(DECODE_DEED)
210 $(CHECKSUM_OR_DIE)
211
212 openssl-1.0.1g.tar.gz:
213 ifdef ONLINE
214 curl -s http://deedbot.org/deed-422651-4.txt -o $@.asc
215 endif
216 $(VERIFY_DEED_OR_DIE)
217 $(DECODE_DEED)
218 $(CHECKSUM_OR_DIE)
219
220 binutils-2.24.tar.bz2:
221 ifdef ONLINE
222 curl -s http://deedbot.org/deed-427443-1.txt -o $@.asc
223 endif
224 $(VERIFY_DEED_OR_DIE)
225 $(DECODE_DEED)
226 $(CHECKSUM_OR_DIE)
227
228 busybox-1.23.2.tar.bz2:
229 ifdef ONLINE
230 curl -s http://deedbot.org/deed-427443-2.txt -o $@.asc
231 endif
232 $(VERIFY_DEED_OR_DIE)
233 $(DECODE_DEED)
234 $(CHECKSUM_OR_DIE)
235
236 expat-2.1.0.tar.gz:
237 ifdef ONLINE
238 curl -s http://deedbot.org/deed-427443-3.txt -o $@.asc
239 endif
240 $(VERIFY_DEED_OR_DIE)
241 $(DECODE_DEED)
242 $(CHECKSUM_OR_DIE)
243
244 fakeroot_1.18.4.orig.tar.bz2:
245 ifdef ONLINE
246 curl -s http://deedbot.org/deed-427443-4.txt -o $@.asc
247 endif
248 $(VERIFY_DEED_OR_DIE)
249 $(DECODE_DEED)
250 $(CHECKSUM_OR_DIE)
251
252 gcc-4.9.2.tar.bz2:
253 ifdef ONLINE
254 curl -s http://deedbot.org/deed-427443-5.txt -o $@.asc
255 endif
256 $(VERIFY_DEED_OR_DIE)
257 $(DECODE_DEED)
258 $(CHECKSUM_OR_DIE)
259
260 gdb-7.8.2.tar.xz:
261 ifdef ONLINE
262 curl -s http://deedbot.org/deed-427443-6.txt -o $@.asc
263 endif
264 $(VERIFY_DEED_OR_DIE)
265 $(DECODE_DEED)
266 $(CHECKSUM_OR_DIE)
267
268 gmp-6.0.0a.tar.xz:
269 ifdef ONLINE
270 curl -s http://deedbot.org/deed-427443-7.txt -o $@.asc
271 endif
272 $(VERIFY_DEED_OR_DIE)
273 $(DECODE_DEED)
274 $(CHECKSUM_OR_DIE)
275
276 linux-3.18.14.tar.xz:
277 ifdef ONLINE
278 curl -s http://deedbot.org/deed-427443-8.txt -o $@.asc
279 endif
280 $(VERIFY_DEED_OR_DIE)
281 $(DECODE_DEED)
282 $(CHECKSUM_OR_DIE)
283
284 m4-1.4.17.tar.xz:
285 ifdef ONLINE
286 curl -s http://deedbot.org/deed-427443-9.txt -o $@.asc
287 endif
288 $(VERIFY_DEED_OR_DIE)
289 $(DECODE_DEED)
290 $(CHECKSUM_OR_DIE)
291
292 mpc-1.0.3.tar.gz:
293 ifdef ONLINE
294 curl -s http://deedbot.org/deed-427443-10.txt -o $@.asc
295 endif
296 $(VERIFY_DEED_OR_DIE)
297 $(DECODE_DEED)
298 $(CHECKSUM_OR_DIE)
299
300 mpfr-3.1.2.tar.xz:
301 ifdef ONLINE
302 curl -s http://deedbot.org/deed-427443-11.txt -o $@.asc
303 endif
304 $(VERIFY_DEED_OR_DIE)
305 $(DECODE_DEED)
306 $(CHECKSUM_OR_DIE)
307
308 musl-1.1.8.tar.gz:
309 ifdef ONLINE
310 curl -s http://deedbot.org/deed-427443-12.txt -o $@.asc
311 endif
312 $(VERIFY_DEED_OR_DIE)
313 $(DECODE_DEED)
314 $(CHECKSUM_OR_DIE)
315
316 ncurses-5.9.tar.gz:
317 ifdef ONLINE
318 curl -s http://deedbot.org/deed-427443-13.txt -o $@.asc
319 endif
320 $(VERIFY_DEED_OR_DIE)
321 $(DECODE_DEED)
322 $(CHECKSUM_OR_DIE)
323
324 pkgconf-0.8.9.tar.bz2:
325 ifdef ONLINE
326 curl -s http://deedbot.org/deed-427443-14.txt -o $@.asc
327 endif
328 $(VERIFY_DEED_OR_DIE)
329 $(DECODE_DEED)
330 $(CHECKSUM_OR_DIE)
331
332 rotor-db-configure-fix.patch:
333 ifdef ONLINE
334 curl -s http://deedbot.org/deed-430460-1.txt -o $@.asc
335 endif
336 $(VERIFY_DEED_OR_DIE)
337 $(DECODE_DEED)
338 $(CHECKSUM_OR_DIE)
339
340 rotor.tar.gz:
341 ifdef ONLINE
342 curl -s http://deedbot.org/deed-430460-2.txt -o $@.asc
343 endif
344 $(VERIFY_DEED_OR_DIE)
345 $(DECODE_DEED)
346 $(CHECKSUM_OR_DIE)
-(0 . 0)(1 . 20)
351 5ec95ad47d49b12c4558a8db0ca2109d3ee1955e3776057f3330c4506f8f4d1cf5e505fbf8a16b98403a0fcdeaaf986fe0a22be6456247dbdace63ce1f776b12 binutils-2.24.tar.bz2
352 fc512d3bfa6a39a60fee548775c97239271cf757587b8df7ed739c800844a819a359dca172be0e69ad7752753753139bf11f0813d650066d58386662fe32842d boost_1_52_0.tar.bz2
353 c42fdd39cb2bc46804a86a7d7b2605bd3cd9ddcb365c4e5a1fb147eb02b234fc31a70c8140be2f4d27cd371c84e0c6701f8cb47697dd1c18dd0e0cce784aa07a buildroot-2015.05.tar.gz
354 209c8ef26e40ccb81510f6b663202b080f9bbecac7faf386bbabf7e36a43d63b15dd6ce9f7a84c1ccc5345c524999812251da1e113ef9faadc6af1fedd24c7c9 busybox-1.23.2.tar.bz2
355 d1a3c52b0ab54ae3fd6792e6396c9f74d25f36b2eb9e853b67ef9c872508a58c784c7818108d06d184f59601b70cc877916e67dfea6f0ee1ca2b07468c1041f1 db-4.8.30.tar.gz
356 2a9ad2b44b87b84087979fe4114d661838df3b03dbdcb74d590cb74096bf35ce9d5a86617b0941a2655ea441a94537bcbcd78252da92342238823be36de2d09d expat-2.1.0.tar.gz
357 497292fe21d18a37eadd657fbe01db8902f4b8d87d63605928efd59789f4c14737997b9f0abc4d794dbef78066b952064bdb2dd9f0910ec75349d7dd313cd058 fakeroot_1.18.4.orig.tar.bz2
358 e96cba06d572dbe7f382a2b00fd9297dcf9f9219d46a9ad0bd904dc36d5e7db3335e422640b79a27fed6fde91b0731732b94a0e2fbcd47344d6779f8ba1f4f9c gcc-4.9.2.tar.bz2
359 face5bf1b4ce144fc8604fc84620beed956177a11fd632b4e41906fc7f632910b2b43a50e6cfdfd6cbd876ee527c813bddab8df29dc560a6c36694cdb8edc4e4 gdb-7.8.2.tar.xz
360 50368f4368b244b442438ce1768cf0f1166e490d1bafb8feda1ffc90fea3807e7328f30f3faa861799e4f5ff6e3113049ca3231b2f48571e4583fc3d60441816 gmp-6.0.0a.tar.xz
361 688a107e7ff2f0d21196fbf809173fee6620ec8e7694188ff38e45a1b16632bca33c617e012726142d8bd80307fc05207badfb115df95df05ee0734d5569a9cb linux-3.18.14.tar.xz
362 406e6e97c3f5c5f3c8055bac748d4fe8c2e861d97e84ab6d840a2caa7df04f523cc662d6d51f6afae7d6c219d03693c7ae0c1e669a80246a3ceb5e8342b82389 m4-1.4.17.tar.xz
363 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43 mpc-1.0.3.tar.gz
364 8d594206afb2637ed39ad564d42c8c4d02b042b95925f5c6ec891e5cb87f7155195559c7ff477256a088ecaaa3c2b0d35a9d11a74ed526a1080d49b2950e5587 mpfr-3.1.2.tar.xz
365 de2f0b03fd199e2ceb9937686d1092838744dccaddb3916f9baef9cdd2621624fb3c4af2206a3366d12852d84ccc8b0b68350f9d06a9e2bcdbc0309dc05383ff musl-1.1.8.tar.gz
366 d7c5e54b6d4d8b9211f0006ca8786f7609d180cc1aaebf4f25e7e35e12959779cf66447359a602daed625621ca32b0d910d67aef3eb8b6fdc3c373819a88faa1 ncurses-5.9.tar.gz
367 66ebbad3c8ad98a07b486d39d0c3ae62b00133f8f2877cf8b97c461e7c7f40b29cf9c3cae82cf73a92dcf1daa63d33aa76c910fbcbe60158589fc7cb48f41e6d openssl-1.0.1g.tar.gz
368 3acb571412dedc2587203ed05537ce3adbaa64f2fab4f561da9824917c15e2ea771db7525f9a026261086f4ae196c3a5183e1bb3d33e14fdd779fbe74e6215c3 pkgconf-0.8.9.tar.bz2
369 e232c07238feb16ce055211fba68ed283c47753a8716681ac47c869c21936f48768fafaac678f64ee17cf2b62b669a0d2c481008b5ccaf76007f66501a02990d rotor.tar.gz
370 2c1152a88dd6d8e4b0f736dbf0ce2691c66fc592c1ef6c332a976ae7e9ca86850091032d23042558e3eabc0dc2b591f482566ef433606fb91a06dee9a0485063 rotor-db-configure-fix.patch
- 565FAF3EF371F5E2178AE30C45B08B93415EEB92263486E68F2AC2E8F4C7900056E628804BF5C0707A90BE946E0AEAEBFCD0A391AAB40DE2E5D56E6BCBDCCB1E(9 . 6)(9 . 8)
375 #include <boost/filesystem.hpp>
376 #include <boost/filesystem/fstream.hpp>
377
378 // v0.5.4 RELEASE
379
380 using namespace std;
381 using namespace boost;
382
- 971B82BE435C99A1AF9D5CACC9C05AF7616F4AF7EE1466EFACD46D41EDDC1C4D7DA2FDB4A302AAB7C99933D33AD2D613F3BFBE76FEC67A71C6D4D1FE14AC142D(12 . 6)(12 . 7)
387 #include <boost/filesystem/fstream.hpp>
388 #include <boost/interprocess/sync/file_lock.hpp>
389
390 // v0.5.4 RELEASE
391
392 using namespace std;
393 using namespace boost;
- 0CCB0C29C0A3217D57F9BC72D87B497E64116A9F79E69277408750EE3DC95738CE52A70AFECE7A1054314100D84F93F6525AB514B8ABD8CE78AB8EBD50E599A2(10 . 6)(10 . 8)
398 #include <boost/filesystem.hpp>
399 #include <boost/filesystem/fstream.hpp>
400
401 // v0.5.4 RELEASE
402
403 using namespace std;
404 using namespace boost;
405
-(0 . 0)(1 . 5)
410 SHA512=sha512sum
411 CHECKSUM_OR_DIE=grep " $@$$" Manifest.sha512 | $(SHA512) -c || (mv $@ $@.badsum && false)
412 VERIFY_OR_DIE=gpg --verify $@ || (mv $@ $@.badsig && false)
413 DECODE_DEED=cat $@.asc | sed -e '1,/begin-base64/d' -e '/====/,$$d' | base64 -d > $@
414 VERIFY_DEED_OR_DIE=gpg --verify $@.asc || (mv $@.asc $@.asc.badsig && false)