Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Nov 2020 02:36:55 +0000 (UTC)
From:      Kevin Bowling <kbowling@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r555537 - in head/net-p2p: bitcoin-daemon bitcoin/files
Message-ID:  <202011170236.0AH2athm068059@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kbowling
Date: Tue Nov 17 02:36:54 2020
New Revision: 555537
URL: https://svnweb.freebsd.org/changeset/ports/555537

Log:
  net-p2p/bitcoin-daemon: Move PID to /var/run
  
  This deconflicts the GUI client, and fixes a permission error for the daemon
  even when running stand alone.
  
  PR:		246792
  Reported by:	Seth586 at protonmail.com, oobaz at frammish.org
  Sponsored by:	BBOX.io

Modified:
  head/net-p2p/bitcoin-daemon/Makefile
  head/net-p2p/bitcoin/files/bitcoind.in

Modified: head/net-p2p/bitcoin-daemon/Makefile
==============================================================================
--- head/net-p2p/bitcoin-daemon/Makefile	Tue Nov 17 02:31:57 2020	(r555536)
+++ head/net-p2p/bitcoin-daemon/Makefile	Tue Nov 17 02:36:54 2020	(r555537)
@@ -25,7 +25,7 @@ PLIST_FILES=	bin/bitcoind \
 
 USE_RC_SUBR=	bitcoind
 
-PORTREVISION=	2
+PORTREVISION=	3
 
 post-install:
 	${INSTALL_DATA} ${FILESDIR}/bitcoin.conf ${STAGEDIR}${PREFIX}/etc/bitcoin.conf.sample

Modified: head/net-p2p/bitcoin/files/bitcoind.in
==============================================================================
--- head/net-p2p/bitcoin/files/bitcoind.in	Tue Nov 17 02:31:57 2020	(r555536)
+++ head/net-p2p/bitcoin/files/bitcoind.in	Tue Nov 17 02:36:54 2020	(r555537)
@@ -33,7 +33,7 @@ stop_cmd="bitcoind_stop"
 stop_postcmd="bitcoind_wait"
 command="%%PREFIX%%/bin/bitcoind"
 daemon_command="/usr/sbin/daemon"
-#pidfile="/var/run/${name}.pid"
+pidfile="/var/run/${name}.pid"
 extra_commands="configtest"
 
 
@@ -50,7 +50,6 @@ load_rc_config ${name}
 
 # set up dependant variables
 procname="${command}"
-pidfile="${bitcoind_data_dir}/bitcoind.pid"
 required_files="${bitcoind_config_file}"
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011170236.0AH2athm068059>