commit:     3f886754524d09423a0df8aee5344f72b6169871
Author:     Luke Dashjr <luke-jr+git <AT> utopios <DOT> org>
AuthorDate: Mon Sep 30 03:29:09 2019 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Sat Mar  7 21:15:14 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f886754

net-p2p/bitcoind-0.16.3: Migrate from user eclass to GLEP 81

Signed-off-by: Luke Dashjr <luke-jr+git <AT> utopios.org>
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>

 net-p2p/bitcoind/bitcoind-0.16.3.ebuild | 9 +++------
 1 file 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 585ba925484..9acfda6cbef 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
 

Reply via email to