[gentoo-dev] EAPI 2 must die

2019-06-05 Thread Andreas K. Huettel
Hi all, for the package maintainers among you, here's the list of remaining EAPI=2 packages. Please help getting the number down to zero soon!!! Cheers, Andreas app-emulation/ganeti-instance-debootstrap-0.11 app-misc/dnetc-2.9108.517 app-misc/dnetc-2.9110.519b dev-dotnet/flickrnet-bin-2.2-r1

Re: [gentoo-dev] [PATCH v2 6/9] acct-{group,user}.eclass: WIP eclasses to maintain users/groups

2019-06-05 Thread Michał Górny
On Wed, 2019-06-05 at 17:14 -0400, Michael Orlitzky wrote: > On 6/5/19 5:12 AM, Michał Górny wrote: > > + > > + # check for ACCT_USER_ID collisions early > > + if [[ -n ${ACCT_USER_ENFORCE_ID} ]]; then > > + local pwd=$(egetent passwd "${ACCT_USER_ID}") > > + if [[ -n

Re: [gentoo-dev] [PATCH v2 6/9] acct-{group,user}.eclass: WIP eclasses to maintain users/groups

2019-06-05 Thread Michał Górny
On Wed, 2019-06-05 at 21:10 +0200, Pacho Ramos wrote: > El mié, 05-06-2019 a las 11:12 +0200, Michał Górny escribió: > > [...] > > +# Then you add appropriate dependency to your package. The dependency > > +# type(s) should be: > > +# - DEPEND (+ RDEPEND) if the group is already needed at build

Re: [gentoo-dev] [PATCH v2 6/9] acct-{group,user}.eclass: WIP eclasses to maintain users/groups

2019-06-05 Thread Michał Górny
On Wed, 2019-06-05 at 13:46 +0200, Ulrich Mueller wrote: > > > > > > On Wed, 05 Jun 2019, Michał Górny wrote: > > +# @FUNCTION: acct-group_pkg_pretend > > +# @DESCRIPTION: > > +# Performs sanity checks for correct eclass usage, and early-checks > > +# whether requested GID can be enforced. > >

[gentoo-dev] last rites: dev-util/antlrworks

2019-06-05 Thread Andreas K. Huettel
# Andreas K. Hüttel (5 Jun 2019) # Unhandled version bumps since 2015, bug 293306. EAPI=2. # Removal in 30 days unless updated. dev-util/antlrworks -- Andreas K. Hüttel dilfri...@gentoo.org Gentoo Linux developer (council, toolchain, base-system, perl, libreoffice) signature.asc Description:

Re: [gentoo-dev] [PATCH v2 6/9] acct-{group,user}.eclass: WIP eclasses to maintain users/groups

2019-06-05 Thread Michael Orlitzky
On 6/5/19 5:12 AM, Michał Górny wrote: > + > + # check for ACCT_USER_ID collisions early > + if [[ -n ${ACCT_USER_ENFORCE_ID} ]]; then > + local pwd=$(egetent passwd "${ACCT_USER_ID}") > + if [[ -n ${pwd} ]]; then > + eerror "The required UID is

Re: [gentoo-dev] [PATCH v2 6/9] acct-{group,user}.eclass: WIP eclasses to maintain users/groups

2019-06-05 Thread Pacho Ramos
El mié, 05-06-2019 a las 11:12 +0200, Michał Górny escribió: > [...] > +# Then you add appropriate dependency to your package. The dependency > +# type(s) should be: > +# - DEPEND (+ RDEPEND) if the group is already needed at build time, > +# - RDEPEND if it is needed at install time (e.g. you

Re: [gentoo-dev] [PATCH v2] glep-xxxx: User and group management via dedicated packages

2019-06-05 Thread Ulrich Mueller
> On Wed, 05 Jun 2019, Michael Orlitzky wrote: > Should we require a mailing list review for new user/group packages? > It's difficult to modify a user once you've settled on a UID, home > directory, and shell; so it pays to get things right the first time. > The need is more apparent with

Re: [gentoo-dev] [PATCH v2] glep-xxxx: User and group management via dedicated packages

2019-06-05 Thread Michał Górny
On Wed, 2019-06-05 at 12:15 -0400, Michael Orlitzky wrote: > Should we require a mailing list review for new user/group packages? > > It's difficult to modify a user once you've settled on a UID, home > directory, and shell; so it pays to get things right the first time. Sounds like a good idea.

Re: [gentoo-dev] [PATCH v2] glep-xxxx: User and group management via dedicated packages

2019-06-05 Thread Michael Orlitzky
Should we require a mailing list review for new user/group packages? It's difficult to modify a user once you've settled on a UID, home directory, and shell; so it pays to get things right the first time. The need is more apparent with fixed UIDs: if a popular package "steals" a UID that some

[gentoo-dev] last rites: dev-java/glassfish-connector-api

2019-06-05 Thread Andreas K. Huettel
# Andreas K. Hüttel (5 Jun 2019) # Fails to build, bug 680252. EAPI=2. Removal in 30 days # unless fixed. dev-java/glassfish-connector-api -- Andreas K. Hüttel dilfri...@gentoo.org Gentoo Linux developer (council, toolchain, base-system, perl, libreoffice) signature.asc Description: This is a

Re: [gentoo-dev] [PATCH v2 6/9] acct-{group,user}.eclass: WIP eclasses to maintain users/groups

2019-06-05 Thread Ulrich Mueller
> On Wed, 05 Jun 2019, Michał Górny wrote: > +# @FUNCTION: acct-group_pkg_pretend > +# @DESCRIPTION: > +# Performs sanity checks for correct eclass usage, and early-checks > +# whether requested GID can be enforced. > +acct-group_pkg_pretend() { > + debug-print-function ${FUNCNAME} "${@}"

[gentoo-dev] [PATCH v2] glep-xxxx: User and group management via dedicated packages

2019-06-05 Thread Michał Górny
Here's the updated GLEP text. It has a few small changes based on feedback, and links reference implementation submitted to the ml. Signed-off-by: Michał Górny --- glep-.rst | 233 ++ 1 file changed, 233 insertions(+) create mode 100644

[gentoo-dev] [PATCH v2 8/9] acct-user/ftp: Add 'ftp' user (UID 21)

2019-06-05 Thread Michał Górny
Signed-off-by: Michał Górny --- acct-user/ftp/ftp-0.ebuild | 13 + acct-user/ftp/metadata.xml | 5 + profiles/categories| 1 + 3 files changed, 19 insertions(+) create mode 100644 acct-user/ftp/ftp-0.ebuild create mode 100644 acct-user/ftp/metadata.xml diff --git

[gentoo-dev] [PATCH v2 9/9] net-ftp/ftpbase: Utilize {group,user}/ftp

2019-06-05 Thread Michał Górny
Signed-off-by: Michał Górny --- net-ftp/ftpbase/ftpbase-0.01-r3.ebuild | 39 ++ 1 file changed, 39 insertions(+) create mode 100644 net-ftp/ftpbase/ftpbase-0.01-r3.ebuild diff --git a/net-ftp/ftpbase/ftpbase-0.01-r3.ebuild b/net-ftp/ftpbase/ftpbase-0.01-r3.ebuild new

[gentoo-dev] [PATCH v2 5/9] user.eclass: Die if no free UID/GID is found

2019-06-05 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/user.eclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eclass/user.eclass b/eclass/user.eclass index 1ffeaae29569..b16c4c6d69b7 100644 --- a/eclass/user.eclass +++ b/eclass/user.eclass @@ -160,6 +160,7 @@ enewuser() { for ((euid =

[gentoo-dev] [PATCH v2 6/9] acct-{group,user}.eclass: WIP eclasses to maintain users/groups

2019-06-05 Thread Michał Górny
--- eclass/acct-group.eclass | 105 +++ eclass/acct-user.eclass | 217 +++ 2 files changed, 322 insertions(+) create mode 100644 eclass/acct-group.eclass create mode 100644 eclass/acct-user.eclass diff --git a/eclass/acct-group.eclass

[gentoo-dev] [PATCH v2 7/9] acct-group/ftp: Add 'ftp' group (GID 21)

2019-06-05 Thread Michał Górny
Signed-off-by: Michał Górny --- acct-group/ftp/ftp-0.ebuild | 8 acct-group/ftp/metadata.xml | 5 + profiles/categories | 1 + 3 files changed, 14 insertions(+) create mode 100644 acct-group/ftp/ftp-0.ebuild create mode 100644 acct-group/ftp/metadata.xml diff --git

[gentoo-dev] [PATCH v2 2/9] user.eclass: Prevent automated home creation in useradd

2019-06-05 Thread Michał Górny
Pass '-M' to prevent useradd from automatically creating the home directory (depending on system configuration). We create the home directory ourselves anyway, and we have better control over how it's created this way. Signed-off-by: Michał Górny --- eclass/user.eclass | 2 +- 1 file changed,

[gentoo-dev] [PATCH v2 3/9] user.eclass: Support disabling home directory creation

2019-06-05 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/user.eclass | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/eclass/user.eclass b/eclass/user.eclass index 6be7d9f3..7eda668974f0 100644 --- a/eclass/user.eclass +++ b/eclass/user.eclass @@ -96,12 +96,15 @@ egetent()

[gentoo-dev] [PATCH v2 4/9] user.eclass: Support forcing specified UID/GID

2019-06-05 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/user.eclass | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/eclass/user.eclass b/eclass/user.eclass index 7eda668974f0..1ffeaae29569 100644 --- a/eclass/user.eclass +++ b/eclass/user.eclass @@ -96,13 +96,15 @@

[gentoo-dev] [PATCH v2 1/9] user.eclass: Do not create user-group automatically

2019-06-05 Thread Michał Górny
Closes: https://bugs.gentoo.org/512220 Signed-off-by: Michał Górny --- eclass/user.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/user.eclass b/eclass/user.eclass index f6a10a6bee28..a6c6ad82b7a0 100644 --- a/eclass/user.eclass +++ b/eclass/user.eclass @@

[gentoo-dev] [PATCH v2 0/9] User/group packages

2019-06-05 Thread Michał Górny
Hi, Here's the second iteration of user/group package implementation part. Changes from v1: - renamed categories and eclasses to acct-user and acct-group, - added ACCT_USER_HOME_{OWNER,PERMS} to control ownership and permissions of created home directories. -- Best regards, Michał Górny