summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2019-09-30 03:29:09 +0000
committerCraig Andrews <candrews@gentoo.org>2020-03-07 16:15:14 -0500
commit3f886754524d09423a0df8aee5344f72b6169871 (patch)
treec42a9991cc70cdb25799fa43fcd6903c3fa674f7 /net-p2p/bitcoind
parentnet-p2p/bitcoin{-qt,d}-0.16.3: Drop bitcoin_policy_rbf USE flag (diff)
downloadgentoo-3f886754524d09423a0df8aee5344f72b6169871.tar.gz
gentoo-3f886754524d09423a0df8aee5344f72b6169871.tar.bz2
gentoo-3f886754524d09423a0df8aee5344f72b6169871.zip
net-p2p/bitcoind-0.16.3: Migrate from user eclass to GLEP 81
Signed-off-by: Luke Dashjr <luke-jr+git@utopios.org> Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'net-p2p/bitcoind')
-rw-r--r--net-p2p/bitcoind/bitcoind-0.16.3.ebuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/net-p2p/bitcoind/bitcoind-0.16.3.ebuild b/net-p2p/bitcoind/bitcoind-0.16.3.ebuild
index 585ba9254842..9acfda6cbef6 100644
--- a/net-p2p/bitcoind/bitcoind-0.16.3.ebuild
+++ b/net-p2p/bitcoind/bitcoind-0.16.3.ebuild
@@ -4,7 +4,7 @@
EAPI=6
DB_VER="4.8"
-inherit autotools bash-completion-r1 db-use systemd user
+inherit autotools bash-completion-r1 db-use systemd
BITCOINCORE_COMMITHASH="49e34e288005a5b144a642e197b628396f5a0765"
KNOTS_PV="${PV}.knots20180918"
@@ -24,6 +24,8 @@ IUSE="+asm examples knots libressl test upnp +wallet zeromq"
RESTRICT="!test? ( test )"
DEPEND="
+ acct-group/bitcoin
+ acct-user/bitcoin
>=dev-libs/boost-1.52.0:=[threads(+)]
dev-libs/libevent:=
>=dev-libs/libsecp256k1-0.0.0_pre20151118:=[recovery]
@@ -56,11 +58,6 @@ pkg_pretend() {
elog "of receive order. To disable RBF, set mempoolreplacement=never in bitcoin.conf"
}
-pkg_setup() {
- enewgroup bitcoin
- enewuser bitcoin -1 -1 /var/lib/bitcoin bitcoin
-}
-
src_prepare() {
sed -i 's/^\(complete -F _bitcoind bitcoind\) bitcoin-qt$/\1/' contrib/${PN}.bash-completion || die