Re: [gentoo-dev] User/group packages: the masterplan

2019-06-20 Thread Michał Górny
On Tue, 2019-06-18 at 13:31 +0200, Michał Górny wrote: > Hi, everyone. > > Since there were no major objections raised against the proposal of > switching user/group management to dedicated acct-*/* packages, I'd like > to proceed as follows: > > 1. Commit GLEP 81 draft (as of last posting [1],

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

2019-06-20 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 2/7] acct-user/ftp: Add 'ftp' user (UID 21)

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

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

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

[gentoo-dev] [PATCH 0/7] User/group assignment: ftp, mail, postmaster

2019-06-20 Thread Michał Górny
Hi, Here's the RFC for first acct-* packages I'd like to commit. This is also a request to reserve the respective UIDs/GIDs. Namely: Groups: ftp - 21 mail - 12 (on Linux, FreeBSD has it in baselayout) Users: ftp - 21 mail - 8 (on Linux, likewise) postmaster - 14 I have included

[gentoo-dev] [PATCH 5/7] acct-user/mail: Add 'mail' user (UID 8 on Linux)

2019-06-20 Thread Michał Górny
Signed-off-by: Michał Górny --- acct-user/mail/mail-0.ebuild | 15 +++ acct-user/mail/metadata.xml | 8 2 files changed, 23 insertions(+) create mode 100644 acct-user/mail/mail-0.ebuild create mode 100644 acct-user/mail/metadata.xml diff --git

[gentoo-dev] [PATCH 4/7] acct-group/mail: Add 'mail' group (GID 12 on Linux)

2019-06-20 Thread Michał Górny
Signed-off-by: Michał Górny --- acct-group/mail/mail-0.ebuild | 9 + acct-group/mail/metadata.xml | 8 2 files changed, 17 insertions(+) create mode 100644 acct-group/mail/mail-0.ebuild create mode 100644 acct-group/mail/metadata.xml diff --git

[gentoo-dev] [PATCH 6/7] acct-user/postmaster: Add 'postmaster' user (UID 14)

2019-06-20 Thread Michał Górny
Signed-off-by: Michał Górny --- acct-user/postmaster/metadata.xml| 8 acct-user/postmaster/postmaster-0.ebuild | 15 +++ 2 files changed, 23 insertions(+) create mode 100644 acct-user/postmaster/metadata.xml create mode 100644

[gentoo-dev] [PATCH 7/7] net-mail/mailbase: Migrate to use acct-*/{mail,postmaster}

2019-06-20 Thread Michał Górny
Signed-off-by: Michał Górny --- net-mail/mailbase/mailbase-1.5-r1.ebuild | 45 1 file changed, 45 insertions(+) create mode 100644 net-mail/mailbase/mailbase-1.5-r1.ebuild diff --git a/net-mail/mailbase/mailbase-1.5-r1.ebuild b/net-mail/mailbase/mailbase-1.5-r1.ebuild

[gentoo-dev] RFC: acct-group/gamestat

2019-06-20 Thread Ulrich Mueller
"gamestat" group with gid 36, as defined by QA policy: https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Policies#Games Not attaching the ebuild, because it's standard boilerplate, defining only two variables: DESCRIPTION="Group for shared game state files" ACCT_GROUP_ID=36 Its first

Re: [gentoo-dev] Re: EAPI 2 must die

2019-06-20 Thread Martin Dummer
Am 06.06.19 um 17:28 schrieb Anthony G. Basile: > Didn't we have some "archive" for old ebuilds? Maybe we can move > it there. What about an overlay for this purpose? Its like in real life they come into life and leave the same way... Despite that, I usually dig in the git repository when I

Re: [gentoo-dev] [PATCH 0/7] User/group assignment: ftp, mail, postmaster

2019-06-20 Thread Ulrich Mueller
> On Thu, 20 Jun 2019, Michał Górny wrote: > Here's the RFC for first acct-* packages I'd like to commit. This is > also a request to reserve the respective UIDs/GIDs. Namely: > Groups: > ftp - 21 > mail - 12 (on Linux, FreeBSD has it in baselayout) > Users: > ftp - 21 > mail - 8

Re: [gentoo-dev] [PATCH 4/7] acct-group/mail: Add 'mail' group (GID 12 on Linux)

2019-06-20 Thread Ulrich Mueller
> On Thu, 20 Jun 2019, Michał Górny wrote: > --- /dev/null > +++ b/acct-group/mail/mail-0.ebuild > @@ -0,0 +1,9 @@ > +# Copyright 2019 Gentoo Authors > +# Distributed under the terms of the GNU General Public License v2 > + > +EAPI=7 > + > +inherit acct-group > + > +DESCRIPTION="Mail program

Re: [gentoo-dev] RFC: acct-group/gamestat

2019-06-20 Thread Michał Górny
On Thu, 2019-06-20 at 13:49 +0200, Ulrich Mueller wrote: > "gamestat" group with gid 36, as defined by QA policy: > https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Policies#Games > > Not attaching the ebuild, because it's standard boilerplate, defining > only two variables: > >

[gentoo-portage-dev] [PATCH] [repoman] Allow empty LICENSE in acct-* packages

2019-06-20 Thread Michał Górny
Since acct-* packages do not create any files (except for keepfile for the home directory), it is perfectly normal for the LICENSE to be empty. --- repoman/lib/repoman/modules/scan/metadata/ebuild_metadata.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [gentoo-dev] [PATCH 4/7] acct-group/mail: Add 'mail' group (GID 12 on Linux)

2019-06-20 Thread Michał Górny
On Thu, 2019-06-20 at 14:57 +0200, Ulrich Mueller wrote: > > > > > > On Thu, 20 Jun 2019, Michał Górny wrote: > > --- /dev/null > > +++ b/acct-group/mail/mail-0.ebuild > > @@ -0,0 +1,9 @@ > > +# Copyright 2019 Gentoo Authors > > +# Distributed under the terms of the GNU General Public License v2 >

Re: [gentoo-dev] User/group packages: the masterplan

2019-06-20 Thread Brian Evans
On 6/18/2019 7:31 AM, Michał Górny wrote: > > 3. Give people some time for wider testing. > > At this point, the new eclasses would be non-binding, i.e. you will > still be able to commit new packages using user.eclass old style. > The eclasses would be bound with usual eclass stability

Re: [gentoo-dev] User/group packages: the masterplan

2019-06-20 Thread Michał Górny
On Thu, 2019-06-20 at 09:07 -0400, Brian Evans wrote: > On 6/18/2019 7:31 AM, Michał Górny wrote: > > 3. Give people some time for wider testing. > > > > At this point, the new eclasses would be non-binding, i.e. you will > > still be able to commit new packages using user.eclass old style. > >

Re: [gentoo-dev] [PATCH 0/7] User/group assignment: ftp, mail, postmaster

2019-06-20 Thread Michał Górny
On Thu, 2019-06-20 at 18:35 +, Robin H. Johnson wrote: > On Thu, Jun 20, 2019 at 11:33:04AM -0700, Georgy Yakovlev wrote: > > On Thursday, June 20, 2019 3:11:07 AM PDT Michał Górny wrote: > > > Hi, > > > Please review. > > > > > > [1] > > >

[gentoo-portage-dev] Constraint-Based Dependency Solver for Portage: again

2019-06-20 Thread michael . lienhardt
Dear all, A few months ago, I got back to my constraint-based dependency solver for portage, that I had to leave for a while. Thanks to Zac Medico, it is now based on portage itself to query the portage tree, and so the code is far simpler (and far less buggy). It is on github:

Re: [gentoo-portage-dev] Constraint-Based Dependency Solver for Portage: again

2019-06-20 Thread Zac Medico
On 6/20/19 12:02 PM, michael.lienha...@laposte.net wrote: > Dear all, > > A few months ago, I got back to my constraint-based dependency solver for > portage, that I had to leave for a while. > Thanks to Zac Medico, it is now based on portage itself to query the portage > tree, and so the code

Re: [gentoo-dev] [PATCH 0/7] User/group assignment: ftp, mail, postmaster

2019-06-20 Thread Georgy Yakovlev
On Thursday, June 20, 2019 3:11:07 AM PDT Michał Górny wrote: > Hi, > > Please review. > > [1] > https://wiki.gentoo.org/wiki/Project:Quality_Assurance/UID_GID_Assignment > it's probably wort adding links to other distro standard UIDs as a reference. RHEL[1] Fedora[2] Arch[3] [1]

Re: [gentoo-portage-dev] [PATCH] [repoman] Allow empty LICENSE in acct-* packages

2019-06-20 Thread Zac Medico
On 6/20/19 5:33 AM, Michał Górny wrote: > Since acct-* packages do not create any files (except for keepfile > for the home directory), it is perfectly normal for the LICENSE > to be empty. > --- > repoman/lib/repoman/modules/scan/metadata/ebuild_metadata.py | 4 ++-- > 1 file changed, 2

Re: [gentoo-dev] [PATCH 0/7] User/group assignment: ftp, mail, postmaster

2019-06-20 Thread Michał Górny
On Thu, 2019-06-20 at 11:33 -0700, Georgy Yakovlev wrote: > On Thursday, June 20, 2019 3:11:07 AM PDT Michał Górny wrote: > > Hi, > > Please review. > > > > [1] > > https://wiki.gentoo.org/wiki/Project:Quality_Assurance/UID_GID_Assignment > > > > it's probably wort adding links to other distro

Re: [gentoo-dev] [PATCH 0/7] User/group assignment: ftp, mail, postmaster

2019-06-20 Thread Robin H. Johnson
On Thu, Jun 20, 2019 at 11:33:04AM -0700, Georgy Yakovlev wrote: > On Thursday, June 20, 2019 3:11:07 AM PDT Michał Górny wrote: > > Hi, > > > > > Please review. > > > > [1] > > https://wiki.gentoo.org/wiki/Project:Quality_Assurance/UID_GID_Assignment > > > > it's probably wort adding links

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

2019-06-20 Thread Brian Evans
On 6/9/2019 7:39 AM, Michał Górny wrote: > +Specification > += > + > +Policy > +-- > + > +Following the acceptance of this GLEP, all new users and groups must > +be created via user/group packages as defined in this GLEP. The old > +method may still be used for existing

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

2019-06-20 Thread Michael Orlitzky
On 6/20/19 9:53 AM, Brian Evans wrote: >> + >> +Following the acceptance of this GLEP, all new users and groups must >> +be created via user/group packages as defined in this GLEP. The old >> +method may still be used for existing users/groups, in existing >> +packages. >> + >> +All new users and

[gentoo-dev] [PATCH 2/2] package.mask: Mask vulnerable FreeBSD base packages

2019-06-20 Thread Michał Górny
Signed-off-by: Michał Górny --- profiles/package.mask | 22 ++ 1 file changed, 22 insertions(+) diff --git a/profiles/package.mask b/profiles/package.mask index ec22b0c89967..2065a8980d0e 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -29,6 +29,28 @@

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

2019-06-20 Thread Michał Górny
On Thu, 2019-06-20 at 09:53 -0400, Brian Evans wrote: > On 6/9/2019 7:39 AM, Michał Górny wrote: > > +Tracking of user/group usage is done through dependencies. As long > > +as any installed package depends on a specific user/group package, > > +the respective user/group is assumed to be used.

[gentoo-dev] [PATCH 1/2] profiles.desc: Mark last amd64-fbsd profile exp

2019-06-20 Thread Michał Górny
The G/FBSD team is not really capable of supporting a stable profile anymore. More and more packages are failing due to upstream relying on Linux userland and/or newer FreeBSD version. At the same time, our core packages are outdated and vulnerable, and nobody worked on them for a long time.