Index: head/net-p2p/Makefile =================================================================== --- head/net-p2p/Makefile (revision 459645) +++ head/net-p2p/Makefile (revision 459646) @@ -1,116 +1,117 @@ # $FreeBSD$ # COMMENT = Peer-to-peer network applications SUBDIR += amule SUBDIR += amule-devel SUBDIR += bitcoin SUBDIR += bitcoin-daemon SUBDIR += bitcoin-utils SUBDIR += bitflu SUBDIR += bitmessage SUBDIR += bnbt SUBDIR += btpd SUBDIR += btsync SUBDIR += couchpotato SUBDIR += cpuminer SUBDIR += createtorrent SUBDIR += ctcs SUBDIR += ctorrent SUBDIR += dclib SUBDIR += deluge SUBDIR += deluge-cli SUBDIR += dogecoin SUBDIR += ed2k SUBDIR += edonkey-tool-hash SUBDIR += eiskaltdcpp-cli SUBDIR += eiskaltdcpp-daemon SUBDIR += eiskaltdcpp-data SUBDIR += eiskaltdcpp-gtk SUBDIR += eiskaltdcpp-lib SUBDIR += eiskaltdcpp-qt SUBDIR += frost SUBDIR += gkremldk SUBDIR += gnewtellium SUBDIR += go-ethereum SUBDIR += gtk-gnutella SUBDIR += gtorrentviewer SUBDIR += hs-torrent SUBDIR += jackett SUBDIR += jigdo SUBDIR += ktorrent SUBDIR += libbt SUBDIR += liberator SUBDIR += libktorrent SUBDIR += libpdtp SUBDIR += libswift SUBDIR += libtorrent SUBDIR += libtorrent-rasterbar SUBDIR += libtorrent-rasterbar-python SUBDIR += linuxdcpp SUBDIR += litecoin SUBDIR += litecoin-daemon SUBDIR += litecoin-utils SUBDIR += lopster SUBDIR += microdc2 SUBDIR += minder SUBDIR += mktorrent SUBDIR += mldonkey SUBDIR += mldonkey-core SUBDIR += mldonkey-gui SUBDIR += monero-cli SUBDIR += namecoin SUBDIR += namecoin-daemon SUBDIR += napshare SUBDIR += ncdc SUBDIR += opendchub SUBDIR += p5-Net-BitTorrent SUBDIR += p5-Net-BitTorrent-File SUBDIR += p5-Net-BitTorrent-PeerPacket SUBDIR += p5-Net-DirectConnect SUBDIR += p5-WWW-BitTorrent SUBDIR += phex SUBDIR += py-py2play SUBDIR += py-transmissionrpc SUBDIR += py-tremc SUBDIR += py-vertex SUBDIR += qbittorrent SUBDIR += qbittorrent-nox11 + SUBDIR += qtum SUBDIR += radarr SUBDIR += retroshare SUBDIR += rtorrent SUBDIR += shx SUBDIR += sonarr SUBDIR += squall SUBDIR += torrent-file-editor SUBDIR += torrentcheck SUBDIR += torrentsniff SUBDIR += transmission SUBDIR += transmission-cli SUBDIR += transmission-daemon SUBDIR += transmission-gtk SUBDIR += transmission-qt4 SUBDIR += transmission-qt5 SUBDIR += transmission-remote-gui SUBDIR += tribler SUBDIR += twister SUBDIR += uhub SUBDIR += valknut SUBDIR += verlihub SUBDIR += verlihub-plugins SUBDIR += verlihub-plugins-chatroom SUBDIR += verlihub-plugins-floodprotect SUBDIR += verlihub-plugins-forbid SUBDIR += verlihub-plugins-iplog SUBDIR += verlihub-plugins-isp SUBDIR += verlihub-plugins-luascript SUBDIR += verlihub-plugins-messanger SUBDIR += verlihub-plugins-stats SUBDIR += vuze SUBDIR += xmrig SUBDIR += xnap SUBDIR += zetacoin SUBDIR += zetacoin-nox11 .include Index: head/net-p2p/qtum/Makefile =================================================================== --- head/net-p2p/qtum/Makefile (nonexistent) +++ head/net-p2p/qtum/Makefile (revision 459646) @@ -0,0 +1,60 @@ +# Created by: Vasil Dimov +# $FreeBSD$ + +PORTNAME= qtum +PORTVERSION= 0.14.13 +DISTVERSIONPREFIX= mainnet-ignition-v +CATEGORIES= net-p2p finance + +MAINTAINER= vd@FreeBSD.org +COMMENT= PoS cryptocurrency that can execute smart contract as part of an UTXO + +LICENSE= GPLv3 + +BUILD_DEPENDS= libzmq4>0:net/libzmq4 +RUN_DEPENDS= libzmq4>0:net/libzmq4 +LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \ + libevent.so:devel/libevent \ + libminiupnpc.so:net/miniupnpc \ + libprotobuf.so:devel/protobuf \ + libqrencode.so:graphics/libqrencode + +GNU_CONFIGURE= yes +CONFIGURE_ENV= BDB_CFLAGS="-I${BDB_INCLUDE_DIR}" \ + BDB_LIBS="-L${BDB_LIB_DIR} -l${BDB_LIB_CXX_NAME}" +# * Man pages have not been adjusted after cloning the Bitcoin code base. +# They are the old Bitcoin man pages, so do not install them. +# * --with-incompatible-bdb is required in order to use bdb-5. +# * Do not install unneeded include/bitcoinconsensus.h and +# lib/libbitcoinconsensus.* (--without-libs) +CONFIGURE_ARGS= --disable-man \ + --with-gui=qt5 \ + --with-incompatible-bdb \ + --with-miniupnpc=${LOCALBASE} \ + --with-qrencode \ + --without-libs + +USES= autoreconf bdb:5 compiler:c++11-lib gmake libtool pkgconfig ssl +USE_QT5= buildtools core dbus gui linguisttools network testlib widgets +USE_GITHUB= yes +GH_ACCOUNT= qtumproject +GH_PROJECT= qtum +# Add extra account:project:tag:meaninglessgroupname/sub/dir via GH_TUPLE +# for the one git submodule used by Qtum. +GH_TUPLE= qtumproject:cpp-eth-qtum:488ccdc7cef0a0b4fa54c8:cppeth/src/cpp-ethereum + +.include + +# The ./configure script tries to use pkg-config to derive the SSL CFLAGS and +# libraries, but pkg-config requires libssl.pc which is only installed by the +# ports' security/openssl and not present in the base system. So if we are to +# use the base's SSL, then we trick ./configure to not use pkg-config by +# setting some related environment variables. +.if ${SSL_DEFAULT} == base +CONFIGURE_ENV+= CRYPTO_CFLAGS="-I${OPENSSLINC}" \ + CRYPTO_LIBS="-L${OPENSSLLIB} -lcrypto" \ + SSL_CFLAGS="-I${OPENSSLINC}" \ + SSL_LIBS="-L${OPENSSLLIB} -lssl" +.endif + +.include Property changes on: head/net-p2p/qtum/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ 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/qtum/distinfo =================================================================== --- head/net-p2p/qtum/distinfo (nonexistent) +++ head/net-p2p/qtum/distinfo (revision 459646) @@ -0,0 +1,5 @@ +TIMESTAMP = 1516443928 +SHA256 (qtumproject-qtum-mainnet-ignition-v0.14.13_GH0.tar.gz) = 30cbd2ff31208e9f76558b8bef820ecdc7bc2d3d87768e6d8fb1014aab233a7c +SIZE (qtumproject-qtum-mainnet-ignition-v0.14.13_GH0.tar.gz) = 12711274 +SHA256 (qtumproject-cpp-eth-qtum-488ccdc7cef0a0b4fa54c8_GH0.tar.gz) = 7e4325f959104ab781892d5078d33b53de2d4efddf7effe67a9d837d56872ff2 +SIZE (qtumproject-cpp-eth-qtum-488ccdc7cef0a0b4fa54c8_GH0.tar.gz) = 1113806 Property changes on: head/net-p2p/qtum/distinfo ___________________________________________________________________ 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/qtum/files/patch-src_miner.h =================================================================== --- head/net-p2p/qtum/files/patch-src_miner.h (nonexistent) +++ head/net-p2p/qtum/files/patch-src_miner.h (revision 459646) @@ -0,0 +1,11 @@ +--- src/miner.h.orig 2018-01-21 15:27:53 UTC ++++ src/miner.h +@@ -99,7 +99,7 @@ struct modifiedentry_iter { + // except operating on CTxMemPoolModifiedEntry. + // TODO: refactor to avoid duplication of this logic. + struct CompareModifiedEntry { +- bool operator()(const CTxMemPoolModifiedEntry &a, const CTxMemPoolModifiedEntry &b) ++ bool operator()(const CTxMemPoolModifiedEntry &a, const CTxMemPoolModifiedEntry &b) const + { + bool fAHasCreateOrCall = a.iter->GetTx().HasCreateOrCall(); + bool fBHasCreateOrCall = b.iter->GetTx().HasCreateOrCall(); Property changes on: head/net-p2p/qtum/files/patch-src_miner.h ___________________________________________________________________ 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/qtum/files/patch-src_txmempool.h =================================================================== --- head/net-p2p/qtum/files/patch-src_txmempool.h (nonexistent) +++ head/net-p2p/qtum/files/patch-src_txmempool.h (revision 459646) @@ -0,0 +1,65 @@ +--- src/txmempool.h.orig 2018-01-21 15:28:11 UTC ++++ src/txmempool.h +@@ -231,7 +231,7 @@ struct mempoolentry_txid + class CompareTxMemPoolEntryByDescendantScore + { + public: +- bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) ++ bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) const + { + bool fUseADescendants = UseDescendantScore(a); + bool fUseBDescendants = UseDescendantScore(b); +@@ -253,7 +253,7 @@ public: + } + + // Calculate which score to use for an entry (avoiding division). +- bool UseDescendantScore(const CTxMemPoolEntry &a) ++ bool UseDescendantScore(const CTxMemPoolEntry &a) const + { + double f1 = (double)a.GetModifiedFee() * a.GetSizeWithDescendants(); + double f2 = (double)a.GetModFeesWithDescendants() * a.GetTxSize(); +@@ -268,7 +268,7 @@ public: + class CompareTxMemPoolEntryByScore + { + public: +- bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) ++ bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) const + { + double f1 = (double)a.GetModifiedFee() * b.GetTxSize(); + double f2 = (double)b.GetModifiedFee() * a.GetTxSize(); +@@ -282,7 +282,7 @@ public: + class CompareTxMemPoolEntryByEntryTime + { + public: +- bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) ++ bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) const + { + return a.GetTime() < b.GetTime(); + } +@@ -291,7 +291,7 @@ public: + class CompareTxMemPoolEntryByAncestorFee + { + public: +- bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) ++ bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) const + { + double aFees = a.GetModFeesWithAncestors(); + double aSize = a.GetSizeWithAncestors(); +@@ -314,7 +314,7 @@ public: + class CompareTxMemPoolEntryByAncestorFeeOrGasPrice + { + public: +- bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) ++ bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) const + { + bool fAHasCreateOrCall = a.GetTx().HasCreateOrCall(); + bool fBHasCreateOrCall = b.GetTx().HasCreateOrCall(); +@@ -801,7 +801,7 @@ typedef std::pair