summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conrad@kostecki.com>2019-08-06 20:31:13 +0200
committerJoonas Niilola <juippis@gentoo.org>2019-08-07 18:34:51 +0300
commitc2547f538a0f3f07aad35aacee690f09c441c342 (patch)
treed75181da2ef1a705e526b66c3a99082ab6453bea /acct-user
parentacct-group/minecraft: add group for games-server/minecraft-server (diff)
downloadgentoo-c2547f538a0f3f07aad35aacee690f09c441c342.tar.gz
gentoo-c2547f538a0f3f07aad35aacee690f09c441c342.tar.bz2
gentoo-c2547f538a0f3f07aad35aacee690f09c441c342.zip
acct-user/minecraft: add user for games-server/minecraft-server
UID 490 will be used, as its available. Arch and Fedora don't have a UID for the minecraft user. Package-Manager: Portage-2.3.70, Repoman-2.3.16 Signed-off-by: Conrad Kostecki <conrad@kostecki.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'acct-user')
-rw-r--r--acct-user/minecraft/metadata.xml12
-rw-r--r--acct-user/minecraft/minecraft-0.ebuild14
2 files changed, 26 insertions, 0 deletions
diff --git a/acct-user/minecraft/metadata.xml b/acct-user/minecraft/metadata.xml
new file mode 100644
index 000000000000..54d5423c4060
--- /dev/null
+++ b/acct-user/minecraft/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ck+gentoo@bl4ckb0x.de</email>
+ <name>Conrad Kostecki</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/acct-user/minecraft/minecraft-0.ebuild b/acct-user/minecraft/minecraft-0.ebuild
new file mode 100644
index 000000000000..8762fb77e5a7
--- /dev/null
+++ b/acct-user/minecraft/minecraft-0.ebuild
@@ -0,0 +1,14 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-user
+
+DESCRIPTION="A user for the Minecraft server"
+
+ACCT_USER_GROUPS=( "minecraft" )
+ACCT_USER_HOME="/var/lib/minecraft-server"
+ACCT_USER_ID="490"
+
+acct-user_add_deps