Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142376567
D35210.id106153.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
4 KB
Referenced Files
None
Subscribers
None
D35210.id106153.diff
View Options
Index: net-p2p/litecoin-daemon/Makefile
===================================================================
--- net-p2p/litecoin-daemon/Makefile
+++ net-p2p/litecoin-daemon/Makefile
@@ -6,8 +6,6 @@
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
Index: net-p2p/litecoin-utils/Makefile
===================================================================
--- net-p2p/litecoin-utils/Makefile
+++ net-p2p/litecoin-utils/Makefile
@@ -4,9 +4,8 @@
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}
@@ -19,6 +18,8 @@
--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"
Index: net-p2p/litecoin/Makefile
===================================================================
--- net-p2p/litecoin/Makefile
+++ net-p2p/litecoin/Makefile
@@ -1,7 +1,6 @@
PORTNAME= litecoin
-PORTVERSION= 0.18.1
DISTVERSIONPREFIX= v
-PORTREVISION= 5
+DISTVERSION= 0.21.2
CATEGORIES= net-p2p finance
MAINTAINER= hsw@bitmark.com
@@ -10,9 +9,10 @@
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 @@
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 @@
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 @@
.if ${PORT_OPTIONS:MWALLET_BDBMODERN}
CONFIGURE_ARGS+= --enable-wallet --with-incompatible-bdb
-USES+= bdb:5+
+USES+= bdb:18
.else
CONFIGURE_ARGS+= --disable-wallet
.endif
Index: net-p2p/litecoin/distinfo
===================================================================
--- net-p2p/litecoin/distinfo
+++ 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
Index: net-p2p/litecoin/files/patch-src_libmw_deps_ghc_include_ghc_filesystem.hpp
===================================================================
--- /dev/null
+++ 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)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 20, 7:29 AM (14 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27760657
Default Alt Text
D35210.id106153.diff (4 KB)
Attached To
Mode
D35210: net-p2p/litecoin: update to 0.21.2
Attached
Detach File
Event Timeline
Log In to Comment