Gentoo Archives: gentoo-dev

From: Marek Szuba <marecki@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [PATCH 2/2] acct-user/xrootd: new user for UID 469
Date: Fri, 20 Dec 2019 13:26:54
Message-Id: 20191220132521.578353-2-marecki@gentoo.org
In Reply to: [gentoo-dev] [PATCH 1/2] acct-group/xrootd: new group for GID 469 by Marek Szuba
1 enewuser in net-libs/xrootd ebuilds has set the home directory to
2 "${EPREFIX}"/var/spool/xrootd but as far as I can recall from my
3 personal experience or see in the documentation, it isn't really
4 necessary for that user to have a home directory.
5
6 Package-Manager: Portage-2.3.79, Repoman-2.3.16
7 Signed-off-by: Marek Szuba <marecki@g.o>
8 ---
9 acct-user/xrootd/metadata.xml | 8 ++++++++
10 acct-user/xrootd/xrootd-0.ebuild | 12 ++++++++++++
11 2 files changed, 20 insertions(+)
12 create mode 100644 acct-user/xrootd/metadata.xml
13 create mode 100644 acct-user/xrootd/xrootd-0.ebuild
14
15 diff --git a/acct-user/xrootd/metadata.xml b/acct-user/xrootd/metadata.xml
16 new file mode 100644
17 index 00000000000..46a304a17de
18 --- /dev/null
19 +++ b/acct-user/xrootd/metadata.xml
20 @@ -0,0 +1,8 @@
21 +<?xml version="1.0" encoding="UTF-8"?>
22 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
23 +<pkgmetadata>
24 + <maintainer type="project">
25 + <email>sci-physics@g.o</email>
26 + <name>Gentoo Physics Project</name>
27 + </maintainer>
28 +</pkgmetadata>
29 diff --git a/acct-user/xrootd/xrootd-0.ebuild b/acct-user/xrootd/xrootd-0.ebuild
30 new file mode 100644
31 index 00000000000..7b0eaaf9584
32 --- /dev/null
33 +++ b/acct-user/xrootd/xrootd-0.ebuild
34 @@ -0,0 +1,12 @@
35 +# Copyright 2019 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=7
39 +
40 +inherit acct-user
41 +
42 +DESCRIPTION="User for the XRootD server"
43 +ACCT_USER_ID=469
44 +ACCT_USER_GROUPS=( "${PN}" )
45 +
46 +acct-user_add_deps
47 --
48 2.24.1