acct-user/minecraft: add user for games-server/minecraft-server
authorConrad Kostecki <conrad@kostecki.com>
Tue, 6 Aug 2019 18:31:13 +0000 (20:31 +0200)
committerJoonas Niilola <juippis@gentoo.org>
Wed, 7 Aug 2019 15:34:51 +0000 (18:34 +0300)
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>
acct-user/minecraft/metadata.xml [new file with mode: 0644]
acct-user/minecraft/minecraft-0.ebuild [new file with mode: 0644]

diff --git a/acct-user/minecraft/metadata.xml b/acct-user/minecraft/metadata.xml
new file mode 100644 (file)
index 0000000..54d5423
--- /dev/null
@@ -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 (file)
index 0000000..8762fb7
--- /dev/null
@@ -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