Re: [gentoo-portage-dev] [PATCH 2/3] emerge: Rename --autounmask-write to --autounmask

2014-01-19 Thread Mike Frysinger
On Saturday 18 January 2014 19:21:11 Alexander Berntsen wrote: Rename --autounmask-write to --autounmask. typically when we delete/rename an option, we give users a heads up. that means a cycle where the old option exists but emits a warning before switching to the new one. then we can

Re: [gentoo-portage-dev] [PATCH v4] Add repoman check to warn if src_prepare/src_configure are used in EAPI 0/1 and if pkg_pretend is used in EAPI 4. Fixes bug 379491.

2014-01-19 Thread Mike Frysinger
Acked-by: Mike Frysinger vap...@gentoo.org btw you should keep the patch summary short. if it goes long, better to move it to the main body. -mike signature.asc Description: This is a digitally signed message part.

Re: [gentoo-portage-dev] [PATCH 3/3] Have repoman deprecate G2CONF for the GNOME team. (bug #482084).

2014-01-19 Thread Mike Frysinger
On Wednesday 15 January 2014 19:07:20 Tom Wijsman wrote: +class DeprecateG2CONF(LineCheck): + repoman_check_name = 'G2CONF.deprecated' + re = re.compile(r'.*G2CONF.*') + + def check(self, num, line): + Run the check on line and return error if there is one +

Re: [gentoo-portage-dev] [PATCH 3/3] Have repoman deprecate G2CONF for the GNOME team. (bug #482084).

2014-01-19 Thread Mike Frysinger
btw, suggestion for commit summary/message: repoman: deprecate G2CONF Deprecate the G2CONF variable as requested by the GNOME team. URL: http://bugs.gentoo.org/482084 -mike signature.asc Description: This is a digitally signed message part.

Re: [gentoo-portage-dev] [PATCH 1/3 v2] Have repoman check if the packages to unpack rare archive formats from SRC_URI are present in DEPEND (bug #205909).

2014-01-19 Thread Mike Frysinger
On Friday 17 January 2014 18:03:57 Tom Wijsman wrote: --- please shorten your commit summary and move more content to the body +getNonSystemArchiveDepends.archivers = { it is super weird to attach to the object like this. some might even say wrong. move it into the class definition. def

Re: [gentoo-portage-dev] [PATCH] Add repoman check to warn if src_prepare/src_configure are used in EAPI 0/1

2014-01-19 Thread Mike Frysinger
On Tuesday 14 January 2014 16:15:48 Tom Wijsman wrote: On Mon, 13 Jan 2014 23:59:11 -0500 Mike Frysinger wrote: we probably should just use dev branches in the main repo, at least for people who have write access to the repo dev/$USERNAME/whatever you want To be more clear, which

Re: [gentoo-portage-dev] [PATCH 2/3] emerge: Rename --autounmask-write to --autounmask

2014-01-19 Thread Mike Frysinger
On Sunday 19 January 2014 05:48:33 Alexander Berntsen wrote: On 19/01/14 10:20, Mike Frysinger wrote: typically when we delete/rename an option, we give users a heads up. that means a cycle where the old option exists but emits a warning before switching to the new one. then we can delete

Re: [gentoo-portage-dev] [PATCH] Add repoman check to warn if src_prepare/src_configure are used in EAPI 0/1

2014-01-19 Thread Mike Frysinger
On Sunday 19 January 2014 11:59:36 Mike Gilbert wrote: On Sun, Jan 19, 2014 at 4:44 AM, Mike Frysinger vap...@gentoo.org wrote: Chromium OS for a long time was restricted to EAPI 4 for two reasons -- it had an old portage version (and upgrading to a newer one regressed performance

Re: [gentoo-portage-dev] [PATCH] Add repoman check to warn if src_prepare/src_configure are used in EAPI 0/1

2014-01-19 Thread Mike Frysinger
On Monday 20 January 2014 01:02:31 Alec Warner wrote: Are you still doing crazy crap like disabling all of the portage locking? ;p yes no. we make sure we hold the right locks and don't do operations that otherwise cause problems. then we disable the core lock grabbing :P. the current

Re: [gentoo-portage-dev] When must we write tests, when is it optional?

2014-01-17 Thread Mike Frysinger
On Saturday 18 January 2014 01:40:04 Mike Frysinger wrote: On Friday 17 January 2014 19:10:56 Tom Wijsman wrote: Looking back on the repoman patches from both me and creffett, we haven't written tests; it's on my plan to still do that, if possible. This makes me wonder: Should writing

Re: [gentoo-dev] Default USE changes for fortran and mudflap?

2014-01-13 Thread Mike Frysinger
On Sunday 12 January 2014 02:53:47 Ryan Hill wrote: While I'm adding USE defaults to toolchain.eclass and moving them out of the profiles, I thought now would be a good time to review a couple default flag settings. mudflap: This is currently enabled by default but I'd like to disable it.

Re: [gentoo-portage-dev] [PATCH] Check for and report read-only filesystems

2014-01-13 Thread Mike Frysinger
On Friday 10 January 2014 22:07:52 Chris Reffett wrote: Attached is a patch to test if Portage is going to write to a read-only filesystem and print out the list of filesystems that need to be remounted RW. This leaves ${D} intact rather than having some files moved before hitting the RO

Re: [gentoo-portage-dev] [PATCH] First draft of a portage pylint.

2014-01-13 Thread Mike Frysinger
people have been using pyflakes of late. not that i'm against adding this. we should have a wrapper script: $ cat pylint #!/bin/sh exec pylint --rcfile ${0%/*}/pylintrc $@ -mike signature.asc Description: This is a digitally signed message part.

Re: [gentoo-portage-dev] [PATCH] [REV] Added support for variable expansion in source command. wrt bug #490896

2014-01-13 Thread Mike Frysinger
cnf/make.conf.example.source_test| 7 +++ cnf/make.conf.example.source_test_after | 8 i don't think test files belong in cnf/. keep them in the same dir as the test that uses them. -mike signature.asc Description: This is a digitally signed message part.

Re: [gentoo-portage-dev] [PATCH] Add repoman check to warn if src_prepare/src_configure are used in EAPI 0/1

2014-01-13 Thread Mike Frysinger
On Monday 13 January 2014 19:08:30 creff...@gentoo.org wrote: From: Chris Reffett creff...@gentoo.org you might want to set ~/.gitconfig to have your name/email so that git sendemail uses the right info in the actual e-mail From: field + undefined_phases_re =

Re: [gentoo-portage-dev] [PATCH v3] Added support for variable expansion in source command argument in make.conf

2014-01-13 Thread Mike Frysinger
seems reasonable, although i haven't used the shlex module myself before -mike signature.asc Description: This is a digitally signed message part.

Re: [gentoo-dev] Re: Portage QOS

2014-01-10 Thread Mike Frysinger
please do not use html on the public mailing lists -mike signature.asc Description: This is a digitally signed message part.

Re: [gentoo-dev] Re: About pam herd status

2014-01-10 Thread Mike Frysinger
On Thursday 09 January 2014 15:24:00 Diego Elio Pettenò wrote: On 9 January 2014 20:20, Mike Frysinger vap...@gentoo.org wrote: well, the sep herd was kind of by design ... i didn't want it cluttering up base-system@ and it is super convenient to abdicate all PAM decisions to a single herd

Re: [gentoo-dev] Re: About pam herd status

2014-01-09 Thread Mike Frysinger
On Monday 09 December 2013 16:32:09 Markos Chandras wrote: On 12/09/2013 02:21 PM, Diego Elio Pettenò wrote: On Mon, Dec 9, 2013 at 2:20 PM, Pacho Ramos pa...@gentoo.org wrote: Hello Is pam team still active? I wonder about this as, recently, we have needed to go ahead and fix some

[gentoo-portage-dev] [PATCH 3/3] mkrelease: add a --runtests shortcut

2014-01-05 Thread Mike Frysinger
This automates the release+test cycle a bit so people don't have to do it all by hand. --- DEVELOPING | 7 ++- mkrelease.sh | 15 +-- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/DEVELOPING b/DEVELOPING index 7aac81b..b704a50 100644 --- a/DEVELOPING +++

[gentoo-portage-dev] [PATCH 2/3] runtests: hardfail when a requested version is not found

2014-01-05 Thread Mike Frysinger
This way people don't have to worry about runtests.sh passing for a specific version when it wasn't found in the system. --- runtests.sh | 6 ++ 1 file changed, 6 insertions(+) diff --git a/runtests.sh b/runtests.sh index 3006be5..2870907 100755 --- a/runtests.sh +++ b/runtests.sh @@ -30,15

Re: [gentoo-portage-dev] [PATCH] Document layout.conf more (bug 395359)

2014-01-05 Thread Mike Frysinger
extending the example isn't the way to go. see the commit i pushed. if you've got details that i missed, then rebase on top of that and send an update. -mike signature.asc Description: This is a digitally signed message part.

Re: [gentoo-portage-dev] [PATCH 3/3] mkrelease: add a --runtests shortcut

2014-01-05 Thread Mike Frysinger
On Sunday 05 January 2014 13:23:38 Brian Dolbec wrote: On Sun, 2014-01-05 at 10:50 -0500, Mike Frysinger wrote: This automates the release+test cycle a bit so people don't have to do it all by hand. I've added them to my checkout and running it now. If it all works as it should, I'll

Re: [gentoo-portage-dev] [PATCH] Document layout.conf more (bug 395359)

2014-01-05 Thread Mike Frysinger
On Sunday 05 January 2014 16:44:31 Sebastian Luther wrote: One thing about the 'profile-formats' key. portage-1-compat is not a valid value (see _valid_profile_formats variable), but pms is. From the use in other places it seems that portage-1-compat is like portage-1, but warns for

Re: [gentoo-portage-dev] Bugzilla workflow

2014-01-05 Thread Mike Frysinger
On Sunday 05 January 2014 17:05:04 Sebastian Luther wrote: For now I tried to handle bugs like Zac did. That is: There always exists a tracker bug, named: [Tracker] sys-apps/portage-next version. would be nice to start adding an alias field. this way you can do:

Re: [gentoo-portage-dev] Re: [PATCH] econf: update configure/config.{sub,guess} atomically to avoid races

2013-12-21 Thread Mike Frysinger
On Friday 20 December 2013 22:07:17 Ryan Hill wrote: On Tue, 17 Dec 2013 18:28:12 -0500 Mike Frysinger wrote: Use $BASHPID which will be unique even in subshells. This requires bash 4.0. I'm all for it, but haters gonna hate. ugh. fun fact: this is used in multiple places in portage

[gentoo-portage-dev] [PATCH] add a __bashpid helper for bash-4.0 versions

2013-12-21 Thread Mike Frysinger
The $BASHPID variable is new to bash-4.0, so we need to add fallback logic to support older versions (notably, bash-3.2). Reported-by: Ryan Hill dirtye...@gentoo.org --- bin/ebuild-helpers/prepstrip | 4 ++-- bin/ebuild.sh| 2 +- bin/helper-functions.sh | 2 +-

Re: [gentoo-portage-dev] musings on config.{sub,guess} replacement living in econf (was: [PATCH] econf: update configure/config.{sub,guess} atomically to avoid races)

2013-12-18 Thread Mike Frysinger
On Wednesday 18 December 2013 17:20:32 Greg Turner wrote: My hunch is that the decision to put the config.{sub,guess} replacement code in econf was intended as a quick-and-dirty way to avoid doing the replacements, in cases where no configure script runs in an ebuild. it was intended as the

[gentoo-portage-dev] [PATCH] econf: update config.{sub,guess} atomically to avoid races

2013-12-17 Thread Mike Frysinger
URL: https://bugs.gentoo.org/487478 --- bin/phase-helpers.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/phase-helpers.sh b/bin/phase-helpers.sh index ec48c94..59c053a 100644 --- a/bin/phase-helpers.sh +++ b/bin/phase-helpers.sh @@ -512,7 +512,9 @@ econf() {

[gentoo-portage-dev] [PATCH] econf: update configure/config.{sub,guess} atomically to avoid races

2013-12-17 Thread Mike Frysinger
Use $BASHPID which will be unique even in subshells. URL: https://bugs.gentoo.org/487478 --- bin/phase-helpers.sh | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/bin/phase-helpers.sh b/bin/phase-helpers.sh index ec48c94..1a7ae03 100644 ---

Re: [gentoo-portage-dev] [PATCH] QA warning for files in /var/{cache,lib,lock,run}/ or /run/ (bug 493154)

2013-12-15 Thread Mike Frysinger
On Wednesday 11 December 2013 03:43:12 Sebastian Luther wrote: Am 11.12.2013 08:57, schrieb Mike Frysinger: i'll send out a new version. FWIW, new patch looks fine. thanks for the review ... i pushed that version -mike signature.asc Description: This is a digitally signed message part.

Re: [gentoo-portage-dev] [PATCH] QA warning for files in /var/{cache,lib,lock,run}/ or /run/ (bug 493154)

2013-12-10 Thread Mike Frysinger
On Thursday 05 December 2013 15:57:17 sebastianlut...@gmx.de wrote: --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -242,6 +242,11 @@ install_qa_check() { [[ -d ${ED}/$x ]] f+= $x\n done + # It's ok create these directories, but not to install into

[gentoo-portage-dev] [PATCH v2] QA warning for files in /var/{cache,lock,run}/ or /run/

2013-12-10 Thread Mike Frysinger
From: Sebastian Luther sebastianlut...@gmx.de No warning will be issued if the directories are created, but are left empty. URL: https://bugs.gentoo.org/493154 --- bin/misc-functions.sh | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/bin/misc-functions.sh

Re: [gentoo-portage-dev] [PATCH] Remove ban on installing *.a and *.la files in / (bug 492542)

2013-12-05 Thread Mike Frysinger
i don't think we want this. i've followed up on the bug. -mike signature.asc Description: This is a digitally signed message part.

Re: [gentoo-portage-dev] [PATCH] make.conf.5: Document PYTHON_TARGETS, bug #493180

2013-12-03 Thread Mike Frysinger
On Tuesday 03 December 2013 04:19:27 Alexander Berntsen wrote: Using git send-email since vapier told me to. I haven't used this before, so sorry if I have done something wrong. Please let me know. looks ok from `git send-email` pov, but random comments not meant for the commit message should

Re: [gentoo-portage-dev] [PATCH] Mention sourced files syntax

2013-12-02 Thread Mike Frysinger
On Monday 02 December 2013 05:22:06 Brian Dolbec wrote: On Mon, 2013-12-02 at 01:52 -0500, Mike Frysinger wrote: On Sunday 01 December 2013 19:08:26 Alexander Berntsen wrote: I sat down to fix bug #492314, but Sebastian already did. Here's the man update I did for it though. (Couldn't

Re: [gentoo-portage-dev] [PATCH] Mention sourced files syntax

2013-12-01 Thread Mike Frysinger
On Sunday 01 December 2013 19:08:26 Alexander Berntsen wrote: I sat down to fix bug #492314, but Sebastian already did. Here's the man update I did for it though. (Couldn't find anyone with commit rights available on IRC right now, and I'm soon going to bed, so posting here.) looks like Brian

Re: [gentoo-portage-dev] [PATCH] egencache: --write-timestamp to create metadata/timestamp.chk

2013-11-29 Thread Mike Frysinger
On Friday 29 November 2013 08:36:43 sebastianlut...@gmx.de wrote: + f.write(time.strftime(%a, %d %b %Y %H:%M:%S +\n, would be nice to pull that time format out and into the const module. the emerge actions.py file uses it too (twice actually). +

Re: [gentoo-portage-dev] [PATCH 1/2] egencache: --write-timestamp to create metadata/timestamp.chk

2013-11-29 Thread Mike Frysinger
thanks, pushed both -mike signature.asc Description: This is a digitally signed message part.

Re: [gentoo-portage-dev] [PATCH 1/2] Add list of live eclasses to portage.const

2013-11-29 Thread Mike Frysinger
fixed the typo pointed out by Tom and merged. thanks! -mike signature.asc Description: This is a digitally signed message part.

Re: [gentoo-portage-dev] [PATCH] egencache: --write-timestamp to create metadata/timestamp.chk

2013-11-27 Thread Mike Frysinger
On Wednesday 27 November 2013 05:31:17 sebastianlut...@gmx.de wrote: + if options.write_timestamp: + timestamp_path = os.path.join(repo_path, metadata, timestamp.chk) + try: + timestampfile = open(timestamp_path, w) + try:

Re: [gentoo-portage-dev] [PATCH] egencache: --write-timestamp to create metadata/timestamp.chk

2013-11-27 Thread Mike Frysinger
On Wednesday 27 November 2013 16:41:12 Sebastian Luther wrote: Am 27.11.2013 22:20, schrieb Mike Frysinger: use a with block, and merge those writes with open(timestamp_path, 'w') as f: f.write(time.strftime('%a, %d %b %Y %H:%M:%S +\n', time.gmtime())) What if the f.write

Re: [gentoo-portage-dev] Wanted: committer for the portage git repo

2013-11-26 Thread Mike Frysinger
On Tuesday 26 November 2013 04:36:39 Sebastian Luther wrote: since zmedico seems to be unavailable for now, I started to fix some bugs (see below). The problem is that I need someone with commit rights to the portage git repo, with the time to ack and commit my stuff. Does anyone volunteer

Re: [gentoo-portage-dev] Another slot operator fix

2013-11-26 Thread Mike Frysinger
On Tuesday 26 November 2013 15:06:22 sebastianlut...@gmx.de wrote: This first patches fixes: Bug 490362 - dev-libs/icu-51.2-r1 conflicts with dev-tex/bibtexu-3.71_p20120701 The second patch suppresses some debug output from tests from an earlier commit. looks like these two have been

Re: [gentoo-portage-dev] Another slot operator fix

2013-11-26 Thread Mike Frysinger
On Tuesday 26 November 2013 23:25:03 Brian Dolbec wrote: On Tue, 2013-11-26 at 22:27 -0500, Mike Frysinger wrote: On Tuesday 26 November 2013 15:06:22 sebastianlut...@gmx.de wrote: This first patches fixes: Bug 490362 - dev-libs/icu-51.2-r1 conflicts with dev-tex/bibtexu-3.71_p20120701

Re: [gentoo-portage-dev] [PATCH] xattr: centralize the various shims in one place

2013-10-20 Thread Mike Frysinger
On Wednesday 16 October 2013 23:42:26 Arfrever Frehtes Taifersar wrote: 2013-10-17 04:53 Mike Frysinger napisał(a): On Wednesday 16 October 2013 22:51:17 Mike Frysinger wrote: On Wednesday 16 October 2013 20:02:50 Arfrever Frehtes wrote: 2013-10-16 23:03 Mike Frysinger napisał

[gentoo-portage-dev] [PATCH v2] xattr: centralize the various shims in one place

2013-10-20 Thread Mike Frysinger
Rather than each module implementing its own shim around the various methods for accessing extended attributes, start a dedicated module that exports a consistent API. --- v2 - passes unittests w/python 2.6 2.7 3.2 3.3 bin/xattr-helper.py | 11 +-

Re: [gentoo-portage-dev] [PATCH] prepstrip: rewrite in python

2013-10-20 Thread Mike Frysinger
On Thursday 17 October 2013 05:47:49 Alexander Berntsen wrote: pym/portage/bin/prepstrip.py: -You import sys, shlex, _copyxattr and xattr but never use them i've run a linter on the files now -On line 86, I would change the indentation to be i think existing style is correct.

Re: [gentoo-dev] Patch to sys-apps/portage-2.2.7 giving 2% performance increase

2013-10-18 Thread Mike Frysinger
On Friday 18 October 2013 12:46:18 Neil Cahill wrote: I profiled an execution of emerge -pv sed to look for easy ways to increase the speed of that command. The following 2-line patch gives a 2% reduced run time. The profile showed that regex matching accounts for 8.3% of the run time, so

[gentoo-portage-dev] [PATCH] xattr: centralize the various shims in one place

2013-10-16 Thread Mike Frysinger
Rather than each module implementing its own shim around the various methods for accessing extended attributes, start a dedicated module that exports a consistent API. --- bin/xattr-helper.py | 11 +-- pym/portage/util/_xattr.py | 189 +++

Re: [gentoo-portage-dev] [PATCH] xattr: centralize the various shims in one place

2013-10-16 Thread Mike Frysinger
On Wednesday 16 October 2013 20:02:50 Arfrever Frehtes Taifersar Arahesis wrote: 2013-10-16 23:03 Mike Frysinger napisał(a): Rather than each module implementing its own shim around the various methods for accessing extended attributes, start a dedicated module that exports a consistent

Re: [gentoo-portage-dev] [PATCH] xattr: centralize the various shims in one place

2013-10-16 Thread Mike Frysinger
On Wednesday 16 October 2013 22:51:17 Mike Frysinger wrote: On Wednesday 16 October 2013 20:02:50 Arfrever Frehtes Taifersar Arahesis wrote: 2013-10-16 23:03 Mike Frysinger napisał(a): Rather than each module implementing its own shim around the various methods for accessing extended

Re: [gentoo-portage-dev] [PATCH] prepstrip: rewrite in python

2013-10-16 Thread Mike Frysinger
On Wednesday 16 October 2013 19:26:04 Arfrever Frehtes Taifersar Arahesis wrote: 2013-10-16 23:34 Mike Frysinger napisał(a): + raise subprocess.CalledProcessError('command failed (ret=%i): %s' % ( + proc.returncode, ' '.join(map(repr, cmd

[gentoo-dev] Re: Improve the security of the default profile

2013-09-05 Thread Mike Frysinger
On Thursday 05 September 2013 06:13:28 Agostino Sarubbo wrote: during an irc debate, me and other people just noticed that the default profile could use more flags to enhance the security. An hint is here: https://wiki.ubuntu.com/ToolChain/CompilerFlags Please argue about what we _don't_

Re: [gentoo-portage-dev] [PATCH 3/3] Add CPU model name to output of getportageversion as fifth element

2013-08-24 Thread Mike Frysinger
On Thursday 15 August 2013 04:00:57 Fabian Groffen wrote: e.g. it seems to me only on Linux it gives fancy model output. Note that the first and second system were running a 64-bit Python as well as kernel. output from the uname() syscall/C lib func is bare. the `uname` program in Gentoo

[gentoo-dev] unpacker.eclass: add decompress probe helper

2013-06-22 Thread Mike Frysinger
On Monday 17 June 2013 01:55:09 Mike Frysinger wrote: i wish we could merge with the file detection in unpack_makeself somehow this patch should unify that aspect -mike --- unpacker.eclass 10 Apr 2013 14:47:49 - 1.13 +++ unpacker.eclass 22 Jun 2013 17:54:09 - @@ -22,7

Re: [gentoo-dev] Soliciting input for a non-maintainer update (NMU) GLEP

2013-06-22 Thread Mike Frysinger
On Saturday 22 June 2013 06:20:22 Michael Weber wrote: But in every single metadata? Can I get a script for my 160 personal edits, pls? that's why the default is do it. if you don't trust other people to do it, then yes, you get pain in having to maintain all your metadata.xml files with

Re: [gentoo-dev] Soliciting input for a non-maintainer update (NMU) GLEP

2013-06-21 Thread Mike Frysinger
On Friday 21 June 2013 14:50:54 Robin H. Johnson wrote: From what I've read on the list recently, there's a lot of demand for non-maintainer updates to ebuilds. Esp. with the upcoming Git migration, I predict there will be a much larger influx of changes from users. seems like we're somewhat

Re: [gentoo-dev] Soliciting input for a non-maintainer update (NMU) GLEP

2013-06-21 Thread Mike Frysinger
On Friday 21 June 2013 20:06:31 Robin H. Johnson wrote: On Fri, Jun 21, 2013 at 07:40:03PM -0400, Mike Frysinger wrote: On Friday 21 June 2013 14:50:54 Robin H. Johnson wrote: From what I've read on the list recently, there's a lot of demand for non-maintainer updates to ebuilds. Esp

Re: [gentoo-dev] Soliciting input for a non-maintainer update (NMU) GLEP

2013-06-21 Thread Mike Frysinger
On Friday 21 June 2013 20:26:03 Robin H. Johnson wrote: On Fri, Jun 21, 2013 at 08:17:38PM -0400, Mike Frysinger wrote: I'm not going into review systems here at all, I'm simply trying to have a policy of what changes are welcomed/blocked WITHOUT interaction from the listed maintainer(s

Re: [gentoo-dev] [RFC] unpacker.eclass extensions

2013-06-19 Thread Mike Frysinger
On Monday 17 June 2013 16:37:06 Rick Zero_Chaos Farina wrote: On 06/17/2013 04:19 PM, Diego Elio Pettenò wrote: On 17/06/2013 17:54, Rick Zero_Chaos Farina wrote: I make all my files with tar cJf zero@ozzie ~ % file /usr/portage/distfiles/gr-osmosdr-0.0.2.tar.xz

Re: [gentoo-dev] Re: evar_push/pop helpers

2013-06-17 Thread Mike Frysinger
On Monday 17 June 2013 01:42:15 Mike Frysinger wrote: On Sunday 02 June 2013 13:38:04 Steven J. Long wrote: On Sat, Jun 01, 2013 at 11:03:20PM -0400, Mike Frysinger wrote: +# is not specified, the var will be unset. +evar_push_set() { + local var=$1 + evar_push ${var} + case

Re: [gentoo-dev] [RFC] unpacker.eclass extensions

2013-06-17 Thread Mike Frysinger
On Monday 17 June 2013 03:15:53 Diego Elio Pettenò wrote: On 17/06/2013 06:55, Mike Frysinger wrote: tar -xJf ./$i why doesn't the bzip2 detect as bzip2 ? Capital J is XZ not bzip2.. still, it makes me think it needs a newer version of file

Re: [gentoo-dev] How to spread intltool fixes to all packages

2013-06-16 Thread Mike Frysinger
On Tuesday 11 June 2013 05:55:14 Pacho Ramos wrote: Because of: https://bugs.gentoo.org/show_bug.cgi?id=432848 We discovered an old bug affecting intltool that causes prefix of localedir to be always hardcoded to the same location instead of respecting configure flags. The patch is fixed

Re: [gentoo-dev] Re: evar_push/pop helpers

2013-06-16 Thread Mike Frysinger
On Sunday 02 June 2013 13:38:04 Steven J. Long wrote: On Sat, Jun 01, 2013 at 11:03:20PM -0400, Mike Frysinger wrote: --- eutils.eclass 22 May 2013 05:10:29 - 1.421 +++ eutils.eclass 2 Jun 2013 03:00:46 - @@ -146,6 +146,77 @@ estack_pop() { eval unset ${__estack_name

Re: [gentoo-dev] evar_push/pop helpers

2013-06-16 Thread Mike Frysinger
On Sunday 02 June 2013 03:48:17 Tom Wijsman wrote: On Sun, 2 Jun 2013 03:29:33 -0400 Mike Frysinger wrote: except you aren't handling edge cases (like set vs unset) You've got me there, though this is quite an exception; I don't see why we have to introduce something that's barely used

Re: [gentoo-dev] evar_push/pop helpers

2013-06-16 Thread Mike Frysinger
here's v2 -mike --- eutils.eclass 22 May 2013 05:10:29 - 1.421 +++ eutils.eclass 17 Jun 2013 05:41:58 - @@ -146,6 +146,79 @@ estack_pop() { eval unset ${__estack_name}\[${__estack_i}\] } +# @FUNCTION: evar_push +# @USAGE: variable to save [more vars to save] +#

Re: [gentoo-dev] [RFC] unpacker.eclass extensions

2013-06-16 Thread Mike Frysinger
On Saturday 15 June 2013 04:39:10 Vadim A. Misbakh-Soloviov wrote: # @DESCRIPTION: # Unpack nixstaller generated files needs a period at the end. content in @DESCRIPTION is normalized. # They're shell scripts with the blob package tagged onto # the end of the archive. In the blob placed

Re: [gentoo-dev] evar_push/pop helpers

2013-06-02 Thread Mike Frysinger
On Sunday 02 June 2013 02:51:34 Michał Górny wrote: Dnia 2013-06-01, o godz. 23:03:20 Mike Frysinger napisał(a): simple set of helpers to save/restore a variable in a limited section of code you can see an example of it in action at the end of the file where i need to tweak epatch

Re: [gentoo-dev] evar_push/pop helpers

2013-06-02 Thread Mike Frysinger
On Sunday 02 June 2013 03:16:53 Michał Górny wrote: Dnia 2013-06-02, o godz. 03:09:31 Mike Frysinger napisał(a): On Sunday 02 June 2013 02:51:34 Michał Górny wrote: Dnia 2013-06-01, o godz. 23:03:20 Mike Frysinger napisał(a): simple set of helpers to save/restore a variable in a limited

Re: [gentoo-dev] evar_push/pop helpers

2013-06-02 Thread Mike Frysinger
On Sunday 02 June 2013 04:39:32 Michał Górny wrote: Dnia 2013-06-02, o godz. 03:29:33 Mike Frysinger napisał(a): On Sunday 02 June 2013 03:16:53 Michał Górny wrote: Dnia 2013-06-02, o godz. 03:09:31 Mike Frysinger napisał(a): On Sunday 02 June 2013 02:51:34 Michał Górny wrote: Dnia

[gentoo-dev] evar_push/pop helpers

2013-06-01 Thread Mike Frysinger
simple set of helpers to save/restore a variable in a limited section of code you can see an example of it in action at the end of the file where i need to tweak epatch (and no, doing `LC_COLLATE=C set -- ` does not work). -mike --- eutils.eclass 22 May 2013 05:10:29 - 1.421

Re: [gentoo-portage-dev] Is portage (/usr)/bin-merge safe?

2013-06-01 Thread Mike Frysinger
On Saturday 01 June 2013 01:36:28 Duncan wrote: As in subject, is portage bin/usr-bin merge safe? portage should be merge safe for all files. it specifically writes it to a temp file and then does a rename so it's an atomic update. otherwise you'd get things like ETXTBSY errors. -mike

Re: [gentoo-dev] Better handling of USE flags to enable/disable system libraries

2013-05-28 Thread Mike Frysinger
On Tuesday 28 May 2013 13:53:54 Michał Górny wrote: On Tue, 28 May 2013 16:43:10 +0200 David Carlos Manuelda wrote: I posted a bug about that along with a suggestion, despite sometimes I do not explain myself correctly (I am very sorry): bug #471590 Many packages are bundling its own

Re: [gentoo-dev] [PATCH multibuild.eclass] Use portable locking code from Fabian Groffen.

2013-05-23 Thread Mike Frysinger
On Wednesday 15 May 2013 15:22:21 Michał Górny wrote: The 'userland_*' flags have proven not good enough to determine the availability of lock helpers. Fabian provided a nice portable locking code instead. Fixes: https://bugs.gentoo.org/show_bug.cgi?id=466554 ---

Re: [gentoo-dev] [PATCH] gnome2.eclass does not respect ECONF_SOURCE

2013-05-23 Thread Mike Frysinger
On Thursday 09 May 2013 12:59:11 Pacho Ramos wrote: El mié, 08-05-2013 a las 20:59 -0400, Mike Frysinger escribió: On Wednesday 05 December 2012 18:02:51 Doug Goldstein wrote: - if grep -q disable-scrollkeeper configure; then + if grep -q disable-scrollkeeper ${ECONF_SOURCE:-.}/configure

[gentoo-portage-dev] [PATCH v2] env-update: change prelink to use /etc/prelink.conf.d/portage.conf

2013-05-12 Thread Mike Frysinger
will conditionally change /etc/prelink.conf to use the new /etc/prelink.conf.d/ too. URL: http://bugs.gentoo.org/266855 Signed-off-by: Mike Frysinger vap...@gentoo.org --- v2 - tweak prelink.conf update style pym/portage/util/env_update.py | 61 ++ 1 file

Re: [gentoo-dev] [PATCH] gnome2.eclass does not respect ECONF_SOURCE

2013-05-08 Thread Mike Frysinger
On Wednesday 05 December 2012 18:02:51 Doug Goldstein wrote: - if grep -q disable-scrollkeeper configure; then + if grep -q disable-scrollkeeper ${ECONF_SOURCE:-.}/configure; then ECONF_SOURCE should be quoted -mike signature.asc Description: This is a digitally signed message part.

Re: [gentoo-dev] extending metadata.xml to support CPE information

2013-05-08 Thread Mike Frysinger
On Tuesday 07 May 2013 23:59:18 Mike Frysinger wrote: we've already got a database for maintaining this sort of thing on a per- package basis: metadata.xml. so let's extend the DTD to cover this. the existing remote-id field looks like a pretty good fit, so the proposal is simple: add a new

Re: [gentoo-dev] extending metadata.xml to support CPE information

2013-05-08 Thread Mike Frysinger
On Wednesday 08 May 2013 21:01:19 Mike Frysinger wrote: On Tuesday 07 May 2013 23:59:18 Mike Frysinger wrote: we've already got a database for maintaining this sort of thing on a per- package basis: metadata.xml. so let's extend the DTD to cover this. the existing remote-id field looks

[gentoo-dev] extending metadata.xml to support CPE information

2013-05-07 Thread Mike Frysinger
the guys who maintain the security CVE project [1] [2] (designed to be the authority when it comes to indexing security related vulnerabilities in projects) have a CPE specification [3] to make tracking CVEs back to a canonical source in a machine parseable format. the ChromiumOS project wants

Re: [gentoo-dev] [RFC] Shall econf append its arguments to end of ./configure invocation?

2013-05-01 Thread Mike Frysinger
On Tuesday 30 April 2013 12:38:03 Ciaran McCreesh wrote: On Tue, 30 Apr 2013 15:25:08 +0200 Ulrich Mueller wrote: On Tue, 30 Apr 2013, Ulrich Mueller wrote: Below is a patch that brings the spec in line with common sense. And in fact, I wonder why we're even discussing the issue.

Re: [gentoo-dev] Re: Handling of tests (was: GCC USE flag changes)

2013-05-01 Thread Mike Frysinger
On Wednesday 01 May 2013 21:24:07 Kent Fredric wrote: please do not top post -mike signature.asc Description: This is a digitally signed message part.

Re: [gentoo-dev] [PATCH eutils] Support recursive operation in edos2unix.

2013-04-17 Thread Mike Frysinger
On Saturday 13 April 2013 10:44:20 Michał Górny wrote: The edos2unix is quite useful when handling DOS-sourced packages. But since it's a bash function, you can't reasonably use it from within find invocation. And often you hit packages which are all flooded with CRLFs that you need to

[gentoo-portage-dev] [PATCH] ebuild: only auto-generate manifest on first pass

2013-04-16 Thread Mike Frysinger
running, have the manifest stage only auto-run with the first command. After that, automatically remove it from FEATURES. Signed-off-by: Mike Frysinger vap...@gentoo.org --- bin/ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/ebuild b/bin/ebuild index 876aaf7..14b1cd4 100755

Re: [gentoo-dev] glibc: pt_chown setuid going away by default

2013-04-12 Thread Mike Frysinger
On Friday 12 April 2013 02:50:20 Maxim Kammerer wrote: On Wed, Apr 10, 2013 at 8:15 AM, Mike Frysinger vap...@gentoo.org wrote: i plan on updating the latest glibc to add USE=suid. in pkg_preinst and ROOT==/, the ebuild will read /proc/mounts for a devpts line with gid=5. if it doesn't

Re: [gentoo-dev] glibc: pt_chown setuid going away by default

2013-04-12 Thread Mike Frysinger
On Friday 12 April 2013 13:20:11 Maxim Kammerer wrote: On Fri, Apr 12, 2013 at 7:22 PM, Mike Frysinger vap...@gentoo.org wrote: i don't know what you mean. if the ebuild detects devpts being mounted and the mount is incorrect, it will die. if you don't have devpts mounted at all

Re: [gentoo-dev] Re: glibc: pt_chown setuid going away by default

2013-04-12 Thread Mike Frysinger
On Thursday 11 April 2013 22:19:40 Duncan wrote: Mike Frysinger posted on Thu, 11 Apr 2013 12:49:00 -0400 as excerpted: On Thursday 11 April 2013 11:43:59 James Cloos wrote: MF == Mike Frysinger vap...@gentoo.org writes: MF this should impact very few (if any) MF users, so i don't think

Re: [gentoo-dev] glibc: pt_chown setuid going away by default

2013-04-12 Thread Mike Frysinger
On Friday 12 April 2013 15:41:55 James Cloos wrote: MF == Mike Frysinger vap...@gentoo.org writes: It will impact everyone who has /dev/pts in fstab(5). MF don't do that. *I* didn't. that you remember. i think it's more likely you copy pasted some line a long time ago than baselayout

Re: [gentoo-dev] glibc: pt_chown setuid going away by default

2013-04-11 Thread Mike Frysinger
On Thursday 11 April 2013 11:43:59 James Cloos wrote: MF == Mike Frysinger vap...@gentoo.org writes: MF this should impact very few (if any) MF users, so i don't think a news item makes sense. It will impact everyone who has /dev/pts in fstab(5). don't do that. delete the line. I doubt

Re: [gentoo-dev] [fyi] lddtree magic

2013-04-10 Thread Mike Frysinger
On Wednesday 10 April 2013 06:04:00 Fabio Erculiani wrote: It looks like you're not using a standard style guide for Python but rather this one [1]. I suggest you to use something closer to PEP8. no -mike signature.asc Description: This is a digitally signed message part.

Re: [gentoo-dev] [fyi] lddtree magic

2013-04-10 Thread Mike Frysinger
On Wednesday 10 April 2013 12:42:14 Fabio Erculiani wrote: On Wed, Apr 10, 2013 at 5:33 PM, Mike Frysinger wrote: On Wednesday 10 April 2013 06:04:00 Fabio Erculiani wrote: It looks like you're not using a standard style guide for Python but rather this one [1]. I suggest you to use

Re: [gentoo-dev] [fyi] lddtree magic

2013-04-10 Thread Mike Frysinger
On Wednesday 10 April 2013 13:40:17 Fabio Erculiani wrote: On Wed, Apr 10, 2013 at 6:32 PM, Mike Frysinger wrote: On Wednesday 10 April 2013 12:42:14 Fabio Erculiani wrote: On Wed, Apr 10, 2013 at 5:33 PM, Mike Frysinger wrote: On Wednesday 10 April 2013 06:04:00 Fabio Erculiani wrote

Re: [gentoo-dev] glibc: pt_chown setuid going away by default

2013-04-10 Thread Mike Frysinger
On Wednesday 10 April 2013 14:56:26 Rich Freeman wrote: On Wed, Apr 10, 2013 at 1:15 AM, Mike Frysinger vap...@gentoo.org wrote: tl;dr: make sure your /dev/pts is mounted correctly w/gid=5 or bad things will happen and it's (probably) all your fault So, who is this directed to? any dev

[gentoo-dev] [fyi] lddtree magic

2013-04-09 Thread Mike Frysinger
i doubt few people have noticed, but i've rewritten lddtree recently in python. i did for speed, for fun, and to add a lot more functionality that would have driven the bash code base to new perverse levels. i've randomly stumbled across places in our code base (beyond ebuilds) where the new

Re: [gentoo-dev] [fyi] lddtree magic

2013-04-09 Thread Mike Frysinger
On Tuesday 09 April 2013 16:45:36 Samuli Suominen wrote: $ LC_ALL=C lddtree -l /bin/bash Traceback (most recent call last): File /usr/bin/lddtree, line 450, in module sys.exit(main(sys.argv)) File /usr/bin/lddtree, line 437, in main elf = ParseELF(path, options.root, ldpaths)

Re: [gentoo-dev] [fyi] lddtree magic

2013-04-09 Thread Mike Frysinger
On Tuesday 09 April 2013 16:30:26 Diego Elio Pettenò wrote: On 09/04/2013 20:31, Mike Frysinger wrote: but things get even crazier with the new --copy-to-tree option (python version only). this is useful for scenarios like kernel initramfs where you want to copy over one or two ELFs

[gentoo-dev] glibc: pt_chown setuid going away by default

2013-04-09 Thread Mike Frysinger
tl;dr: make sure your /dev/pts is mounted correctly w/gid=5 or bad things will happen and it's (probably) all your fault when you run grantpt(), glibc attempts to set up your pty with correct ownership permissions. it does so by executing a setuid helper called pt_chown as needed. we all

[gentoo-dev] Re: bash-3.1 stable

2013-04-02 Thread Mike Frysinger
On Tuesday 02 April 2013 08:25:43 hasufell wrote: bash-3.1 seems to break ebuild sourcing and is blocked in most package managers. So I was wondering how can it still be stable then or even in the tree? I'd say mask it with a note that this breaks the shit out of gentoo, no matter what PM you

Re: [gentoo-dev] Re: sys-apps/texinfo vs @system

2013-04-01 Thread Mike Frysinger
On Sunday 31 March 2013 05:19:58 Duncan wrote: Mike Frysinger posted on Sun, 31 Mar 2013 01:59:52 -0400 as excerpted: it'd be simpler if we just dropped [texinfo] altogether from @system. if people want `info`, they can `emerge` it themselves. if packages want `makeinfo`, they can DEPEND

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