Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Aug 2019 06:53:31 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r510239 - head/net-p2p/xmrig
Message-ID:  <201908300653.x7U6rVDO001646@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Fri Aug 30 06:53:30 2019
New Revision: 510239
URL: https://svnweb.freebsd.org/changeset/ports/510239

Log:
  Update to 3.1.0

Modified:
  head/net-p2p/xmrig/Makefile
  head/net-p2p/xmrig/distinfo

Modified: head/net-p2p/xmrig/Makefile
==============================================================================
--- head/net-p2p/xmrig/Makefile	Fri Aug 30 06:33:16 2019	(r510238)
+++ head/net-p2p/xmrig/Makefile	Fri Aug 30 06:53:30 2019	(r510239)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	xmrig
-PORTVERSION=	2.14.4
+PORTVERSION=	3.1.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	net-p2p
 
@@ -25,17 +25,24 @@ SUB_FILES=	pkg-message
 SUB_LIST=	PORTNAME=${PORTNAME} USERS=${USERS}
 USERS=		xmrig
 
-OPTIONS_DEFINE=	STATIC MICROHTTPD
+OPTIONS_DEFINE=	STATIC MICROHTTPD HWLOC
+HWLOC_DESC=	Portable hardware locality
 MICROHTTPD_DESC=Build with libmicrohttpd support
-OPTIONS_DEFAULT=MICROHTTPD
+OPTIONS_DEFAULT=MICROHTTPD HWLOC
 
-STATIC_PREVENTS=MICROHTTPD
-STATIC_PREVENTS_MSG=	libmicrohttpd support cannot be built static
+STATIC_PREVENTS=HWLOC MICROHTTPD
+STATIC_PREVENTS_MSG=	hwloc and libmicrohttpd support cannot be built static
 
+HWLOC_LIB_DEPENDS+=	libhwloc.so:devel/hwloc
+
 MICROHTTPD_LIB_DEPENDS+=	libmicrohttpd.so:www/libmicrohttpd \
 				libuv.so:devel/libuv
 
 STATIC_BUILD_DEPENDS+=	${LOCALBASE}/lib/libuv.a:devel/libuv
+
+post-patch-HWLOC-off:
+	@${REINPLACE_CMD} -e 's|\(.*WITH_HWLOC.*\)\(ON\)|\1OFF|' \
+		${WRKSRC}/CMakeLists.txt
 
 post-patch-MICROHTTPD-off:
 	@${REINPLACE_CMD} -e 's|\(.*WITH_HTTPD.*\)\(ON\)|\1OFF|' \

Modified: head/net-p2p/xmrig/distinfo
==============================================================================
--- head/net-p2p/xmrig/distinfo	Fri Aug 30 06:33:16 2019	(r510238)
+++ head/net-p2p/xmrig/distinfo	Fri Aug 30 06:53:30 2019	(r510239)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1559298268
-SHA256 (xmrig-xmrig-v2.14.4_GH0.tar.gz) = 7e827ece5df61ab1e23dda40940ad2f7946dc006fced86836aed3a26dcdc185e
-SIZE (xmrig-xmrig-v2.14.4_GH0.tar.gz) = 367583
+TIMESTAMP = 1567142488
+SHA256 (xmrig-xmrig-v3.1.0_GH0.tar.gz) = 923e5fdc3a74dd929590016d0cfe60a98a99d8485f21921d86510440abc59be9
+SIZE (xmrig-xmrig-v3.1.0_GH0.tar.gz) = 839149



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