Bug 179091 - [MAINTAINER] net-p2p/bitcoin: update to 0.8.2
[MAINTAINER] net-p2p/bitcoin: update to 0.8.2
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: Steve Wills
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-30 01:00 UTC by robbak
Modified: 2013-05-30 12:30 UTC (History)
0 users

See Also:


Attachments
bitcoin-0.8.2.patch (4.54 KB, patch)
2013-05-30 01:00 UTC, robbak
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description robbak 2013-05-30 01:00:00 UTC
- Update to 0.8.2
- Add patches to allow build.

Generated with FreeBSD Port Tools 0.99_7 (mode: update, diff: ports)
Comment 1 Edwin Groothuis freebsd_committer 2013-05-30 01:00:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->swills

swills@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter freebsd_committer 2013-05-30 12:29:07 UTC
Author: swills
Date: Thu May 30 11:28:53 2013
New Revision: 319413
URL: http://svnweb.freebsd.org/changeset/ports/319413

Log:
  - Update to 0.8.2
  
  PR:		ports/179091
  Submitted by:	Robert Backahus <robbak@robbak.com>

Added:
  head/net-p2p/bitcoin/files/patch-bitcoin-qt_pro-Add_boost-crypto   (contents, props changed)
  head/net-p2p/bitcoin/files/patch-init_cpp   (contents, props changed)
  head/net-p2p/bitcoin/files/patch-makefile_unix-Add_boost-crypto   (contents, props changed)
Modified:
  head/net-p2p/bitcoin/Makefile
  head/net-p2p/bitcoin/distinfo

Modified: head/net-p2p/bitcoin/Makefile
==============================================================================
--- head/net-p2p/bitcoin/Makefile	Thu May 30 11:26:41 2013	(r319412)
+++ head/net-p2p/bitcoin/Makefile	Thu May 30 11:28:53 2013	(r319413)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	bitcoin
-PORTVERSION=	0.8.1
-PORTREVISION=	1
+PORTVERSION=	0.8.2
 CATEGORIES=	net-p2p finance
 
 MAINTAINER=	robbak@robbak.com
@@ -21,13 +20,14 @@ QRCODES_DESC=	Build with QR code display
 USE_GITHUB=	yes
 GH_ACCOUNT=	bitcoin
 GH_PROJECT=	bitcoin
-GH_COMMIT=	38f8657
+GH_COMMIT=	09e437b
 GH_TAGNAME=	v${PORTVERSION}
 
 USE_GMAKE=	yes
 USE_OPENSSL=	yes
 USE_BDB=	yes
 WANT_BDB_VER=	48
+MAKE_JOBS_SAFE=	yes
 
 CXXFLAGS+=	-I${LOCALBASE}/include -I${BDB_INCLUDE_DIR}
 CXXFLAGS+=	-L${LOCALBASE}/lib -L${BDB_LIB_DIR}
@@ -40,7 +40,7 @@ USE_QT4=	corelib gui qmake_build linguis
 BINARY=		bitcoin-qt
 .else
 BINARY=		bitcoind
-ALL_TARGET=	${BINARY}
+ALL_TARGET=	${BINARY} test
 MAKE_ARGS+=	-C ${WRKSRC}/src
 .endif
 

Modified: head/net-p2p/bitcoin/distinfo
==============================================================================
--- head/net-p2p/bitcoin/distinfo	Thu May 30 11:26:41 2013	(r319412)
+++ head/net-p2p/bitcoin/distinfo	Thu May 30 11:28:53 2013	(r319413)
@@ -1,2 +1,2 @@
-SHA256 (bitcoin-0.8.1.tar.gz) = cd24be785f04872e8f74968a018b1d78afc0fd7689c3639cdaf340de000997b1
-SIZE (bitcoin-0.8.1.tar.gz) = 1965003
+SHA256 (bitcoin-0.8.2.tar.gz) = 708ca0fae80e75a670277aa484727750462130e15bfc422ee2512dd26a60ac2f
+SIZE (bitcoin-0.8.2.tar.gz) = 3181548

Added: head/net-p2p/bitcoin/files/patch-bitcoin-qt_pro-Add_boost-crypto
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/bitcoin/files/patch-bitcoin-qt_pro-Add_boost-crypto	Thu May 30 11:28:53 2013	(r319413)
@@ -0,0 +1,11 @@
+diff -ur ../bitcoin-bitcoin-18c9239.orig/bitcoin-qt.pro ./bitcoin-qt.pro
+--- ../bitcoin-bitcoin-18c9239.orig/bitcoin-qt.pro	2013-05-24 22:50:15.000000000 +1000
++++ ./bitcoin-qt.pro	2013-05-24 22:51:35.000000000 +1000
+@@ -402,7 +402,7 @@
+ LIBS += -lssl -lcrypto -ldb_cxx$$BDB_LIB_SUFFIX
+ # -lgdi32 has to happen after -lcrypto (see  #681)
+ win32:LIBS += -lws2_32 -lshlwapi -lmswsock -lole32 -loleaut32 -luuid -lgdi32
+-LIBS += -lboost_system$$BOOST_LIB_SUFFIX -lboost_filesystem$$BOOST_LIB_SUFFIX -lboost_program_options$$BOOST_LIB_SUFFIX -lboost_thread$$BOOST_THREAD_LIB_SUFFIX
++LIBS += -lboost_system$$BOOST_LIB_SUFFIX -lboost_filesystem$$BOOST_LIB_SUFFIX -lboost_program_options$$BOOST_LIB_SUFFIX -lboost_thread$$BOOST_THREAD_LIB_SUFFIX -lboost_chrono$$BOOST_LIB_SUFFIX
+ win32:LIBS += -lboost_chrono$$BOOST_LIB_SUFFIX
+ macx:LIBS += -lboost_chrono$$BOOST_LIB_SUFFIX

Added: head/net-p2p/bitcoin/files/patch-init_cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/bitcoin/files/patch-init_cpp	Thu May 30 11:28:53 2013	(r319413)
@@ -0,0 +1,12 @@
+diff -ur ../bitcoin-bitcoin-18c9239.orig/src/init.cpp ./src/init.cpp
+--- ../bitcoin-bitcoin-18c9239.orig/src/init.cpp	2013-05-24 22:50:15.000000000 +1000
++++ ./src/init.cpp	2013-05-24 22:53:20.000000000 +1000
+@@ -530,7 +530,7 @@
+     // Make sure enough file descriptors are available
+     int nBind = std::max((int)mapArgs.count("-bind"), 1);
+     nMaxConnections = GetArg("-maxconnections", 125);
+-    nMaxConnections = std::max(std::min(nMaxConnections, FD_SETSIZE - nBind - MIN_CORE_FILEDESCRIPTORS), 0);
++    nMaxConnections = std::max(std::min(nMaxConnections, (int)(FD_SETSIZE - nBind - MIN_CORE_FILEDESCRIPTORS)), 0);
+     int nFD = RaiseFileDescriptorLimit(nMaxConnections + MIN_CORE_FILEDESCRIPTORS);
+     if (nFD < MIN_CORE_FILEDESCRIPTORS)
+         return InitError(_("Not enough file descriptors available."));

Added: head/net-p2p/bitcoin/files/patch-makefile_unix-Add_boost-crypto
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/bitcoin/files/patch-makefile_unix-Add_boost-crypto	Thu May 30 11:28:53 2013	(r319413)
@@ -0,0 +1,11 @@
+diff -ur ../bitcoin-bitcoin-18c9239.orig/src/makefile.unix ./src/makefile.unix
+--- ../bitcoin-bitcoin-18c9239.orig/src/makefile.unix	2013-05-24 22:50:15.000000000 +1000
++++ ./src/makefile.unix	2013-05-24 22:52:34.000000000 +1000
+@@ -38,6 +38,7 @@
+    -l boost_filesystem$(BOOST_LIB_SUFFIX) \
+    -l boost_program_options$(BOOST_LIB_SUFFIX) \
+    -l boost_thread$(BOOST_LIB_SUFFIX) \
++   -l boost_chrono$(BOOST_LIB_SUFFIX) \
+    -l db_cxx$(BDB_LIB_SUFFIX) \
+    -l ssl \
+    -l crypto
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Steve Wills freebsd_committer 2013-05-30 12:29:10 UTC
State Changed
From-To: open->closed

Committed. Thanks!