acct-user/pgagent: Initial 0 release for GLEP-81 update

Bug: https://bugs.gentoo.org/781284
Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>
This commit is contained in:
Aaron W. Swenson
2022-03-15 12:50:36 -04:00
parent 5bdcfad960
commit 2f23d05413
2 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://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>

View File

@@ -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}"
}