summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'acct-user')
-rw-r--r--acct-user/gridcoin/gridcoin-0.ebuild23
-rw-r--r--acct-user/gridcoin/metadata.xml11
2 files changed, 34 insertions, 0 deletions
diff --git a/acct-user/gridcoin/gridcoin-0.ebuild b/acct-user/gridcoin/gridcoin-0.ebuild
new file mode 100644
index 0000000..3e63172
--- /dev/null
+++ b/acct-user/gridcoin/gridcoin-0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit acct-user
+
+ACCT_USER_ID=-1
+ACCT_USER_GROUPS=( gridcoin )
+
+DESCRIPTION="user for gridcoin daemon"
+IUSE="boinc"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ boinc? ( acct-user/boinc )
+"
+
+acct-user_add_deps
+
+pkg_setup() {
+ use boinc && ACCT_USER_GROUPS+=( boinc )
+}
diff --git a/acct-user/gridcoin/metadata.xml b/acct-user/gridcoin/metadata.xml
new file mode 100644
index 0000000..9626eb8
--- /dev/null
+++ b/acct-user/gridcoin/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>sven.eden@prydeworx.com</email>
+ <name>Sven Eden</name>
+ </maintainer>
+ <use>
+ <flag name="boinc">Add user to boinc group, too.</flag>
+ </use>
+</pkgmetadata>