diff options
-rw-r--r-- | acct-user/postgres/metadata.xml | 8 | ||||
-rw-r--r-- | acct-user/postgres/postgres-0.ebuild | 15 |
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 000000000000..d6136db4ad3b --- /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 000000000000..e420798667c5 --- /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" |