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

2022-07-25 Thread Sam James
> On 26 Jul 2022, at 04:00, Sam James wrote: > > > >> On 25 Jul 2022, at 16:28, 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

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

2022-07-25 Thread Sam James
> On 26 Jul 2022, at 00:33, Mike Gilbert wrote: > > 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

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

2022-07-25 Thread Sam James
> On 25 Jul 2022, at 16:28, 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] 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-25 Thread Conrad Kostecki
Hi! Am 22.07.2022 um 21:10 schrieb Mikhail Koliada: What do you think? I like the idea and would like to see that change. Conrad

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

2022-07-25 Thread Ionen Wolkens
On Sat, Jul 23, 2022 at 08:55:14PM -0400, Mike Gilbert wrote: > 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

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

2022-07-25 Thread Joshua Kinard
On 7/25/2022 16:29, John Helmert III wrote: > On Mon, Jul 25, 2022 at 03:59:59PM -0400, Joshua Kinard wrote: >> On 7/25/2022 15:30, Joshua Kinard wrote: >> [snip] >> >>> >>> Some really quick looking around, I'm not finding any substantive >>> discussions on why yescrypt is better than argon2. It

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

2022-07-25 Thread John Helmert III
On Mon, Jul 25, 2022 at 03:59:59PM -0400, Joshua Kinard wrote: > On 7/25/2022 15:30, Joshua Kinard wrote: > [snip] > > > > > Some really quick looking around, I'm not finding any substantive > > discussions on why yescrypt is better than argon2. It so far seems that it > > just got implemented

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

2022-07-25 Thread Joshua Kinard
On 7/25/2022 15:30, Joshua Kinard wrote: [snip] > > Some really quick looking around, I'm not finding any substantive > discussions on why yescrypt is better than argon2. It so far seems that it > just got implemented in libxcrypt sooner than argon2 did, so that's why > there is this sudden

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

2022-07-25 Thread Joshua Kinard
On 7/25/2022 15:34, John Helmert III wrote: > On Mon, Jul 25, 2022 at 03:30:08PM -0400, Joshua Kinard wrote: [snip] >> >> "yescrypt" is an odd name for a hashing algorithm. I looked it up on >> Wikipedia, and it just redirects to the 2013 Password Hashing Competition >> (PHC)[1], in which

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

2022-07-25 Thread John Helmert III
On Mon, Jul 25, 2022 at 03:30:08PM -0400, Joshua Kinard wrote: > On 7/25/2022 14:44, Sam James wrote: > > > > > >> On 22 Jul 2022, at 20:10, Mikhail Koliada wrote: > >> > >> Hello! > >> > >> This idea has been fluctuating in my head for quite a while given that the > >> migration had happened

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

2022-07-25 Thread Joshua Kinard
On 7/25/2022 14:44, Sam James wrote: > > >> On 22 Jul 2022, at 20:10, 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 >>

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

2022-07-25 Thread Sam James
> On 22 Jul 2022, at 20:10, 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]. For

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

2022-07-25 Thread Sam James
> On 25 Jul 2022, at 15:35, Peter Stuge wrote: > > Mikhail Koliada wrote: >> 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-portage-dev] [PATCH] doins: fix D check, add EPREFIX check

2022-07-25 Thread Ulrich Mueller
> On Mon, 25 Jul 2022, Fabian Groffen wrote: > @@ -50,6 +51,16 @@ if [[ ${_E_INSDESTTREE_#${ED}} != "${_E_INSDESTTREE_}" ]]; > then > __helpers_die "${helper} used with \${D} or \${ED}" > exit 1 > fi > +if [[ -n ${EPREFIX} && \ > + ${_E_INSDESTTREE_#${EPREFIX}} !=

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

2022-07-25 Thread Fabian Groffen
bin/phase-functions.sh: make ED and EROOT read-only too Like D, make ED and EROOT read-only vars. Signed-off-by: Fabian Groffen diff --git a/bin/phase-functions.sh b/bin/phase-functions.sh index ccf7eeea7..212b19fc1 100644 --- a/bin/phase-functions.sh +++ b/bin/phase-functions.sh @@ -12,7

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

2022-07-25 Thread Fabian Groffen
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 Signed-off-by: Fabian Groffen diff --git a/bin/misc-functions.sh

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

2022-07-25 Thread Fabian Groffen
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. Signed-off-by: Fabian Groffen diff --git a/bin/install-qa-check.d/90world-writable b/bin/install-qa-check.d/90world-writable index

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

2022-07-25 Thread Fabian Groffen
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 --- a/bin/install-qa-check.d/80multilib-strict +++ b/bin/install-qa-check.d/80multilib-strict @@

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

2022-07-25 Thread Fabian Groffen
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 b/bin/install-qa-check.d/80libraries index 8dc35bb87..a477ec9cb 100644 ---

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

2022-07-25 Thread Rich Freeman
On Mon, Jul 25, 2022 at 11:11 AM Marek Szuba wrote: > > On 2022-07-25 15:35, Peter Stuge wrote: > > > Please only do that based on proven merit and nothing else. > > https://pthree.org/2018/05/23/do-not-use-sha256crypt-sha512crypt-theyre-dangerous/ > , https://www.password-hashing.net/ , the fact

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

2022-07-25 Thread Fabian Groffen
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 least). Provide a fallback for the (near impossible) case that we use a

Re: [gentoo-portage-dev] usage of /bin/bash in shebangs

2022-07-25 Thread Fabian Groffen
On 25-07-2022 08:09:02 -0700, Zac Medico wrote: > On 7/24/22 23:17, Fabian Groffen wrote: > > On 24-07-2022 13:58:31 -0700, Zac Medico wrote: > >> On 7/24/22 12:29, Fabian Groffen wrote: > >>> Hi, > >>> > >>> Quick question, I noticed that portage uses /bin/bash hardcoded in > >>> shebang of

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

2022-07-25 Thread Fabian Groffen
bin/ebuild-helpers/doins: fix D check, add EPREFIX check ED = D/EPREFIX, so checking for ED includes EPREFIX, which when this is absent fails to check for D. Simply check for D instead, which catches both the case for D and ED. Add check for usage of EPREFIX, like for using D with helpers.

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

2022-07-25 Thread Marek Szuba
On 2022-07-25 15:35, Peter Stuge wrote: Mikhail Koliada wrote: 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]. Please only do

Re: [gentoo-portage-dev] usage of /bin/bash in shebangs

2022-07-25 Thread Zac Medico
On 7/24/22 23:17, Fabian Groffen wrote: On 24-07-2022 13:58:31 -0700, Zac Medico wrote: On 7/24/22 12:29, Fabian Groffen wrote: Hi, Quick question, I noticed that portage uses /bin/bash hardcoded in shebang of scripts, while it uses /usr/bin/env python for python executable files. Is there

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

2022-07-25 Thread Peter Stuge
Mikhail Koliada wrote: > 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]. Please only do that based on proven merit and nothing

Re: [gentoo-dev] Up for grabs: net-misc/anydesk, net-misc/vde

2022-07-25 Thread Jaco Kroon
On 2022/07/24 18:36, Sam James wrote: > The following packages are up for grabs b/c of inactivity: > net-misc/anydesk https://github.com/gentoo/gentoo/pull/26587 Kind Regards, Jaco

[gentoo-dev] Last-rites: kde-apps/kalarmcal

2022-07-25 Thread Andreas Sturmlechner
# Andreas Sturmlechner (2022-07-25) # Merged into kde-apps/kalarm since 22.04.3, no other revdeps, obsolete. # Masked for removal on 2022-08-08. kde-apps/kalarmcal signature.asc Description: This is a digitally signed message part.

Re: [gentoo-portage-dev] usage of /bin/bash in shebangs

2022-07-25 Thread Fabian Groffen
On 24-07-2022 13:58:31 -0700, Zac Medico wrote: > On 7/24/22 12:29, Fabian Groffen wrote: > > Hi, > > > > Quick question, I noticed that portage uses /bin/bash hardcoded in > > shebang of scripts, while it uses /usr/bin/env python for python > > executable files. > > > > Is there anything