Re: [gentoo-portage-dev] [PATCH 0/4] Add sync-rcu support for rsync (bug 662070)

2018-08-09 Thread Brian Dolbec
On Mon, 6 Aug 2018 00:40:29 -0700 Zac Medico wrote: > Add a boolean sync-rcu repos.conf setting that behaves as follows: > > sync-rcu = yes|no > > Enable read-copy-update (RCU) behavior for sync operations. The > current latest immutable version of a repository will be > referenced by

Re: [gentoo-portage-dev] [PATCH 3/4] rsync: split out repo storage framework

2018-08-09 Thread Brian Dolbec
On Mon, 6 Aug 2018 00:40:32 -0700 Zac Medico wrote: > Since there aremany ways to manage repository storage, split out a > repo storage framework. The HardlinkQuarantineRepoStorage class > implements the existing default behavior, and the InplaceRepoStorage > class implements the legacy

Re: [gentoo-portage-dev] [PATCH] XARGS: use gxargs for USERLAND=BSD (bug 663256)

2018-08-09 Thread Brian Dolbec
On Thu, 9 Aug 2018 16:04:42 -0700 Zac Medico wrote: > For USERLAND=BSD, set XARGS="gxargs -r" if gxargs is available, > so the code from bug 630292 works for USERLAND=BSD. > > Fixes: 50283f1abb77 (install-qa-check.d/60pngfix: parallel support > (bug 630292)) Reported-by: Michał Górny > Bug:

Re: [gentoo-portage-dev] [PATCH] XARGS: use gxargs for USERLAND=BSD (bug 663256)

2018-08-09 Thread M. J. Everitt
On 10/08/18 00:17, M. J. Everitt wrote: > On 10/08/18 00:04, Zac Medico wrote: >> For USERLAND=BSD, set XARGS="gxargs -r" if gxargs is available, >> so the code from bug 630292 works for USERLAND=BSD. >> >> Fixes: 50283f1abb77 (install-qa-check.d/60pngfix: parallel support (bug >> 630292)) >>

Re: [gentoo-portage-dev] [PATCH] XARGS: use gxargs for USERLAND=BSD (bug 663256)

2018-08-09 Thread M. J. Everitt
On 10/08/18 00:04, Zac Medico wrote: > For USERLAND=BSD, set XARGS="gxargs -r" if gxargs is available, > so the code from bug 630292 works for USERLAND=BSD. > > Fixes: 50283f1abb77 (install-qa-check.d/60pngfix: parallel support (bug > 630292)) > Reported-by: Michał Górny > Bug:

[gentoo-portage-dev] [PATCH] XARGS: use gxargs for USERLAND=BSD (bug 663256)

2018-08-09 Thread Zac Medico
For USERLAND=BSD, set XARGS="gxargs -r" if gxargs is available, so the code from bug 630292 works for USERLAND=BSD. Fixes: 50283f1abb77 (install-qa-check.d/60pngfix: parallel support (bug 630292)) Reported-by: Michał Górny Bug: https://bugs.gentoo.org/663256 --- bin/isolated-functions.sh | 6

[gentoo-dev] [PATCH v2] libretro-core.eclass: An eclass to streamline the construction of Libretro core ebuilds

2018-08-09 Thread Craig Andrews
I'm proposing the addition of a new eclass, libretro-core.eclass, which I'll use when adding a number of libretro ebuilds. This version incorporates all the changes and suggestions posed so far. The pull request which includes this eclass as well as a few ebuilds using it (with more to come)

Re: [gentoo-dev] Experimental 2-step authentication support on dev.gentoo.org

2018-08-09 Thread Richard Yao
> On Aug 9, 2018, at 4:27 AM, Michał Górny wrote: > > Hi, everyone. > > Just a short notice: we've enabled experimental support for 2-step > authentication when logging in to woodpecker via SSH. For more details, > see [1]. Awesome. I had no idea that the hooks for this were in place. > >

[gentoo-dev] [PATCH v2 8/8] eutils.eclass: Ban path_exists

2018-08-09 Thread Michał Górny
--- eclass/eutils.eclass | 30 - eclass/tests/eutils_path_exists.sh | 35 -- 2 files changed, 4 insertions(+), 61 deletions(-) delete mode 100755 eclass/tests/eutils_path_exists.sh diff --git a/eclass/eutils.eclass

[gentoo-dev] [PATCH v2 7/8] autotools-utils.eclass: Remove EAPI 2&3 support

2018-08-09 Thread Michał Górny
--- eclass/autotools-utils.eclass | 29 - 1 file changed, 4 insertions(+), 25 deletions(-) diff --git a/eclass/autotools-utils.eclass b/eclass/autotools-utils.eclass index f8d2c7fdc247..b0047048662d 100644 --- a/eclass/autotools-utils.eclass +++

[gentoo-dev] [PATCH v2 5/8] www-apps/postfixadmin: Replace path_exists with inline logic

2018-08-09 Thread Michał Górny
Replace the call to path_exists with local filename expansion. While at it, also kill the ugly ls-abuse in favor of using the results of earlier expansion. --- www-apps/postfixadmin/postfixadmin-3.1.ebuild | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git

[gentoo-dev] [PATCH v2 6/8] app-eselect/eselect-opengl: Replace path_exists

2018-08-09 Thread Michał Górny
Replace path_exists call with nullglob-based filename expansion. --- .../eselect-opengl/eselect-opengl-1.3.1-r4.ebuild | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/app-eselect/eselect-opengl/eselect-opengl-1.3.1-r4.ebuild

[gentoo-dev] [PATCH v2 4/8] sys-apps/openrc: Replace path_exists with inline bash test

2018-08-09 Thread Michał Górny
path_exists was really meant to be used with wildcards (i.e. when plain bash tests can't work easily). Here it is really unnecessary. --- sys-apps/openrc/openrc-0.34.11.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/openrc/openrc-0.34.11.ebuild

[gentoo-dev] [PATCH v2 2/8] media-plugins/vdr-vdrmanager: Replace unnecessary path_exists call

2018-08-09 Thread Michał Górny
Replace the unnecessary path_exists calls with plain bash -f test. The path_exists function was only intended to be used when necessary to deal with wildcards. Closes: https://bugs.gentoo.org/662178 --- media-plugins/vdr-vdrmanager/vdr-vdrmanager-0.14.ebuild | 2 +- 1 file changed, 1

[gentoo-dev] [PATCH v2 3/8] net-vpn/openvpn: Remove obsolete postinst warning about old paths

2018-08-09 Thread Michał Górny
Suggested-by: Michael Orlitzky --- net-vpn/openvpn/openvpn-2.4.4.ebuild | 5 - net-vpn/openvpn/openvpn-2.4.5.ebuild | 5 - net-vpn/openvpn/openvpn-2.4.6.ebuild | 5 - net-vpn/openvpn/openvpn-.ebuild | 5 - 4 files changed, 20 deletions(-) diff --git

[gentoo-dev] [PATCH v2 1/8] media-plugins/vdr-live: Replace unnecessary path_exists calls

2018-08-09 Thread Michał Górny
Replace the unnecessary path_exists calls with plain bash -f test. The path_exists function was only intended to be used when necessary to deal with wildcards. Bug: https://bugs.gentoo.org/662178 --- media-plugins/vdr-live/vdr-live-0.3.0_p20130504-r1.ebuild | 2 +-

[gentoo-dev] [PATCH v2 0/8] eutils/path_exists removal

2018-08-09 Thread Michał Górny
Hi, Here's a second version of path_exists cleanup. This time the few uses are replaced by inline snippets, and the function is banned completely. -- Best regards, Michał Górny Michał Górny (8): media-plugins/vdr-live: Replace unnecessary path_exists calls media-plugins/vdr-vdrmanager:

Re: [gentoo-dev] Experimental 2-step authentication support on dev.gentoo.org

2018-08-09 Thread Michał Górny
W dniu czw, 09.08.2018 o godzinie 18∶10 +0300, użytkownik Andrew Savchenko napisał: > On Thu, 09 Aug 2018 10:27:35 +0200 Michał Górny wrote: > > Hi, everyone. > > > > Just a short notice: we've enabled experimental support for 2-step > > authentication when logging in to woodpecker via SSH. For

Re: [gentoo-dev] Experimental 2-step authentication support on dev.gentoo.org

2018-08-09 Thread Andrew Savchenko
On Thu, 09 Aug 2018 10:27:35 +0200 Michał Górny wrote: > Hi, everyone. > > Just a short notice: we've enabled experimental support for 2-step > authentication when logging in to woodpecker via SSH. For more details, > see [1]. > > TL;DR: as a technical limitation, some SSH clients may start

Re: [gentoo-dev] [PATCH 3/5] net-vpn/openvpn: Remove unnecessary option switch to path_exists

2018-08-09 Thread Michael Orlitzky
On 08/08/2018 05:34 PM, Michał Górny wrote: > > - if path_exists -o "${EROOT%/}"/etc/openvpn/*/local.conf ; then > + if path_exists "${EROOT%/}"/etc/openvpn/*/local.conf ; then > ewarn "WARNING: The openvpn init script has changed" > ewarn "" > fi Not

Re: [gentoo-dev] [PATCH] systemd.eclass: set BDEPEND for EAPI 7

2018-08-09 Thread Michael Orlitzky
On 08/06/2018 04:23 PM, Toralf Förster wrote: > On 08/06/2018 10:09 PM, Alec Warner wrote: >> >> They do not even do so by convention; there are numerous EAPIs in the >> wild that are non-numeric. > > Then this line > >if [[ ${EAPI} == [0123456] ]]; then > > is a short-term solution,

Re: [gentoo-portage-dev] [PATCH] install-qa-check.d/60pngfix: parallel support (bug 630292)

2018-08-09 Thread Michał Górny
W dniu czw, 09.08.2018 o godzinie 11∶09 +0200, użytkownik Ulrich Mueller napisał: > > > > > > On Thu, 09 Aug 2018, Michał Górny wrote: > > > + if xargs --help | grep -q -- --max-procs=; then > > '--help' is not a valid argument on FreeBSD, so this spews errors > > to stderr: > > IIRC, GNU

Re: [gentoo-portage-dev] [PATCH] install-qa-check.d/60pngfix: parallel support (bug 630292)

2018-08-09 Thread Ulrich Mueller
> On Thu, 09 Aug 2018, Michał Górny wrote: >> +if xargs --help | grep -q -- --max-procs=; then > '--help' is not a valid argument on FreeBSD, so this spews errors > to stderr: IIRC, GNU findutils is required by PMS? Ulrich

[gentoo-dev] Experimental 2-step authentication support on dev.gentoo.org

2018-08-09 Thread Michał Górny
Hi, everyone. Just a short notice: we've enabled experimental support for 2-step authentication when logging in to woodpecker via SSH. For more details, see [1]. TL;DR: as a technical limitation, some SSH clients may start asking you for a password. Using any non-empty string will work.

Re: [gentoo-portage-dev] [PATCH] install-qa-check.d/60pngfix: parallel support (bug 630292)

2018-08-09 Thread Michał Górny
W dniu śro, 25.07.2018 o godzinie 12∶59 -0700, użytkownik Zac Medico napisał: > If xargs supports the --max-procs option then use the makeopts_jobs > function from helper-functions.sh to generate a --max-procs argument. > > Bug: https://bugs.gentoo.org/630292 > --- >

Re: [gentoo-dev] [PATCH 5/5] eutils.eclass: Restore the original path_exists function

2018-08-09 Thread Michał Górny
W dniu czw, 09.08.2018 o godzinie 07∶05 +0200, użytkownik Ulrich Mueller napisał: > > > > > > On Wed, 8 Aug 2018, Michał Górny wrote: > > Alternatively, we could remove the function entirely and inline its > > use in the three packages that need it. > > Sounds like a better plan. Removing the

Re: [gentoo-dev] Packages up for grabs

2018-08-09 Thread Sergei Trofimovich
On Wed, 8 Aug 2018 09:18:46 +0200 Manuel Rüger wrote: > Hi, > > it looks like parts of the Gentoo project and I don't share the same > values anymore. > Therefore, I currently don't know if I want to continue contributing and > am looking for new maintainers for the following packages: Sad to

Re: [gentoo-dev] [PATCH 5/5] eutils.eclass: Restore the original path_exists function

2018-08-09 Thread M. J. Everitt
On 08/08/18 22:34, Michał Górny wrote [excerpted]: > +# Example: > +# @CODE > +# if path_exists "${ROOT}"/etc/foo.d/*.conf; then > +# do_something > +# fi > +# @CODE > path_exists() { > - local opt=$1 > - [[ ${opt} == -[ao] ]] && shift || opt="-a" > - > - # no paths -> return false

[gentoo-dev] Package up for grabs: dev-db/couchdb

2018-08-09 Thread Dirkjan Ochtman
While I have maintained this for a long time, I've been unhappy with upstream since they released 2.x with no proper Unix build system (there have also been a number of bundled dependencies that I have been unable to move them off of). There is a newly released remote code execution vulnerability,