Index: head/net-p2p/zetacoin/Makefile =================================================================== --- head/net-p2p/zetacoin/Makefile (revision 459312) +++ head/net-p2p/zetacoin/Makefile (revision 459313) @@ -1,127 +1,127 @@ # Created by: Daniel Morante # $FreeBSD$ PORTNAME= zetacoin PORTVERSION= 0.11.2.3 DISTVERSIONPREFIX= v -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= net-p2p finance MAINTAINER= daniel@morante.net COMMENT= Peer-to-Peer crypto currency with quick transactions LICENSE= MIT LIB_DEPENDS= libboost_date_time.so:devel/boost-libs USES+= autoreconf compiler:c++0x gmake libtool pkgconfig:build ssl CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} BROKEN_armv6= AtomicPointer not implemented BROKEN_powerpc64= fails to configure: No working boost sleep implementation found USE_GITHUB= yes OPTIONS_DEFINE= X11 UPNP WALLET CLI TEST OPTIONS_SUB= yes WALLET_DESC= Build wallet or P2P server node only QRCODES_DESC= Enable QR code display when building graphical interface CLI_DESC= Build command line RPC client OPTIONS_DEFAULT= X11 WALLET QRCODES OPTIONS_GROUP= X11 OPTIONS_GROUP_X11= QRCODES UPNP_CONFIGURE_WITH= miniupnpc UPNP_LIB_DEPENDS= libminiupnpc.so:net/miniupnpc UPNP_CPPFLAGS= -I${LOCALBASE}/include UPNP_LIBS= -L${LOCALBASE}/lib X11_CONFIGURE_WITH= gui X11_CONFIGURE_ON= --without-daemon X11_CONFIGURE_OFF= --with-daemon X11_BUILD_DEPENDS= protoc:devel/protobuf X11_LIB_DEPENDS= libprotobuf.so:devel/protobuf X11_USE= qt4=corelib,network,gui,qmake_build,linguisttools_build \ qt4=uic_build,moc_build,rcc_build,qtestlib_build X11_USES= desktop-file-utils WALLET_CONFIGURE_ENABLE=wallet WALLET_CXXFLAGS= -I${BDB_INCLUDE_DIR} WALLET_LIBS= -L${BDB_LIB_DIR} WALLET_USES= bdb:48 QRCODES_IMPLIES= X11 QRCODES_LIB_DEPENDS= libqrencode.so:graphics/libqrencode QRCODES_CONFIGURE_WITH= qrencode CLI_CONFIGURE_WITH= cli TEST_CONFIGURE_ENABLE= tests TEST_ALL_TARGET= check GNU_CONFIGURE= yes CONFIGURE_ENV= CRYPTO_CFLAGS="-I${OPENSSLINC}" CRYPTO_LIBS="-L${OPENSSLLIB} -lcrypto" \ SSL_CFLAGS="-I${OPENSSLINC}" SSL_LIBS="-L${OPENSSLLIB} -lssl" \ OBJC="${CC}" OBJCFLAGS="${CFLAGS}" OBJCXX="${CXX}" OBJCXXFLAGS="${CXXFLAGS}" QT_BINARY= ${PORTNAME}-qt CLI_BINARY= ${PORTNAME}-cli DAEMON= ${PORTNAME}d PLIST_SUB+= EXECUTABLE_QT=bin/${QT_BINARY} \ EXECUTABLE_CLI=bin/${CLI_BINARY} \ EXECUTABLE_DAEMON=bin/${DAEMON} \ PORTNAME=${PORTNAME} .include .if ${PORT_OPTIONS:MX11} QT_NONSTANDARD= yes .endif # tests will currently fail .if ${PORT_OPTIONS:MTEST} BROKEN= automated testing fails .endif .if ! ${PORT_OPTIONS:MX11} USE_RC_SUBR= ${PORTNAME} SUB_LIST+= PORTNAME=${PORTNAME} SUB_FILES= pkg-message USERS= ${PORTNAME} GROUPS= ${PORTNAME} .endif .include .if ${SSL_DEFAULT:Mlibressl*} # The configure script will output this message, so save the user the trouble IGNORE= detected LibreSSL: This is NOT supported, and may break consensus compatibility! .endif post-patch: ${MKDIR} ${WRKSRC}/src/build-aux do-install: @${DO_NADA} do-install-CLI-on: ${INSTALL_PROGRAM} -s ${WRKSRC}/src/${CLI_BINARY} ${STAGEDIR}${PREFIX}/bin/${CLI_BINARY} do-install-X11-on: ${INSTALL_PROGRAM} -s ${WRKSRC}/src/qt/${QT_BINARY} ${STAGEDIR}${PREFIX}/bin/${QT_BINARY} ${REINPLACE_CMD} -e 's,=/usr,=${PREFIX},' \ -e 's,bitcoin,zetacoin,g' \ -e 's,Bitcoin,Zetacoin,g' \ -e 's,128,,g' ${WRKSRC}/contrib/debian/bitcoin-qt.desktop ${INSTALL} ${WRKSRC}/contrib/debian/bitcoin-qt.desktop ${STAGEDIR}${PREFIX}/share/applications/${PORTNAME}-qt.desktop ${INSTALL} ${WRKSRC}/src/qt/res/icons/bitcoin.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png do-install-X11-off: ${INSTALL_PROGRAM} -s ${WRKSRC}/src/${DAEMON} ${STAGEDIR}${PREFIX}/bin/${DAEMON} ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.conf.sample ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample .include Index: head/net-p2p/zetacoin/files/patch-src_bitcoin-cli.cpp =================================================================== --- head/net-p2p/zetacoin/files/patch-src_bitcoin-cli.cpp (nonexistent) +++ head/net-p2p/zetacoin/files/patch-src_bitcoin-cli.cpp (revision 459313) @@ -0,0 +1,11 @@ +--- src/bitcoin-cli.cpp.orig 2018-01-13 04:55:52 UTC ++++ src/bitcoin-cli.cpp +@@ -105,7 +105,7 @@ Object CallRPC(const string& strMethod, + // Connect to localhost + bool fUseSSL = GetBoolArg("-rpcssl", false); + boost::asio::io_service io_service; +- boost::asio::ssl::context context(io_service, boost::asio::ssl::context::sslv23); ++ boost::asio::ssl::context context(boost::asio::ssl::context::sslv23); + context.set_options(boost::asio::ssl::context::no_sslv2 | boost::asio::ssl::context::no_sslv3); + boost::asio::ssl::stream sslStream(io_service, context); + SSLIOStreamDevice d(sslStream, fUseSSL); Property changes on: head/net-p2p/zetacoin/files/patch-src_bitcoin-cli.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net-p2p/zetacoin/files/patch-src_rpcserver.cpp =================================================================== --- head/net-p2p/zetacoin/files/patch-src_rpcserver.cpp (nonexistent) +++ head/net-p2p/zetacoin/files/patch-src_rpcserver.cpp (revision 459313) @@ -0,0 +1,62 @@ +--- src/rpcserver.cpp.orig 2018-01-10 23:24:05 UTC ++++ src/rpcserver.cpp +@@ -492,8 +492,8 @@ private: + void ServiceConnection(AcceptedConnection *conn); + + //! Forward declaration required for RPCListen +-template +-static void RPCAcceptHandler(boost::shared_ptr< basic_socket_acceptor > acceptor, ++template ++static void RPCAcceptHandler(boost::shared_ptr< basic_socket_acceptor > acceptor, + ssl::context& context, + bool fUseSSL, + boost::shared_ptr< AcceptedConnection > conn, +@@ -502,8 +502,8 @@ static void RPCAcceptHandler(boost::shar + /** + * Sets up I/O resources to accept and handle a new connection. + */ +-template +-static void RPCListen(boost::shared_ptr< basic_socket_acceptor > acceptor, ++template ++static void RPCListen(boost::shared_ptr< basic_socket_acceptor > acceptor, + ssl::context& context, + const bool fUseSSL) + { +@@ -513,7 +513,7 @@ static void RPCListen(boost::shared_ptr< + acceptor->async_accept( + conn->sslStream.lowest_layer(), + conn->peer, +- boost::bind(&RPCAcceptHandler, ++ boost::bind(&RPCAcceptHandler, + acceptor, + boost::ref(context), + fUseSSL, +@@ -525,8 +525,8 @@ static void RPCListen(boost::shared_ptr< + /** + * Accept and handle incoming connection. + */ +-template +-static void RPCAcceptHandler(boost::shared_ptr< basic_socket_acceptor > acceptor, ++template ++static void RPCAcceptHandler(boost::shared_ptr< basic_socket_acceptor > acceptor, + ssl::context& context, + const bool fUseSSL, + boost::shared_ptr< AcceptedConnection > conn, +@@ -620,7 +620,7 @@ void StartRPCThreads() + + assert(rpc_io_service == NULL); + rpc_io_service = new boost::asio::io_service(); +- rpc_ssl_context = new ssl::context(*rpc_io_service, ssl::context::sslv23); ++ rpc_ssl_context = new ssl::context(ssl::context::sslv23); + + const bool fUseSSL = GetBoolArg("-rpcssl", false); + +@@ -639,7 +639,7 @@ void StartRPCThreads() + else LogPrintf("ThreadRPCServer ERROR: missing server private key file %s\n", pathPKFile.string()); + + string strCiphers = GetArg("-rpcsslciphers", "TLSv1.2+HIGH:TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!3DES:@STRENGTH"); +- SSL_CTX_set_cipher_list(rpc_ssl_context->impl(), strCiphers.c_str()); ++ SSL_CTX_set_cipher_list(rpc_ssl_context->native_handle(), strCiphers.c_str()); + } + + std::vector vEndpoints; Property changes on: head/net-p2p/zetacoin/files/patch-src_rpcserver.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property