Commit Graph

9796 Commits

Author SHA1 Message Date
Kevin Gallagher
fa7261bd44 Run Lintian after built package is copied to $SRC_PATH
Because of `set -e`, if there are any warnings, then the package won't be
copied back to the source directory. For now, there are definitely going to
remain some Lintian warnings which we'll want to ignore.
Also updates comments to make them more descriptive.
2016-10-27 09:08:38 -07:00
Jack Grigg
31cc0d0861 Fix DEBIAN/control errors raised by lintian 2016-10-27 08:45:16 -07:00
Jack Grigg
acb8bbe4fe Add lintian check to zcutil/build-debian-package.sh 2016-10-27 08:44:44 -07:00
Jack Grigg
b7f7def877 Rework zcutil/build-debian-package.sh to place files correctly
See http://www.tldp.org/HOWTO/html_single/Debian-Binary-Package-Building-HOWTO/
for a guide on how to prepare a distribution for using dpkg-deb.
2016-10-27 08:44:24 -07:00
Kevin Gallagher
590480bc75 Adds zcash.examples and zcash.manpages 2016-10-26 16:24:35 -07:00
Kevin Gallagher
71cf68da48 Add DEBIAN/rules file (required by policy) 2016-10-26 16:10:55 -07:00
Kevin Gallagher
8764ae0eb7 Fixes executable mode of maintainer scripts 2016-10-26 16:10:34 -07:00
Kevin Gallagher
b37870bbf3 Update Debian package maintainer scripts 2016-10-26 15:59:32 -07:00
Kevin Gallagher
a049dd2953 Use fakeroot to build Debian package 2016-10-26 15:36:24 -07:00
Simon
55d4f13bb7 Bump version number in sendalert.cpp 2016-10-26 12:00:43 -07:00
zkbot
3fedcfedcb Auto merge of #1647 - snyff:patch-1, r=daira
Fix typo in README.md

s/sophisticiated/sophisticated/
2016-10-26 13:01:31 -04:00
bitcartel
5cf1637ebf Update payment-api.md 2016-10-25 23:36:09 -07:00
zkbot
0fabe19495 Auto merge of #1646 - ebfull:manpages, r=daira
Add manpages for zcashd and zcash-cli binaries for debian.

See #1524.
2016-10-25 23:00:30 -04:00
Louis Nyffenegger
5c23abb14a Fix typo in README.md
s/sophisticiated/sophisticated/
2016-10-26 13:56:07 +11:00
zkbot
8d04ff72ca Auto merge of #1643 - ioptio:example-config, r=daira
add zcash.conf

port examples/bitcoin.conf to examples/zcash.conf
2016-10-25 22:21:16 -04:00
Daira Hopwood
d79ef011c1 Tweak descriptions of mining parameters for example zcash.conf.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-10-26 03:18:32 +01:00
Paige Peterson
4340a34de8 fix per Daira's suggestions 2016-10-25 20:55:53 -04:00
Paige Peterson
473389dfb4 fix per Jack's mod suggestions 2016-10-25 20:35:59 -04:00
Sean Bowe
2399b1f9ad Add manpages for zcashd and zcash-cli binaries for debian. 2016-10-25 18:35:08 -06:00
zkbot
ea4c08d43d Auto merge of #1644 - str4d:826-reference-in-security-warnings, r=daira
Link to #826 in doc/security-warnings.md, link to new Security website page

Closes #826
2016-10-25 19:47:14 -04:00
zkbot
07c967aca7 Auto merge of #1637 - daira:upgrade-bdb-again, r=daira
Fix licensing docs, and upgrade bdb again to 6.2.23

Upgrading BDB is necessary due to the security bugs listed at https://www.cvedetails.com/vulnerability-list/vendor_id-93/product_id-32070/Oracle-Berkeley-Db.html . The resulting dependency on the Affero GPL is unfortunate, but see #1469.
2016-10-25 19:07:59 -04:00
Jack Grigg
9e044e509e Link to #826 in doc/security-warnings.md, link to new Security website page
Closes #826
2016-10-25 15:41:36 -07:00
zkbot
6bad499c2a Auto merge of #1640 - daira:upstream-update-tinyformat, r=daira
util: Update tinyformat

Updates `tinyformat.h` to commit
3a33bbf654 upstream.

Makes sure that our local changes are kept:

- bitcoin/bitcoin#3767 1b8fd35aad Make tinyformat errors raise an exception instead of assert()ing
- bitcoin/bitcoin#4735 9b6d4c5cdc Move strprintf define to tinyformat.h
- bitcoin/bitcoin#4748 6e5fd003e0 include stdexcept (for std::exception)
- bitcoin/bitcoin#8000 9eaa0afa6ec5d3dd01e4d01121314ef51f2bc305 force USE_VARIADIC_TEMPLATES
- Add `std::string format(const std::string &fmt...` added this
  at the time, as we want to be able to do `strprintf(_(...), ...)`

Inspired by bitcoin/bitcoin#8264.

For Zcash: ref #1349
2016-10-25 18:29:45 -04:00
Paige Peterson
7ac57982d6 add zcash.config 2016-10-25 16:24:01 -04:00
zkbot
489f1d38ee Auto merge of #1629 - bitcartel:1616_wallet_disallow_coinbase_change, r=daira
Add z_sendmany rule that when coinbase utxos must be spent in their entirety, with no change

See #1616 - coinbase utxos must be consumed entirely, without any change, since there
is currently no way to specify a change address in z_sendmany.
2016-10-25 15:40:36 -04:00
zkbot
a1f81867f0 Auto merge of #1620 - bitcartel:1616_z_sendmany_need_0_message_bug, r=bitcartel
Fix incorrect error message in z_sendmany

Fixes one of the problems in #1616.
2016-10-25 15:02:29 -04:00
Daira Hopwood
c5b9bd9cad util: Update tinyformat
Updates `tinyformat.h` to commit
3a33bbf654 upstream.

Makes sure that our local changes are kept:

- #3767 1b8fd35aad Make tinyformat errors raise an exception instead of assert()ing
- #4735 9b6d4c5cdc Move strprintf define to tinyformat.h
- #4748 6e5fd003e0 include stdexcept (for std::exception)
- #8000 9eaa0afa6ec5d3dd01e4d01121314ef51f2bc305 force USE_VARIADIC_TEMPLATES
- Add `std::string format(const std::string &fmt...` added this
  at the time, as we want to be able to do `strprintf(_(...), ...)`

Inspired by #8264.
2016-10-25 19:48:38 +01:00
Simon
ad0ba9467d Add assert to AsyncRPCOperation_sendmany 2016-10-25 11:25:05 -07:00
zkbot
511c5ec1d0 Auto merge of #1615 - arithmetric:1612.fix-floating-point-exception, r=daira
Fixing floating point exception in non-TTY environments

As reported in #1612, a floating point exception occurs when zcashd is started with `showmetrics` enabled in environments without a TTY, such as when started as a service or piped to a file.

The root cause is that the metrics code attempts to get the screen width and uses this as a divisor in calculations. For non-TTY environments, this value is 0, leading to a division by zero error.

This PR adds a default screen width of 80 and uses the actual screen width only if the width can be fetched (and in a TTY environment).
2016-10-25 11:43:28 -04:00
Daira Hopwood
9cb7abafb5 Changes to upgrade bdb to 6.2.23
ref #1255
2016-10-25 16:18:19 +01:00
Daira Hopwood
86b671eae0 Fix licensing to comply with OpenSSL and Berkeley DB licenses.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-10-25 16:18:06 +01:00
Daira Hopwood
666a401f42 Refactor README docs to avoid duplication.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-10-25 16:14:38 +01:00
zkbot
11ce636a9d Auto merge of #1634 - bitcartel:upstream_8123_race_condition_std_atomic, r=daira
Upstream 8123 race condition

This backports a fix from upstream, with commits applied in sequence:
https://github.com/bitcoin/bitcoin/pull/8004
https://github.com/bitcoin/bitcoin/pull/8112
https://github.com/bitcoin/bitcoin/pull/8123
2016-10-25 08:30:59 -04:00
Pieter Wuille
bf673640e3 Use std::atomic for fRequestShutdown and fReopenDebugLog 2016-10-24 21:55:52 -07:00
Pieter Wuille
3f97a535ee Revert "Include signal.h for sig_atomic_t in WIN32"
This reverts commit 88f14b999cb70f6c556633f2889e698a05305158.
2016-10-24 21:55:40 -07:00
Pieter Wuille
bf3905fe8f Include signal.h for sig_atomic_t in WIN32 2016-10-24 21:55:26 -07:00
Chirag Davé
7a4e0e0932 fReopenDebugLog and fRequestShutdown should be type sig_atomic_t
This allows access as an atomic variable in the presence
of async interrupts.

See issue #7433 for more details
fixes: #7433
2016-10-24 21:54:50 -07:00
Simon
db026807b8 Add z_sendmany rule that when sending coinbase utxos to a zaddr
they must be consumed entirely, without any change, since there
is currently no way to specify a change address in z_sendmany.
2016-10-24 21:34:16 -07:00
zkbot
ede2ebff4e Auto merge of #1617 - str4d:fix-performance-measurements, r=daira
Disable metrics screen in performance-measurements.sh
2016-10-24 22:05:30 -04:00
zkbot
6c26e7c618 Auto merge of #1613 - ageis:fix-1610, r=daira
Adds libgomp1 to Debian package depends

Fixes #1610.
2016-10-24 21:27:55 -04:00
Kevin Gallagher
e07471634b Adds libgomp1 to Debian package depends
Fixes #1610.
2016-10-24 16:41:10 -07:00
Kevin Gallagher
a885ee4668 Prefer sha256sum but fall back to shasum if not available
One is provided by coreutils, the other is a Perl module.
2016-10-24 14:39:52 -07:00
Simon
10d1b90987 Fix incorrect error message in z_sendmany 2016-10-24 07:59:32 -07:00
Joe Turgeon
1da44b346c Adding handling for ioctl failure. Updates from code review in PR #1615. 2016-10-23 21:23:56 -05:00
Jack Grigg
dfe29d5988 Disable metrics screen in performance-measurements.sh 2016-10-23 20:41:18 -05:00
Joe Turgeon
c0876672fa Fixing floating point exception caused by metrics. Using default column width unless in a TTY. 2016-10-23 10:54:50 -05:00
Daira Hopwood
90c116ac54 Add release notes and Debian changelog entry.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-10-23 03:03:00 +01:00
Daira Hopwood
e2a227a268 Add deterministic build section to release-process.md.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-10-23 03:03:00 +01:00
Daira Hopwood
c5334c0c15 Tweaks to release-process.md
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-10-23 02:22:08 +01:00
Daira Hopwood
5c5f70f0fc Update pchMessageStart strings for rc2.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-10-23 02:22:08 +01:00