[BTC-dev] Makefiles Vpatch

Shane Kinney modsix at gmail.com
Sat Sep 24 02:31:09 UTC 2016


URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20160923/attachment.txt?sha1=6fe89616d67f4b7493bb326ba482312befafafc9>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512


The attached makefiles.vpatch integrates new makefiles to build the Reference
Implementation into its code base.

0x01]: This vpatch renders previous build scripts obsolete.
0x02]: This vpatch ties up the leaves in the tree, hereby making this vpatch
       the last for this iteration.

With the addition of this vpatch into the tree, a user may build the Reference
Implementation in one of two ways:

  Offline (default) or Online

Please refer to the attached howto-offline.txt or howto-online.txt for steps to
complete this process.

Enjoy!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iQIcBAEBCgAGBQJX5dAwAAoJEHIXBai3Hq2vssMP/0JGHm+oSgeUv9VWrzYVA1/L
aB0pSZNqlfcruGVThAMKcSaFM+zrs2b+ITUVm1eUGxUsHQ9TzaVlip0ZcTX96BoJ
IEqV/IYgSCcHUzud8E//flS0m7Zq0VKWaJgLU9K/YkaankTI6DDOD9xswDAfdIvj
iZj1Jfj9LdCo1fi/1Kj4Bo/tGFpyySot63rwGTQ+8UKq9seS/l43NTIJySKjs98p
mrPff3MWTqIhqG338E1QysSGo7YjL5APHyFe3ogAhJelNEVxYlVMpGnhrCWZtYoN
a05XYlb7Jt89uq2oN+B9mvElkeZQC88dsvPEYUEJBLXDhMXcOAItNL3INYfXdtk3
Ye5j3nU3cqNTB2Lcw2MVqN48SZ2wWLSYsxhsp/leuQ4kzVzAiBNCGXiTMPRvrrsV
82X15A3A9J9mZxDULd4t4Gu/ShmhK5PfZtECRpmFzvrYk6D5vsEk5AE2CVs8JRdy
J51HnwyxYz9Eo6eMV2JL+sw45NlG2pIMDNj7N9eVtKT9dE7mtqwZJBX22LSKAayc
hF8EnvvA+fXZ7/qz80eq5WT+cQR15s04OrY+BnMt3hUstWlBq6ntPQU7vQ8o7cRM
eys0qYqMsIFOcTaHZxxBu1/HAGgOTWBR/g4ShaZcmeERYBquf4Kvg3TeYQiMoyWf
Mk8teCLt8PtxfNMSbRmx
=bbTp
-----END PGP SIGNATURE-----
-------------- next part --------------
Name: howto-offline.txt
URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20160923/howto-offline.txt?sha1=3f6269a4274310696c463a9a58a32ffd85a37070>
0x01) make a new trb directory: `mkdir trb`
0x02) `cd trb`
0x03) Get http://thebitcoin.foundation/v/V-20160220.tar.gz 
0x04) Get http://thebitcoin.foundation/v/V-20160220.tar.gz.mod6.sig
0x05) `mkdir .wot`
0x06) Get the following keys from deedbot [freenode.net], and place them in '.wot':

      [ /msg deedbot !!key asciilifeform ]
      [ /msg deedbot !!key ben_vulpes ]
      [ /msg deedbot !!key mircea_popescu ]
      [ /msg deedbot !!key mod6 ]
      [ /msg deedbot !!key trinque ]

      Save the PGP public keys and name them as follows:

      asciilifeform.asc
      ben_vulpes.asc
      mircea_popescu.asc
      mod6.asc
      trinque.asc

      `gpg --import mod6.asc`

      `mv asciilifeform.asc ben_vulpes.asc mircea_popescu.asc mod6.asc trinque.asc .wot`

0x07) `gpg --verify V-20160220.tar.gz.mod6.sig V-20160220.tar.gz`
0x08) `tar -xf V-20160220.tar.gz`

0x09) `mkdir patches`

      Gather trb vpatches from http://thebitcoin.foundation/v/patches
      in which ever manner suits you best.

      Place all vpatches into the 'patches' directory.

0x0A) `mkdir .seals`

      Gather trb seals from http://thebitcoin.foundation/v/seals
      in which ever manner suits you best.

      Place seals into the '.seals' directory.

0x0B) `./v.pl p v trb54 makefiles.vpatch`
0x0C) `cd trb54/bitcoin`

0x0D) Get http://deedbot.org/deed-430460-2.txt  : name it 'rotor.tar.gz.asc'
0x0E) Get http://deedbot.org/deed-430460-1.txt  : name it 'rotor-db-configure-fix.patch.asc'
0x0F) Get http://deedbot.org/deed-422651-1.txt  : name it 'boost_1_52_0.tar.bz2.asc'
0x10) Get http://deedbot.org/deed-422651-2.txt  : name it 'buildroot-2015.05.tar.gz.asc'
0x11) Get http://deedbot.org/deed-422651-3.txt  : name it 'db-4.8.30.tar.gz.asc'
0x12) Get http://deedbot.org/deed-422651-4.txt  : name it 'openssl-1.0.1g.tar.gz.asc'
0x13) Get http://deedbot.org/deed-427443-1.txt  : name it 'binutils-2.24.tar.bz2.asc'
0x14) Get http://deedbot.org/deed-427443-2.txt  : name it 'busybox-1.23.2.tar.bz2.asc'
0x15) Get http://deedbot.org/deed-427443-3.txt  : name it 'expat-2.1.0.tar.gz.asc'
0x16) Get http://deedbot.org/deed-427443-4.txt  : name it 'fakeroot_1.18.4.orig.tar.bz2.asc'
0x17) Get http://deedbot.org/deed-427443-5.txt  : name it 'gcc-4.9.2.tar.bz2.asc'
0x18) Get http://deedbot.org/deed-427443-6.txt  : name it 'gdb-7.8.2.tar.xz.asc'
0x19) Get http://deedbot.org/deed-427443-7.txt  : name it 'gmp-6.0.0a.tar.xz.asc'
0x1A) Get http://deedbot.org/deed-427443-8.txt  : name it 'linux-3.18.14.tar.xz.asc'
0x1B) Get http://deedbot.org/deed-427443-9.txt  : name it 'm4-1.4.17.tar.xz.asc'
0x1C) Get http://deedbot.org/deed-427443-10.txt : name it 'mpc-1.0.3.tar.gz.asc'
0x1D) Get http://deedbot.org/deed-427443-11.txt : name it 'mpfr-3.1.2.tar.xz.asc'
0x1E) Get http://deedbot.org/deed-427443-12.txt : name it 'musl-1.1.8.tar.gz.asc'
0x1F) Get http://deedbot.org/deed-427443-13.txt : name it 'ncurses-5.9.tar.gz.asc'
0x20) Get http://deedbot.org/deed-427443-14.txt : name it 'pkgconf-0.8.9.tar.bz2.asc'

0x21) Place the signed deed files (0D-20) into the 'deps' directory:

`
mv \
rotor.tar.gz.asc \
rotor-db-configure-fix.patch.asc \
boost_1_52_0.tar.bz2.asc \
buildroot-2015.05.tar.gz.asc \
db-4.8.30.tar.gz.asc \
openssl-1.0.1g.tar.gz.asc \
binutils-2.24.tar.bz2.asc \
busybox-1.23.2.tar.bz2.asc \
expat-2.1.0.tar.gz.asc \
fakeroot_1.18.4.orig.tar.bz2.asc \
gcc-4.9.2.tar.bz2.asc \
gdb-7.8.2.tar.xz.asc \
gmp-6.0.0a.tar.xz.asc \
linux-3.18.14.tar.xz.asc \
m4-1.4.17.tar.xz.asc \
mpc-1.0.3.tar.gz.asc \
mpfr-3.1.2.tar.xz.asc \
musl-1.1.8.tar.gz.asc \
ncurses-5.9.tar.gz.asc \
pkgconf-0.8.9.tar.bz2.asc \
deps
`

0x22) `make`
0x23) Upon successful build, `bitcoind' will be placed in 'trb54/bitcoin/bin'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makefiles.vpatch
Type: application/octet-stream
Size: 15336 bytes
Desc: not available
URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20160923/makefiles.vpatch?sha1=d9f4f4fb47f0bff3934396509ed99d8975142deb>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makefiles.vpatch.mod6.sig
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20160923/makefiles.vpatch.mod6.sig?sha1=a84d8448022b1d7a9bc0129df58804b002b64c18>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: howto-offline.txt.mod6.sig
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20160923/howto-offline.txt.mod6.sig?sha1=80fb80caa5e291716c77a4db64900f0fff4ad7cd>
-------------- next part --------------
Name: howto-online.txt
URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20160923/howto-online.txt?sha1=2d0abdda1ffa2a3153e4e91128ead14700b21c78>
 0x01) make a new trb directory: `mkdir trb`
 0x02) `cd trb`
 0x03) `curl -s http://thebitcoin.foundation/v/V-20160220.tar.gz -o V-20160220.tar.gz`
 0x04) `curl -s http://thebitcoin.foundation/v/V-20160220.tar.gz.mod6.sig -o V-20160220.tar.gz.mod6.sig`
 0x05) `mkdir .wot`
 0x06) Get the following keys from deedbot [freenode.net], and place them in '.wot':
       [ /msg deedbot !!key asciilifeform ]
       [ /msg deedbot !!key ben_vulpes ]
       [ /msg deedbot !!key mircea_popescu ]
       [ /msg deedbot !!key mod6 ]
       [ /msg deedbot !!key trinque ]

       Save the PGP public keys and name them as follows:

       asciilifeform.asc
       ben_vulpes.asc
       mircea_popescu.asc
       mod6.asc
       trinque.asc

       `gpg --import mod6.asc`

       `mv asciilifeform.asc ben_vulpes.asc mircea_popescu.asc mod6.asc trinque.asc .wot`

 0x07) `gpg --verify V-20160220.tar.gz.mod6.sig V-20160220.tar.gz`
 0x08) `tar -xf V-20160220.tar.gz`
 0x09) `./v.pl i http://thebitcoin.foundation`
 0x0A) `./v.pl p v trb54 makefiles.vpatch`
 0x0B) `cd trb54/bitcoin`
 0x0C) `make ONLINE=1`
 0x0D) Upon successful build, `bitcoind' will be placed in 'trb54/bitcoin/bin'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: howto-online.txt.mod6.sig
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20160923/howto-online.txt.mod6.sig?sha1=ef175da06122550ff451b281511050202476add1>


More information about the BTC-dev mailing list