pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Package bitcoin version 0.14.1



Module Name:	pkgsrc-wip
Committed By:	Pierre Pronchery <khorben%defora.org@localhost>
Pushed By:	khorben
Date:		Fri Feb 23 01:55:26 2018 +0100
Changeset:	6a0f682ed0c864d9d3f06213a9f694a757ea6c88

Modified Files:
	bitcoin/Makefile
	bitcoin/PLIST
	bitcoin/distinfo
	bitcoin/patches/patch-src_netbase.cpp
Added Files:
	bitcoin/patches/patch-src_secp256k1_configure.ac

Log Message:
Package bitcoin version 0.14.1

This takes it one step closer to the current upstream.

For the extensive release notes, please refer to:
https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-0.14.1.md

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6a0f682ed0c864d9d3f06213a9f694a757ea6c88

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 bitcoin/Makefile                                 |  4 ++--
 bitcoin/PLIST                                    |  4 ++++
 bitcoin/distinfo                                 | 11 ++++++-----
 bitcoin/patches/patch-src_netbase.cpp            | 18 +++++++-----------
 bitcoin/patches/patch-src_secp256k1_configure.ac | 15 +++++++++++++++
 5 files changed, 34 insertions(+), 18 deletions(-)

diffs:
diff --git a/bitcoin/Makefile b/bitcoin/Makefile
index 968b937241..22c929a0a9 100644
--- a/bitcoin/Makefile
+++ b/bitcoin/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD$
 
 # TODO: update to latest release
-DISTNAME=	bitcoin-0.13.1
+DISTNAME=	bitcoin-0.14.1
 CATEGORIES=	finance
 MASTER_SITES=	${MASTER_SITE_GITHUB:=bitcoin/}
 GITHUB_TAG=	v${PKGVERSION_NOREV}
@@ -61,7 +61,7 @@ INSTALL_DIRS=	${BUILD_DIRS} src/secp256k1 src/univalue
 
 # Install the Debian example config file.
 post-install:
-	${INSTALL_DATA} -m 600 ${WRKSRC}/contrib/debian/examples/bitcoin.conf ${DESTDIR}${EGDIR}
+	${INSTALL_DATA} -m 644 ${WRKSRC}/contrib/debian/examples/bitcoin.conf ${DESTDIR}${EGDIR}
 
 .include "options.mk"
 
diff --git a/bitcoin/PLIST b/bitcoin/PLIST
index d2fcb45d3a..ceb2a53d05 100644
--- a/bitcoin/PLIST
+++ b/bitcoin/PLIST
@@ -16,4 +16,8 @@ lib/libunivalue.la
 lib/pkgconfig/libbitcoinconsensus.pc
 lib/pkgconfig/libsecp256k1.pc
 lib/pkgconfig/libunivalue.pc
+man/man1/bitcoin-cli.1
+man/man1/bitcoin-qt.1
+man/man1/bitcoin-tx.1
+man/man1/bitcoind.1
 share/examples/bitcoin/bitcoin.conf
diff --git a/bitcoin/distinfo b/bitcoin/distinfo
index 79e8f447ec..caeccdb5c3 100644
--- a/bitcoin/distinfo
+++ b/bitcoin/distinfo
@@ -1,8 +1,9 @@
 $NetBSD$
 
-SHA1 (bitcoin-0.13.1.tar.gz) = c61dbb3a89d452e83e4ce454ee677c64dfda46b3
-RMD160 (bitcoin-0.13.1.tar.gz) = 9c6df67f2c835a785cea7d57fdae271d141f448d
-SHA512 (bitcoin-0.13.1.tar.gz) = 05c5d9454c3256912bab422ad79b289a7bd67730f7ff4f5f50d010ec5a1eda89b6eb84f688cda875e950a832f8c427b22119e8bb678fc4ee5213272e22bc45d5
-Size (bitcoin-0.13.1.tar.gz) = 5952081 bytes
+SHA1 (bitcoin-0.14.1.tar.gz) = f3057533b080360bf14db2f8efb715bd9aca5863
+RMD160 (bitcoin-0.14.1.tar.gz) = 5f7a58636127b7d0a7bcb2dc56b6a5148fa1e4bc
+SHA512 (bitcoin-0.14.1.tar.gz) = 76191ddb2b616c5a6730a22735551aa375a54e0112468bec748e796a3764d8b73089da279443e4499d12f942037e815c1a78e9a69bce439d2eee01c49f02da12
+Size (bitcoin-0.14.1.tar.gz) = 7157456 bytes
 SHA1 (patch-src_leveldb_port_port__posix.h) = 6a3cde12951b9801e8ffe19b6134ca48ad0d876c
-SHA1 (patch-src_netbase.cpp) = 4de772e3b5f23ef6c29fedc70455f7a8705df591
+SHA1 (patch-src_netbase.cpp) = c1357ce9437fab87651df9fd4ca12dd24c59830c
+SHA1 (patch-src_secp256k1_configure.ac) = 688e13e1da110bf15557434f19507f43290be8ef
diff --git a/bitcoin/patches/patch-src_netbase.cpp b/bitcoin/patches/patch-src_netbase.cpp
index 31818615da..497a8710ce 100644
--- a/bitcoin/patches/patch-src_netbase.cpp
+++ b/bitcoin/patches/patch-src_netbase.cpp
@@ -4,18 +4,14 @@ It is unclear why this patch exists.  NetBSD 6 and 7 have AI_ADDRCONFIG,
 although NetBSD 5 does not.  Arguably upstream should have an autoconf
 test instead.  This is not known to be reported upstream.
 
---- src/netbase.cpp.orig	2015-07-10 17:23:55.000000000 +0000
+--- src/netbase.cpp.orig	2017-04-20 09:28:25.000000000 +0000
 +++ src/netbase.cpp
-@@ -126,8 +126,12 @@ bool static LookupIntern(const char *psz
- #ifdef WIN32
+@@ -95,7 +95,7 @@ bool static LookupIntern(const char *psz
+     aiHint.ai_socktype = SOCK_STREAM;
+     aiHint.ai_protocol = IPPROTO_TCP;
+     aiHint.ai_family = AF_UNSPEC;
+-#ifdef WIN32
++#ifndef AI_ADDRCONFIG
      aiHint.ai_flags = fAllowLookup ? 0 : AI_NUMERICHOST;
  #else
-+#if defined(__NetBSD__)
-+    aiHint.ai_flags = fAllowLookup ? 0 : AI_NUMERICHOST;
-+#else
      aiHint.ai_flags = fAllowLookup ? AI_ADDRCONFIG : AI_NUMERICHOST;
- #endif
-+#endif
- 
-     struct addrinfo *aiRes = NULL;
- #ifdef HAVE_GETADDRINFO_A
diff --git a/bitcoin/patches/patch-src_secp256k1_configure.ac b/bitcoin/patches/patch-src_secp256k1_configure.ac
new file mode 100644
index 0000000000..ca8cb825b6
--- /dev/null
+++ b/bitcoin/patches/patch-src_secp256k1_configure.ac
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Portability fix for the configure script generated.
+
+--- src/secp256k1/configure.ac.orig	2017-04-20 09:28:25.000000000 +0000
++++ src/secp256k1/configure.ac
+@@ -466,7 +466,7 @@ AM_CONDITIONAL([USE_BENCHMARK], [test x"
+ AM_CONDITIONAL([USE_ECMULT_STATIC_PRECOMPUTATION], [test x"$set_precomp" = x"yes"])
+ AM_CONDITIONAL([ENABLE_MODULE_ECDH], [test x"$enable_module_ecdh" = x"yes"])
+ AM_CONDITIONAL([ENABLE_MODULE_RECOVERY], [test x"$enable_module_recovery" = x"yes"])
+-AM_CONDITIONAL([USE_JNI], [test x"$use_jni" == x"yes"])
++AM_CONDITIONAL([USE_JNI], [test x"$use_jni" = x"yes"])
+ AM_CONDITIONAL([USE_EXTERNAL_ASM], [test x"$use_external_asm" = x"yes"])
+ AM_CONDITIONAL([USE_ASM_ARM], [test x"$set_asm" = x"arm"])
+ 


Home | Main Index | Thread Index | Old Index