From robbak@robbak.com  Wed May 29 23:58:31 2013
Return-Path: <robbak@robbak.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id 9AF4BF09
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 29 May 2013 23:58:31 +0000 (UTC)
	(envelope-from robbak@robbak.com)
Received: from spam.symbionetworks.com (smtp02.symbionetworks.com [125.213.165.10])
	by mx1.freebsd.org (Postfix) with ESMTP id 49962FB0
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 29 May 2013 23:58:30 +0000 (UTC)
Received: from spam.symbionetworks.com (localhost.localdomain [127.0.0.1])
	by localhost (Email Security Appliance) with SMTP id 2830C18BC3A8_1A68FC1B
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 29 May 2013 23:31:13 +0000 (GMT)
Received: from boffin.lan (unknown [115.187.242.125])
	by spam.symbionetworks.com (Sophos Email Appliance) with ESMTP id F087B18BC3B8_1A68FBDF
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 29 May 2013 23:31:09 +0000 (GMT)
Received: (from robbak@localhost)
	by boffin.lan (8.14.6/8.14.6/Submit) id r4TNrOhe080058;
	Thu, 30 May 2013 09:53:24 +1000 (EST)
	(envelope-from robbak)
Message-Id: <201305292353.r4TNrOhe080058@boffin.lan>
Date: Thu, 30 May 2013 09:53:24 +1000 (EST)
From: Robert Backahus <robbak@robbak.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] net-p2p/bitcoin: update to 0.8.2
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         179091
>Category:       ports
>Synopsis:       [MAINTAINER] net-p2p/bitcoin: update to 0.8.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    swills
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 30 00:00:00 UTC 2013
>Closed-Date:    Thu May 30 11:29:10 UTC 2013
>Last-Modified:  Thu May 30 11:30:00 UTC 2013
>Originator:     Robert Backahus
>Release:        FreeBSD 9.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD boffin 9.1-STABLE FreeBSD 9.1-STABLE #4 r246398: Thu Feb  7 02:57:27
>Description:
- Update to 0.8.2
- Add patches to allow build.

Generated with FreeBSD Port Tools 0.99_7 (mode: update, diff: ports)
>How-To-Repeat:
>Fix:

--- bitcoin-0.8.2.patch begins here ---
diff -ruN /usr/ports/net-p2p/bitcoin/Makefile ./Makefile
--- /usr/ports/net-p2p/bitcoin/Makefile	2013-04-24 12:42:20.000000000 +1000
+++ ./Makefile	2013-05-30 09:48:03.000000000 +1000
@@ -1,9 +1,8 @@
 # Created by: Shaun Amott <shaun@FreeBSD.org>
-# $FreeBSD: net-p2p/bitcoin/Makefile 316400 2013-04-24 02:42:20Z swills $
+# $FreeBSD: head/net-p2p/bitcoin/Makefile 312668 2013-02-20 20:27:32Z rm $
 
 PORTNAME=	bitcoin
-PORTVERSION=	0.8.1
-PORTREVISION=	1
+PORTVERSION=	0.8.2
 CATEGORIES=	net-p2p finance
 
 MAINTAINER=	robbak@robbak.com
@@ -21,13 +20,14 @@
 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 @@
 BINARY=		bitcoin-qt
 .else
 BINARY=		bitcoind
-ALL_TARGET=	${BINARY}
+ALL_TARGET=	${BINARY} test
 MAKE_ARGS+=	-C ${WRKSRC}/src
 .endif
 
diff -ruN /usr/ports/net-p2p/bitcoin/distinfo ./distinfo
--- /usr/ports/net-p2p/bitcoin/distinfo	2013-03-24 22:25:14.000000000 +1000
+++ ./distinfo	2013-05-30 08:50:36.000000000 +1000
@@ -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
diff -ruN /usr/ports/net-p2p/bitcoin/files/patch-bitcoin-qt_pro-Add_boost-crypto ./files/patch-bitcoin-qt_pro-Add_boost-crypto
--- /usr/ports/net-p2p/bitcoin/files/patch-bitcoin-qt_pro-Add_boost-crypto	1970-01-01 10:00:00.000000000 +1000
+++ ./files/patch-bitcoin-qt_pro-Add_boost-crypto	2013-05-27 18:29:01.000000000 +1000
@@ -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
diff -ruN /usr/ports/net-p2p/bitcoin/files/patch-init_cpp ./files/patch-init_cpp
--- /usr/ports/net-p2p/bitcoin/files/patch-init_cpp	1970-01-01 10:00:00.000000000 +1000
+++ ./files/patch-init_cpp	2013-05-27 18:29:01.000000000 +1000
@@ -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."));
diff -ruN /usr/ports/net-p2p/bitcoin/files/patch-makefile_unix-Add_boost-crypto ./files/patch-makefile_unix-Add_boost-crypto
--- /usr/ports/net-p2p/bitcoin/files/patch-makefile_unix-Add_boost-crypto	1970-01-01 10:00:00.000000000 +1000
+++ ./files/patch-makefile_unix-Add_boost-crypto	2013-05-27 18:29:01.000000000 +1000
@@ -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
--- bitcoin-0.8.2.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->swills 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu May 30 00:00:14 UTC 2013 
Responsible-Changed-Why:  
swills@ wants this submitter's PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=179091 
State-Changed-From-To: open->closed 
State-Changed-By: swills 
State-Changed-When: Thu May 30 11:29:10 UTC 2013 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=179091 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/179091: commit references a PR
Date: Thu, 30 May 2013 11:29:07 +0000 (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"
 
>Unformatted:
