Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2019 16:09:45 +0000 (UTC)
From:      Vasil Dimov <vd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r517378 - in head/net-p2p/monero-cli: . files
Message-ID:  <201911131609.xADG9jvk064725@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vd
Date: Wed Nov 13 16:09:45 2019
New Revision: 517378
URL: https://svnweb.freebsd.org/changeset/ports/517378

Log:
  net-p2p/monero-cli: Upgrade from 0.14.1.2 to 0.15.0.0

Added:
  head/net-p2p/monero-cli/files/patch-src_common_stack__trace.cpp   (contents, props changed)
Deleted:
  head/net-p2p/monero-cli/files/patch-src_cryptonote__basic_miner.cpp
Modified:
  head/net-p2p/monero-cli/Makefile
  head/net-p2p/monero-cli/distinfo

Modified: head/net-p2p/monero-cli/Makefile
==============================================================================
--- head/net-p2p/monero-cli/Makefile	Wed Nov 13 14:38:10 2019	(r517377)
+++ head/net-p2p/monero-cli/Makefile	Wed Nov 13 16:09:45 2019	(r517378)
@@ -3,9 +3,8 @@
 
 PORTNAME=	monero-cli
 # To build from an arbitrary git commit comment PORTVERSION and PORTREVISION (if present)
-PORTVERSION=	0.14.1.2
+PORTVERSION=	0.15.0.0
 DISTVERSIONPREFIX=	v
-PORTREVISION=	2
 # and uncomment the following two lines (use for example -git-HEAD or -git-b6420e1)
 #PORTVERSION=	0
 #PKGNAMESUFFIX=	-git-HEAD
@@ -16,7 +15,7 @@ COMMENT=	Private, secure, untraceable, decentralised d
 
 LICENSE=	BSD3CLAUSE
 
-BROKEN_i386=		fails to compile: register r15d is only available in 64-bit mode
+BROKEN_i386=	fails to compile: register r15d is only available in 64-bit mode
 
 LIB_DEPENDS=	\
 		libboost_chrono.so:devel/boost-libs \
@@ -38,12 +37,15 @@ BUILD_DEPENDS=	${LOCALBASE}/include/rapidjson/document
 
 USES=		cmake compiler:c++11-lib pkgconfig readline ssl
 USE_GITHUB=	yes
-
-GH_ACCOUNT=	monero-project
-GH_PROJECT=	monero
 .if defined(PKGNAMESUFFIX)
-GH_TAGNAME=	${PKGNAMESUFFIX:C/-git-//}
+GIT_COMMIT=	${PKGNAMESUFFIX:C/-git-//}
+.else
+GIT_COMMIT=	${DISTVERSIONPREFIX}${PORTVERSION}
 .endif
+GH_TUPLE=	monero-project:monero:${GIT_COMMIT} \
+		tevador:RandomX:7567cef4c6192fb5356bbdd7:ext1/external/randomx \
+		trezor:trezor-common:31a0073c62738:ext2/external/trezor-common
+
 CFLAGS+=	-D_WANT_SEMUN
 
 OPTIONS_DEFINE=		DOXYGEN
@@ -98,6 +100,7 @@ PLIST_FILES=	\
 		bin/monero-blockchain-prune-known-spent-data \
 		bin/monero-blockchain-stats \
 		bin/monero-blockchain-usage \
+		bin/monero-gen-ssl-cert \
 		bin/monero-gen-trusted-multisig \
 		bin/monero-wallet-cli \
 		bin/monero-wallet-rpc \

Modified: head/net-p2p/monero-cli/distinfo
==============================================================================
--- head/net-p2p/monero-cli/distinfo	Wed Nov 13 14:38:10 2019	(r517377)
+++ head/net-p2p/monero-cli/distinfo	Wed Nov 13 16:09:45 2019	(r517378)
@@ -1,3 +1,7 @@
-TIMESTAMP = 1563789399
-SHA256 (monero-project-monero-v0.14.1.2_GH0.tar.gz) = 4b167b4b44f85bc8ff0a557257f458f50b7fa99ab8b80f25d608c777068fe26f
-SIZE (monero-project-monero-v0.14.1.2_GH0.tar.gz) = 9052395
+TIMESTAMP = 1573658988
+SHA256 (monero-project-monero-v0.15.0.0_GH0.tar.gz) = 310c578056df4a26819880b6bbcdd10b39f14da68783af84b2d6a7951c6ed2c5
+SIZE (monero-project-monero-v0.15.0.0_GH0.tar.gz) = 10383817
+SHA256 (tevador-RandomX-7567cef4c6192fb5356bbdd7_GH0.tar.gz) = 5f0a363aa693b85bf7f99968d56ffd4ffca32bb919f9d8b713a9a3ad50a319b7
+SIZE (tevador-RandomX-7567cef4c6192fb5356bbdd7_GH0.tar.gz) = 1708380
+SHA256 (trezor-trezor-common-31a0073c62738_GH0.tar.gz) = bccc20a8aa11655ed4d19a52e15a9afb6349c9d286de8a120b4f56162286069f
+SIZE (trezor-trezor-common-31a0073c62738_GH0.tar.gz) = 1329164

Added: head/net-p2p/monero-cli/files/patch-src_common_stack__trace.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/monero-cli/files/patch-src_common_stack__trace.cpp	Wed Nov 13 16:09:45 2019	(r517378)
@@ -0,0 +1,18 @@
+--- src/common/stack_trace.cpp.orig	2019-11-04 14:13:39 UTC
++++ src/common/stack_trace.cpp
+@@ -26,13 +26,14 @@
+ // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
+ // THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ 
+-#if !defined __GNUC__ || defined __MINGW32__ || defined __MINGW64__ || defined __ANDROID__
++#if !defined __GNUC__ || defined __MINGW32__ || defined __MINGW64__ || defined __ANDROID__ || defined __FreeBSD__
+ #define USE_UNWIND
+ #else
+ #define ELPP_FEATURE_CRASH_LOG 1
+ #endif
+ #include "easylogging++/easylogging++.h"
+ 
++#include <iomanip>
+ #include <stdexcept>
+ #ifdef USE_UNWIND
+ #define UNW_LOCAL_ONLY



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911131609.xADG9jvk064725>