FreeBSD Bugzilla – Attachment 188977 Details for
Bug 224467
[new port] finance/dash Virtual Peer-to-Peer Currency Client
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
port source
dash.shar (text/plain), 11.44 KB, created by
Volodymyr Kostyrko
on 2017-12-19 18:16:21 UTC
(
hide
)
Description:
port source
Filename:
MIME Type:
Creator:
Volodymyr Kostyrko
Created:
2017-12-19 18:16:21 UTC
Size:
11.44 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># /usr/ports/net-p2p/dash ># /usr/ports/net-p2p/dash/pkg-descr ># /usr/ports/net-p2p/dash/distinfo ># /usr/ports/net-p2p/dash/Makefile ># /usr/ports/net-p2p/dash/files ># /usr/ports/net-p2p/dash/files/patch-src_leveldb_helpers_memenv_memenv.cc ># /usr/ports/net-p2p/dash/files/patch-configure.ac ># /usr/ports/net-p2p/dash/files/dashd.in ># /usr/ports/net-p2p/dash-daemon ># /usr/ports/net-p2p/dash-daemon/Makefile ># /usr/ports/net-p2p/dash-utils ># /usr/ports/net-p2p/dash-utils/Makefile ># >echo c - /usr/ports/net-p2p/dash >mkdir -p /usr/ports/net-p2p/dash > /dev/null 2>&1 >echo x - /usr/ports/net-p2p/dash/pkg-descr >sed 's/^X//' >/usr/ports/net-p2p/dash/pkg-descr << '765723a227eff9c0857d6b972b12ef04' >XDash is a free open source peer-to-peer electronic cash system that >Xis completely decentralized, without the need for a central server or >Xtrusted parties. Users hold the crypto keys to their own money and >Xtransact directly with each other, with the help of a P2P network to >Xcheck for double-spending. >X >XWWW: http://www.dash.org/ >765723a227eff9c0857d6b972b12ef04 >echo x - /usr/ports/net-p2p/dash/distinfo >sed 's/^X//' >/usr/ports/net-p2p/dash/distinfo << '633c0728df9f9e9d0cd9bf41ae937d37' >XSHA256 (dashpay-dash-v0.12.2.1_GH0.tar.gz) = 29e11f7189155da2595fddc0add5b8757255cd96cc4fe0a885b5f649f159163f >XSIZE (dashpay-dash-v0.12.2.1_GH0.tar.gz) = 7243314 >633c0728df9f9e9d0cd9bf41ae937d37 >echo x - /usr/ports/net-p2p/dash/Makefile >sed 's/^X//' >/usr/ports/net-p2p/dash/Makefile << 'e7d28aa2b04701e022fcde7db8096fc3' >XPORTNAME= dash >XPORTVERSION= 0.12.2.1 >XDISTVERSIONPREFIX= v >XCATEGORIES= net-p2p finance >X >XMAINTAINER= arcade@b1t.name >XCOMMENT?= Virtual Peer-to-Peer Currency Client (QT) >X >XLICENSE= MIT >X >XLIB_DEPENDS= libboost_date_time.so:devel/boost-libs \ >X libevent.so:devel/libevent >X >XBROKEN_powerpc64= fails to compile: util.cpp: undefined reference to boost::program_options::to_internal >X >XUSES= autoreconf compiler:c++11-lib gmake libtool pkgconfig shebangfix ssl >XSHEBANG_FILES= src/test/*.py >XUSE_GITHUB= yes >XGH_ACCOUNT= dashpay >XGNU_CONFIGURE= yes >X >XSLAVE_PORT?= no >X >X.if defined(SLAVE_PORT) && ${SLAVE_PORT} == "no" >XUSES+= desktop-file-utils >XUSE_QT5= core gui network widgets \ >X buildtools_build linguisttools_build qmake_build >X >XBUILD_DEPENDS+= protoc:devel/protobuf >XLIB_DEPENDS+= libprotobuf.so:devel/protobuf >X >XTESTS_USE= QT5=testlib >XTESTS_PLIST_FILES= bin/test_dash-qt \ >X bin/test_dash >X.endif >X >XOPTIONS_DEFINE?= DBUS DEBUG HARDENING QRCODES TESTS UPNP WALLET ZMQ >XOPTIONS_DEFAULT?= DBUS HARDENING QRCODES UPNP WALLET >XOPTIONS_SUB= yes >X >XHARDENING_DESC= Attempt to harden binaries (PIE for ASLR, NX Stack) >XQRCODES_DESC= Display QR Codes >XTESTS_DESC= Build test binary and unit tests >XWALLET_DESC= Wallet Management Support >XZMQ_DESC= Block and transaction broadcasting with ZeroMQ >X >XDBUS_CONFIGURE_WITH= dbus >XDBUS_USE= QT5=dbus >X >XDEBUG_CONFIGURE_ENABLE= debug >XDEBUG_INSTALL_TARGET_OFF= install-strip >X >XHARDENING_CONFIGURE_ENABLE= hardening >X >XTESTS_CONFIGURE_ENABLE= tests bench >X.if defined(SLAVE_PORT) && ${SLAVE_PORT} == "yes" >XTESTS_PLIST_FILES= bin/test_dash >X.endif >XTESTS_PLIST_FILES+= bin/bench_dash >X >XUPNP_CONFIGURE_WITH= miniupnpc >XUPNP_LIB_DEPENDS= libminiupnpc.so:net/miniupnpc >XUPNP_CPPFLAGS= -I${LOCALBASE}/include >XUPNP_LIBS= -L${LOCALBASE}/lib >X >XQRCODES_CONFIGURE_WITH= qrencode >XQRCODES_LIB_DEPENDS= libqrencode.so:graphics/libqrencode >X >XWALLET_CONFIGURE_ENABLE= wallet >XWALLET_CXXFLAGS= -I${BDB_INCLUDE_DIR} >XWALLET_LIBS= -L${BDB_LIB_DIR} >XWALLET_USES= bdb:48 >X >XZMQ_CONFIGURE_ENABLE= zmq >XZMQ_BUILD_DEPENDS= libzmq4>0:net/libzmq4 >XZMQ_RUN_DEPENDS= libzmq4>0:net/libzmq4 >X >XCONFIGURE_ARGS?= --without-libs \ >X --with-gui=qt5 \ >X --without-daemon \ >X --without-utils >X >XCONFIGURE_ENV= CRYPTO_CFLAGS="-I${OPENSSLINC}" CRYPTO_LIBS="-L${OPENSSLLIB} -lcrypto" \ >X SSL_CFLAGS="-I${OPENSSLINC}" SSL_LIBS="-L${OPENSSLLIB} -lssl" \ >X OBJCXX="${CXX}" OBJCXXFLAGS="${CXXFLAGS}" >XMAKE_ENV+= V=1 >X >XPLIST_FILES?= bin/dash-qt share/applications/dash-qt.desktop \ >X share/pixmaps/dash128.png >X >X.if defined(SLAVE_PORT) && ${SLAVE_PORT} == "no" >X >Xpost-install: >X ${REINPLACE_CMD} -e 's,=/usr,=${PREFIX},' \ >X ${WRKSRC}/contrib/debian/dash-qt.desktop >X ${INSTALL} ${WRKSRC}/contrib/debian/dash-qt.desktop \ >X ${STAGEDIR}${PREFIX}/share/applications >X ${INSTALL} ${WRKSRC}/share/pixmaps/dash128.png \ >X ${STAGEDIR}${PREFIX}/share/pixmaps/dash128.png >X >X.endif >X >Xregression-test: build >X # To use this sucessfully, remove --without-daemon and --without-utils >X # from CONFIGURE_ARGS above. >X >X @cd ${WRKSRC} && ${GMAKE} check >X >X.include <bsd.port.mk> >e7d28aa2b04701e022fcde7db8096fc3 >echo c - /usr/ports/net-p2p/dash/files >mkdir -p /usr/ports/net-p2p/dash/files > /dev/null 2>&1 >echo x - /usr/ports/net-p2p/dash/files/patch-src_leveldb_helpers_memenv_memenv.cc >sed 's/^X//' >/usr/ports/net-p2p/dash/files/patch-src_leveldb_helpers_memenv_memenv.cc << '272c40b485b7c743abfebd1fd008482c' >X--- src/leveldb/helpers/memenv/memenv.cc.orig 2017-11-11 07:02:45 UTC >X+++ src/leveldb/helpers/memenv/memenv.cc >X@@ -2,6 +2,8 @@ >X // Use of this source code is governed by a BSD-style license that can be >X // found in the LICENSE file. See the AUTHORS file for names of contributors. >X >X+#define __STDC_LIMIT_MACROS >X+ >X #include "helpers/memenv/memenv.h" >X >X #include "leveldb/env.h" >272c40b485b7c743abfebd1fd008482c >echo x - /usr/ports/net-p2p/dash/files/patch-configure.ac >sed 's/^X//' >/usr/ports/net-p2p/dash/files/patch-configure.ac << '5f832d8c5bf311bce06a3d57dffa7555' >X--- configure.ac.orig 2017-12-17 15:10:45 UTC >X+++ configure.ac >X@@ -356,6 +356,9 @@ case $host in >X TARGET_OS=linux >X LEVELDB_TARGET_FLAGS="-DOS_LINUX" >X ;; >X+ *freebsd*) >X+ LEVELDB_TARGET_FLAGS="-DOS_FREEBSD" >X+ ;; >X *) >X OTHER_OS=`echo ${host_os} | awk '{print toupper($0)}'` >X LEVELDB_TARGET_FLAGS="-DOS_${OTHER_OS}" >5f832d8c5bf311bce06a3d57dffa7555 >echo x - /usr/ports/net-p2p/dash/files/dashd.in >sed 's/^X//' >/usr/ports/net-p2p/dash/files/dashd.in << '66755e2e6c9f617829de92542ed7109a' >X#!/bin/sh >X >X# PROVIDE: dashd >X# REQUIRE: LOGIN cleanvar >X# KEYWORD: shutdown >X >X# >X# Add the following lines to /etc/rc.conf to enable : >X# dashd_enable (bool): Set to "NO" by default. >X# Set it to "YES" to enable dashd >X# dashd_user (str) Set to "dash" by default. >X# dashd_group (str) Set to "dash" by default. >X# dashd_conf (str) Set to "%%PREFIX%%/etc/dashd.conf" by default. >X# dashd_data (str) Set to "/var/lib/dashd" by default. >X# dashdlimits_enable (bool) Set to "NO" by default. >X# Set it to "YES" to enable dashdlimits >X# dashdlimits_args Set to "-e -U ${dashd_user}" by default >X >X >X. /etc/rc.subr >X >Xname="dashd" >Xrcvar=dashd_enable >X >Xstart_precmd="dashd_precmd" >Xstart_cmd="dashd_start" >Xrestart_precmd="dashd_checkconfig" >Xreload_precmd="dashd_checkconfig" >Xconfigtest_cmd="dashd_checkconfig" >Xstatus_cmd="dashd_status" >Xstop_cmd="dashd_stop" >Xstop_postcmd="dashd_wait" >Xcommand="%%PREFIX%%/bin/dashd" >Xcli_command="%%PREFIX%%/bin/dash-cli" >Xdaemon_command="/usr/sbin/daemon" >X#pidfile="/var/run/${name}.pid" >Xextra_commands="configtest" >X >X >X: ${dashd_enable:="NO"} >X: ${dashdlimits_enable:="NO"} >X >Xload_rc_config ${name} >X >X: ${dashd_user:="dash"} >X: ${dashd_group:="dash"} >X: ${dashd_data_dir:="/var/db/dashd"} >X: ${dashd_config_file:="%%PREFIX%%/etc/dash.conf"} >X: ${dashdlimits_args:="-e -U ${dashd_user}"} >X >X# set up dependant variables >Xprocname="${command}" >Xpidfile="${dashd_data_dir}/dashd.pid" >Xrequired_files="${dashd_config_file}" >X >X >Xdashd_checkconfig() >X{ >X echo "Performing sanity check on dashd configuration:" >X if [ ! -d "${dashd_data_dir}" ] >X then >X echo "Missing data directory: ${dashd_data_dir}" >X exit 1 >X fi >X chown -R "${dashd_user}:${dashd_group}" "${dashd_data_dir}" >X >X if [ ! -f "${dashd_config_file}" ] >X then >X echo "Missing configuration file: ${dashd_config_file}" >X exit 1 >X fi >X if [ ! -x "${command}" ] >X then >X echo "Missing executable: ${command}" >X exit 1 >X fi >X return 0 >X} >X >Xdashd_cleanup() >X{ >X rm -f "${pidfile}" >X} >X >Xdashd_precmd() >X{ >X dashd_checkconfig >X >X pid=$(check_pidfile "${pidfile}" "${procname}") >X if [ -z "${pid}" ] >X then >X echo "Dashd is not running" >X rm -f "${pidfile}" >X fi >X >X if checkyesno dashdlimits_enable >X then >X eval $(/usr/bin/limits ${dashdlimits_args}) 2>/dev/null >X else >X return 0 >X fi >X} >X >Xdashd_status() >X{ >X local pid >X pid=$(check_pidfile "${pidfile}" "${procname}") >X if [ -z "${pid}" ] >X then >X echo "Dashd is not running" >X return 1 >X else >X echo "Dashd running, pid: ${pid}" >X fi >X} >X >Xdashd_start() >X{ >X echo "Starting dashd:" >X cd "${dashd_data_dir}" || return 1 >X ${daemon_command} -u "${dashd_user}" -p "${pidfile}" \ >X ${command} \ >X -conf="${dashd_config_file}" \ >X -datadir="${dashd_data_dir}" 2> /tmp/dashd.stderr > /tmp/dashd.stdout >X} >X >Xdashd_stop() >X{ >X echo "Stopping dashd:" >X pid=$(check_pidfile "${pidfile}" "${procname}") >X if [ -z "${pid}" ] >X then >X echo "Dashd is not running" >X return 1 >X else >X ${cli_command} -conf="${dashd_config_file}" -datadir="${dashd_data_dir}" stop >X fi >X} >X >Xdashd_wait() >X{ >X local n=60 >X echo "Waiting for dashd shutdown:" >X while : >X do >X printf '.' >X pid=$(check_pidfile "${pidfile}" "${procname}") >X if [ -z "${pid}" ] >X then >X printf '\n' >X break >X fi >X sleep 1 >X n=$((${n} - 1)) >X if [ ${n} -eq 0 -a -f "${pidfile}" ] >X then >X printf "\nForce shutdown" >X kill -9 $(cat "${pidfile}") >X for n in 1 2 3 >X do >X printf '.' >X sleep 1 >X done >X printf '\n' >X break >X fi >X done >X rm -f "${pidfile}" >X echo "Shutdown complete" >X} >X >Xrun_rc_command "$1" >66755e2e6c9f617829de92542ed7109a >echo c - /usr/ports/net-p2p/dash-daemon >mkdir -p /usr/ports/net-p2p/dash-daemon > /dev/null 2>&1 >echo x - /usr/ports/net-p2p/dash-daemon/Makefile >sed 's/^X//' >/usr/ports/net-p2p/dash-daemon/Makefile << 'c4c5aa40a921f40716cb1645e0f676a1' >XPORTREVISION= 0 >XPKGNAMESUFFIX= -daemon >X >XCOMMENT= Virtual Peer-to-Peer Currency (Daemon) >X >XMASTERDIR= ${.CURDIR}/../dash >XSLAVE_PORT= yes >X >XONLY_FOR_ARCHS= amd64 i386 ia64 >XONLY_FOR_ARCHS_REASON= does not support big-endian architectures >X >XOPTIONS_DEFINE= DEBUG HARDENING TESTS UPNP WALLET ZMQ >XOPTIONS_DEFAULT= HARDENING UPNP WALLET >X >XCONFIGURE_ARGS= --with-daemon \ >X --without-gui \ >X --without-libs \ >X --without-qrencode \ >X --without-utils >X >XPLIST_FILES= bin/dashd >X >XUSE_RC_SUBR= dashd >X >X.include "${MASTERDIR}/Makefile" >c4c5aa40a921f40716cb1645e0f676a1 >echo c - /usr/ports/net-p2p/dash-utils >mkdir -p /usr/ports/net-p2p/dash-utils > /dev/null 2>&1 >echo x - /usr/ports/net-p2p/dash-utils/Makefile >sed 's/^X//' >/usr/ports/net-p2p/dash-utils/Makefile << 'b3a74f25513b9661b1ba90f54bacd3cc' >X# $FreeBSD$ >X >XMASTERDIR= ${.CURDIR}/../dash >XPORTREVISION= 0 >XPKGNAMESUFFIX= -utils >X >XCOMMENT= Virtual Peer-to-Peer Currency (CLI and Utilities) >XSLAVE_PORT= yes >X >XOPTIONS_DEFINE= DEBUG HARDENING TESTS >XOPTIONS_DEFAULT= HARDENING TESTS >X >XONLY_FOR_ARCHS= amd64 i386 ia64 >XONLY_FOR_ARCHS_REASON= does not support big-endian architectures >X >XCONFIGURE_ARGS= --without-daemon \ >X --without-gui \ >X --without-libs \ >X --without-qrencode \ >X --with-utils \ >X --disable-wallet >X >XPLIST_FILES= bin/dash-cli bin/dash-tx >X >X.include "${MASTERDIR}/Makefile" >b3a74f25513b9661b1ba90f54bacd3cc >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 224467
:
188977
|
189006