Gentoo Archives: gentoo-commits

From: "Aaron W. Swenson" <titanofold@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: acct-user/postgres/
Date: Sat, 29 Feb 2020 12:18:37
Message-Id: 1582978681.442ea86317094f9f1c1f44f84f9d51e034f734b3.titanofold@gentoo
1 commit: 442ea86317094f9f1c1f44f84f9d51e034f734b3
2 Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 29 12:17:57 2020 +0000
4 Commit: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 29 12:18:01 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=442ea863
7
8 acct-user/postgres: Add 'postgres' user (UID 70)
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Aaron W. Swenson <titanofold <AT> gentoo.org>
12
13 acct-user/postgres/metadata.xml | 8 ++++++++
14 acct-user/postgres/postgres-0.ebuild | 15 +++++++++++++++
15 2 files changed, 23 insertions(+)
16
17 diff --git a/acct-user/postgres/metadata.xml b/acct-user/postgres/metadata.xml
18 new file mode 100644
19 index 00000000000..d6136db4ad3
20 --- /dev/null
21 +++ b/acct-user/postgres/metadata.xml
22 @@ -0,0 +1,8 @@
23 +<?xml version="1.0" encoding="UTF-8"?>
24 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
25 +<pkgmetadata>
26 + <maintainer type="project">
27 + <email>pgsql-bugs@g.o</email>
28 + <name>PostgreSQL and Related Package Development</name>
29 + </maintainer>
30 +</pkgmetadata>
31
32 diff --git a/acct-user/postgres/postgres-0.ebuild b/acct-user/postgres/postgres-0.ebuild
33 new file mode 100644
34 index 00000000000..e420798667c
35 --- /dev/null
36 +++ b/acct-user/postgres/postgres-0.ebuild
37 @@ -0,0 +1,15 @@
38 +# Copyright 2020 Gentoo Authors
39 +# Distributed under the terms of the GNU General Public License v2
40 +
41 +EAPI=7
42 +
43 +inherit acct-user
44 +
45 +DESCRIPTION="PostgreSQL program user"
46 +ACCT_USER_ID=70
47 +ACCT_USER_GROUPS=( postgres )
48 +ACCT_USER_HOME=/var/lib/postgresql
49 +ACCT_USER_HOME_PERMS=0700
50 +ACCT_USER_SHELL=/bin/sh
51 +acct-user_add_deps
52 +SLOT="0"