Lines 1-12
Link Here
|
1 |
# Copyright 2010-2013 Gentoo Foundation |
1 |
# Copyright 2010-2013 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/bitcoind-0.8.1.ebuild,v 1.2 2013/04/14 18:49:43 blueness Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
EAPI="4" |
5 |
EAPI="4" |
6 |
|
6 |
|
7 |
DB_VER="4.8" |
7 |
DB_VER="4.8" |
8 |
|
8 |
|
9 |
inherit db-use eutils versionator toolchain-funcs |
9 |
inherit db-use eutils versionator toolchain-funcs systemd |
10 |
|
10 |
|
11 |
MyPV="${PV/_/}" |
11 |
MyPV="${PV/_/}" |
12 |
MyPN="bitcoin" |
12 |
MyPN="bitcoin" |
Lines 91-96
Link Here
|
91 |
newconfd "${FILESDIR}/bitcoin.confd" ${PN} |
91 |
newconfd "${FILESDIR}/bitcoin.confd" ${PN} |
92 |
newinitd "${FILESDIR}/bitcoin.initd" ${PN} |
92 |
newinitd "${FILESDIR}/bitcoin.initd" ${PN} |
93 |
|
93 |
|
|
|
94 |
systemd_dounit "${FILESDIR}/bitcoind.service" |
95 |
|
94 |
keepdir /var/lib/bitcoin/.bitcoin |
96 |
keepdir /var/lib/bitcoin/.bitcoin |
95 |
fperms 700 /var/lib/bitcoin |
97 |
fperms 700 /var/lib/bitcoin |
96 |
fowners bitcoin:bitcoin /var/lib/bitcoin/ |
98 |
fowners bitcoin:bitcoin /var/lib/bitcoin/ |