Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 802498 - eclass/postgres.eclass: migrate to glep-81
Summary: eclass/postgres.eclass: migrate to glep-81
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: glep-81
  Show dependency tree
 
Reported: 2021-07-16 16:11 UTC by Conrad Kostecki
Modified: 2022-03-15 15:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Conrad Kostecki gentoo-dev 2021-07-16 16:11:58 UTC
The eclass postgres.eclass is still using old user.eclass. Plesae migrate to glep-81.
Comment 1 Conrad Kostecki gentoo-dev 2021-07-20 20:37:21 UTC
This would be a good idea, to kill the function 'postgres_new_user' inside of the eclass.

This function is only being called by dev-db/pgpool2 and add basically adds a user pgpool with addition postgres as secondary group. This could be easilly migrated to acct-* eclass inside pgpool.

Any objections against this?
Comment 2 Larry the Git Cow gentoo-dev 2022-03-15 15:44:05 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c1354662cde382fd31bab661134828121b8acc9

commit 3c1354662cde382fd31bab661134828121b8acc9
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2022-02-13 22:04:00 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2022-03-15 15:43:28 +0000

    eclass/postgres.eclass: migrate to glep-81
    
    Closes: https://github.com/gentoo/gentoo/pull/24185
    Closes: https://bugs.gentoo.org/802498
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 eclass/postgres.eclass | 27 ---------------------------
 1 file changed, 27 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1afbb8d69a3ec6684893f064f3a7e05ab4c2df85

commit 1afbb8d69a3ec6684893f064f3a7e05ab4c2df85
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2022-02-13 22:02:14 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2022-03-15 15:43:27 +0000

    dev-db/pgpool2: migrate to glep-81
    
    Closes: https://github.com/gentoo/gentoo/pull/24185
    Bug: https://bugs.gentoo.org/802498
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 .../{pgpool2-4.2.1-r1.ebuild => pgpool2-4.2.1-r2.ebuild}    | 13 ++++++-------
 .../{pgpool2-4.2.2-r1.ebuild => pgpool2-4.2.2-r2.ebuild}    | 12 +++++-------
 dev-db/pgpool2/pgpool2-9999.ebuild                          |  6 +++---
 3 files changed, 14 insertions(+), 17 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b65c9a0b7b9a019cad40dace04232b3e3bbe0b15

commit b65c9a0b7b9a019cad40dace04232b3e3bbe0b15
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2022-02-13 21:58:18 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2022-03-15 15:43:26 +0000

    acct-user/pgpool: initial import
    
    This add a user (106) for dev-db/pgpool2.
    
    Closes: https://github.com/gentoo/gentoo/pull/24185
    Bug: https://bugs.gentoo.org/802498
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 acct-user/pgpool/metadata.xml    |  8 ++++++++
 acct-user/pgpool/pgpool-0.ebuild | 13 +++++++++++++
 2 files changed, 21 insertions(+)