Zac Medico [Sun, 16 Sep 2012 21:01:29 +0000 (14:01 -0700)]
repoman: unsatsified use-default deps, bug 435242
Zac Medico [Sun, 16 Sep 2012 20:02:08 +0000 (13:02 -0700)]
repoman: reject "built" slot-operator atoms
Zac Medico [Sun, 16 Sep 2012 18:58:48 +0000 (11:58 -0700)]
portage.5: Add EAPI 5 profile IUSE injection
Zac Medico [Sun, 16 Sep 2012 18:24:21 +0000 (11:24 -0700)]
portage.5: rename STAGE1_USE to BOOTSTRAP_USE
Zac Medico [Sun, 16 Sep 2012 18:13:36 +0000 (11:13 -0700)]
portage.5: move USE_EXPAND from make.conf.5
Zac Medico [Sun, 16 Sep 2012 17:47:11 +0000 (10:47 -0700)]
portage.5: add EAPI 5 stable use mask/force
Zac Medico [Sat, 15 Sep 2012 20:54:40 +0000 (13:54 -0700)]
ebuild.5: EAPI 5 best/has_version --host-root
Zac Medico [Sat, 15 Sep 2012 20:42:50 +0000 (13:42 -0700)]
ebuild.5: EAPI 5 new* commands can read stdin
Zac Medico [Sat, 15 Sep 2012 20:26:20 +0000 (13:26 -0700)]
ebuild.5: add EAPI 5 doheader helper
As noted in bug #21310, comment #5, PMS currently does not document
the -r option.
Zac Medico [Sat, 15 Sep 2012 19:58:44 +0000 (12:58 -0700)]
ebuild.5: EAPI 5 econf add --disable-silent-rules
Zac Medico [Sat, 15 Sep 2012 19:53:02 +0000 (12:53 -0700)]
ebuild.5: add EAPI 5 usex helper
Zac Medico [Sat, 15 Sep 2012 19:39:05 +0000 (12:39 -0700)]
ebuild.5: EAPI 5 default_src_test parallel
Zac Medico [Sat, 15 Sep 2012 19:26:46 +0000 (12:26 -0700)]
ebuild.5: add EAPI 5 EBUILD_PHASE_FUNC variable
Zac Medico [Sat, 15 Sep 2012 19:11:57 +0000 (12:11 -0700)]
ebuild.5: add EAPI 5 REQUIRED_USE ?? operator
Zac Medico [Sat, 15 Sep 2012 19:08:45 +0000 (12:08 -0700)]
ebuild.5: document EAPI 5 slot operator, sub-slot
Zac Medico [Sat, 15 Sep 2012 16:53:42 +0000 (09:53 -0700)]
egencache: skip auxdb write if not metadata-trans
Zac Medico [Fri, 14 Sep 2012 18:10:40 +0000 (11:10 -0700)]
portage.5: remove {un,}set_unless_changed docs
These functions were removed in commit
25a5296f29bc7153fa29e2dfe8de9d08d40d9944.
Zac Medico [Fri, 14 Sep 2012 17:17:22 +0000 (10:17 -0700)]
Use __ prefix for _hasg, _hasgq, and _unpack_tar.
Zac Medico [Fri, 14 Sep 2012 17:09:08 +0000 (10:09 -0700)]
save-ebuild-env: fix for __dyn* renames
Zac Medico [Fri, 14 Sep 2012 07:25:57 +0000 (00:25 -0700)]
emerge-delta-webrsync: fix vecho breakage
Broken since commit
9b19ac5696c487dab58d7c10990fe07fd7f1f731.
Brian Harring [Fri, 14 Sep 2012 06:29:44 +0000 (23:29 -0700)]
Convert funcs of ebuild.sh to __ prefixed namespace.
Brian Harring [Fri, 14 Sep 2012 06:08:00 +0000 (23:08 -0700)]
Convert funcs of save-ebuild-env.sh to __ prefixed namespace.
Brian Harring [Fri, 14 Sep 2012 06:00:10 +0000 (23:00 -0700)]
Convert funcs of phase*.sh to __ prefixed namespace.
Brian Harring [Fri, 14 Sep 2012 05:14:01 +0000 (22:14 -0700)]
Convert funcs of isolated-functions.sh to __ prefixed namespace.
Brian Harring [Fri, 14 Sep 2012 04:41:04 +0000 (21:41 -0700)]
Convert funcs of bashrc-functions.sh to __ prefixed namespace.
Brian Harring [Fri, 14 Sep 2012 04:40:41 +0000 (21:40 -0700)]
drop dead functions
Specifically, esyslog, {un,}set_unless_changed, and remove_path_entry.
Brian Harring [Fri, 14 Sep 2012 04:56:10 +0000 (21:56 -0700)]
Drop diefunc protection.
The last usage of it was added
67e88b82726a93eda^, 01/20/08; 4.5 years
later, the compatibility measure is no longer needed.
Zac Medico [Fri, 14 Sep 2012 06:00:16 +0000 (23:00 -0700)]
dep_check: cleanup repoman use.force/mask code
Zac Medico [Fri, 14 Sep 2012 02:24:04 +0000 (19:24 -0700)]
Refactor FEATURES=test USE logic.
Zac Medico [Fri, 14 Sep 2012 02:08:23 +0000 (19:08 -0700)]
Display: simplify _blockers
The fetch_symbol variable was always just a space, and no return value
was really needed.
Zac Medico [Fri, 14 Sep 2012 01:51:31 +0000 (18:51 -0700)]
Deprecate EAPI 5_pre1.
Zac Medico [Fri, 14 Sep 2012 01:37:19 +0000 (18:37 -0700)]
merge list: distinguish reinstall with red "r"
This is for reinstall due to slot or sub-slot change of a dependency
when the := slot operator is used.
Zac Medico [Fri, 14 Sep 2012 01:03:54 +0000 (18:03 -0700)]
Refactor merge list attribute display.
This should not change the behavior at all, but it makes the display
much easier to modify or extend.
Zac Medico [Thu, 13 Sep 2012 22:47:13 +0000 (15:47 -0700)]
Bind FEATURES=-test to USE=-test for bug #373209.
Also, make options like emerge --newuse ignore the state of USE=test,
since users typically don't want to trigger a bunch of rebuilds when
they enable or disable FEATURES=test.
Zac Medico [Thu, 13 Sep 2012 19:37:28 +0000 (12:37 -0700)]
repoman: test package.use.stable.mask
Zac Medico [Thu, 13 Sep 2012 18:40:22 +0000 (11:40 -0700)]
find_updated_config_files: x var name collision
This broke in commit
09de8dc47ec48af2276dfa098dd5e1d3d09ddbdd.
Zac Medico [Thu, 13 Sep 2012 18:24:54 +0000 (11:24 -0700)]
FEATURES=test: test flag respect IUSE_FFECTIVE
Zac Medico [Wed, 12 Sep 2012 08:12:05 +0000 (01:12 -0700)]
chflags: fixed empty opts argument
This broke in commit
09de8dc47ec48af2276dfa098dd5e1d3d09ddbdd.
Zac Medico [Wed, 12 Sep 2012 07:28:51 +0000 (00:28 -0700)]
Prefer /etc/portage/make.profile.
This is the default location used by current versions of eselect
profile, and will soon be the default location in stages. Since
eselect profile generates a warning if both /etc/make.profile and
/etc/portage/make.profile exist, the new default should be fairly
safe (although eselect profile currently prefers /etc/make.profile
when both exist).
Zac Medico [Mon, 10 Sep 2012 00:30:19 +0000 (17:30 -0700)]
EbuildPhase: fix WORKDIR owner after unpack
See bug #332217, comment #24.
Zac Medico [Wed, 12 Sep 2012 06:38:52 +0000 (23:38 -0700)]
chflags: fixed octal flags format breakage
This broke in commit
09de8dc47ec48af2276dfa098dd5e1d3d09ddbdd.
Zac Medico [Wed, 12 Sep 2012 06:33:26 +0000 (23:33 -0700)]
save-ebuild-env: don't filter apply_user_patches
Except for EAPI 5_pre1.
Zac Medico [Wed, 12 Sep 2012 06:24:44 +0000 (23:24 -0700)]
Replace getstatusoutput with unicode safe Popen.
This fixes potential issues similar to those reported in bug #310789.
Zac Medico [Wed, 12 Sep 2012 04:56:39 +0000 (21:56 -0700)]
make_herd_base: encode unicode file paths safely
This will fix cases similar to the one fixed in commit
f01d7a8ca158ec60df76a3e8ae5b80ac3f62429e for bug #310789.
Zac Medico [Wed, 12 Sep 2012 04:52:33 +0000 (21:52 -0700)]
egencache: encode unicode file paths safely
This will fix cases similar to the one fixed in commit
f01d7a8ca158ec60df76a3e8ae5b80ac3f62429e for bug #310789.
Zac Medico [Wed, 12 Sep 2012 04:46:43 +0000 (21:46 -0700)]
MetaDataXML: encode unicode file paths safely
This will fix cases similar to the one fixed in commit
f01d7a8ca158ec60df76a3e8ae5b80ac3f62429e for bug #310789.
Zac Medico [Wed, 12 Sep 2012 04:26:49 +0000 (21:26 -0700)]
Add EAPI 5_pre2 with features approved by council
In the 9/11 council meeting, they approved everything in EAPI 5_pre1
except user patches. So, add EAPI 5_pre2 which is identical to EAPI
5_pre1 but with user patches (apply_user_patches) support removed.
Michael Palimaka [Tue, 11 Sep 2012 17:22:05 +0000 (03:22 +1000)]
Only validate .desktop files that are installed into XDG-compliant locations.
This replaces the existing error blacklist, and therefore removes the repoman check.
Zac Medico [Mon, 10 Sep 2012 21:06:52 +0000 (14:06 -0700)]
repoman: fix Unicode unequal comparison warning
Zac Medico [Mon, 10 Sep 2012 20:45:23 +0000 (13:45 -0700)]
repoman: fix os.system() unicode, bug #310789
Zac Medico [Mon, 10 Sep 2012 20:33:35 +0000 (13:33 -0700)]
repoman: ElementTree.parse: encode unicode path
This fixes another issue like bug #310789.
Zac Medico [Mon, 10 Sep 2012 19:46:50 +0000 (12:46 -0700)]
use(): use set -f and handle IFS
Zac Medico [Mon, 10 Sep 2012 16:40:22 +0000 (09:40 -0700)]
Improve ignored binpkg display for bug #434540.
Zac Medico [Mon, 10 Sep 2012 05:45:54 +0000 (22:45 -0700)]
repoman: fix getstatusoutput more, bug #310789
Zac Medico [Mon, 10 Sep 2012 01:26:19 +0000 (18:26 -0700)]
repoman: fix getstatusoutput unicode, bug #310789
Zac Medico [Mon, 10 Sep 2012 00:53:22 +0000 (17:53 -0700)]
repoman: fix popen unicode handling, bug #310789
Zac Medico [Mon, 10 Sep 2012 00:07:18 +0000 (17:07 -0700)]
ObjectProxy: implement __enter__ and __exit__
Joachim Bartosik [Sun, 9 Sep 2012 04:16:36 +0000 (21:16 -0700)]
DEVELOPING: fix errors for bug #313413
Zac Medico [Sun, 9 Sep 2012 01:07:16 +0000 (18:07 -0700)]
EbuildPhase: simplify utime args
Zac Medico [Sun, 9 Sep 2012 00:54:10 +0000 (17:54 -0700)]
EbuildPhase: bump WORKDIR timestamp after unpack
This will fix bug #332217.
Zac Medico [Sat, 8 Sep 2012 20:31:50 +0000 (13:31 -0700)]
egencache: tweak metadata-transfer logic
Now is won't force metadata-transfer unless it's absolutely necessary.
Zac Medico [Sat, 8 Sep 2012 16:50:19 +0000 (09:50 -0700)]
egencache: skip metadata-transfer more often
Zac Medico [Sat, 8 Sep 2012 16:15:39 +0000 (09:15 -0700)]
best/has_version: --host-root first arg only
Zac Medico [Sat, 8 Sep 2012 05:35:03 +0000 (22:35 -0700)]
egencache: skip metadata-transfer if possible
If there is an existing metadata/md5-cache directory, then it's not
necessary to forcibly enable metadata-transfer.
Zac Medico [Sat, 8 Sep 2012 04:32:03 +0000 (21:32 -0700)]
Detect md5-cache when no cache-formats specified.
Auto-detect cache-formats from the corresponding directories when
cache-formats is not specifed in layout.conf, and prefer md5-dict if
available. After this behavior is deployed in stable portage, the
default egencache format can be changed to md5-dict.
Zac Medico [Sat, 8 Sep 2012 04:07:45 +0000 (21:07 -0700)]
Test portdbapi/egencache cache-formats behavior.
Zac Medico [Fri, 7 Sep 2012 20:52:03 +0000 (13:52 -0700)]
UseManager: add compat code for getUseForce/PUSE
Similar code was added to getUseMask in commit
af50fee789e71c1fff0b405db4cf55b618b73466.
Arfrever Frehtes Taifersar Arahesis [Fri, 7 Sep 2012 00:46:07 +0000 (02:46 +0200)]
Support repository-specific use.stable.force, use.stable.mask,
package.use.stable.force and package.use.stable.mask in EAPI >=5.
Arfrever Frehtes Taifersar Arahesis [Thu, 6 Sep 2012 21:45:26 +0000 (23:45 +0200)]
Update comment.
Zac Medico [Thu, 6 Sep 2012 20:06:12 +0000 (13:06 -0700)]
dispatch-conf.conf: say install rcs, bug #380551
Martin Väth [Wed, 5 Sep 2012 20:36:43 +0000 (13:36 -0700)]
DateSet: use BUILD_TIME, bug #433964
Zac Medico [Tue, 4 Sep 2012 20:40:21 +0000 (13:40 -0700)]
Enable @x11-module-rebuild for 2.1 branch.
Zac Medico [Tue, 4 Sep 2012 20:25:28 +0000 (13:25 -0700)]
Enable @live-rebuild for 2.1 branch.
Zac Medico [Tue, 4 Sep 2012 03:28:25 +0000 (20:28 -0700)]
Deprecate @installed for bug #387059.
Zac Medico [Tue, 4 Sep 2012 03:07:29 +0000 (20:07 -0700)]
EbuildBuildDir: ignore rmdir failure, bug #400641
Zac Medico [Tue, 4 Sep 2012 01:33:26 +0000 (18:33 -0700)]
etc-update: add --quiet for bug #416917
Zac Medico [Tue, 4 Sep 2012 01:05:56 +0000 (18:05 -0700)]
ebuild.5: clarify pkg_nofetch for bug #423403
Michael Palimaka [Mon, 3 Sep 2012 15:08:36 +0000 (01:08 +1000)]
validate_desktop_entry: filter more KDE noise.
Zac Medico [Sun, 2 Sep 2012 23:46:54 +0000 (16:46 -0700)]
emaint cleanconfmem: fix writedict breakage
Use grabdict so the values are stored as lists like writedict expects.
Zac Medico [Sun, 2 Sep 2012 23:03:14 +0000 (16:03 -0700)]
Rename _slot_abi.py to _slot_operator.py.
Zac Medico [Sun, 2 Sep 2012 22:56:46 +0000 (15:56 -0700)]
Quote ${EAPI} more.
This will avoid a potential syntax error in save-ebuild-env.sh if a
saved environment containing corrupt EAPI is sourced.
Zac Medico [Sun, 2 Sep 2012 22:31:20 +0000 (15:31 -0700)]
DateSet: only allow one format option in config
Zac Medico [Sun, 2 Sep 2012 22:13:24 +0000 (15:13 -0700)]
ebuild-helpers/bsd/sed: whitespace + quoting
Zac Medico [Sun, 2 Sep 2012 21:56:22 +0000 (14:56 -0700)]
Unconditionally insert our pym dir in sys.path.
This is especially necessary when running in prefix mode, since
sys.path may contain the path for a different version of portage.
Zac Medico [Sun, 2 Sep 2012 20:33:06 +0000 (13:33 -0700)]
emaint cleanconfmem: handle ROOT
Martin Väth [Sun, 2 Sep 2012 20:18:20 +0000 (13:18 -0700)]
Add DateSet, bug #433704.
Allow sets of packages installed before or after a specific date.
The date may be specified explicitly (in dateformat which defaults to "%x %X")
or seconds since Epoch, or implicitly as an installation date or a filestamp.
For example, the following sets can be specified in /etc/portage/sets.conf:
[date1]
class = portage.sets.dbapi.DateSet
mode = older
date = 08/31/12 10:00:00
dateformat = %%x %%X
[date2]
class = portage.sets.dbapi.DateSet
mode = newer
seconds =
1346400000
[date3]
class = portage.sets.dbapi.DateSet
package = sys-devel/gcc:4.7
[date4]
class = portage.sets.dbapi.DateSet
filestamp = /usr/bin/gcc
Zac Medico [Sun, 2 Sep 2012 20:04:38 +0000 (13:04 -0700)]
emaint cleanconfmem: use writedict
Zac Medico [Sun, 2 Sep 2012 19:46:46 +0000 (12:46 -0700)]
emaint cleanconfmem: ignore md5, bug #433694
Zac Medico [Sun, 2 Sep 2012 19:31:23 +0000 (12:31 -0700)]
validate_desktop_entry: handle emacs.desktop
See <https://bugs.freedesktop.org/show_bug.cgi?id=35844#c6>.
Zac Medico [Sun, 2 Sep 2012 02:37:56 +0000 (19:37 -0700)]
Enable EAPI 5_pre1 for testing.
Zac Medico [Sun, 2 Sep 2012 02:37:15 +0000 (19:37 -0700)]
Document EAPI 5_pre1.
Zac Medico [Sun, 2 Sep 2012 02:24:46 +0000 (19:24 -0700)]
apply_user_patches: die if EBUILD_PHASE is wrong
Zac Medico [Sun, 2 Sep 2012 00:42:11 +0000 (17:42 -0700)]
glsa.py: python3: ResourceWarning: unclosed file
Zac Medico [Sat, 1 Sep 2012 23:08:16 +0000 (16:08 -0700)]
ebuild-helpers/sed: move to bsd subdirectory
This helps to prevent inappropriate use of the sed wrapper on GNU
systems, which commonly occurs when users install portage manually
during recovery situations.
Zac Medico [Sat, 1 Sep 2012 22:51:25 +0000 (15:51 -0700)]
ebuild-helpers/sed: use -ef to check recursion
Zac Medico [Sat, 1 Sep 2012 22:42:45 +0000 (15:42 -0700)]
Eliminate bin/ebuild-helpers/4 directory.
Instead, just use conditionals where appropriate inside
bin/ebuild-helpers/* scripts.
Zac Medico [Sat, 1 Sep 2012 20:51:18 +0000 (13:51 -0700)]
_prepare_self_update: ignore installed version
Now portage will unconditionally make a temporary copy of itself during
updates. This is safer, since it provides maximum protection against
any possible incompatibilities. For example, suppose that the ebuild
has been updated to change the location of installed files (such as
libdir change) without a revision bump.
Zac Medico [Sat, 1 Sep 2012 04:29:24 +0000 (21:29 -0700)]
Enable @module-rebuild for 2.1 branch.
Gregory M. Turner [Fri, 31 Aug 2012 16:34:02 +0000 (09:34 -0700)]
portageq: clarify meaning of uses_root
o s/uses_root/uses_eroot/g -- This name was chosen
before its meaning was changed; update it to reflect its purporse.
o Fix a left-over "<root>" arg-doc that never got updated to "<eroot>"
o If a provided eroot argument was shorter than the ${EPREFIX}, portageq
was truncating it down to nothing and activating relative root,
which means this became equivalent to an explicit argument of
"${PWD}/${EPREFIX}/". This is obviously wrong; and a simple case
of failing to sanity-check inputs from an interface that changed in a
backward-incompatible way.
There's no provision in portageq to query EROOT's that don't end in
${EPREFIX}; so if the user makes such a request, instead of doing
something pathological, dump a helpful error message and bail with
a nonzero exit code.
Signed-off-by: Gregory M. Turner <gmturner007@ameritech.net>
Ulrich Müller [Fri, 31 Aug 2012 15:10:16 +0000 (17:10 +0200)]
EAPI 5: doheader and newheader helper functions
See bug #21310.