Re: [gentoo-dev] [PATCH] acct-user.eclass: handle missing path in preinst

2019-08-14 Thread Mike Gilbert
On Wed, Aug 14, 2019, 5:29 PM Michael Orlitzky wrote: > On 8/14/19 5:14 PM, Mike Gilbert wrote: > > Closes: https://bugs.gentoo.org/691478 > > Signed-off-by: Mike Gilbert > > --- > > eclass/acct-user.eclass | 5 + > > This is a symptom of another problem. T

Re: [gentoo-dev] [PATCH] acct-user.eclass: handle missing path in preinst

2019-08-14 Thread Mike Gilbert
On Wed, Aug 14, 2019, 5:26 PM Michał Górny wrote: > On Wed, 2019-08-14 at 17:14 -0400, Mike Gilbert wrote: > > Closes: https://bugs.gentoo.org/691478 > > Signed-off-by: Mike Gilbert > > --- > > eclass/acct-user.eclass | 5 + > > 1 file changed, 5 insertio

[gentoo-dev] [PATCH] acct-user.eclass: handle missing path in preinst

2019-08-14 Thread Mike Gilbert
Closes: https://bugs.gentoo.org/691478 Signed-off-by: Mike Gilbert --- eclass/acct-user.eclass | 5 + 1 file changed, 5 insertions(+) diff --git a/eclass/acct-user.eclass b/eclass/acct-user.eclass index 60009643c144..cec5d0506879 100644 --- a/eclass/acct-user.eclass +++ b/eclass/acct

Re: [gentoo-dev] RFC: UID/GID assignment for apache (81)

2019-08-13 Thread Mike Gilbert
On Tue, Aug 13, 2019 at 1:39 PM Michael Orlitzky wrote: > > On 8/13/19 1:14 PM, Lars Wendler wrote: > > I would like to reserve UID/GID 81 for apache (www-servers/apache). > > > > This is the historical UID/GID for apache user in Gentoo. > > Fedora and RedHat use UID/GID 48. Arch Linux has no > >

[gentoo-dev] UID/GID assignment for messagebus (101)

2019-08-12 Thread Mike Gilbert
This account is used by sys-apps/dbus. I picked 101 because it is the ID that enewuser happened to assign on my system 10+ years ago. It also happens to land right next to another freedesktop project polkitd/102. Other distros name the account differently (dbus), and use an ID that conflicts

Re: [gentoo-dev] [PATCH] glep-0081: prohibit KEYWORDS altering

2019-08-07 Thread Mike Gilbert
On Wed, Aug 7, 2019 at 12:02 PM Kent Fredric wrote: > > On Wed, 07 Aug 2019 17:55:21 +0200 > Ulrich Mueller wrote: > > > Plus, the eclasses explicitly allow KEYWORDS to be overridden by the > > ebuild: > > > > : ${KEYWORDS:=alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 ~riscv > > s390 sh

[gentoo-dev] UID/GID assignment for polkitd (102)

2019-08-05 Thread Mike Gilbert
I would like to reserve UID/GID 102 for polkitd (sys-auth/polkit). This is the same ID used by Arch Linux.

[gentoo-dev] [PATCH 2/3] acct-user/transmission: new user (169)

2019-08-04 Thread Mike Gilbert
ID matches Arch Linux. Package-Manager: Portage-2.3.70_p2, Repoman-2.3.16_p22 Signed-off-by: Mike Gilbert --- acct-user/transmission/metadata.xml | 8 acct-user/transmission/transmission-0.ebuild | 12 2 files changed, 20 insertions(+) create mode 100644 acct

[gentoo-dev] [PATCH 3/3] net-p2p/transmission: depend on acct-user/transmission

2019-08-04 Thread Mike Gilbert
Package-Manager: Portage-2.3.70_p2, Repoman-2.3.16_p22 Signed-off-by: Mike Gilbert --- net-p2p/transmission/transmission-2.94.ebuild | 18 ++--- net-p2p/transmission/transmission-.ebuild | 20 +++ 2 files changed, 13 insertions(+), 25 deletions(-) diff --git

[gentoo-dev] [PATCH 1/3] acct-group/transmission: new group (169)

2019-08-04 Thread Mike Gilbert
ID matches Arch Linux. Package-Manager: Portage-2.3.70_p2, Repoman-2.3.16_p22 Signed-off-by: Mike Gilbert --- acct-group/transmission/metadata.xml | 8 acct-group/transmission/transmission-0.ebuild | 8 2 files changed, 16 insertions(+) create mode 100644 acct-group

[gentoo-portage-dev] Re: [PATCH] process: add _has_ipv6() function

2019-08-04 Thread Mike Gilbert
On Sun, Aug 4, 2019 at 9:40 AM Mike Gilbert wrote: > > On Sun, Aug 4, 2019 at 9:34 AM Mike Gilbert wrote: > > > > On Sat, Aug 3, 2019 at 7:37 PM Mike Gilbert wrote: > > > > > > On Sat, Aug 3, 2019 at 3:30 PM Zac Medico wrote: > > &g

[gentoo-portage-dev] Re: [PATCH] process: add _has_ipv6() function

2019-08-04 Thread Mike Gilbert
On Sun, Aug 4, 2019 at 9:34 AM Mike Gilbert wrote: > > On Sat, Aug 3, 2019 at 7:37 PM Mike Gilbert wrote: > > > > On Sat, Aug 3, 2019 at 3:30 PM Zac Medico wrote: > > > > > > Add _has_ipv6() function and use it in _configure_loopback_interface() > >

[gentoo-portage-dev] Re: [PATCH] process: add _has_ipv6() function

2019-08-04 Thread Mike Gilbert
On Sat, Aug 3, 2019 at 7:37 PM Mike Gilbert wrote: > > On Sat, Aug 3, 2019 at 3:30 PM Zac Medico wrote: > > > > Add _has_ipv6() function and use it in _configure_loopback_interface() > > to decide whether to add an IPv6 address. > > > > Bug: https://bug

Re: [gentoo-dev] acct-user/gvm request for 495

2019-08-03 Thread Mike Gilbert
On Sat, Aug 3, 2019 at 8:04 PM Hasan Calisir wrote: > > Hi, > > gvm (previously named OpenVAS) doesn't have a fixed ID in fedora or arch. I > assigned free 495 according to > https://wiki.gentoo.org/wiki/Project:Quality_Assurance/UID_GID_Assignment > > Why we need USER? > > Community edition of

[gentoo-portage-dev] Re: [PATCH] process: add _has_ipv6() function

2019-08-03 Thread Mike Gilbert
On Sat, Aug 3, 2019 at 3:30 PM Zac Medico wrote: > > Add _has_ipv6() function and use it in _configure_loopback_interface() > to decide whether to add an IPv6 address. > > Bug: https://bugs.gentoo.org/691290 > --- > lib/portage/process.py | 40 +--- > 1 file

[gentoo-dev] [PATCH] systemd.eclass: kill systemd_enable_service

2019-08-03 Thread Mike Gilbert
This function creates symlinks in /lib/systemd/system, which is rarely appropriate since it makes disabling the service difficult. It is not used in the gentoo repository. Signed-off-by: Mike Gilbert --- eclass/systemd.eclass | 1 + 1 file changed, 1 insertion(+) diff --git a/eclass

Re: [gentoo-dev] Patch series: User and group for amavisd-new (UID/GID 333)

2019-08-03 Thread Mike Gilbert
On Sat, Aug 3, 2019 at 2:43 PM Ralph Seichter wrote: > > As suggested by Michael Orlitzky, I am submitting my patches to create > a group and user 'amavis' according to GLEP 81 for review. Looks like you grabbed the ID from Arch? Looks good to me.

Re: [gentoo-dev] [PATCH 2/3] savedconfig.eclass: Always quote filename in output

2019-08-03 Thread Mike Gilbert
On Sat, Aug 3, 2019 at 12:21 PM Ulrich Mueller wrote: > > > On Sat, 03 Aug 2019, Thomas Deutschmann wrote: > > > + ewarn "provide a configuration file in > > ${PORTAGE_CONFIGROOT%/}/etc/portage/savedconfig/${CATEGORY}/${PN}" > > Long line. How would you shorten it? Splitting it

[gentoo-dev] Re: [PATCH 1/3] savedconfig.eclass: Make save_config() re-use configuration file scheme used by restore_config()

2019-08-03 Thread Mike Gilbert
The summary line on this patch is too long. GLEP 66 states it must be no longer than 69 characters.

Re: [gentoo-dev] dynamic groups and users

2019-08-02 Thread Mike Gilbert
On Thu, Aug 1, 2019 at 4:01 PM Mike Gilbert wrote: > If you're feeling crazy, this will get you a random assignment between > 1 and 999, with the same fallback logic. > > ACCT_GROUP_ID=$(( RANDOM % 998 + 1 )) Correction: this is actually off by one. RANDOM % 999 will give a numb

[gentoo-portage-dev] [PATCH] process: redirect IPv6 'ip' command output to /dev/null

2019-08-02 Thread Mike Gilbert
Bug: https://bugs.gentoo.org/691290 Signed-off-by: Mike Gilbert --- lib/portage/process.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/portage/process.py b/lib/portage/process.py index 77f7fac02..4d5a42a8c 100644 --- a/lib/portage/process.py +++ b/lib/portage

Re: [gentoo-dev] dynamic groups and users

2019-08-01 Thread Mike Gilbert
On Thu, Aug 1, 2019 at 3:04 PM Jaco Kroon wrote: > > Hi, > > Looking at the new eclasses for acct-user and acct-group. > > These enforce that a group and user id should be set. > > This is not a requirement for enewuser nor enewgroup. The new eclasses require you to set a fixed id, but they do

[gentoo-portage-dev] [PATCH v2] Configure additional addresses on the lo interface for network-sandbox

2019-08-01 Thread Mike Gilbert
no results if there are no non-loopback addresses configured. Bug: https://bugs.gentoo.org/690758 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=12377#c13 Signed-off-by: Mike Gilbert --- lib/portage/process.py | 50 +++--- 1 file changed, 37 insertions(+), 13 deletions(-)

[gentoo-portage-dev] [PATCH] Configure additional addresses on the lo interface for network-sandbox

2019-07-31 Thread Mike Gilbert
no results if there are no non-loopback addresses configured. Bug: https://bugs.gentoo.org/690758 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=12377#c13 Signed-off-by: Mike Gilbert --- lib/portage/process.py | 43 +++--- 1 file changed, 28 insertions(+), 15 deletions(-)

Re: [gentoo-portage-dev] [PATCH] Configure a dummy network interface for network-sandbox

2019-07-31 Thread Mike Gilbert
On Wed, Jul 31, 2019 at 2:00 PM Zac Medico wrote: > > On 7/31/19 9:06 AM, Mike Gilbert wrote: > > This works around some strange behavior in glibc's getaddrinfo() > > implementation when the AI_ADDRCONFIG flag is set. > > > > For example: > > > >

[gentoo-portage-dev] [PATCH] Configure a dummy network interface for network-sandbox

2019-07-31 Thread Mike Gilbert
is no non-loopback interface configured with an IPv4 address. Bug: https://bugs.gentoo.org/690758 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=12377#c13 Signed-off-by: Mike Gilbert --- lib/portage/process.py | 24 1 file changed, 24 insertions(+) diff --git a/l

Re: [gentoo-dev] [PATCH] user.eclass: Use egetent in eget{user,group}name

2019-07-30 Thread Mike Gilbert
On Tue, Jul 30, 2019 at 10:45 AM Michał Górny wrote: > > Use egetent+cut to obtain user/group names rather than id(1). > The latter has no real advantage (besides being shorter to type), > and does not work correctly for getting groups. > > Closes: https://bugs.gentoo.org/691056 > Signed-off-by:

[gentoo-dev] [PATCH 5/6] app-emulation/libvirt: depend on acct-user/qemu and acct-group/libvirt

2019-07-29 Thread Mike Gilbert
Package-Manager: Portage-2.3.69_p3, Repoman-2.3.16_p12 Signed-off-by: Mike Gilbert --- app-emulation/libvirt/libvirt-5.2.0-r2.ebuild | 11 +++ app-emulation/libvirt/libvirt-5.2.0-r3.ebuild | 11 +++ app-emulation/libvirt/libvirt-5.4.0-r1.ebuild | 11 +++ app-emulation

[gentoo-dev] [PATCH 6/6] net-misc/vde: depend on acct-group/qemu

2019-07-29 Thread Mike Gilbert
Package-Manager: Portage-2.3.69_p3, Repoman-2.3.16_p12 Signed-off-by: Mike Gilbert --- net-misc/vde/vde-2.3.2-r4.ebuild | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/net-misc/vde/vde-2.3.2-r4.ebuild b/net-misc/vde/vde-2.3.2-r4.ebuild index 45c90ec179d6..868a1ad7cdb8

[gentoo-dev] [PATCH 3/6] acct-group/libvirt: new group (79)

2019-07-29 Thread Mike Gilbert
Package-Manager: Portage-2.3.69_p3, Repoman-2.3.16_p12 Signed-off-by: Mike Gilbert --- acct-group/libvirt/libvirt-0.ebuild | 8 acct-group/libvirt/metadata.xml | 7 +++ 2 files changed, 15 insertions(+) create mode 100644 acct-group/libvirt/libvirt-0.ebuild create mode 100644

[gentoo-dev] [PATCH 1/6] acct-group/qemu: new group (77)

2019-07-29 Thread Mike Gilbert
Package-Manager: Portage-2.3.69_p3, Repoman-2.3.16_p12 Signed-off-by: Mike Gilbert --- acct-group/qemu/metadata.xml | 7 +++ acct-group/qemu/qemu-0.ebuild | 8 2 files changed, 15 insertions(+) create mode 100644 acct-group/qemu/metadata.xml create mode 100644 acct-group/qemu

[gentoo-dev] [PATCH 4/6] app-emulation/qemu: depend on acct-group/kvm

2019-07-29 Thread Mike Gilbert
Package-Manager: Portage-2.3.69_p3, Repoman-2.3.16_p12 Signed-off-by: Mike Gilbert --- app-emulation/qemu/qemu-4.0.0-r3.ebuild | 7 ++- app-emulation/qemu/qemu-4.0.0-r4.ebuild | 7 ++- app-emulation/qemu/qemu-.ebuild | 7 ++- 3 files changed, 6 insertions(+), 15 deletions

[gentoo-dev] [PATCH 2/6] acct-user/qemu: new user (77)

2019-07-29 Thread Mike Gilbert
Package-Manager: Portage-2.3.69_p3, Repoman-2.3.16_p12 Signed-off-by: Mike Gilbert --- acct-user/qemu/metadata.xml | 7 +++ acct-user/qemu/qemu-0.ebuild | 11 +++ 2 files changed, 18 insertions(+) create mode 100644 acct-user/qemu/metadata.xml create mode 100644 acct-user/qemu

[gentoo-dev] Re: [PATCH 00/19] Add acct-group packages for udev-related groups

2019-07-27 Thread Mike Gilbert
On Sat, Jul 27, 2019 at 10:24 AM Mike Gilbert wrote: > > The systemd and udev ebuilds create three groups: input, kvm, and > render. These are used by udev rules to control access to hardware. > > There are several other groups referenced by udev rules, so it makes > sense to

[gentoo-dev] [PATCH 12/19] acct-group/tty: new group (5)

2019-07-27 Thread Mike Gilbert
Package-Manager: Portage-2.3.69_p3, Repoman-2.3.16_p12 Signed-off-by: Mike Gilbert --- acct-group/tty/metadata.xml | 7 +++ acct-group/tty/tty-0.ebuild | 8 2 files changed, 15 insertions(+) create mode 100644 acct-group/tty/metadata.xml create mode 100644 acct-group/tty/tty-0

[gentoo-dev] [PATCH 11/19] acct-group/kmem: new group (9)

2019-07-27 Thread Mike Gilbert
Package-Manager: Portage-2.3.69_p3, Repoman-2.3.16_p12 Signed-off-by: Mike Gilbert --- acct-group/kmem/kmem-0.ebuild | 8 acct-group/kmem/metadata.xml | 7 +++ 2 files changed, 15 insertions(+) create mode 100644 acct-group/kmem/kmem-0.ebuild create mode 100644 acct-group/kmem

[gentoo-dev] [PATCH 09/19] acct-group/tape: new group (26)

2019-07-27 Thread Mike Gilbert
Package-Manager: Portage-2.3.69_p3, Repoman-2.3.16_p12 Signed-off-by: Mike Gilbert --- acct-group/tape/metadata.xml | 7 +++ acct-group/tape/tape-0.ebuild | 8 2 files changed, 15 insertions(+) create mode 100644 acct-group/tape/metadata.xml create mode 100644 acct-group/tape

[gentoo-dev] [PATCH 08/19] acct-group/render: new group (28)

2019-07-27 Thread Mike Gilbert
Package-Manager: Portage-2.3.69_p3, Repoman-2.3.16_p12 Signed-off-by: Mike Gilbert --- acct-group/render/metadata.xml| 7 +++ acct-group/render/render-0.ebuild | 8 2 files changed, 15 insertions(+) create mode 100644 acct-group/render/metadata.xml create mode 100644 acct

[gentoo-dev] [PATCH 10/19] acct-group/video: new group (27)

2019-07-27 Thread Mike Gilbert
Package-Manager: Portage-2.3.69_p3, Repoman-2.3.16_p12 Signed-off-by: Mike Gilbert --- acct-group/video/metadata.xml | 7 +++ acct-group/video/video-0.ebuild | 8 2 files changed, 15 insertions(+) create mode 100644 acct-group/video/metadata.xml create mode 100644 acct-group

[gentoo-dev] [PATCH 07/19] acct-group/lp: new group (7)

2019-07-27 Thread Mike Gilbert
Package-Manager: Portage-2.3.69_p3, Repoman-2.3.16_p12 Signed-off-by: Mike Gilbert --- acct-group/lp/lp-0.ebuild | 8 acct-group/lp/metadata.xml | 7 +++ 2 files changed, 15 insertions(+) create mode 100644 acct-group/lp/lp-0.ebuild create mode 100644 acct-group/lp/metadata.xml

[gentoo-dev] [PATCH 05/19] acct-group/input: new group (97)

2019-07-27 Thread Mike Gilbert
Package-Manager: Portage-2.3.69_p3, Repoman-2.3.16_p12 Signed-off-by: Mike Gilbert --- acct-group/input/input-0.ebuild | 8 acct-group/input/metadata.xml | 7 +++ 2 files changed, 15 insertions(+) create mode 100644 acct-group/input/input-0.ebuild create mode 100644 acct-group

[gentoo-dev] [PATCH 06/19] acct-group/kvm: new group (78)

2019-07-27 Thread Mike Gilbert
Package-Manager: Portage-2.3.69_p3, Repoman-2.3.16_p12 Signed-off-by: Mike Gilbert --- acct-group/kvm/kvm-0.ebuild | 8 acct-group/kvm/metadata.xml | 7 +++ 2 files changed, 15 insertions(+) create mode 100644 acct-group/kvm/kvm-0.ebuild create mode 100644 acct-group/kvm

[gentoo-dev] [PATCH 04/19] acct-group/disk: new group (6)

2019-07-27 Thread Mike Gilbert
Package-Manager: Portage-2.3.69_p3, Repoman-2.3.16_p12 Signed-off-by: Mike Gilbert --- acct-group/disk/disk-0.ebuild | 8 acct-group/disk/metadata.xml | 7 +++ 2 files changed, 15 insertions(+) create mode 100644 acct-group/disk/disk-0.ebuild create mode 100644 acct-group/disk

[gentoo-dev] [PATCH 01/19] acct-group/audio: new group (18)

2019-07-27 Thread Mike Gilbert
Package-Manager: Portage-2.3.69_p3, Repoman-2.3.16_p12 Signed-off-by: Mike Gilbert --- acct-group/audio/audio-0.ebuild | 8 acct-group/audio/metadata.xml | 7 +++ 2 files changed, 15 insertions(+) create mode 100644 acct-group/audio/audio-0.ebuild create mode 100644 acct-group

[gentoo-dev] [PATCH 03/19] acct-group/dialout: new group (20)

2019-07-27 Thread Mike Gilbert
Package-Manager: Portage-2.3.69_p3, Repoman-2.3.16_p12 Signed-off-by: Mike Gilbert --- acct-group/dialout/dialout-0.ebuild | 8 acct-group/dialout/metadata.xml | 7 +++ 2 files changed, 15 insertions(+) create mode 100644 acct-group/dialout/dialout-0.ebuild create mode 100644

[gentoo-dev] [PATCH 02/19] acct-group/cdrom: new group (19)

2019-07-27 Thread Mike Gilbert
Package-Manager: Portage-2.3.69_p3, Repoman-2.3.16_p12 Signed-off-by: Mike Gilbert --- acct-group/cdrom/cdrom-0.ebuild | 8 acct-group/cdrom/metadata.xml | 7 +++ 2 files changed, 15 insertions(+) create mode 100644 acct-group/cdrom/cdrom-0.ebuild create mode 100644 acct-group

[gentoo-dev] [PATCH 00/19] Add acct-group packages for udev-related groups

2019-07-27 Thread Mike Gilbert
/README#L227 https://github.com/systemd/systemd/blob/v242/sysusers.d/basic.conf.in Mike Gilbert (19): acct-group/audio: new group (18) acct-group/cdrom: new group (19) acct-group/dialout: new group (20) acct-group/disk: new group (6) acct-group/input: new group (97) acct-group/kvm

[gentoo-dev] [PATCH 12/12] sys-apps/systemd: utilize new acct-{group,user} packages

2019-07-26 Thread Mike Gilbert
Also drop a few obsolete users/groups. Package-Manager: Portage-2.3.68, Repoman-2.3.16_p2 Signed-off-by: Mike Gilbert --- sys-apps/systemd/systemd-242-r6.ebuild | 22 -- sys-apps/systemd/systemd-.ebuild | 22 -- 2 files changed, 16 insertions(+), 28

[gentoo-dev] [PATCH 11/12] acct-user/systemd-timesync: new user

2019-07-26 Thread Mike Gilbert
Package-Manager: Portage-2.3.68, Repoman-2.3.16_p2 Signed-off-by: Mike Gilbert --- acct-user/systemd-timesync/metadata.xml | 7 +++ acct-user/systemd-timesync/systemd-timesync-0.ebuild | 11 +++ 2 files changed, 18 insertions(+) create mode 100644 acct-user/systemd

[gentoo-dev] [PATCH 10/12] acct-group/systemd-timesync: new group

2019-07-26 Thread Mike Gilbert
Package-Manager: Portage-2.3.68, Repoman-2.3.16_p2 Signed-off-by: Mike Gilbert --- acct-group/systemd-timesync/metadata.xml | 7 +++ acct-group/systemd-timesync/systemd-timesync-0.ebuild | 8 2 files changed, 15 insertions(+) create mode 100644 acct-group/systemd

[gentoo-dev] [PATCH 09/12] acct-user/systemd-coredump: new user

2019-07-26 Thread Mike Gilbert
Package-Manager: Portage-2.3.68, Repoman-2.3.16_p2 Signed-off-by: Mike Gilbert --- acct-user/systemd-coredump/metadata.xml | 7 +++ acct-user/systemd-coredump/systemd-coredump-0.ebuild | 11 +++ 2 files changed, 18 insertions(+) create mode 100644 acct-user/systemd

[gentoo-dev] [PATCH 08/12] acct-group/systemd-coredump: new group

2019-07-26 Thread Mike Gilbert
Package-Manager: Portage-2.3.68, Repoman-2.3.16_p2 Signed-off-by: Mike Gilbert --- acct-group/systemd-coredump/metadata.xml | 7 +++ acct-group/systemd-coredump/systemd-coredump-0.ebuild | 8 2 files changed, 15 insertions(+) create mode 100644 acct-group/systemd

[gentoo-dev] [PATCH 06/12] acct-group/systemd-resolve: new group

2019-07-26 Thread Mike Gilbert
Package-Manager: Portage-2.3.68, Repoman-2.3.16_p2 Signed-off-by: Mike Gilbert --- acct-group/systemd-resolve/metadata.xml | 7 +++ acct-group/systemd-resolve/systemd-resolve-0.ebuild | 8 2 files changed, 15 insertions(+) create mode 100644 acct-group/systemd-resolve

[gentoo-dev] [PATCH 07/12] acct-user/systemd-resolve: new user

2019-07-26 Thread Mike Gilbert
Package-Manager: Portage-2.3.68, Repoman-2.3.16_p2 Signed-off-by: Mike Gilbert --- acct-user/systemd-resolve/metadata.xml | 7 +++ acct-user/systemd-resolve/systemd-resolve-0.ebuild | 11 +++ 2 files changed, 18 insertions(+) create mode 100644 acct-user/systemd-resolve

[gentoo-dev] [PATCH 05/12] acct-user/systemd-network: new user

2019-07-26 Thread Mike Gilbert
Package-Manager: Portage-2.3.68, Repoman-2.3.16_p2 Signed-off-by: Mike Gilbert --- acct-user/systemd-network/metadata.xml | 7 +++ acct-user/systemd-network/systemd-network-0.ebuild | 11 +++ 2 files changed, 18 insertions(+) create mode 100644 acct-user/systemd-network

[gentoo-dev] [PATCH 04/12] acct-group/systemd-network: new group

2019-07-26 Thread Mike Gilbert
Package-Manager: Portage-2.3.68, Repoman-2.3.16_p2 Signed-off-by: Mike Gilbert --- acct-group/systemd-network/metadata.xml | 7 +++ acct-group/systemd-network/systemd-network-0.ebuild | 8 2 files changed, 15 insertions(+) create mode 100644 acct-group/systemd-network

[gentoo-dev] [PATCH 03/12] acct-user/systemd-journal-remote: new user

2019-07-26 Thread Mike Gilbert
Package-Manager: Portage-2.3.68, Repoman-2.3.16_p2 Signed-off-by: Mike Gilbert --- acct-user/systemd-journal-remote/metadata.xml | 7 +++ .../systemd-journal-remote-0.ebuild | 11 +++ 2 files changed, 18 insertions(+) create mode 100644 acct-user/systemd

[gentoo-dev] [PATCH 01/12] acct-group/systemd-journal: new group

2019-07-26 Thread Mike Gilbert
Package-Manager: Portage-2.3.68, Repoman-2.3.16_p2 Signed-off-by: Mike Gilbert --- acct-group/systemd-journal/metadata.xml | 7 +++ acct-group/systemd-journal/systemd-journal-0.ebuild | 8 2 files changed, 15 insertions(+) create mode 100644 acct-group/systemd-journal

[gentoo-dev] [PATCH 02/12] acct-group/systemd-journal-remote: new group

2019-07-26 Thread Mike Gilbert
Package-Manager: Portage-2.3.68, Repoman-2.3.16_p2 Signed-off-by: Mike Gilbert --- acct-group/systemd-journal-remote/metadata.xml| 7 +++ .../systemd-journal-remote-0.ebuild | 8 2 files changed, 15 insertions(+) create mode 100644 acct-group

[gentoo-dev] [PATCH 00/12] Use acct-{group,user} for systemd accounts

2019-07-26 Thread Mike Gilbert
Reference: https://github.com/systemd/systemd/blob/v242/README#L227 https://github.com/systemd/systemd/blob/v242/sysusers.d/systemd.conf.m4 https://github.com/systemd/systemd/blob/v242/sysusers.d/systemd-remote.conf.m4 Mike Gilbert (12): acct-group/systemd-journal: new group acct-group

Re: [gentoo-dev] tracker for usr merge fixes

2019-07-20 Thread Mike Gilbert
On Sat, Jul 20, 2019 at 11:40 AM Haelwenn (lanodan) Monnier wrote: > > [2019-07-20 10:27:53-0500] William Hubbs: > > I saw that someone in another thread asked about a tracker for usr merge > > related fixes. > > > > There wasn't one, so I opened one. > > > >

Re: [gentoo-dev] [RFC] New QA policy: Packages must not disable installing manpages via USE flags

2019-07-17 Thread Mike Gilbert
On Wed, Jul 17, 2019 at 9:25 AM Michał Górny wrote: > > Hello, > > The QA team would like to introduce the following policy: > > """ > Packages must not disable installing manpages via USE flags (e.g. > USE=man or USE=doc). If upstream does not ship prebuilt manpages > and building them requires

[gentoo-dev] [PATCH 2/2] usr-ldscript.eclass: avoid duplicate slashes in file paths

2019-07-15 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- eclass/usr-ldscript.eclass | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/eclass/usr-ldscript.eclass b/eclass/usr-ldscript.eclass index 1e631b5a34b7..d6ad2173ebc4 100644 --- a/eclass/usr-ldscript.eclass +++ b

[gentoo-dev] [PATCH 1/2] usr-ldscript.eclass: add EAPI check and drop legacy code

2019-07-15 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- eclass/usr-ldscript.eclass | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/eclass/usr-ldscript.eclass b/eclass/usr-ldscript.eclass index a0fbd7d42ec4..1e631b5a34b7 100644 --- a/eclass/usr-ldscript.eclass +++ b/eclass/usr-ldscript.eclass

Re: [gentoo-dev] Re: [PATCH 6/6] toolchain-funcs.eclass: deprecate gen_usr_ldscript

2019-07-15 Thread Mike Gilbert
On Mon, Jul 15, 2019 at 12:18 AM Jonathan Callen wrote: > > On 7/14/19 11:31 PM, Michał Górny wrote: > > On Sun, 2019-07-14 at 19:50 -0400, Mike Gilbert wrote: > >> Signed-off-by: Mike Gilbert > >> --- > >> eclass/toolchain-funcs.eclass | 15 ---

[gentoo-dev] Re: [PATCH 0/6] Make 'split-usr' USE flag global and use it in gen_usr_ldscript

2019-07-15 Thread Mike Gilbert
On Sun, Jul 14, 2019 at 7:50 PM Mike Gilbert wrote: > > This series introduces the global USE flag 'split-usr' to control > whether binaries and libraries are split into separate / and /usr > directories, or if they are always installed in /usr. This is a step > toward making merge

Re: [gentoo-dev] [PATCH 2/6] profiles: enable USE="split-usr" in base

2019-07-15 Thread Mike Gilbert
On Sun, Jul 14, 2019 at 9:49 PM Michael Orlitzky wrote: > > On 7/14/19 7:50 PM, Mike Gilbert wrote: > > > > +# Mike Gilbert (2019-07-14) > > +# Enable split-usr by default to keep systems working. > > +USE="${USE} split-usr" > > A mandatory USE=&quo

Re: [gentoo-dev] [PATCH 2/6] profiles: enable USE="split-usr" in base

2019-07-15 Thread Mike Gilbert
On Mon, Jul 15, 2019 at 10:33 AM Michael Orlitzky wrote: > > On 7/14/19 9:56 PM, William Hubbs wrote: > > > > The ultimate goal is to turn this flag off in the 19.0 profiles, we are > > just preserving the current status in the earlier ones. > > > > So, to be clear: the plan is to force a /usr

Re: [gentoo-dev] [PATCH 3/6] usr-ldscript.eclass: copy gen_usr_ldscript from toolchain-funcs.eclass

2019-07-15 Thread Mike Gilbert
On Mon, Jul 15, 2019 at 1:41 AM Ulrich Mueller wrote: > > >>>>> On Mon, 15 Jul 2019, Mike Gilbert wrote: > > > + [[ -z ${ED+set} ]] && local ED=${D%/}${EPREFIX}/ > > Wouldn't this be a good time to drop such historical baggage, and > instead

Re: [gentoo-dev] [PATCH 1/6] profiles: add global USE flag 'split-usr'

2019-07-15 Thread Mike Gilbert
On Sun, Jul 14, 2019 at 11:29 PM Michał Górny wrote: > > On Sun, 2019-07-14 at 19:50 -0400, Mike Gilbert wrote: > > Signed-off-by: Mike Gilbert > > --- > > profiles/use.desc | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/profi

[gentoo-dev] [PATCH 6/6] toolchain-funcs.eclass: deprecate gen_usr_ldscript

2019-07-14 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- eclass/toolchain-funcs.eclass | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass index 2e027015c684..7bd90bb4e4a0 100644 --- a/eclass/toolchain-funcs.eclass +++ b

[gentoo-dev] [PATCH 4/6] usr-ldscript.eclass: return early if USE=split-usr is disabled

2019-07-14 Thread Mike Gilbert
Bug: https://bugs.gentoo.org/417451 Signed-off-by: Mike Gilbert --- eclass/usr-ldscript.eclass | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/eclass/usr-ldscript.eclass b/eclass/usr-ldscript.eclass index c1abbb49f4ba..a0fbd7d42ec4 100644 --- a/eclass/usr-ldscript.eclass

[gentoo-dev] [PATCH 5/6] Convert ebuilds to inherit usr-ldscript

2019-07-14 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- app-accessibility/brltty/brltty-5.2-r1.ebuild| 2 +- app-accessibility/brltty/brltty-6.0-r1.ebuild| 2 +- app-arch/bzip2/bzip2-1.0.6-r11.ebuild| 2 +- app-arch/bzip2/bzip2-1.0.7.ebuild| 2 +- app-arch/bzip2/bzip2

[gentoo-dev] [PATCH 3/6] usr-ldscript.eclass: copy gen_usr_ldscript from toolchain-funcs.eclass

2019-07-14 Thread Mike Gilbert
This intentionally redefines the same function to ease migration. Once all ebuilds have been converted, the definition in toolchain-funcs can be removed. Signed-off-by: Mike Gilbert --- eclass/usr-ldscript.eclass | 156 + 1 file changed, 156 insertions

[gentoo-dev] [PATCH 2/6] profiles: enable USE="split-usr" in base

2019-07-14 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- profiles/base/make.defaults | 4 1 file changed, 4 insertions(+) diff --git a/profiles/base/make.defaults b/profiles/base/make.defaults index 3fdd2e453a46..80c5852277f4 100644 --- a/profiles/base/make.defaults +++ b/profiles/base/make.defaults @@ -115,6

[gentoo-dev] [PATCH 0/6] Make 'split-usr' USE flag global and use it in gen_usr_ldscript

2019-07-14 Thread Mike Gilbert
ery ebuild that uses toolchain-funcs.eclass. Mike Gilbert (6): profiles: add global USE flag 'split-usr' profiles: enable USE="split-usr" in base usr-ldscript.eclass: copy gen_usr_ldscript from toolchain-funcs.eclass usr-ldscript.eclass: return early if USE=split-usr is disabl

[gentoo-dev] [PATCH 1/6] profiles: add global USE flag 'split-usr'

2019-07-14 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- profiles/use.desc | 1 + 1 file changed, 1 insertion(+) diff --git a/profiles/use.desc b/profiles/use.desc index fc19bbd0bbaa..ec5d4d6bc594 100644 --- a/profiles/use.desc +++ b/profiles/use.desc @@ -299,6 +299,7 @@ source - Zip the sources and install them sox

Re: [gentoo-dev] rfc: making sysvinit optional

2019-07-14 Thread Mike Gilbert
On Sat, Jul 13, 2019 at 1:51 PM William Hubbs wrote: > > All, > > I removed virtual/daemontools from virtual/init because it doesn't > appear to be an init process; it is just a service manager. > > Here is a list of the rdepends in my proposed virtual/init with > comments. > >

Re: [gentoo-dev] rfc: making sysvinit optional

2019-07-11 Thread Mike Gilbert
On Wed, Jul 10, 2019 at 11:02 PM William Hubbs wrote: > > Systemd already has IUSE=+sysv-utils which has a similar function: > > [- ] sysv-utils > > sys-apps/systemd: Install sysvinit compatibility symlinks and > > manpages for init, telinit, halt, poweroff, reboot, runlevel, and > >

Re: [gentoo-dev] [PATCH 0/2] RFC: Introducing ldso switching to BLAS/LAPACK

2019-06-27 Thread Mike Gilbert
On Thu, Jun 27, 2019 at 12:37 PM Benda Xu wrote: > > Mike Gilbert writes: > > > This looks a lot safer than yesterday's patch since there are no > > ebuild removals here. > > Thank you Mike. > > > If/when you do want to remove old ebuilds, I suggest creating

Re: [gentoo-dev] [PATCH 0/2] RFC: Introducing ldso switching to BLAS/LAPACK

2019-06-27 Thread Mike Gilbert
On Thu, Jun 27, 2019 at 2:16 AM wrote: > > From: Benda Xu > > The following 2 patches are to introduce the runtime switching > mechanism to BLAS/LAPACK libraries in Gentoo. > > This feature is turned off by default and only the reference > BLAS/LAPACK is used to satisfy the dependencies. It can

[gentoo-portage-dev] [PATCH] ebuild: fix QA_SONAME_NO_SYMLINK

2019-06-17 Thread Mike Gilbert
misc-functions.sh and ebuild.5 reference QA_SONAME_NO_SYMLINK. Update doebuild.py to match this name. Signed-off-by: Mike Gilbert --- lib/portage/package/ebuild/doebuild.py | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/portage/package/ebuild

Re: [gentoo-dev] [PATCH] user.eclass: die if hard coded UID or GID is already in use

2019-05-28 Thread Mike Gilbert
On Tue, May 28, 2019 at 10:43 AM William Hubbs wrote: > > On Tue, May 28, 2019 at 02:21:23AM -0400, Mike Gilbert wrote: > > On Tue, May 28, 2019 at 1:41 AM Robin H. Johnson wrote: > > > > > > On Mon, May 27, 2019 at 08:44:09PM -0400, Mike Gilbert wrote: > >

Re: [gentoo-dev] [PATCH] user.eclass: die if hard coded UID or GID is already in use

2019-05-28 Thread Mike Gilbert
On Tue, May 28, 2019 at 1:41 AM Robin H. Johnson wrote: > > On Mon, May 27, 2019 at 08:44:09PM -0400, Mike Gilbert wrote: > > On Mon, May 27, 2019 at 11:45 AM William Hubbs wrote: > > > > > > If a package hard codes the UID or GID when adding a user or group to >

Re: [gentoo-dev] [PATCH] user.eclass: die if hard coded UID or GID is already in use

2019-05-27 Thread Mike Gilbert
On Mon, May 27, 2019 at 11:45 AM William Hubbs wrote: > > If a package hard codes the UID or GID when adding a user or group to > the system and that UID/GID already exists, we should abort rather than > changing the UID/GID. These functions have behaved this way for a long time. What problem

Re: [gentoo-dev] [PATCH] savedconfig.eclass: Remove old EAPI ED/EROOT workarounds

2019-05-24 Thread Mike Gilbert
On Fri, May 24, 2019 at 5:37 AM David Seifert wrote: > > * Also limit to EAPIs that are in use at the moment. > > Closes: https://bugs.gentoo.org/685382 > Signed-off-by: David Seifert > --- Alright, I give in. This looks fine to me.

Re: [gentoo-dev] [PATCH] savedconfig.eclass: clean up ED and EROOT usage

2019-05-23 Thread Mike Gilbert
On Fri, May 24, 2019 at 1:24 AM Ulrich Mueller wrote: > > >>>>> On Fri, 24 May 2019, Mike Gilbert wrote: > > > On Thu, May 23, 2019 at 7:16 PM David Seifert wrote: > >> Given that there are no ebuilds in the tree using this eclass and being &

Re: [gentoo-dev] [PATCH] savedconfig.eclass: clean up ED and EROOT usage

2019-05-23 Thread Mike Gilbert
On Thu, May 23, 2019 at 7:16 PM David Seifert wrote: > Given that there are no ebuilds in the tree using this eclass and being > in EAPI 0, 1 or 2 ( > https://qa-reports.gentoo.org/output/eapi-per-eclass/savedconfig.eclass/ > ), wouldn't it make more sense to just whitelist EAPI >= 4 and clean up

[gentoo-dev] [PATCH] savedconfig.eclass: clean up ED and EROOT usage

2019-05-23 Thread Mike Gilbert
Avoid assigning these variables in EAPIs where they are already defined. Also make them local variables to avoid polluting the global environment. Closes: https://bugs.gentoo.org/685382 --- eclass/savedconfig.eclass | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff

Re: [gentoo-dev] Gentoo on Discord

2019-04-29 Thread Mike Gilbert
On Mon, Apr 29, 2019 at 4:34 PM Dirkjan Ochtman wrote: > > In this article on chat services used for OSS: > > https://catfox.life/2019/04/28/keeping-libre-software-accessible-to-all/ > > I was surprised to see a mention of Gentoo as a project that uses "Discord as > an official method of

Re: [gentoo-dev] [PATCH] tmpfiles.eclass: fix ROOT check for EAPI 7

2019-04-25 Thread Mike Gilbert
On Thu, Apr 25, 2019 at 5:50 PM James Le Cuirot wrote: > > On Thu, 25 Apr 2019 17:46:50 -0400 > Mike Gilbert wrote: > > > Signed-off-by: Mike Gilbert > > --- > > eclass/tmpfiles.eclass | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > >

[gentoo-dev] [PATCH] tmpfiles.eclass: fix ROOT check for EAPI 7

2019-04-25 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- eclass/tmpfiles.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/tmpfiles.eclass b/eclass/tmpfiles.eclass index a8bb9061ec8c..f23c7c77ab07 100644 --- a/eclass/tmpfiles.eclass +++ b/eclass/tmpfiles.eclass @@ -113,7 +113,7

Re: [gentoo-dev] What's going on with the tmpfiles eclasses?

2019-04-25 Thread Mike Gilbert
On Thu, Apr 25, 2019 at 5:26 PM Michał Górny wrote: > > On Thu, 2019-04-25 at 17:24 -0400, Mike Gilbert wrote: > > On Tue, Apr 23, 2019 at 6:25 PM Zac Medico wrote: > > > On 4/23/19 2:03 PM, Michael Orlitzky wrote: > > > > We have two eclasses with almost

Re: [gentoo-dev] What's going on with the tmpfiles eclasses?

2019-04-25 Thread Mike Gilbert
On Tue, Apr 23, 2019 at 6:25 PM Zac Medico wrote: > > On 4/23/19 2:03 PM, Michael Orlitzky wrote: > > We have two eclasses with almost-identical functions for handling > > tmpfiles.d entries: > > > > 1. systemd.eclass > > > > a. systemd_dotmpfilesd > > b. systemd_newtmpfilesd > >

Re: [gentoo-dev] What's going on with the tmpfiles eclasses?

2019-04-23 Thread Mike Gilbert
On Tue, Apr 23, 2019 at 5:03 PM Michael Orlitzky wrote: > > We have two eclasses with almost-identical functions for handling > tmpfiles.d entries: > > 1. systemd.eclass > > a. systemd_dotmpfilesd > b. systemd_newtmpfilesd > c. systemd_tmpfiles_create > > 2. tmpfiles.eclass > >

Re: [gentoo-dev] Last rites: dev-java/oracle-{jre,jdk}-bin

2019-04-18 Thread Mike Gilbert
On Wed, Apr 17, 2019 at 10:44 PM Georgy Yakovlev wrote: > > On Wednesday, April 17, 2019 6:31:42 PM PDT Mike Gilbert wrote: > > On Wed, Apr 17, 2019 at 3:35 PM Georgy Yakovlev > wrote: > > > # Georgy Yakovlev (17 Apr 2019) > > > # The Oracle JDK License has ch

Re: [gentoo-dev] Last rites: dev-java/oracle-{jre,jdk}-bin

2019-04-17 Thread Mike Gilbert
On Wed, Apr 17, 2019 at 3:35 PM Georgy Yakovlev wrote: > > # Georgy Yakovlev (17 Apr 2019) > # The Oracle JDK License has changed for releases starting April 16, 2019 > # While it may be fine to use for some usecases it's not comepletely clear > # what is considered "personal use" and if we can

Re: [gentoo-dev] New Python application with multiple new dependencies

2019-04-14 Thread Mike Gilbert
On Sun, Apr 14, 2019 at 8:44 AM Ralph Seichter wrote: > > * Michał Górny: > > > I presume you want to proxy-maintain all of those packages. > > I would want to maintain the "monty" application because it offers > functionality useful to me. I'm not particularly keen on maintaining > Python

Re: [gentoo-dev] [PATCH 2/3] xorg-2.eclass: Remove use of prune_libtool_files

2019-03-02 Thread Mike Gilbert
On Sat, Mar 2, 2019 at 5:10 PM Michał Górny wrote: > > On Sat, 2019-03-02 at 16:59 -0500, Mike Gilbert wrote: > > On Mon, Feb 25, 2019 at 1:37 AM Ulrich Mueller wrote: > > > > > > > > On Wed, 20 Feb 2019, Michał Górny wrote: > > > > On Wed,

Re: [gentoo-dev] [PATCH 2/3] xorg-2.eclass: Remove use of prune_libtool_files

2019-03-02 Thread Mike Gilbert
On Mon, Feb 25, 2019 at 1:37 AM Ulrich Mueller wrote: > > > On Wed, 20 Feb 2019, Michał Górny wrote: > > > On Wed, 2019-02-20 at 07:20 +0100, Ulrich Mueller wrote: > >> > > > > > On Wed, 20 Feb 2019, Matt Turner wrote: > >> > >> > >> ># Don't install libtool archives (even for modules) >

<    1   2   3   4   5   6   7   8   9   10   >