summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron W. Swenson <titanofold@gentoo.org>2020-02-29 07:17:57 -0500
committerAaron W. Swenson <titanofold@gentoo.org>2020-02-29 07:18:01 -0500
commit442ea86317094f9f1c1f44f84f9d51e034f734b3 (patch)
tree93b1036c9eb99f576a2753eed2ca68e1c3733ba9 /acct-user
parentacct-group/postgres: Add 'postgres' group (GID 70) (diff)
downloadgentoo-442ea86317094f9f1c1f44f84f9d51e034f734b3.tar.gz
gentoo-442ea86317094f9f1c1f44f84f9d51e034f734b3.tar.bz2
gentoo-442ea86317094f9f1c1f44f84f9d51e034f734b3.zip
acct-user/postgres: Add 'postgres' user (UID 70)
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>
Diffstat (limited to 'acct-user')
-rw-r--r--acct-user/postgres/metadata.xml8
-rw-r--r--acct-user/postgres/postgres-0.ebuild15
2 files changed, 23 insertions, 0 deletions
diff --git a/acct-user/postgres/metadata.xml b/acct-user/postgres/metadata.xml
new file mode 100644
index 00000000000..d6136db4ad3
--- /dev/null
+++ b/acct-user/postgres/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>pgsql-bugs@gentoo.org</email>
+ <name>PostgreSQL and Related Package Development</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/acct-user/postgres/postgres-0.ebuild b/acct-user/postgres/postgres-0.ebuild
new file mode 100644
index 00000000000..e420798667c
--- /dev/null
+++ b/acct-user/postgres/postgres-0.ebuild
@@ -0,0 +1,15 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-user
+
+DESCRIPTION="PostgreSQL program user"
+ACCT_USER_ID=70
+ACCT_USER_GROUPS=( postgres )
+ACCT_USER_HOME=/var/lib/postgresql
+ACCT_USER_HOME_PERMS=0700
+ACCT_USER_SHELL=/bin/sh
+acct-user_add_deps
+SLOT="0"