commit: 81b2e9fc9306cec4d6cd9d1614b4fad8321dae87 Author: William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com> AuthorDate: Mon Mar 9 01:03:38 2020 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Mon Mar 9 05:55:10 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81b2e9fc
acct-user/minetest: Add home directory Minetest requires a home directory to store user data. This patch adds /var/lib/minetest as the default home directory for the minetest user. Bug: https://bugs.gentoo.org/709530 Signed-off-by: William Breathitt Gray <vilhelm.gray <AT> gmail.com> Closes: https://github.com/gentoo/gentoo/pull/14890 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> acct-user/minetest/minetest-1.ebuild | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/acct-user/minetest/minetest-1.ebuild b/acct-user/minetest/minetest-1.ebuild new file mode 100644 index 00000000000..728978354ba --- /dev/null +++ b/acct-user/minetest/minetest-1.ebuild @@ -0,0 +1,14 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit acct-user + +DESCRIPTION="A user for the Minetest server" + +ACCT_USER_GROUPS=( "minetest" ) +ACCT_USER_ID="480" +ACCT_USER_HOME="/var/lib/minetest" + +acct-user_add_deps