Date: Thu, 18 Oct 2018 08:00:18 +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: r482332 - in head/net-p2p/xmrig: . files Message-ID: <201810180800.w9I80IVQ013456@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Thu Oct 18 08:00:17 2018 New Revision: 482332 URL: https://svnweb.freebsd.org/changeset/ports/482332 Log: - Update to 2.8.1 - New version requires ssl USES flag - Pacify portlint Deleted: head/net-p2p/xmrig/files/extra-patch-CMakeLists.txt Modified: head/net-p2p/xmrig/Makefile head/net-p2p/xmrig/distinfo Modified: head/net-p2p/xmrig/Makefile ============================================================================== --- head/net-p2p/xmrig/Makefile Thu Oct 18 07:44:36 2018 (r482331) +++ head/net-p2p/xmrig/Makefile Thu Oct 18 08:00:17 2018 (r482332) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= xmrig -PORTVERSION= 2.6.4 +PORTVERSION= 2.8.1 DISTVERSIONPREFIX= v CATEGORIES= net-p2p @@ -14,6 +14,14 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_powerpc64= fails to configure: Target "xmrig" requires the language dialect "CXX11", but CMake does not know the compile flags to use to enable it. +USES= cmake:outsource ssl +USE_GITHUB= yes +USE_RC_SUBR= ${PORTNAME} + +SUB_FILES= pkg-message +SUB_LIST= PORTNAME=${PORTNAME} USERS=${USERS} +USERS= xmrig + OPTIONS_DEFINE= STATIC MICROHTTPD MICROHTTPD_DESC=Build with libmicrohttpd support OPTIONS_DEFAULT=MICROHTTPD @@ -21,22 +29,21 @@ OPTIONS_DEFAULT=MICROHTTPD STATIC_PREVENTS=MICROHTTPD STATIC_PREVENTS_MSG= libmicrohttpd support cannot be built static -USES= cmake:outsource -USE_GITHUB= yes - -USE_RC_SUBR= ${PORTNAME} -SUB_FILES= pkg-message -SUB_LIST= PORTNAME=${PORTNAME} USERS=${USERS} -USERS= xmrig - MICROHTTPD_LIB_DEPENDS+= libmicrohttpd.so:www/libmicrohttpd \ libuv.so:devel/libuv STATIC_BUILD_DEPENDS+= ${LOCALBASE}/lib/libuv.a:devel/libuv -STATIC_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-CMakeLists.txt +post-patch: + @${REINPLACE_CMD} -e 's|\(set.*EXTRA_LIBS.*\) dl|\1|' \ + ${WRKSRC}/CMakeLists.txt + post-patch-MICROHTTPD-off: @${REINPLACE_CMD} -e 's|\(.*WITH_HTTPD.*\)\(ON\)|\1OFF|' \ + ${WRKSRC}/CMakeLists.txt + +post-patch-STATIC-on: + @${REINPLACE_CMD} -e 's|\(.*BUILD_STATIC.*\)\(OFF\)|\1ON|' \ ${WRKSRC}/CMakeLists.txt do-install: Modified: head/net-p2p/xmrig/distinfo ============================================================================== --- head/net-p2p/xmrig/distinfo Thu Oct 18 07:44:36 2018 (r482331) +++ head/net-p2p/xmrig/distinfo Thu Oct 18 08:00:17 2018 (r482332) @@ -1,3 +1,3 @@ -TIMESTAMP = 1531381494 -SHA256 (xmrig-xmrig-v2.6.4_GH0.tar.gz) = 94640ba6d3971a6ba91113ce24a5afec95189cf007f8146011f9a3b367011a69 -SIZE (xmrig-xmrig-v2.6.4_GH0.tar.gz) = 290206 +TIMESTAMP = 1539848128 +SHA256 (xmrig-xmrig-v2.8.1_GH0.tar.gz) = b5822796e108d9180f9ffbc116ec163af15ee07e38a1b8a5ae4c362222e37c06 +SIZE (xmrig-xmrig-v2.8.1_GH0.tar.gz) = 305269
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810180800.w9I80IVQ013456>