[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    [gentoo-dev] RFC: Changing portage's unpack behavior for non-tar files compressed
From:       Zac Medico <zmedico () gentoo ! org>
Date:       2011-07-30 20:42:28
Message-ID: 4E346CB4.8050106 () gentoo ! org
[Download RAW message or body]

Hi everyone,

We've found that portage's unpack behavior is inconsistent for non-tar
files compressed with gz|Z|z|bz2|bz|lzma|xz extensions [1]. Currently,
it emulates tools like gunzip and bunzip2, unpacking them to the
directory of the source file.

For consistency, we could make it unpack them to cwd instead. PMS
already specifies that the files should unpack to cwd, so this change
will bring portage and PMS into agreement. Hopefully it won't break too
many ebuilds, and we can always add compatibility code to ebuilds, like
this:

   [[ ! -f ${x} ]] && { mv ${x}.gz ./ || die "mv failed"; }

Is anyone opposed to making this change?

[1] http://bugs.gentoo.org/show_bug.cgi?id=376741
-- 
Thanks,
Zac

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic