From 27ad6985d9fd656d96fde986cb23956a56734f87 Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Tue, 7 May 2019 22:32:10 +0100 Subject: net-p2p/monero: Create user/group for daemon Package-Manager: Portage-2.3.62, Repoman-2.3.11 --- net-p2p/monero/monero-0.14.0.2.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/net-p2p/monero/monero-0.14.0.2.ebuild b/net-p2p/monero/monero-0.14.0.2.ebuild index 35033382..68687973 100644 --- a/net-p2p/monero/monero-0.14.0.2.ebuild +++ b/net-p2p/monero/monero-0.14.0.2.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit cmake-utils +inherit cmake-utils user DESCRIPTION="Secure, private, untraceable cryptocurrency" HOMEPAGE="https://getmonero.org" @@ -37,6 +37,11 @@ PATCHES=( "${FILESDIR}/${PV}-Drop-in-tree-miniupnpc.patch" ) CMAKE_BUILD_TYPE=Release +pkg_setup() { + enewgroup monero + enewuser monero -1 -1 /var/lib/monero monero +} + src_configure () { local mycmakeargs=( -DBUILD_DOCUMENTATION="$(usex doc ON OFF)" -- cgit v1.2.3