diff --git a/acct-user/pgagent/metadata.xml b/acct-user/pgagent/metadata.xml new file mode 100644 index 0000000000000..0f3250aaa4f01 --- /dev/null +++ b/acct-user/pgagent/metadata.xml @@ -0,0 +1,8 @@ + + + + + pgsql-bugs@gentoo.org + PostgreSQL and Related Package Development + + diff --git a/acct-user/pgagent/pgagent-0.ebuild b/acct-user/pgagent/pgagent-0.ebuild new file mode 100644 index 0000000000000..da03477a46a19 --- /dev/null +++ b/acct-user/pgagent/pgagent-0.ebuild @@ -0,0 +1,22 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit acct-user + +DESCRIPTION="pgagent program user" +ACCT_USER_ID=135 +ACCT_USER_SHELL=/bin/bash +ACCT_USER_HOME=/var/lib/pgagent +ACCT_USER_GROUPS=( pgagent ) +acct-user_add_deps +SLOT="0" + +pkg_postinst() { + ewarn "The home directory has changed for pgagent." + ewarn "You should move files, especially .pgpass, from:" + ewarn " /home/pgagent" + ewarn "To:" + ewarn " ${ACCT_USER_HOME}" +}