freebsd-ports/net-p2p
Mark Linimon 7b06501068 MFH: r522323
net-p2p/c-lightning: fix bitcoin-cli exec setup

lightningd does execute bitcoin-cli internally during runtime.

Fix two problems with that:

* The bitcoin-cli executable is usually located in
  /usr/local/bin/bitcoin-cli but service(8) would remove /usr/local/bin
  from PATH before executing our rc script /usr/local/etc/rc.d/lightningd
  and so the lightningd daemon would inherit a PATH that does not contain
  bitcoin-cli. To fix this give the full path to bitcoin-cli to lightningd.

* bitcoin-cli(1) tries to create its datadir when it starts if it does not
  exist. By default that is ${HOME}/.bitcoin. service(8) would set HOME=/
  and if / is mounted read-only, then this creation would fail. Because we
  don't want this directory created (it is not necessary and remains empty)
  tell lightningd to execute
  bitcoin-cli --datadir=/some/directory/that/already/exists.

Also, append ${lightningd_extra_args} to the lightingd arguments. This was
forgotten in the initial commit and setting lightningd_extra_args would have
had no effect.

Reported by:	https://github.com/bitcoin-software

Approved by:	portmgr ("fix broken ports")
2020-01-11 08:00:17 +00:00
..
amule
amule-devel
awgg - Bump PORTREVISION. editors/lazarus was updated to 2.0.6 2019-12-31 15:29:13 +00:00
bitcoin
bitcoin-daemon
bitcoin-utils
bitflu
c-lightning MFH: r522323 2020-01-11 08:00:17 +00:00
couchpotato
cpuminer
createtorrent
ctcs
ctorrent
dclib
deluge net-p2p/deluge: Revert the previous erroneous commit 2019-12-20 09:28:18 +00:00
deluge-cli
ed2k
edonkey-tool-hash
eiskaltdcpp-cli
eiskaltdcpp-daemon
eiskaltdcpp-data
eiskaltdcpp-gtk
eiskaltdcpp-lib
frost
go-ethereum
gtk-gnutella
gtorrentviewer
jackett
jigdo
ktorrent
libbt
liberator
libktorrent
libpdtp
libswift
libtorrent
libtorrent-rasterbar net-p2p/libtorrent-rasterbar: Update 1.2.2 -> 1.2.3 2019-12-21 18:13:09 +00:00
lidarr
linuxdcpp
litecoin net-p2p/litecoin: fix build on GCC architectures 2019-12-20 12:55:49 +00:00
litecoin-daemon
litecoin-utils
microdc2
minder
mktorrent
mldonkey
mldonkey-core
mldonkey-gui
monero-cli MFH: r522326 2020-01-07 11:46:24 +00:00
namecoin MFH: r522054 2020-01-04 20:20:49 +00:00
namecoin-daemon
namecoin-utils
ncdc
opendchub
p5-Net-BitTorrent
p5-Net-BitTorrent-File
p5-Net-BitTorrent-PeerPacket
p5-Net-DirectConnect
p5-WWW-BitTorrent
parity-ethereum lang/rust: Update to 1.40.0 2019-12-19 16:14:48 +00:00
phex
py-libtorrent-rasterbar net-p2p/py-libtorrent-rasterbar: Labeled as BROKEN, with the upstream working on resolving it 2019-12-22 19:38:53 +00:00
py-py2play
py-transmissionrpc
py-tremc
py-vertex
qbittorrent net-p2p/qbittorrent: Update 4.1.9.1 -> 4.2.1 2019-12-20 03:20:01 +00:00
qtum
radarr
retroshare
rslsync
rtorrent
shx
sonarr
sonarr-devel
squall
torrent-file-editor
torrentcheck
torrentsniff
transmission
transmission-cli
transmission-daemon
transmission-gtk
transmission-qt
transmission-remote-gui - Update to 5.18.0 2019-12-31 15:25:18 +00:00
tribler Deprecate a few ports 2019-12-26 07:54:28 +00:00
uhub
vuze
xmrig Update to 5.5.0 2019-12-30 07:45:41 +00:00
zetacoin
zetacoin-daemon
zetacoin-utils
Makefile net-p2p/c-lightning: Add a new port - Lightning Network implementation in C 2019-12-31 16:36:33 +00:00