diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-01-22 21:51:33 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-01-24 02:17:22 +0100 |
commit | f31189f83957e3a5cbb52b4ec285582b49b5a926 (patch) | |
tree | 2a32026c455351cb83dbd3a0a75cffab2af40dc6 /net-p2p/bitcoind/files | |
parent | dev-libs/nsgenbind: Version bump. (diff) | |
download | gentoo-f31189f83957e3a5cbb52b4ec285582b49b5a926.tar.gz gentoo-f31189f83957e3a5cbb52b4ec285582b49b5a926.tar.bz2 gentoo-f31189f83957e3a5cbb52b4ec285582b49b5a926.zip |
net-p2p/bitcoind: Drop old
Package-Manager: portage-2.3.0
Diffstat (limited to 'net-p2p/bitcoind/files')
-rw-r--r-- | net-p2p/bitcoind/files/0.10.0-openrc-compat.patch | 24 | ||||
-rw-r--r-- | net-p2p/bitcoind/files/bitcoind.logrotate | 7 | ||||
-rw-r--r-- | net-p2p/bitcoind/files/miniupnpc-14.patch | 28 |
3 files changed, 0 insertions, 59 deletions
diff --git a/net-p2p/bitcoind/files/0.10.0-openrc-compat.patch b/net-p2p/bitcoind/files/0.10.0-openrc-compat.patch deleted file mode 100644 index a7c31d680ba8..000000000000 --- a/net-p2p/bitcoind/files/0.10.0-openrc-compat.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- contrib/init/bitcoind.openrc 2015-03-03 09:37:59.919728713 +0000 -+++ contrib/init/bitcoind.openrc 2015-03-03 09:38:08.109757531 +0000 -@@ -12,9 +12,11 @@ - BITCOIND_PIDDIR=${BITCOIND_PIDDIR:-/var/run/bitcoind} - BITCOIND_PIDFILE=${BITCOIND_PIDFILE:-${BITCOIND_PIDDIR}/bitcoind.pid} - BITCOIND_DATADIR=${BITCOIND_DATADIR:-${BITCOIND_DEFAULT_DATADIR}} --BITCOIND_USER=${BITCOIND_USER:-bitcoin} -+BITCOIND_USER=${BITCOIND_USER:-${BITCOIN_USER:-bitcoin}} - BITCOIND_GROUP=${BITCOIND_GROUP:-bitcoin} - BITCOIND_BIN=${BITCOIND_BIN:-/usr/bin/bitcoind} -+BITCOIND_NICE=${BITCOIND_NICE:-${NICELEVEL:-0}} -+BITCOIND_OPTS="${BITCOIND_OPTS:-${BITCOIN_OPTS}}" - - name="Bitcoin Core Daemon" - description="Bitcoin crypto-currency p2p network daemon" -@@ -28,7 +30,7 @@ - - required_files="${BITCOIND_CONFIGFILE}" - start_stop_daemon_args="-u ${BITCOIND_USER} \ -- -N ${BITCOIND_NICE:-0} -w 2000" -+ -N ${BITCOIND_NICE} -w 2000" - pidfile="${BITCOIND_PIDFILE}" - retry=60 - diff --git a/net-p2p/bitcoind/files/bitcoind.logrotate b/net-p2p/bitcoind/files/bitcoind.logrotate deleted file mode 100644 index 36d8dc2b1344..000000000000 --- a/net-p2p/bitcoind/files/bitcoind.logrotate +++ /dev/null @@ -1,7 +0,0 @@ -/var/lib/bitcoin/.bitcoin/debug.log { - weekly - sharedscripts - postrotate - killall -HUP bitcoind - endscript -} diff --git a/net-p2p/bitcoind/files/miniupnpc-14.patch b/net-p2p/bitcoind/files/miniupnpc-14.patch deleted file mode 100644 index aa8e32ff7c1a..000000000000 --- a/net-p2p/bitcoind/files/miniupnpc-14.patch +++ /dev/null @@ -1,28 +0,0 @@ -commit 9f3e48e5219a09b5ddfd6883d1f0498910eff4b6 (origin-pull/6583/head) -Author: Pavel Vasin <pavel@vasin.nl> -Date: Sun Aug 23 23:53:49 2015 +0300 - - add support for miniupnpc api version 14 - - The value of new arg ttl is set to 2 as it's recommended default. - -diff --git a/src/net.cpp b/src/net.cpp -index fb5726a..4c6331f 100644 ---- a/src/net.cpp -+++ b/src/net.cpp -@@ -1120,10 +1120,14 @@ void ThreadMapPort() - #ifndef UPNPDISCOVER_SUCCESS - /* miniupnpc 1.5 */ - devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0); --#else -+#elif MINIUPNPC_API_VERSION < 14 - /* miniupnpc 1.6 */ - int error = 0; - devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, &error); -+#else -+ /* miniupnpc 1.9.20150730 */ -+ int error = 0; -+ devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, 2, &error); - #endif - - struct UPNPUrls urls; |