summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-01-19 00:56:09 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-01-19 19:39:37 +0100
commit0649d63fde068c620e755744926ba45d832ea067 (patch)
tree1b3392bfb21d5e677f0eae972a6365d94f340fd3 /net-p2p/bitcoind
parentnet-p2p/bitcoin-cli: Drop live ebuild (outdated) (diff)
downloadgentoo-0649d63fde068c620e755744926ba45d832ea067.tar.gz
gentoo-0649d63fde068c620e755744926ba45d832ea067.tar.bz2
gentoo-0649d63fde068c620e755744926ba45d832ea067.zip
net-p2p/bitcoind: Drop live ebuild (outdated)
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'net-p2p/bitcoind')
-rw-r--r--net-p2p/bitcoind/bitcoind-9999.ebuild65
1 files changed, 0 insertions, 65 deletions
diff --git a/net-p2p/bitcoind/bitcoind-9999.ebuild b/net-p2p/bitcoind/bitcoind-9999.ebuild
deleted file mode 100644
index 39e3f463c34d..000000000000
--- a/net-p2p/bitcoind/bitcoind-9999.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 2010-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-BITCOINCORE_IUSE="examples test upnp +wallet zeromq"
-BITCOINCORE_NEED_LEVELDB=1
-BITCOINCORE_NEED_LIBSECP256K1=1
-inherit bash-completion-r1 bitcoincore user systemd
-
-DESCRIPTION="Original Bitcoin crypto-currency wallet for automated services"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS=""
-
-pkg_setup() {
- local UG='bitcoin'
- enewgroup "${UG}"
- enewuser "${UG}" -1 -1 /var/lib/bitcoin "${UG}"
-}
-
-src_prepare() {
- sed -i 's/have bitcoind &&//;s/^\(complete -F _bitcoind bitcoind\) bitcoin-cli$/\1/' contrib/${PN}.bash-completion || die
- bitcoincore_src_prepare
-}
-
-src_configure() {
- bitcoincore_conf \
- --with-daemon
-}
-
-src_install() {
- bitcoincore_src_install
-
- insinto /etc/bitcoin
- newins "${FILESDIR}/bitcoin.conf" bitcoin.conf
- fowners bitcoin:bitcoin /etc/bitcoin/bitcoin.conf
- fperms 600 /etc/bitcoin/bitcoin.conf
-
- newconfd "contrib/init/bitcoind.openrcconf" ${PN}
- newinitd "contrib/init/bitcoind.openrc" ${PN}
- systemd_dounit "${FILESDIR}/bitcoind.service"
-
- keepdir /var/lib/bitcoin/.bitcoin
- fperms 700 /var/lib/bitcoin
- fowners bitcoin:bitcoin /var/lib/bitcoin/
- fowners bitcoin:bitcoin /var/lib/bitcoin/.bitcoin
- dosym /etc/bitcoin/bitcoin.conf /var/lib/bitcoin/.bitcoin/bitcoin.conf
-
- dodoc doc/assets-attribution.md doc/bips.md doc/tor.md
- doman contrib/debian/manpages/{bitcoind.1,bitcoin.conf.5}
-
- use zeromq && dodoc doc/zmq.md
-
- newbashcomp contrib/${PN}.bash-completion ${PN}
-
- if use examples; then
- docinto examples
- dodoc -r contrib/{pyminer,qos,spendfrom,tidy_datadir.sh}
- use zeromq && dodoc -r contrib/zmq
- fi
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/bitcoind.logrotate-r1" bitcoind
-}