Re: [gentoo-dev] [PATCH] python-utils-r1.eclass: avoid nested ebegin calls

2022-07-11 Thread Mike Gilbert
On Mon, Jul 11, 2022 at 3:04 AM Michał Górny wrote: > > On Sun, 2022-07-10 at 23:53 -0400, Mike Gilbert wrote: > > It's common for python_check_deps to call python_has_version, which > > calls ebegin itself. > > > > Signed-off-by: Mike Gilbert > > -

[gentoo-dev] [PATCH v2] python-utils-r1.eclass: avoid nested ebegin calls

2022-07-11 Thread Mike Gilbert
It's common for python_check_deps to call python_has_version, which calls ebegin itself. Signed-off-by: Mike Gilbert --- eclass/python-utils-r1.eclass | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass

Re: [gentoo-dev] [PATCH v2] python-utils-r1.eclass: avoid nested ebegin calls

2022-07-11 Thread Mike Gilbert
On Mon, Jul 11, 2022 at 12:56 PM Ulrich Mueller wrote: > > > On Mon, 11 Jul 2022, Ionen Wolkens wrote: > >> -ebegin " python_check_deps" > >> -python_check_deps > >> -eend ${?} > >> +einfo " python_check_deps" > >> +if python_check_deps; then > >> +einfo " py

[gentoo-dev] [PATCH v3] python-utils-r1.eclass: avoid nested ebegin calls

2022-07-11 Thread Mike Gilbert
It's common for python_check_deps to call python_has_version, which calls ebegin itself. Closes: https://bugs.gentoo.org/851822 Signed-off-by: Mike Gilbert --- eclass/python-utils-r1.eclass | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/eclass/python-uti

Re: [gentoo-dev] [PATCH v2] python-utils-r1.eclass: avoid nested ebegin calls

2022-07-11 Thread Mike Gilbert
On Mon, Jul 11, 2022 at 12:11 PM Ionen Wolkens wrote: > > On Mon, Jul 11, 2022 at 09:16:10AM -0400, Mike Gilbert wrote: > > It's common for python_check_deps to call python_has_version, which > > calls ebegin itself. > > > > Signed-off-by: Mike Gilbert > &g

Re: [gentoo-dev] [PATCH v2] python-utils-r1.eclass: avoid nested ebegin calls

2022-07-11 Thread Mike Gilbert
On Mon, Jul 11, 2022 at 1:17 PM Ionen Wolkens wrote: > > On Mon, Jul 11, 2022 at 01:08:52PM -0400, Mike Gilbert wrote: > > On Mon, Jul 11, 2022 at 12:56 PM Ulrich Mueller wrote: > > > > > > >>>>> On Mon, 11 Jul 2022, Ionen Wolkens wro

Re: [gentoo-dev] [PATCH v2] python-utils-r1.eclass: avoid nested ebegin calls

2022-07-11 Thread Mike Gilbert
On Mon, Jul 11, 2022 at 1:57 PM Ulrich Mueller wrote: > > >>>>> On Mon, 11 Jul 2022, Mike Gilbert wrote: > > >> Maybe leave ebegin/eend in place then, which was invented precisely for > >> this use case? What's so bad about nesting it? &g

Re: [gentoo-dev] [PATCH v2] python-utils-r1.eclass: avoid nested ebegin calls

2022-07-11 Thread Mike Gilbert
On Mon, Jul 11, 2022 at 2:01 PM Anna wrote: > > On 2022-07-11 19:57, Ulrich Mueller wrote: > > >>>>> On Mon, 11 Jul 2022, Mike Gilbert wrote: > > > > >> Maybe leave ebegin/eend in place then, which was invented precisely for > > >> this use

Re: [gentoo-dev] [PATCH v2] python-utils-r1.eclass: avoid nested ebegin calls

2022-07-11 Thread Mike Gilbert
On Mon, Jul 11, 2022 at 2:49 PM Frederik Pfautsch wrote: > > Am 11.07.22 um 20:14 schrieb Mike Gilbert: > > On Mon, Jul 11, 2022 at 1:57 PM Ulrich Mueller wrote: > >> > >>>>>>> On Mon, 11 Jul 2022, Mike Gilbert wrote: > >> > >&

Re: [gentoo-dev] [PATCH v2] python-utils-r1.eclass: avoid nested ebegin calls

2022-07-11 Thread Mike Gilbert
On Mon, Jul 11, 2022 at 2:20 PM Mike Gilbert wrote: > > On Mon, Jul 11, 2022 at 2:01 PM Anna wrote: > > > > On 2022-07-11 19:57, Ulrich Mueller wrote: > > > >>>>> On Mon, 11 Jul 2022, Mike Gilbert wrote: > > > > > > >> Maybe

Re: [gentoo-dev] [PATCH] glep-0076: Require real name instead of legal name

2022-07-12 Thread Mike Gilbert
On Tue, Jul 12, 2022 at 7:47 AM Ulrich Mueller wrote: > > > On Tue, 12 Jul 2022, Michał Górny wrote: > > >> to the commit message as a separate line. The sign-off must contain > >> -the committer's legal name as a natural person, i.e., the name that > >> -would appear in a government issued

Re: [gentoo-dev] [PATCH] glep-0076: Require real name instead of legal name

2022-07-12 Thread Mike Gilbert
On Tue, Jul 12, 2022 at 12:37 PM Ulrich Mueller wrote: > > >>>>> On Tue, 12 Jul 2022, Mike Gilbert wrote: > > >> The snarkiness of Michał's comment left aside, in general "the name that > >> you would use to present yourself to your colleagu

Re: [gentoo-dev] Switching default password hashes from sha512 to yescrypt

2022-07-23 Thread Mike Gilbert
On Fri, Jul 22, 2022 at 3:10 PM Mikhail Koliada wrote: > > Hello! > > > > This idea has been fluctuating in my head for quite a while given that the > migration had happened > > a while ago [0] and some other major distributions have already adopted > yescrypt as their default algo > > by now [1

Re: [gentoo-dev] [PATCH 1/1] linux-info.eclass: Provide ability to skip CONFIG_* checks

2022-08-05 Thread Mike Gilbert
On Fri, Aug 5, 2022 at 7:15 PM Ionen Wolkens wrote: > > On Fri, Aug 05, 2022 at 06:47:42PM -0400, Mike Pagano wrote: > > Based upon code from check-reqs.eclass by Andreas Sturmlechner > > > > Provide support for users who requested the ability to skip > > CONFIG_* checks. (e.g. from within a chroo

Re: [gentoo-dev] [RFC] Encouraging using hardening options in systemd units

2022-08-22 Thread Mike Gilbert
On Mon, Aug 22, 2022 at 2:10 PM Kenton Groombridge wrote: > What do you think? I am concerned that people will start mass filing bugs with suggestions without fully understanding them or without testing them thoroughly. Please don't do that. Also, ideally we would not need to provide systemd uni

Re: [gentoo-dev] [RFC] Encouraging using hardening options in systemd units

2022-08-25 Thread Mike Gilbert
On Thu, Aug 25, 2022 at 10:29 AM Kenton Groombridge wrote: > > On 22/08/25 04:06PM, Florian Schmaus wrote: > > Wouldn't the proper place for overrides installed by a distributions package > > manager be > > > > /usr/lib/systemd/system/miniflux.service.d/gentoo.conf > > > > Yes... I was wondering t

Re: [gentoo-dev] [RFC] Encouraging using hardening options in systemd units

2022-08-25 Thread Mike Gilbert
On Thu, Aug 25, 2022 at 1:41 PM Kenton Groombridge wrote: > > On 22/08/25 01:04PM, Mike Gilbert wrote: > > We could introduce a new function to install distro-specific overrides > > in [/usr]/lib/systemd/system. > > > > I think that's a good idea. systemd_

[gentoo-dev] Add systemd/merged-usr profiles

2022-08-30 Thread Mike Gilbert
This patch series adds a "merged-usr" feature profile, and subprofiles for each systemd profile. As background: systemd upstream is preparing to drop support for split-usr systems soon. All systemd users on Gentoo will eventually need to migrate to a merged-usr system.

[gentoo-dev] [PATCH 1/4] profiles/features/merged-usr: unforce/mask 'split-usr' USE flag

2022-08-30 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- profiles/features/merged-usr/eapi | 1 + profiles/features/merged-usr/use.force | 1 + profiles/features/merged-usr/use.mask | 1 + 3 files changed, 3 insertions(+) create mode 100644 profiles/features/merged-usr/eapi create mode 100644 profiles/features

[gentoo-dev] [PATCH 2/4] profiles/default/linux: add systemd/merged-usr subprofiles

2022-08-30 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- .../linux/alpha/17.0/desktop/gnome/systemd/merged-usr/eapi | 1 + .../linux/alpha/17.0/desktop/gnome/systemd/merged-usr/parent| 2 ++ profiles/default/linux/alpha/17.0/systemd/merged-usr/eapi | 1 + profiles/default/linux/alpha/17.0/systemd/merged

[gentoo-dev] [PATCH 3/4] profiles/profiles.desc: add systemd/merged-usr subprofiles

2022-08-30 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- profiles/profiles.desc | 54 ++ 1 file changed, 54 insertions(+) diff --git a/profiles/profiles.desc b/profiles/profiles.desc index 894b0377d33..4bc94f910ab 100644 --- a/profiles/profiles.desc +++ b/profiles/profiles.desc

[gentoo-dev] [PATCH 4/4] profiles/profiles.desc: fix alignment

2022-08-30 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- profiles/profiles.desc | 288 - 1 file changed, 144 insertions(+), 144 deletions(-) diff --git a/profiles/profiles.desc b/profiles/profiles.desc index 4bc94f910ab..0a8a4d84bfb 100644 --- a/profiles/profiles.desc +++ b

Re: [gentoo-dev] Add systemd/merged-usr profiles

2022-08-31 Thread Mike Gilbert
On Wed, Aug 31, 2022 at 12:01 PM Jeff Gazso wrote: > > Just out of curiosity, how much pain is this likely to cause existing > installations that will need to migrate from a split-usr setup to a > merged-usr setup? We haven't deployed this to users, so feedback is limited thus far. At least a

Re: [gentoo-dev] Add systemd/merged-usr profiles

2022-08-31 Thread Mike Gilbert
On Wed, Aug 31, 2022 at 12:29 PM Jaco Kroon wrote: > > Hi, > > That really depends. > > If the expectation is that everything in /usr/{bin,sbin,lib*} needs to now > fit on / rather than /usr we're queued to re-install a very, very large > number of hosts. You have that reversed: the expectation

Re: [gentoo-dev] Add systemd/merged-usr profiles

2022-09-02 Thread Mike Gilbert
On Fri, Sep 2, 2022 at 9:01 AM Marc Schiffbauer wrote: > > * Mike Gilbert schrieb am 01.09.22 um 03:38 Uhr: > > On Wed, Aug 31, 2022 at 12:29 PM Jaco Kroon wrote: > > > > > > Hi, > > > > > > That really depends. > > > > > > If t

Re: [gentoo-dev] Add systemd/merged-usr profiles

2022-09-02 Thread Mike Gilbert
On Fri, Sep 2, 2022 at 11:05 AM Mike Gilbert wrote: > > On Fri, Sep 2, 2022 at 9:01 AM Marc Schiffbauer wrote: > > > > * Mike Gilbert schrieb am 01.09.22 um 03:38 Uhr: > > > On Wed, Aug 31, 2022 at 12:29 PM Jaco Kroon wrote: > > > > > >

[gentoo-dev] Re: RFC: virtual/dbus

2022-09-07 Thread Mike Gilbert
On Wed, Sep 7, 2022 at 11:56 AM Marek Szuba wrote: > > Dear everyone, > > I wonder if we should create a virtual package to allow our users - or > at least those who run systemd anyway - to choose between sys-apps/dbus > and sys-apps/dbus-broken as D-Bus implementation for their systems. The > usu

[gentoo-dev] [PATCH 0/8] Migrate dist-kernel packages to EAPI 8

2022-09-08 Thread Mike Gilbert
This series adds support for EAPI 8 to relevant eclasses, and updates the latest version in each kernel branch to EAPI 8. The only significant change is in kernel-install.eclass where we populate IDEPEND instead of RDEPEND. PR: https://github.com/gentoo/gentoo/pull/27191 Mike Gilbert (8

[gentoo-dev] [PATCH 1/8] dist-kernel-utils.eclass: support EAPI 8

2022-09-08 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- eclass/dist-kernel-utils.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/dist-kernel-utils.eclass b/eclass/dist-kernel-utils.eclass index d192c31db27..649363ad3e4 100644 --- a/eclass/dist-kernel-utils.eclass +++ b/eclass/dist

[gentoo-dev] [PATCH 2/8] kernel-install.eclass: support EAPI 8

2022-09-08 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- eclass/kernel-install.eclass | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/eclass/kernel-install.eclass b/eclass/kernel-install.eclass index 8acf1ad1bc0..b7f9abe7bc9 100644 --- a/eclass/kernel-install.eclass +++ b/eclass/kernel

[gentoo-dev] [PATCH 3/8] portability.eclass: support EAPI 8

2022-09-08 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- eclass/portability.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/portability.eclass b/eclass/portability.eclass index 8df8fcebc47..0ef6bd40c21 100644 --- a/eclass/portability.eclass +++ b/eclass/portability.eclass @@ -6,11

[gentoo-dev] [PATCH 4/8] savedconfig.eclass: support EAPI 8

2022-09-08 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- eclass/savedconfig.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/savedconfig.eclass b/eclass/savedconfig.eclass index 20669c08b33..52286caee6c 100644 --- a/eclass/savedconfig.eclass +++ b/eclass/savedconfig.eclass @@ -1,10

[gentoo-dev] [PATCH 5/8] kernel-build.eclass: support EAPI 8

2022-09-08 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- eclass/kernel-build.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass index 750a8e873d9..43d46f94108 100644 --- a/eclass/kernel-build.eclass +++ b/eclass/kernel-build.eclass

[gentoo-dev] [PATCH 6/8] sys-kernel/vanilla-kernel: switch to EAPI 8

2022-09-08 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- sys-kernel/vanilla-kernel/vanilla-kernel-5.10.142.ebuild | 2 +- sys-kernel/vanilla-kernel/vanilla-kernel-5.15.67.ebuild | 2 +- sys-kernel/vanilla-kernel/vanilla-kernel-5.19.8.ebuild | 2 +- sys-kernel/vanilla-kernel/vanilla-kernel-5.4.212.ebuild | 2 +- 4

[gentoo-dev] [PATCH 7/8] sys-kernel/gentoo-kernel: switch to EAPI 8

2022-09-08 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- sys-kernel/gentoo-kernel/gentoo-kernel-5.10.142.ebuild | 2 +- sys-kernel/gentoo-kernel/gentoo-kernel-5.15.67.ebuild | 2 +- sys-kernel/gentoo-kernel/gentoo-kernel-5.19.8.ebuild | 2 +- sys-kernel/gentoo-kernel/gentoo-kernel-5.4.212.ebuild | 2 +- 4 files

[gentoo-dev] [PATCH 8/8] sys-kernel/gentoo-kernel-bin: switch to EAPI 8

2022-09-08 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.142.ebuild | 2 +- sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.67.ebuild | 2 +- sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.19.8.ebuild | 2 +- sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin

Re: [gentoo-dev] [PATCH 1/8] dist-kernel-utils.eclass: support EAPI 8

2022-09-08 Thread Mike Gilbert
On Thu, Sep 8, 2022 at 1:38 PM Ulrich Mueller wrote: > > >>>>> On Thu, 08 Sep 2022, Mike Gilbert wrote: > > > @@ -18,7 +18,7 @@ case "${EAPI:-0}" in > > 0|1|2|3|4|5|6) > > die "Unsupported EAPI=${EAPI:-0} (too old) for $

[gentoo-dev] [PATCH] Convert 'apparmor' to a global USE flag

2022-09-09 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- app-benchmarks/stress-ng/metadata.xml | 1 - app-containers/containerd/metadata.xml | 1 - app-containers/docker/metadata.xml | 3 --- app-containers/lxc/metadata.xml| 1 - app-containers/lxd/metadata.xml| 3 --- app-containers/podman

[gentoo-dev] Last rites: app-portage/repoman

2022-09-12 Thread Mike Gilbert
# Mike Gilbert (2022-09-12) # repoman is no longer maintained and has been removed from the portage # git repository. Please use dev-util/pkgcheck and dev-util/pkgdev instead. # Removal on 2022-11-11. Bug #835013. app-portage/repoman

[gentoo-dev] Last rites: net-misc/netkit-bootpd

2022-10-05 Thread Mike Gilbert
# Mike Gilbert (2022-10-05) # Implements the obsolete BOOTP protocol; use DHCP instead. # No activity upstream for over two decades. # Fails to build with -Werror=implicit-function-declaration (#875536). # Removal on 2022-11-04. net-misc/netkit-bootpd

[gentoo-dev] [PATCH 0/3] systemd.eclass improvements

2022-10-10 Thread Mike Gilbert
A few improvements to systemd.eclass. Mike Gilbert (3): systemd.eclass: rework EPREFIX handling systemd.eclass: add systemd_get_sleepdir eclass/tests: add systemd tests eclass/systemd.eclass | 77 +++-- eclass/tests/systemd.sh | 50

[gentoo-dev] [PATCH 1/3] systemd.eclass: rework EPREFIX handling

2022-10-10 Thread Mike Gilbert
Instead of adding a private function to get the unprefixed version of every path, use a new "_systemd_unprefix" helper function. Signed-off-by: Mike Gilbert --- eclass/systemd.eclass | 69 --- 1 file changed, 19 insertions(+), 50 deletions(-)

[gentoo-dev] [PATCH 3/3] eclass/tests: add systemd tests

2022-10-10 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- eclass/tests/systemd.sh | 50 + 1 file changed, 50 insertions(+) create mode 100755 eclass/tests/systemd.sh diff --git a/eclass/tests/systemd.sh b/eclass/tests/systemd.sh new file mode 100755 index 000..f870df4b7a1

[gentoo-dev] [PATCH 2/3] systemd.eclass: add systemd_get_sleepdir

2022-10-10 Thread Mike Gilbert
Closes: https://bugs.gentoo.org/873172 Signed-off-by: Mike Gilbert --- eclass/systemd.eclass | 8 1 file changed, 8 insertions(+) diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass index 9e9a9b0cf20..fbed387e0ca 100644 --- a/eclass/systemd.eclass +++ b/eclass/systemd.eclass

Re: [gentoo-dev] [PATCH] go-module.eclass: ensure that A is less than 112 KiB

2022-10-11 Thread Mike Gilbert
On Tue, Oct 11, 2022 at 6:06 AM Florian Schmaus wrote: > > Packages with a large number of EGO_SUM entries, i.e., many thousands, > cause SRC_URI, and in turn A, to become quite large. Prevent issues that > are caused by large environment variables, e.g., execve() errors (see > bug #719203), by en

Re: [gentoo-dev] RFC: check A's size in go-module.eclass

2022-10-11 Thread Mike Gilbert
On Tue, Oct 11, 2022 at 6:06 AM Florian Schmaus wrote: > > > This is a first suggestion in an effort to reach a compromise that > allows EGO_SUM to be un-depracted. > > I have decided to check the size of A, instead of counting the entries > in EGO_SUM, because that seemed more sensible given that

[gentoo-dev] [PATCH] 2022-12-01-systemd-usrmerge: add news item

2022-10-11 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- .../2022-12-01-systemd-usrmerge.en.txt| 35 +++ 1 file changed, 35 insertions(+) create mode 100644 2022-12-01-systemd-usrmerge/2022-12-01-systemd-usrmerge.en.txt diff --git a/2022-12-01-systemd-usrmerge/2022-12-01-systemd

[gentoo-dev] [PATCH] profiles: move merged-usr profiles from dev to stable

2022-10-12 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- profiles/profiles.desc | 50 +- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/profiles/profiles.desc b/profiles/profiles.desc index 5702a9dc7c4..58abd888bbe 100644 --- a/profiles/profiles.desc +++ b

Re: [gentoo-dev] [PATCH 1/2] profiles/profiles.desc: add systemd/selinux/merged-usr subprofiles

2022-10-12 Thread Mike Gilbert
On Wed, Oct 12, 2022 at 10:03 AM Kenton Groombridge wrote: > > Signed-off-by: Kenton Groombridge > --- > profiles/profiles.desc | 3 +++ > 1 file changed, 3 insertions(+) You should reverse the order of these commits: add the profile directories first, and then add them to profiles.desc.

[gentoo-dev] [PATCH] profiles/arch/amd64: add "-mfpmath=sse" to CFLAGS_x86

2022-10-17 Thread Mike Gilbert
calculations, which is larger than the 32 or 64 bits specified for floats and doubles. Using the SSE2 instructions available on x86-64 for floating point arithmetic leads to more consistent behavior, and is usually faster. Reference: https://gcc.gnu.org/wiki/x87note Signed-off-by: Mike Gilbert --- profiles

Re: [gentoo-dev] [PATCH] profiles/arch/amd64: add "-mfpmath=sse" to CFLAGS_x86

2022-10-18 Thread Mike Gilbert
On Tue, Oct 18, 2022 at 9:37 AM David Seifert wrote: > > On Tue, 2022-10-18 at 13:40 +0200, Ulrich Mueller wrote: > > > > > > > On Tue, 18 Oct 2022, David Seifert wrote: > > > > > > > -CFLAGS_x86="-m32" > > > > > +CFLAGS_x86="-m32 -mfpmath=sse" > > > > > -mfpmath=sse is already the default on amd6

Re: [gentoo-dev] [PATCH] profiles/arch/amd64: add "-mfpmath=sse" to CFLAGS_x86

2022-10-18 Thread Mike Gilbert
On Tue, Oct 18, 2022 at 5:56 AM David Seifert wrote: > > On Tue, 2022-10-18 at 10:14 +0200, Ulrich Mueller wrote: > > > > > > > On Tue, 18 Oct 2022, Mike Gilbert wrote: > > > > > Reference: https://gcc.gnu.org/wiki/x87note > > > > Which s

Re: [gentoo-dev] [PATCH] profiles/arch/amd64: add "-mfpmath=sse" to CFLAGS_x86

2022-10-18 Thread Mike Gilbert
On Tue, Oct 18, 2022 at 12:47 PM Ulrich Mueller wrote: > > > On Tue, 18 Oct 2022, David Seifert wrote: > > > What if I want to build Gentoo on an old AMD Thunderbird which has > > neither SSE1 nor the more important SSE2? > > The -mfpmath=sse option is a no-op if the CPU doesn't support SSE, >

[gentoo-dev] Last rites: user.eclass

2022-10-19 Thread Mike Gilbert
user.eclass has been deprecated for two years. In the gentoo repo, it is currently only used by acct-group.eclass and acct-user.eclass, and a patchset is currently under review remedy that [1]. Planned removal is in 30 days on 2022-11-18. [1] https://github.com/gentoo/gentoo/pull/27825

Re: [gentoo-dev] Re: Last rites: user.eclass

2022-10-19 Thread Mike Gilbert
On Wed, Oct 19, 2022 at 3:08 PM Martin Vaeth wrote: > > Mike Gilbert wrote: > > user.eclass has been deprecated for two years. In the gentoo repo, it > > is currently only used by acct-group.eclass and acct-user.eclass > > It is needed for ebuilds in non-gentoo r

[gentoo-dev] [PATCH] 2022-11-19-tmpfiles-clean: new item

2022-11-16 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- .../2022-11-19-tmpfiles-clean.en.txt | 19 +++ 1 file changed, 19 insertions(+) create mode 100644 2022-11-19-tmpfiles-clean/2022-11-19-tmpfiles-clean.en.txt diff --git a/2022-11-19-tmpfiles-clean/2022-11-19-tmpfiles-clean.en.txt b/2022

[gentoo-dev] [PATCH] linux-info.eclass: getfilevar: pass 'need-compiler=' to make

2022-11-29 Thread Mike Gilbert
This avoids some unnecessary Makefile logic and gives a nice speed up. Before the change, linux-info_pkg_setup takes 11 to 15 seconds on my AMD Phenom II. After, it takes 3 to 4 seconds. Signed-off-by: Mike Gilbert --- eclass/linux-info.eclass | 4 +++- 1 file changed, 3 insertions(+), 1

Re: [gentoo-dev] [PATCH] linux-info.eclass: getfilevar: pass 'need-compiler=' to make

2022-11-29 Thread Mike Gilbert
On Tue, Nov 29, 2022 at 5:14 PM James Le Cuirot wrote: > > On Tue, 2022-11-29 at 13:55 -0500, Mike Gilbert wrote: > > This avoids some unnecessary Makefile logic and gives a nice speed up. > > > > Before the change, linux-info_pkg_setup takes 11 to 15 seconds on my >

Re: [gentoo-dev] [RFC] Removing the distinction between UNCONFIRMED and CONFIRMED bugs

2022-12-03 Thread Mike Gilbert
On Sat, Dec 3, 2022 at 2:09 AM Michał Górny wrote: > > Hi, > > I'd like to propose replacing the current UNCONFIRMED and CONFIRMED bug > states with a simple NEW state. Why? > > 1. Only a handful of developers actually uses these two statuses > in a meaningful way. > > 2. Some users are confused

Re: [gentoo-dev] [PATCH 1/4] acct-group.eclass: Fix for when building in a rooted prefix (EROOT)

2022-12-06 Thread Mike Gilbert
On Tue, Dec 6, 2022 at 5:24 PM James Le Cuirot wrote: > > Groups are largely irrelevant for prefix, but we still don't want the > build to break. > > Signed-off-by: James Le Cuirot > --- > eclass/acct-group.eclass | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/eclass/ac

Re: [gentoo-dev] [PATCH 4/4] user.eclass: Fix for when building in a rooted prefix (EROOT)

2022-12-06 Thread Mike Gilbert
On Tue, Dec 6, 2022 at 5:24 PM James Le Cuirot wrote: > > Users are largely irrelevant for prefix, but we still don't want the > build to break. > > I left the home and shell related bits alone, as it's less clear whether > these should be prefixed or not. Obviously /dev/null should not be. It's >

Re: [gentoo-dev] [PATCH 3/4] user-info.eclass: Fix for when building in a rooted prefix (EROOT)

2022-12-06 Thread Mike Gilbert
On Tue, Dec 6, 2022 at 5:24 PM James Le Cuirot wrote: > > Users are largely irrelevant for prefix, but we still don't want the > build to break. > > Signed-off-by: James Le Cuirot > --- > eclass/user-info.eclass | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/ecl

Re: [gentoo-dev] [PATCH 1/4] acct-group.eclass: Fix for when building in a rooted prefix (EROOT)

2022-12-07 Thread Mike Gilbert
On Wed, Dec 7, 2022 at 4:24 AM James Le Cuirot wrote: > The new eclasses also skip the operation if you are root. As that bug report > says, running a prefixed system as root is probably unsupported. I was doing > this as root into a ROOTed prefix though, which is slightly different. Should > we a

Re: [gentoo-dev] [PATCH] unpacker.eclass: support >=app-arch/xz-utils-5.4.0 for lzip decompression

2022-12-14 Thread Mike Gilbert
On Wed, Dec 14, 2022 at 6:40 AM Ulrich Mueller wrote: > > > On Wed, 14 Dec 2022, Sam James wrote: > > > *.lz) > > - d="|| ( app-arch/plzip app-arch/pdlzip app-arch/lzip > > )" ;; > > + d=" > > + || ( > > +

[gentoo-dev] [PATCH] acct-user.eclass: always fix homedir permissions in pkg_preinst

2022-12-21 Thread Mike Gilbert
Closes: https://bugs.gentoo.org/886147 Closes: https://github.com/gentoo/gentoo/pull/28744 Signed-off-by: Mike Gilbert --- eclass/acct-user.eclass | 51 - 1 file changed, 25 insertions(+), 26 deletions(-) diff --git a/eclass/acct-user.eclass b/eclass/acct

Re: [gentoo-dev] [PATCH] toolchain-funcs.eclass: Promote tc-env_build to a non-internal function

2023-01-02 Thread Mike Gilbert
On Mon, Jan 2, 2023 at 5:34 PM James Le Cuirot wrote: > > It's generally useful and already directly used by three packages. I > need to use it to fix cross-compiling of LLVM. Sounds good to me.

Re: [gentoo-dev] [PATCH 1/1] linux-info.eclass: Add /proc/config.gz as a valid src of CONFIG_* settings

2023-01-15 Thread Mike Gilbert
On Sun, Jan 15, 2023 at 12:40 PM Mike Pagano wrote: > > In the event that the linux src tree does not have > a valid .config, check for /proc/config.gz > > Bug: https://bugs.gentoo.org/890720 I think this is the wrong place to "fix" bug 890720. We already have a linux_config_exists function. Thi

[gentoo-dev] Last rites: app-admin/bastille

2023-01-27 Thread Mike Gilbert
# Mike Gilbert (2023-01-28) # No upstream releases since 2008. # No Gentoo maintainer since 2009. # Installs files in the wrong places (bug #455542) # and with the wrong mode (bug #892325). # Removal on 2023-02-27. app-admin/bastille

[gentoo-dev] [PATCH] waf-utils.eclass: enable parallel install

2023-01-28 Thread Mike Gilbert
This gives a nice speedup to net-fs/samba, which (re)links several hundred files in its install phase. Bug: https://bugs.gentoo.org/715542 Signed-off-by: Mike Gilbert --- eclass/waf-utils.eclass | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/eclass/waf-utils.eclass b

[gentoo-dev] Packages up for grabs: sys-process/daemontools and related tools

2023-02-17 Thread Mike Gilbert
These packages were formerly maintained by the base-system project. They have not been updated in a while, and we suspect nobody in the project is actually using them. sys-process/daemontools sys-process/daemontools-encore sys-process/supervise-scripts virtual/daemontools

Re: [gentoo-dev] [PATCH] user-info.eclass: return immediately if db does not exist

2023-02-20 Thread Mike Gilbert
On Sun, Feb 19, 2023 at 5:40 PM Bertrand Jacquin wrote: > > Using portage to bootstrap gentoo install can lead to the following > warning when ROOT is empty: > > >> Running pre-merge checks for acct-group/root-0 > grep: /tmp/0xff.z2MjAjJXuo/root/etc/group: No such file or directory > grep: /

[gentoo-dev] Last rites: net-im/teams

2023-02-23 Thread Mike Gilbert
# Deprecated upstream. Use the progressive web app instead. # Removal on 2023-03-26. Bug 880425. net-im/teams

[gentoo-dev] [PATCH] cmake.eclass: handle quoted whitespace in MYCMAKEARGS

2023-02-27 Thread Mike Gilbert
This uses eval in a similar way to econf and meson.eclass. Signed-off-by: Mike Gilbert --- eclass/cmake.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass index 2c5620adede5..46659867b1a8 100644 --- a/eclass/cmake.eclass

Re: [gentoo-dev] [PATCH] unpacker.eclass: Don't assume the default tar is stdin

2023-04-06 Thread Mike Gilbert
On Thu, Apr 6, 2023 at 11:37 AM Arsen Arsenović wrote: > > Despite common misconception, the default GNU tar tarfile is not stdin. > On some systems, this can cause tar to fail to extract relevant files. > > See '(tar)file tutorial' for a description of how the default is picked. Looks good to me

[gentoo-dev] Last rites: net-dns/ldns-utils

2023-04-26 Thread Mike Gilbert
# Merged into net-libs/ldns. Bug 828109. # Removal on 2023-05-26. net-dns/ldns-utils

[gentoo-dev] Last rites: www-client/chromium-bin

2023-05-04 Thread Mike Gilbert
# Out of date by several versions. Many unresolved security # vulnerabilities. Lack of manpower/interest in keeping it up to date. # Removal on 2023-06-03. www-client/chromium-bin

Re: [gentoo-dev] Re: [gentoo-dev-announce] Last rites: app-portage/layman

2023-05-19 Thread Mike Gilbert
On Thu, May 18, 2023 at 7:07 PM Sam James wrote: > > > Alexe Stefan writes: > > > Layman is still a convenient way of managing overlays. It still works > > as intended. > > Is there any way for it to be kept in the repos? > > Is there an issue for you with using eselect-repository, which is > act

[gentoo-dev] [PATCH] udev.eclass: add ${EPREFIX} to src_configure example

2023-05-25 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- eclass/udev.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/udev.eclass b/eclass/udev.eclass index ac94f98221aa..7c587dc37f2f 100644 --- a/eclass/udev.eclass +++ b/eclass/udev.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2022

[gentoo-dev] www-client/chromium needs a new maintainer

2023-05-26 Thread Mike Gilbert
Hi all, I'm throwing in the towel on www-client/chromium. It just isn't any fun to maintain, and it's making me feel guilty when I don't give it the attention it requires. If anyone is interested in keeping it going, please feel free to reach out and I will do what I can to help with the transiti

[gentoo-dev] [PATCH] savedconfig.eclass: do not preserve symlink in restore_config

2023-06-04 Thread Mike Gilbert
This allows users to maintain the saved config file in some other location. Also drop the recursive (-R) option; this cp command is only executed when we are restoring a single regular file. Closes: https://bugs.gentoo.org/907696 Signed-off-by: Mike Gilbert --- eclass/savedconfig.eclass | 4

Re: [gentoo-dev] [PATCH] savedconfig.eclass: do not preserve symlink in restore_config

2023-06-04 Thread Mike Gilbert
On Sun, Jun 4, 2023 at 2:03 PM Michael Orlitzky wrote: > > On Sun, 2023-06-04 at 13:31 -0400, Mike Gilbert wrote: > > This allows users to maintain the saved config file in some other > > location. > > > > If so, the symlink should point to a superuser-only locati

Re: [gentoo-dev] [PATCH] eapi8-dosym.eclass: Prevent globbing of argument in _dosym8_canonicalize

2023-06-06 Thread Mike Gilbert
On Tue, Jun 6, 2023 at 12:11 AM Ulrich Müller wrote: > > Signed-off-by: Ulrich Müller > --- > eclass/eapi8-dosym.eclass | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Looks good to me.

Re: [gentoo-dev] www-client/chromium needs a new maintainer

2023-06-07 Thread Mike Gilbert
On Wed, Jun 7, 2023 at 9:09 AM Jeff Gazso wrote: > > I'm in the process of getting Gentoo dev status. I'm willing to consider > maintaining www-client/chromium. I have a high core count rack server that > should be able to handle the build process quite well. Can you give me a list > of common pai

Re: [gentoo-dev] www-client/chromium needs a new maintainer

2023-06-07 Thread Mike Gilbert
On Wed, Jun 7, 2023 at 3:25 PM Jeff Gazso wrote: > > That does sound painful. > > > - Across the 3 channels, you are looking at roughly 12 releases per month. > > That's a lot of churn. > > * Why build unstable stuff, why not build only stable releases and fix the > problems once? That's certainl

Re: [gentoo-dev] [PATCH 1/2 v2] kernel-build.eclass: add IUSE="+strip modules-sign", install generated keys

2023-06-15 Thread Mike Gilbert
On Thu, Jun 15, 2023 at 9:06 AM Andrew Ammerlaan wrote: > # @FUNCTION: kernel-build_merge_configs > @@ -270,16 +354,39 @@ kernel-build_merge_configs() { > local user_configs=( "${BROOT}"/etc/kernel/config.d/*.config ) > shopt -u nullglob > > + local merge_configs=( "${@}" )

[gentoo-dev] Package up for grabs: app-emulation/open-vm-tools

2023-06-18 Thread Mike Gilbert
I no longer use VMWare, so I can't really test this package.

Re: [gentoo-dev] Eselect repository feature request

2023-06-20 Thread Mike Gilbert
On Tue, Jun 20, 2023 at 1:08 PM Florian Schmaus wrote: > > On 20.06.23 16:41, TOMAS FABRIZIO ORSI wrote: > > Isn't that duplicating the information of metadata/layout.conf's > > 'master' key-value pair [1]? > > > > > > Yes, I agree that it would be duplicating that information. As a matter

Re: [gentoo-dev] Eselect repository feature request

2023-06-21 Thread Mike Gilbert
On Wed, Jun 21, 2023 at 10:43 AM TOMAS FABRIZIO ORSI wrote: >> >> Sure, I think it could work. > > Great to hear. > In that case I could try to give it a try and make a pull request to the > emerge --sync with a basic idea. > Any tips? So emerge already emits a warning message when a repo is mis

Re: [gentoo-dev] Eselect repository feature request

2023-06-21 Thread Mike Gilbert
On Wed, Jun 21, 2023 at 11:41 AM Florian Schmaus wrote: > > On 20.06.23 19:26, Mike Gilbert wrote: > > On Tue, Jun 20, 2023 at 1:08 PM Florian Schmaus wrote: > >> > >> On 20.06.23 16:41, TOMAS FABRIZIO ORSI wrote: > >>> Isn't that duplic

Re: [gentoo-dev] Eselect repository feature request

2023-06-21 Thread Mike Gilbert
On Wed, Jun 21, 2023 at 12:49 PM Florian Schmaus wrote: > > On 21/06/2023 17.56, Mike Gilbert wrote: > > On Wed, Jun 21, 2023 at 11:41 AM Florian Schmaus wrote: > >> > >> On 20.06.23 19:26, Mike Gilbert wrote: > >>> On Tue, Jun 20, 2023 at 1:08 P

Re: [gentoo-dev] Eselect repository feature request

2023-06-21 Thread Mike Gilbert
On Wed, Jun 21, 2023 at 12:47 PM TOMAS FABRIZIO ORSI wrote: > I had not considered that possibility either. In that case, could not the > overlay > dependency resolution be handled as a module? > Said module could be a common interface for different package managers. > Then, the execution of said

[gentoo-dev] [PATCH] acct-user.eclass: improve error message when usermod fails

2023-06-24 Thread Mike Gilbert
or more running processes. * Please update this user manually with the following command: * usermod '--comment' 'System user; portage' '--home' '/var/lib/portage/home' '--shell' '/bin/bash' '--gid' 'portage' '-

Re: [gentoo-dev] [PATCH] acct-user.eclass: improve error message when usermod fails

2023-06-25 Thread Mike Gilbert
On Sun, Jun 25, 2023 at 6:54 AM Florian Schmaus wrote: > No strong opinion, but it is often a good idea to include the exit > status. For example: > > die "usermod failed (${status})" That's a really good idea. It could also be applied to the useradd/groupadd/groupmod comm

[gentoo-dev] [PATCH] acct-user.eclass: include exit status in death message

2023-06-25 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- eclass/acct-group.eclass | 2 +- eclass/acct-user.eclass | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/eclass/acct-group.eclass b/eclass/acct-group.eclass index 8d2d3adb7221..a0ad86066309 100644 --- a/eclass/acct-group.eclass +++ b

Re: [gentoo-dev] [PATCH] acct-user.eclass: include exit status in death message

2023-06-25 Thread Mike Gilbert
On Sun, Jun 25, 2023 at 2:52 PM Michał Górny wrote: > > I think a better approach would be to always include $? in die messages > in Portage. It's a nice idea, but will not work in the case where die is not called immediately after the failing command. A couple of possible workarounds that could

[gentoo-dev] [PATCH] user-info.eclass: egetent: fix lookup by id when ROOT != /

2023-07-08 Thread Mike Gilbert
the desired result: egetent group 1 bin::1:root,bin,daemon Signed-off-by: Mike Gilbert --- eclass/user-info.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/user-info.eclass b/eclass/user-info.eclass index b18f280c1022..1cc7b8250309 100644 --- a/eclass/user

Re: [gentoo-dev] [PATCH 1/1]: profiles/use.desc: add efi global use flag

2023-07-14 Thread Mike Gilbert
On Fri, Jul 14, 2023 at 5:07 AM Sam James wrote: > > > Andrew Ammerlaan writes: > > > Hi all, > > > > Currently we have 7 packages defining the efi flag and an additional 2 > > defining the uefi flag. These flags do the same thing, add support for > > (U)EFI booting. I therefore propose we introd

Re: [gentoo-dev] Re: [gentoo-dev-announce] Last rites: obsolete acct-* packages

2023-07-17 Thread Mike Gilbert
On Mon, Jul 17, 2023 at 4:27 PM Sam James wrote: > > Haven't we been keeping these because we still need to decide on a > > policy about what to do with dead acct-*/* packages? > > Right. https://bugs.gentoo.org/781881 is still open. Flow could ping > the QA team and ask if it should be closed, gi

Re: [gentoo-dev] [PATCH 1/2] ninja-utils.eclass: Add NINJA_VERBOSE

2023-07-18 Thread Mike Gilbert
On Mon, Jul 17, 2023 at 11:21 AM Matt Turner wrote: > > ninja operates in one of three modes: > - verbose (with -v): prints build commands > - quiet (with --quiet): prints nothing > - normal: prints [XX/YY]-style build status updates > > samurai works the same way, except it does not have a qui

Re: [gentoo-dev] [PATCH v2] meson.eclass: allow disabling verbose compilation

2023-07-20 Thread Mike Gilbert
On Thu, Jul 20, 2023 at 11:06 AM Florian Schmaus wrote: > > On 20/07/2023 17.00, Matt Turner wrote: > > On Wed, Jul 19, 2023 at 3:23 AM Florian Schmaus wrote: > >> > >> On 18/07/2023 18.44, Matt Turner wrote: > >>> From: Jonas Rakebrandt > >>> > >>> This works similar to cmake.eclass's ${CMAKE_V

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