From nobody Tue May 24 12:38:41 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 97A431B50D2B; Tue, 24 May 2022 12:38:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L6tzP3lvqz3vCT; Tue, 24 May 2022 12:38:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653395921; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/yVTbD2CGXgBVvbpfrbbiAcREcQFdPx7qh4Z1Ktngpg=; b=VXmuHOrRdDYg336p5x4J//WI0Rtz0PWsNGlLF/A4xvqIZLp2HX5InS3rl84DcdF7oBhcC3 pQwMheOYikKdYqHC0kGhUvh04q642ORC/driXHPvIgvWdpq6DzsUDv3opA7RjbSeNT1s3N Juc+vD/XEcz55lICYQ2wIC6xPeRaOsq/gQST8/hxpZTd1x0U/Zc3YXCoqItHXnrqwEK/iF qPWt3c6/iq8L4pGqVskBsVghng0fiIC+j4+siQut7SmghkVXeAFUtxdg8z7gzywWxWAR3A PExglFrnKVmL3txRzg6gwVB7LE+W5Dl+l4RdbcXtMDYStMKBfrfPhJ/vCyKL5Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 628C424672; Tue, 24 May 2022 12:38:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24OCcfVX057743; Tue, 24 May 2022 12:38:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24OCcf6x057742; Tue, 24 May 2022 12:38:41 GMT (envelope-from git) Date: Tue, 24 May 2022 12:38:41 GMT Message-Id: <202205241238.24OCcf6x057742@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Gleb Popov Subject: git: 0f607032e9e5 - main - net-p2p/litecoin: update to 0.21.2 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: arrowd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0f607032e9e535ab288eab5bfdb350df4ab521db Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653395921; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/yVTbD2CGXgBVvbpfrbbiAcREcQFdPx7qh4Z1Ktngpg=; b=tXcb95PSPPFDHVmEPsX//BMuyQeA+//uTs32W24C8P6awRzg1lN9Vo8oTkYYotI64P2QPh 0xCuI0JJb9Ln7KxzaQuil/LfdesNN5ZsZDe07FESoqO+hm2jHbf/MH1OlwRdIQ+lXBLrpO blseWHpBzHzoGdVZ1krxO2CX98ZDVEWhjwD3dAh1xwxhMgOS/GHWMb/GQUBsM7TnZpbFtz F+0kv3XApRDRmwrf0Y4ced1eVUcfCTLnSPFq1ACmZ7Y//0oK//Q5gGP4udUrfC8LLZXM3G IWWWuSlCW5IP8E7c05sGSd/6diASklkcgSxdrK4DbkUrxcfjPcgjN9VVqMHk8A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653395921; a=rsa-sha256; cv=none; b=YQi77iWTtk9sQrq/RLVbcZf9xQhbkgMAwpy+d5f1NWuiPuNadwW+73JugqwALbcBFMj7dn +gEpcx20NliGb8XTWXy4Gb66n1a3gQKLKgKzcPcpWFWI9BEPu75KEj/cU+IA3TRdagBQkQ FMwnmL6oCOkExikyl323rQw/XPo/3N2PA0NWfpc2yC0Wd8PlSDC10C78vl4+CHFV6B0RO1 wsnO9344DmvBYwG96YN2fisE0WNTtianfxZfxO71TdoqQMc/8sRoGy3BZX4FhCPT1gWz67 /9KlacxBIM2iKA71rYCa+oVwOPkFRg+hkeSzQtxaLvLDRK6EOQHvB2YZzO9kHg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=0f607032e9e535ab288eab5bfdb350df4ab521db commit 0f607032e9e535ab288eab5bfdb350df4ab521db Author: Christopher Hall AuthorDate: 2022-05-20 16:48:19 +0000 Commit: Gleb Popov CommitDate: 2022-05-24 12:38:26 +0000 net-p2p/litecoin: update to 0.21.2 Summary: Update litecoin and associated ports to 0.21.2 Reviewed by: diizzy, arrowd Differential Revision: https://reviews.freebsd.org/D35210 --- net-p2p/litecoin-daemon/Makefile | 2 -- net-p2p/litecoin-utils/Makefile | 7 ++++--- net-p2p/litecoin/Makefile | 15 ++++++--------- net-p2p/litecoin/distinfo | 6 +++--- .../patch-src_libmw_deps_ghc_include_ghc_filesystem.hpp | 15 +++++++++++++++ 5 files changed, 28 insertions(+), 17 deletions(-) diff --git a/net-p2p/litecoin-daemon/Makefile b/net-p2p/litecoin-daemon/Makefile index bbb5fe81aeec..5fccc38ad8e0 100644 --- a/net-p2p/litecoin-daemon/Makefile +++ b/net-p2p/litecoin-daemon/Makefile @@ -7,8 +7,6 @@ COMMENT= Virtual Peer-to-Peer Currency (Daemon) SLAVE_PORT= yes OPTIONS_DEFINE= DEBUG HARDENING TESTS UPNP ZMQ -# WALLET_BDBMODERN is a choice for WALLET, introduced via OPTIONS_RADIO=WALLET -# from ${MASTERDIR}/Makefile OPTIONS_DEFAULT= HARDENING UPNP WALLET_BDBMODERN ZMQ USES+= cpe diff --git a/net-p2p/litecoin-utils/Makefile b/net-p2p/litecoin-utils/Makefile index f06abba68ba8..270eb8fcfb37 100644 --- a/net-p2p/litecoin-utils/Makefile +++ b/net-p2p/litecoin-utils/Makefile @@ -5,9 +5,8 @@ PKGNAMESUFFIX= -utils COMMENT= Virtual Peer-to-Peer Currency (CLI and Utilities) SLAVE_PORT= yes -OPTIONS_DEFINE= DEBUG HARDENING TESTS +OPTIONS_DEFINE= DEBUG HARDENING TESTS ZMQ OPTIONS_RADIO= -OPTIONS_DEFAULT= HARDENING TESTS PKGHELP= ${NONEXISTENT} @@ -20,6 +19,8 @@ CONFIGURE_ARGS= --without-daemon \ --disable-wallet PLIST_FILES= bin/litecoin-cli bin/litecoin-tx \ - man/man1/litecoin-cli.1.gz man/man1/litecoin-tx.1.gz + man/man1/litecoin-cli.1.gz man/man1/litecoin-tx.1.gz \ + bin/litecoin-wallet \ + man/man1/litecoin-wallet.1.gz .include "${MASTERDIR}/Makefile" diff --git a/net-p2p/litecoin/Makefile b/net-p2p/litecoin/Makefile index 32e861fe2c5c..38e11b5c259f 100644 --- a/net-p2p/litecoin/Makefile +++ b/net-p2p/litecoin/Makefile @@ -1,7 +1,6 @@ PORTNAME= litecoin -PORTVERSION= 0.18.1 DISTVERSIONPREFIX= v -PORTREVISION= 6 +DISTVERSION= 0.21.2 CATEGORIES= net-p2p finance MAINTAINER= hsw@bitmark.com @@ -10,9 +9,10 @@ COMMENT?= Virtual Peer-to-Peer Currency Client (QT) LICENSE= MIT LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \ + libfmt.so:devel/libfmt \ libevent.so:devel/libevent -USES= autoreconf compiler:c++11-lib cpe gmake libtool pkgconfig qt:5 shebangfix ssl +USES= autoreconf compiler:c++11-lib cpe gmake libtool localbase pkgconfig qt:5 shebangfix ssl USE_GITHUB= yes GNU_CONFIGURE= yes @@ -39,7 +39,7 @@ OPTIONS_SUB= yes HARDENING_DESC= Attempt to harden binaries (PIE for ASLR, NX Stack) QRCODES_DESC= Display QR Codes TESTS_DESC= Build test binary and unit tests -WALLET_BDBMODERN_DESC= Wallet using modern BDB 5.x or 6.x +WALLET_BDBMODERN_DESC= Wallet using modern BDB 18.x ZMQ_DESC= Block and transaction broadcasting with ZeroMQ DBUS_CONFIGURE_WITH= dbus @@ -58,15 +58,12 @@ TESTS_PLIST_FILES+= bin/bench_litecoin UPNP_CONFIGURE_WITH= miniupnpc UPNP_LIB_DEPENDS= libminiupnpc.so:net/miniupnpc -UPNP_CPPFLAGS= -I${LOCALBASE}/include -UPNP_LIBS= -L${LOCALBASE}/lib QRCODES_CONFIGURE_WITH= qrencode QRCODES_LIB_DEPENDS= libqrencode.so:graphics/libqrencode ZMQ_CONFIGURE_ENABLE= zmq -ZMQ_BUILD_DEPENDS= libzmq4>0:net/libzmq4 -ZMQ_RUN_DEPENDS= libzmq4>0:net/libzmq4 +ZMQ_LIB_DEPENDS= libzmq.so:net/libzmq4 GH_ACCOUNT= litecoin-project @@ -87,7 +84,7 @@ PLIST_FILES?= bin/litecoin-qt man/man1/litecoin-qt.1.gz \ .if ${PORT_OPTIONS:MWALLET_BDBMODERN} CONFIGURE_ARGS+= --enable-wallet --with-incompatible-bdb -USES+= bdb:5+ +USES+= bdb:18 .else CONFIGURE_ARGS+= --disable-wallet .endif diff --git a/net-p2p/litecoin/distinfo b/net-p2p/litecoin/distinfo index f94c4afd554a..fbac1e8a5589 100644 --- a/net-p2p/litecoin/distinfo +++ b/net-p2p/litecoin/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1591956417 -SHA256 (litecoin-project-litecoin-v0.18.1_GH0.tar.gz) = 2d67cba11adc5890b9698ccddeb68dd3c2ff6af19bf3ed0f1c719348b914042f -SIZE (litecoin-project-litecoin-v0.18.1_GH0.tar.gz) = 5122629 +TIMESTAMP = 1652410387 +SHA256 (litecoin-project-litecoin-v0.21.2_GH0.tar.gz) = 255263d27e409628ddaf7165f8d8363cefbd683bde613c3e7623a27f9733ada2 +SIZE (litecoin-project-litecoin-v0.21.2_GH0.tar.gz) = 6512998 diff --git a/net-p2p/litecoin/files/patch-src_libmw_deps_ghc_include_ghc_filesystem.hpp b/net-p2p/litecoin/files/patch-src_libmw_deps_ghc_include_ghc_filesystem.hpp new file mode 100644 index 000000000000..89fcb9405a45 --- /dev/null +++ b/net-p2p/litecoin/files/patch-src_libmw_deps_ghc_include_ghc_filesystem.hpp @@ -0,0 +1,15 @@ +--- src/libmw/deps/ghc/include/ghc/filesystem.hpp.orig 2022-05-14 10:57:56.053289000 +0000 ++++ src/libmw/deps/ghc/include/ghc/filesystem.hpp 2022-05-14 10:58:38.778321000 +0000 +@@ -50,6 +50,12 @@ + + #if defined(__APPLE__) && defined(__MACH__) + #define GHC_OS_MACOS ++#elif defined(__FreeBSD__) ++// use FreeBSD int strerror_r() instead of GNU char *strerror_r() ++#define _POSIX_C_SOURCE 200112L ++#if defined(__clang__) && defined(_GNU_SOURCE) ++#undef _GNU_SOURCE ++#endif + #elif defined(__linux__) + #define GHC_OS_LINUX + #elif defined(_WIN64)