mirror of
https://git.freebsd.org/ports.git
synced 2025-05-22 03:45:17 -04:00
removes reliance on unnecessary cli script. - net-p2p/bitcoin-daemon: create the user/group for the daemon to use also install a sample configuration file. With these two patches a "pkg install bitcoin-daemon" followed by "service start bitcoind" will be sufficient to run as a non-privileged user and automatically connect to bitcoin live network; using /var/db/bitcoin to store blockchain data. PR: 215059 Submitted by: Christopher Hall <hsw@bitmark.com> Approved by: <robbak@robbak.com> (maintainer)
33 lines
693 B
Makefile
33 lines
693 B
Makefile
# $FreeBSD$
|
|
|
|
MASTERDIR= ${.CURDIR}/../bitcoin
|
|
PORTREVISION= 7
|
|
PKGNAMESUFFIX= -daemon
|
|
|
|
COMMENT= Virtual Peer-to-Peer Currency (Daemon)
|
|
|
|
SLAVE_PORT= yes
|
|
|
|
ONLY_FOR_ARCHS= amd64 i386
|
|
ONLY_FOR_ARCHS_REASON= does not support big-endian architectures
|
|
|
|
OPTIONS_DEFINE= DEBUG HARDENING TESTS UPNP WALLET ZMQ
|
|
OPTIONS_DEFAULT= HARDENING UPNP WALLET
|
|
|
|
USERS= bitcoin
|
|
GROUPS= bitcoin
|
|
|
|
CONFIGURE_ARGS= --with-daemon \
|
|
--without-gui \
|
|
--without-libs \
|
|
--without-qrencode \
|
|
--without-utils
|
|
|
|
PLIST_FILES= bin/bitcoind
|
|
|
|
USE_RC_SUBR= bitcoind
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/debian/examples/bitcoin.conf ${STAGEDIR}${PREFIX}/etc/bitcoin.conf.sample
|
|
|
|
.include "${MASTERDIR}/Makefile"
|