Re: [gentoo-dev] [PATCH v4 12/19] user.eclass: Support getting & setting comment field

2019-06-12 Thread Jaco Kroon
Hi, + # update the comment + case ${CHOST} in + *-freebsd*|*-dragonfly*) + pw usermod "${euser}" -c "${ecomment}" && return 0 + [[ $? == 8 ]] && eerror "${euser} is in use, cannot update comment" + eerror "There was an error when

Re: [gentoo-dev] [PATCH] profiles: add more language codes to desc/l10n.desc

2019-06-12 Thread Ulrich Mueller
> On Wed, 12 Jun 2019, Marek Szuba wrote: >>> +dv - Dhivehi >> >> IANA registry says: >> >> | Subtag: dv >> | Description: Dhivehi >> | Description: Divehi >> | Description: Maldivian >> >> So maybe make it 'Dhivehi (Maldivian)'? > Originally I had all three names here but then I noticed

Re: [gentoo-dev] [PATCH] profiles: add more language codes to desc/l10n.desc

2019-06-12 Thread Michał Górny
On Wed, 2019-06-12 at 16:02 +0100, Marek Szuba wrote: > All of these are supported by recent versions of app-text/tesseract. > Checked against ISO-639 using the code tables from > https://iso639-3.sil.org/ . > > Signed-off-by: Marek Szuba > --- > profiles/desc/l10n.desc | 14 ++ > 1

[gentoo-dev] [PATCH] profiles: add more language codes to desc/l10n.desc

2019-06-12 Thread Marek Szuba
All of these are supported by recent versions of app-text/tesseract. Checked against ISO-639 using the code tables from https://iso639-3.sil.org/ . Signed-off-by: Marek Szuba --- profiles/desc/l10n.desc | 14 ++ 1 file changed, 14 insertions(+) diff --git a/profiles/desc/l10n.desc

Re: [gentoo-dev] [PATCH] profiles: add more language codes to desc/l10n.desc

2019-06-12 Thread Marek Szuba
On 2019-06-12 16:12, Michał Górny wrote: >> +dv - Dhivehi > > IANA registry says: > > | Subtag: dv > | Description: Dhivehi > | Description: Divehi > | Description: Maldivian > > So maybe make it 'Dhivehi (Maldivian)'? Originally I had all three names here but then I noticed that for at least

Re: [gentoo-dev] [PATCH v4 19/19] net-ftp/ftpbase: Utilize {group,user}/ftp

2019-06-12 Thread Michael Orlitzky
On 6/11/19 12:23 PM, Michał Górny wrote: > +++ b/net-ftp/ftpbase/ftpbase-0.01-r3.ebuild > @@ -0,0 +1,39 @@ > +# Copyright 1999-2019 Gentoo Authors > +# Distributed under the terms of the GNU General Public License v2 > + > +EAPI=7 > + > +inherit eutils pam user > + user.eclass can go, and I'm

Re: [gentoo-dev] [PATCH v4 08/19] user.eclass: Factor out finding nologin into separate function

2019-06-12 Thread Michael Orlitzky
On 6/11/19 12:23 PM, Michał Górny wrote: > > +# @FUNCTION: user_get_nologin > +# @INTERNAL > +# @DESCRIPTION: > +# Find an appropriate 'nologin' shell for the platform, and output > +# its path. > +user_get_nologin() { This isn't a great name for this function, because it doesn't have anything

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

2019-06-12 Thread Michael Orlitzky
On 6/9/19 7:39 AM, Michał Górny wrote: > > + > +All new users and groups must have unique UIDs/GIDs assigned > +by developers. The developer adding them is responsible for checking > +for collisions. > > ... > > +All user and group packages must define preferred fixed UIDs/GIDs, > +and they

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

2019-06-12 Thread Michał Górny
On Wed, 2019-06-12 at 22:21 -0400, Michael Orlitzky wrote: > On 6/9/19 7:39 AM, Michał Górny wrote: > > + > > +All new users and groups must have unique UIDs/GIDs assigned > > +by developers. The developer adding them is responsible for checking > > +for collisions. > > > > ... > > > > +All

Re: [gentoo-dev] [PATCH v4 08/19] user.eclass: Factor out finding nologin into separate function

2019-06-12 Thread Michał Górny
On Wed, 2019-06-12 at 21:11 -0400, Michael Orlitzky wrote: > On 6/11/19 12:23 PM, Michał Górny wrote: > > > > +# @FUNCTION: user_get_nologin > > +# @INTERNAL > > +# @DESCRIPTION: > > +# Find an appropriate 'nologin' shell for the platform, and output > > +# its path. > > +user_get_nologin() { >