summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Eden <sven.eden@prydeworx.com>2022-08-06 10:53:05 +0200
committerSven Eden <sven.eden@prydeworx.com>2022-08-06 10:53:05 +0200
commit53da0cd61096eba219228264e19d8cbfe62cfdd7 (patch)
treeaf65797995fede5930d853b8143964d540605f70
parentacct-group/ethminer: new package, add 0 (diff)
downloadseden-53da0cd61096eba219228264e19d8cbfe62cfdd7.tar.gz
seden-53da0cd61096eba219228264e19d8cbfe62cfdd7.tar.bz2
seden-53da0cd61096eba219228264e19d8cbfe62cfdd7.zip
acct-user/ethminer: new package, add 0
Signed-off-by: Sven Eden <sven.eden@prydeworx.com>
-rw-r--r--acct-user/ethminer/Manifest2
-rw-r--r--acct-user/ethminer/ethminer-0.ebuild17
-rw-r--r--acct-user/ethminer/metadata.xml11
3 files changed, 30 insertions, 0 deletions
diff --git a/acct-user/ethminer/Manifest b/acct-user/ethminer/Manifest
new file mode 100644
index 0000000..8483d0b
--- /dev/null
+++ b/acct-user/ethminer/Manifest
@@ -0,0 +1,2 @@
+EBUILD ethminer-0.ebuild 315 BLAKE2B 0f20f45584d11f0b2329da0f4645b23b4a692a588fd07d4d5d81017f8000950babb00332d6870d098be4a4c95d5ec0e0d7e859699878efdc73dc7e1f96104207 SHA512 2509fd1c7799f1203812c23616ae7fd508278ae4c523b74e2b842601148e9637fe953c8545d449c8e5a71664a216ba9321d9ec6c70355788fb04678394eacb9c
+MISC metadata.xml 321 BLAKE2B 51a824eced2600caea26a349e5ab618524ece320f1e366d5508395e91e63a3c6074ffdc7cfacdb4f79da2042bbd7ecefa0f87460b39a408f747f61d01df5f102 SHA512 571ecef143d3b68a2415ac8a826d7b6f01e1b0ec31317f4f4d7ec259b5dd2378307022290e6047fd9c5074274948375b9c6d2a28ba454a4eabdcfe646f06382a
diff --git a/acct-user/ethminer/ethminer-0.ebuild b/acct-user/ethminer/ethminer-0.ebuild
new file mode 100644
index 0000000..dbf7095
--- /dev/null
+++ b/acct-user/ethminer/ethminer-0.ebuild
@@ -0,0 +1,17 @@
+# 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=( ethminer )
+ACCT_USER_HOME="/var/lib/${PN}"
+ACCT_USER_HOME_PERMS=0750
+
+DESCRIPTION="user for ethminer daemon"
+
+acct-user_add_deps
+
+KEYWORDS="~amd64 ~x86"
diff --git a/acct-user/ethminer/metadata.xml b/acct-user/ethminer/metadata.xml
new file mode 100644
index 0000000..9626eb8
--- /dev/null
+++ b/acct-user/ethminer/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>