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] [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

[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

[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

[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

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 >

[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

[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

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

[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

[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

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] 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

[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] 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

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.

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.

[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] 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=" > > + || ( > > +

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

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

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 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

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] 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

[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-portage-dev] sys-kernel/vanilla-sources not supported any more?

2022-11-25 Thread Mike Gilbert
On Fri, Nov 25, 2022 at 5:50 AM Joakim Tjernlund wrote: > > I have noticed sys-kernel/vanilla-sources lagging behind for a while now and > I wonder if this pkg is obsolete? I think you sent this message to the wrong place. This list is for discussion of Portage development, not packages in the

Re: [gentoo-portage-dev] Fixing EAPI 8 --enable-static once and for all

2022-11-19 Thread Mike Gilbert
On Sat, Nov 19, 2022 at 3:33 AM Ulrich Mueller wrote: > > > On Sat, 19 Nov 2022, David Seifert wrote: > > > With this extensive analysis, I believe this patch to be safe. > > Still looks like an incompatible change, so it will need an EAPI bump. > > EAPI 9 feature bug is here:

[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

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] 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] [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,

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 > > > > Wh

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

[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 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: 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

[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

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

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

[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

[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 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 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] 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] 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] [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

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 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

[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 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 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 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 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 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 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 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] 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 >

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: > > > > > >

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. > > > > > > I

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

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

[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

[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 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 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] 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.

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_{new,

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

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

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

Re: [gentoo-portage-dev] [PATCH] phase-functions: make ED, EROOT read-only

2022-07-25 Thread Mike Gilbert
On Mon, Jul 25, 2022 at 1:03 PM Fabian Groffen wrote: > > bin/phase-functions.sh: make ED and EROOT read-only too > > Like D, make ED and EROOT read-only vars. Makes sense.

Re: [gentoo-portage-dev] [PATCH] misc-functions: Prefix fixes

2022-07-25 Thread Mike Gilbert
On Mon, Jul 25, 2022 at 12:47 PM Fabian Groffen wrote: > > bin/misc-functions.sh: some Prefix fixes > > - ED needs not to exist, whereas D does, so ensure we check for that, > and create ED if absent, necessary for further checks to succeed > - use EPREFIX in INSTALL_MASK Seems good to me.

Re: [gentoo-portage-dev] [PATCH] world-writable: tune for Prefix

2022-07-25 Thread Mike Gilbert
On Mon, Jul 25, 2022 at 12:41 PM Fabian Groffen wrote: > > bin/install-qa-check.d/90world-writable: include EPREFIX in reports > > It is much less confusing and consistent to report full paths including > the leading EPREFIX. Makes sense to me.

Re: [gentoo-portage-dev] [PATCH] multilib-strict: fix for Prefix

2022-07-25 Thread Mike Gilbert
On Mon, Jul 25, 2022 at 12:26 PM Fabian Groffen wrote: > > bin/install-qa-check.d/80multilib-strict: use file/find from Prefix > > diff --git a/bin/install-qa-check.d/80multilib-strict > b/bin/install-qa-check.d/80multilib-strict > index afd223250..3db4ecce3 100644 > ---

Re: [gentoo-portage-dev] [PATCH] emake: explicitly set SHELL

2022-07-25 Thread Mike Gilbert
On Mon, Jul 25, 2022 at 11:28 AM Fabian Groffen wrote: > > bin/ebuild-helpers/emake: force SHELL to be set > > On Prefix systems /bin/sh can be anything, including very ancient. So > ensure we're running with bash, since that's what Gentoo Linux is > expecting /bin/sh to be (by default, at

Re: [gentoo-portage-dev] [PATCH] 80libraries: add support for Darwin targets

2022-07-25 Thread Mike Gilbert
On Mon, Jul 25, 2022 at 11:38 AM Fabian Groffen wrote: > > bin/install-qa-check.d/80libraries: support Darwin/Mach-O objects > > Check for dylib on Darwin, so on everything else. > > Signed-off-by: Fabian Groffen > > diff --git a/bin/install-qa-check.d/80libraries >

Re: [gentoo-portage-dev] [PATCH] doins: fix D check, add EPREFIX check

2022-07-25 Thread Mike Gilbert
Could you please create a PR at https://github.com/gentoo/portage so that the CI system can test the changes for this patch series?

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

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 colleagues&qu

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 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: > > > > > > >> M

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: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 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 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 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 > > --

[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-utils-r1

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 "

[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 index

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 > > --- &g

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

2022-07-10 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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index

[gentoo-dev] [PATCH] meson.eclass: add "--no-rebuild" to meson install args

2022-07-09 Thread Mike Gilbert
This avoids rebuilding targets with no dependency information. Bug: https://bugs.gentoo.org/857180 Signed-off-by: Mike Gilbert --- eclass/meson.eclass | 1 + 1 file changed, 1 insertion(+) diff --git a/eclass/meson.eclass b/eclass/meson.eclass index 7ba6501688b..8dec315c1ae 100644 --- a/eclass

Re: [gentoo-dev] [PATCH] linux-mod.eclass: support module signing

2022-07-05 Thread Mike Gilbert
On Tue, Jul 5, 2022 at 3:02 PM Georgy Yakovlev wrote: > > ...snip > > > > > In that case, I think the only viable way to make this work is to > > > disable automatic stripping and handle stripping via custom code in > > > the ebuild/eclass. > > > > > might work indeed if we do something like

[gentoo-dev] [PATCH] ruby-ng.eclass: replace ebegin with einfo in _ruby_invoke_environment

2022-07-03 Thread Mike Gilbert
org/839585 Closes: https://bugs.gentoo.org/839588 Signed-off-by: Mike Gilbert --- eclass/ruby-ng.eclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass index f0d6c4f6f6c..c43d5b4d982 100644 --- a/eclass/ruby-ng.eclass +++ b/e

Re: [gentoo-dev] [PATCH] epatch.eclass: call ebegin to balance eend

2022-06-28 Thread Mike Gilbert
On Tue, Jun 28, 2022 at 2:05 AM Ulrich Mueller wrote: > > >>>>> On Mon, 27 Jun 2022, Mike Gilbert wrote: > > > if [[ ${SINGLE_PATCH} == "yes" ]] ; then > > if [[ -n ${EPATCH_SINGLE_MSG} ]] ; then > > -

Re: [gentoo-dev] [PATCH] linux-mod.eclass: support module signing

2022-06-27 Thread Mike Gilbert
On Mon, Jun 27, 2022 at 5:11 PM Georgy Yakovlev wrote: > > On Mon, 2022-06-27 at 15:49 -0400, Mike Gilbert wrote: > > On Mon, Jun 27, 2022 at 3:42 PM Georgy Yakovlev > > wrote: > > > > > > On Mon, 2022-06-27 at 14:56 -0400, Mike Gilbert wrote: > >

Re: [gentoo-dev] [PATCH] linux-mod.eclass: support module signing

2022-06-27 Thread Mike Gilbert
On Mon, Jun 27, 2022 at 3:42 PM Georgy Yakovlev wrote: > > On Mon, 2022-06-27 at 14:56 -0400, Mike Gilbert wrote: > > On Mon, Jun 27, 2022 at 2:35 PM Kenton Groombridge > > wrote: > > > > so looks like we need to combine both methods and do the > > > >

Re: [gentoo-dev] [PATCH] java-vm-2.eclass: use "eselect java-vm update" if available

2022-06-27 Thread Mike Gilbert
On Mon, Jun 27, 2022 at 3:39 PM Georgy Yakovlev wrote: > > On Mon, 2022-06-27 at 21:21 +0200, Florian Schmaus wrote: > > Thanks to Mike Gilbert (floppym) for valuable feedback. > > > > Closes: https://bugs.gentoo.org/853928 > > Closes: https://github.com/gentoo/ge

Re: [gentoo-dev] [PATCH] linux-mod.eclass: support module signing

2022-06-27 Thread Mike Gilbert
On Mon, Jun 27, 2022 at 2:35 PM Kenton Groombridge wrote: > > so looks like we need to combine both methods and do the following: > > - if signing requested without compression - sign in pkg_preinst. > > - if signing requested with compression - sign in src_install > > > > Why can't we do both

  1   2   3   4   5   6   7   8   9   10   >