Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH v3 18/19] acct-user/ftp: Add 'ftp' user (UID 21)
Date: Sun, 09 Jun 2019 11:34:44
Message-Id: 20190609112814.15907-19-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH v3 00/19] User/group packages by "Michał Górny"
1 Signed-off-by: Michał Górny <mgorny@g.o>
2 ---
3 acct-user/ftp/ftp-0.ebuild | 13 +++++++++++++
4 acct-user/ftp/metadata.xml | 5 +++++
5 profiles/categories | 1 +
6 3 files changed, 19 insertions(+)
7 create mode 100644 acct-user/ftp/ftp-0.ebuild
8 create mode 100644 acct-user/ftp/metadata.xml
9
10 diff --git a/acct-user/ftp/ftp-0.ebuild b/acct-user/ftp/ftp-0.ebuild
11 new file mode 100644
12 index 000000000000..86a3ef04f278
13 --- /dev/null
14 +++ b/acct-user/ftp/ftp-0.ebuild
15 @@ -0,0 +1,13 @@
16 +# Copyright 2019 Gentoo Authors
17 +# Distributed under the terms of the GNU General Public License v2
18 +
19 +EAPI=7
20 +
21 +inherit acct-user
22 +
23 +ACCT_USER_ID=21
24 +ACCT_USER_HOME=/home/ftp
25 +ACCT_USER_HOME_OWNER=root:ftp
26 +ACCT_USER_GROUPS=( ftp )
27 +
28 +acct-user_add_deps
29 diff --git a/acct-user/ftp/metadata.xml b/acct-user/ftp/metadata.xml
30 new file mode 100644
31 index 000000000000..7a38bb900964
32 --- /dev/null
33 +++ b/acct-user/ftp/metadata.xml
34 @@ -0,0 +1,5 @@
35 +<?xml version="1.0" encoding="UTF-8"?>
36 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
37 +<pkgmetadata>
38 + <!-- maintainer-needed -->
39 +</pkgmetadata>
40 diff --git a/profiles/categories b/profiles/categories
41 index ebfc72f70759..0f45f8cd1732 100644
42 --- a/profiles/categories
43 +++ b/profiles/categories
44 @@ -1,4 +1,5 @@
45 acct-group
46 +acct-user
47 app-accessibility
48 app-admin
49 app-antivirus
50 --
51 2.22.0.rc3