summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* dyn_spec: s/Copyright/License/, bug #437588Tim Boudreau2012-10-081-1/+1
| | | | Fixes 'Unknown tag' error with rpm 4.10.0.
* repoman: check EXTRA_ECONF/EMAKE, bug #437348Zac Medico2012-10-081-1/+1
|
* repoman: identical Manifest commit messageZac Medico2012-10-071-8/+1
| | | | This will fix bug #437546.
* best_version() and has_version(): Improve die() messages.Arfrever Frehtes Taifersar Arahesis2012-10-072-4/+18
| | | | | | - Print different die() message for invalid atoms. - Mention ebuild-ipc instead of portageq in other die() messages when ebuild-ipc is actually used.
* MetadataRegen: inherit AsyncSchedulerZac Medico2012-10-061-2/+3
|
* ebuild.sh: comment on noauto behaviorZac Medico2012-10-041-2/+4
|
* repoman: avoid Manifest double signaturev2.2.0_alpha135Zac Medico2012-10-031-1/+11
|
* egencache: add --update-manifests, bug #436918Zac Medico2012-10-031-3/+157
| | | | | | | | | | Update manifest files, and sign them if signing is enabled. This supports parallelization if enabled via the --jobs option. The --thin-manifests and --sign-manifests options may be used to manually override layout.conf settings. There's also a new --strict-manifests option that may be used to manually override the "strict" FEATURES setting, a --gpg-key option to override PORTAGE_GPG_KEY, and a --gpg-dir option to override PORTAGE_GPG_DIR.
* debug-print: chgrp ${PORTAGE_GRPNAME:-portage}Zac Medico2012-09-301-2/+2
| | | | | | This fixes warnings for prefix users (see commits 1c3c3b802014ac6356af09d149aaaffce6c14dc3 and 6983b1a1dd21f931ba751b727bd1a3c460383840).
* phase-functions.sh: chgrp $T/environmentZac Medico2012-09-301-0/+2
| | | | | | | | | | | | This partially reverts commit 314791e319e3ac7ce75f3a6f9ae9cc5c2b837df6, in order to cover possible cases where it may not actually be redundant, like if ebuild(1) is used to call pkg_setup as root, and then a different user calls src_unpack. We use PORTAGE_GRPNAME if set, in order to avoid triggering irrelevant warnings for unprivileged prefix users (see chown and chgrp wrappers in commit 45bedf9cdc10fafd94858f67d62b36d35dd99544). This mirrors the approach taken in commit 1c3c3b802014ac6356af09d149aaaffce6c14dc3 of the prefix branch.
* phase-functions.sh: remove redundant chown/chmodZac Medico2012-09-301-2/+0
| | | | | | These calls trigger warnings in prefix mode, since commit 45bedf9cdc10fafd94858f67d62b36d35dd99544. They are redundant, since the permissions are handled the _post_phase_userpriv_perms function.
* Add chown and chgrp wrappers for prefix.Zac Medico2012-09-303-5/+34
| | | | | | | For prefix, there is typically only a single unprivileged user who owns everthing that is built and installed, and in this case it's desirable to ignore chown and chrgrp failures. So, move the logic from fowners into chown and chgrp wrappers, as discussed in bug #433453.
* Fix indent from last commit.v2.2.0_alpha134Zac Medico2012-09-271-5/+5
|
* ebuild.sh: EAPI conditional usex dummyZac Medico2012-09-271-2/+6
| | | | | | This probably makes no difference in practice, since it only affects the "depend" phase. Note that we're allowed to use EAPI conditionals here, since we parse the EAPI on the python side and pass it to bash.
* prepalldocs: fix inverted eapi_has_docompressZac Medico2012-09-261-1/+1
| | | | This broke in commit ab46499322311c1faa710c63d0a5339e49a9061a.
* dodoc: source isolated-functions.sh earlierZac Medico2012-09-261-2/+2
| | | | This is needed since commit ab46499322311c1faa710c63d0a5339e49a9061a.
* Add eapi.sh with ___eapi_*() functions and use these functions in other files.Arfrever Frehtes Taifersar Arahesis2012-09-2634-297/+386
|
* Use constants for hardcoded *DEPEND lists.Zac Medico2012-09-251-6/+6
|
* repoman: rename most *DEPEND.* to dependency.*Zac Medico2012-09-251-38/+25
| | | | This makes it easier to add new types, like HDEPEND.
* portageq: Automatically do not include imported functions in the list of ↵Arfrever Frehtes Taifersar Arahesis2012-09-251-4/+2
| | | | commands.
* repoman: support HDEPEND for EAPI 5-hdependZac Medico2012-09-241-12/+19
|
* Add experimental EAPI 5-hdepend support.Ambroz Bizjak2012-09-242-10/+26
|
* drop support for QA_DT_HASH/QA_STRICT_DT_HASHMike Frysinger2012-09-231-25/+0
| | | | | | | | These variables have been deprecated in favor of the new variables QA_STRICT_FLAGS_IGNORED/QA_FLAGS_IGNORED, and the tree has been converted over to the new ones, so drop the old vars. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* use `readlink -f` if it worksMike Frysinger2012-09-231-0/+13
| | | | | | | Rather than always re-implementing `readlink -f` in shell, probe the host tool first to see if it works. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* scan all lib subdirsMike Frysinger2012-09-231-5/+4
| | | | | | | Rather than hardcoding lib/lib32/lib64, scan all dirs starting with "lib". URL: https://bugs.gentoo.org/435834 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* RepoConfig: add find_invalid_path_char methodZac Medico2012-09-231-13/+10
| | | | | | This binds filename validation to the RepoConfig, so that eventually we'll be able to control it via a layout.conf setting as discussed in bug #435934.
* Add preserve-libs for stable branch (not default)Zac Medico2012-09-211-3/+0
| | | | | | | | | EAPI 5 supports automatic rebuilds via the slot-operator and sub-slots, which makes preserve-libs much more user-friendly, since it makes @preserved-rebuild unnecessary (also see bug #364425 for explanation of @preserved-rebuild shortcomings). Therefore, enable preserve-libs for the stable branch, but not by default. After EAPI 5 is widely adopted, we can consider enabling preserve-libs by default.
* Support EAPI="5-progress".Arfrever Frehtes Taifersar Arahesis2012-09-212-4/+4
|
* Add QA_DESKTOP_FILE variable.Zac Medico2012-09-201-1/+1
|
* doebuild: update environment.bz2 for pre/postinstv2.2.0_alpha129Zac Medico2012-09-173-13/+5
| | | | Also, remove unnecessary __dyn_preinst func.
* __strip_duplicate_slashes: quote pathsZac Medico2012-09-162-3/+3
|
* doheader: don't count -r as required argZac Medico2012-09-161-1/+1
|
* egencache: skip auxdb write if not metadata-transZac Medico2012-09-151-1/+3
|
* Use __ prefix for _hasg, _hasgq, and _unpack_tar.Zac Medico2012-09-142-12/+12
|
* save-ebuild-env: fix for __dyn* renamesZac Medico2012-09-141-4/+7
|
* Convert funcs of ebuild.sh to __ prefixed namespace.Brian Harring2012-09-145-23/+23
|
* Convert funcs of save-ebuild-env.sh to __ prefixed namespace.Brian Harring2012-09-142-13/+13
|
* Convert funcs of phase*.sh to __ prefixed namespace.Brian Harring2012-09-145-128/+129
|
* Convert funcs of isolated-functions.sh to __ prefixed namespace.Brian Harring2012-09-1331-189/+189
|
* Convert funcs of bashrc-functions.sh to __ prefixed namespace.Brian Harring2012-09-137-30/+30
|
* drop dead functionsBrian Harring2012-09-134-84/+5
| | | | Specifically, esyslog, {un,}set_unless_changed, and remove_path_entry.
* Drop diefunc protection.Brian Harring2012-09-132-7/+1
| | | | | The last usage of it was added 67e88b82726a93eda^, 01/20/08; 4.5 years later, the compatibility measure is no longer needed.
* Deprecate EAPI 5_pre1.Zac Medico2012-09-133-41/+1
|
* FEATURES=test: test flag respect IUSE_FFECTIVEZac Medico2012-09-131-1/+1
|
* save-ebuild-env: don't filter apply_user_patchesZac Medico2012-09-111-1/+5
| | | | Except for EAPI 5_pre1.
* egencache: encode unicode file paths safelyZac Medico2012-09-111-1/+2
| | | | | This will fix cases similar to the one fixed in commit f01d7a8ca158ec60df76a3e8ae5b80ac3f62429e for bug #310789.
* Add EAPI 5_pre2 with features approved by councilZac Medico2012-09-112-11/+7
| | | | | | 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.
* Only validate .desktop files that are installed into XDG-compliant locations.Michael Palimaka2012-09-111-24/+0
| | | | This replaces the existing error blacklist, and therefore removes the repoman check.
* repoman: fix os.system() unicode, bug #310789Zac Medico2012-09-101-1/+7
|
* repoman: ElementTree.parse: encode unicode pathZac Medico2012-09-101-1/+2
| | | | This fixes another issue like bug #310789.