Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Support FEATURES=force-prefix. | Zac Medico | 2011-12-08 | 25 | -25/+25 |
| | | | | | | | This adjusts the logic from commit ff52f9dc31004becb8022e6437088d01917f413c to use FEATURES=force-prefix instead of USE=prefix. This has the advantage that we don't have to make any assumptions about the USE=prefix. | ||||
* | Make USE=prefix enable EPREFIX in all EAPIs. | Zac Medico | 2011-12-07 | 25 | -26/+52 |
| | | | | | | | | This is safe because the prefix flag should be masked in all non-prefix profiles, and older EAPIs would otherwise be useless with prefix configurations. This brings compatibility with the prefix branch of portage, which also supports EPREFIX for all EAPIs (for obvious reasons). | ||||
* | ecompressdir: remove 'continue' from loop logic | Zac Medico | 2011-11-08 | 1 | -6/+3 |
| | | | | Hopefully this helps us avoid errors in loop logic like bug #389047. | ||||
* | Handle empty PORTAGE_COMPRESS for bug #389047. | Zac Medico | 2011-11-07 | 1 | -1/+5 |
| | | | | | | This fixes a case where empty PORTAGE_COMPRESS made ecompressdir forget to call restore_skip_dirs, such that docompress -x resulted in files not being installed due to hide_skip_dirs hiding them permanently. | ||||
* | Add EPREFIX and ED support in all ebuild helpers. | Zac Medico | 2011-11-01 | 25 | -95/+144 |
| | | | | This allows our prefix tests to use helpers like insinto, doins, and dosym. | ||||
* | prepstrip: make sure eu-strip embeds right filename | Mike Frysinger | 2011-10-11 | 1 | -1/+4 |
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | prepstrip: add support for elfutils strip | Mike Frysinger | 2011-10-11 | 1 | -18/+46 |
| | | | | | | | If people use strip from the elfutils package, take advantage of some of its neat features (like splitting + stripping in one step). Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | prepstrip: extract buildid with readelf to avoid debugedit when possible | Mike Frysinger | 2011-10-11 | 1 | -9/+23 |
| | | | | | | The readelf utility is much more common than debugedit. Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | prepstrip: avoid a `dirname` with a simple ${var%/*} | Mike Frysinger | 2011-10-10 | 1 | -1/+1 |
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | prepstrip: tweak style of debugedit checksv2.2.0_alpha65 | Zac Medico | 2011-10-09 | 1 | -8/+8 |
| | | | | | Make the checks more like the FEATURES/RESTRICT checks from commit 286675a500998e536dbbf2ee2dfe1fedf4290b38. | ||||
* | prepstrip: merge debugedit checks more | Zac Medico | 2011-10-09 | 1 | -5/+11 |
| | | | | | Use a ${debugedit_found} to remember if it's found or not, and use ${debugedit_warned} to avoid showing duplicate warnings. | ||||
* | prepstrip: optimize duplicate calls to `has` | Mike Frysinger | 2011-10-09 | 1 | -12/+23 |
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | prepstrip: merge debugedit checks | Mike Frysinger | 2011-10-09 | 1 | -6/+5 |
| | | | | | | Avoid checking for debugedit multiple times. Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | prepstrip: optimize chmod slightly | Mike Frysinger | 2011-10-09 | 1 | -3/+3 |
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | Revert "xml/metadata: implement XMLParser.doctype()" | Zac Medico | 2011-08-31 | 3 | -19/+13 |
| | | | | | This reverts commit ce501b36d7078db059c606d3b4f38637ad09528e. This commit had lots of unintended changes included. | ||||
* | xml/metadata: implement XMLParser.doctype() | Zac Medico | 2011-08-31 | 3 | -13/+19 |
| | | | | | Avoid deprecation warnings again, like in commit 63035acd702ab0cdaac31e33676b5a20a91eae47. | ||||
* | dosym: QA warn if target is existing dir | Zac Medico | 2011-08-22 | 1 | -1/+2 |
| | |||||
* | dosym: QA warn if basename omitted (bug #379899) | Zac Medico | 2011-08-22 | 1 | -0/+5 |
| | |||||
* | Update timestamps in headers of modified files. | Zac Medico | 2011-07-12 | 6 | -6/+6 |
| | |||||
* | Remove all hasq/useq calls for bug #199722. | Zac Medico | 2011-07-08 | 6 | -19/+19 |
| | |||||
* | Fix last commit to work regardless of nullglob. | Zac Medico | 2011-06-30 | 1 | -1/+2 |
| | |||||
* | ecompress: beware of -k in PORTAGE_COMPRESS_FLAGS | Zac Medico | 2011-06-30 | 1 | -1/+4 |
| | | | | This will fix bug #372183. | ||||
* | doins: add reference to bug #239529 | Zac Medico | 2011-05-04 | 1 | -1/+4 |
| | | | | | | The reasoning for the code from commit 55b3150af635a418ba3f1424132359c894db7ec4 is not really obvious, so it's helpful to reference the corresponding bug report. | ||||
* | doins: tweak $DISTDIR symlink handling | Zac Medico | 2011-04-11 | 1 | -2/+3 |
| | | | | | Only match stuff inside $PORTAGE_ACTUAL_DISTDIR/ so that we don't stray from PMS. | ||||
* | doins: dereference abs symlinks to files | Zac Medico | 2011-04-11 | 1 | -1/+7 |
| | | | | | | | | | Our fake $DISTDIR contains symlinks that should not be reproduced inside $D. In order to ensure that things like dodoc "$DISTDIR"/foo.pdf work as expected, we dereference symlinked files that are referenced by absolute paths. Thanks to James Cloos <cloos@jhcloos.com> for reporting this issue which he observed with the sci-mathematics/minisat ebuild. | ||||
* | dodoc: update copyright datev2.2.0_alpha26 | Zac Medico | 2011-03-01 | 1 | -1/+1 |
| | |||||
* | doins: fix dodoc directory error handling | Zac Medico | 2011-02-25 | 1 | -0/+4 |
| | |||||
* | doins: avoid die when called as dodoc with no arg | Zac Medico | 2011-02-25 | 1 | -11/+11 |
| | |||||
* | dodoc: call doins, to reuse recursion code | Zac Medico | 2011-02-25 | 2 | -51/+13 |
| | | | | This will fix broken recursion logic for bug #356461. | ||||
* | dodoc: quote ${0} | Zac Medico | 2011-02-25 | 1 | -2/+2 |
| | |||||
* | dodoc: Honour exit status of install, bug 356389. | Ulrich Mueller | 2011-02-25 | 2 | -3/+7 |
| | |||||
* | newins in EAPI 4 should actually install the file. Fixes bug 350385. | Ulrich Mueller | 2011-01-02 | 1 | -3/+5 |
| | |||||
* | bash: as a general rule, use read -r | Zac Medico | 2010-12-29 | 3 | -4/+4 |
| | | | | This solves cases like bug #350045. | ||||
* | doins: use read -r | Ulrich Müller | 2010-12-29 | 1 | -1/+1 |
| | | | | This will fix bug #350045. | ||||
* | Substitute bash builtin >> for touch command. | Zac Medico | 2010-12-19 | 3 | -6/+12 |
| | | | | | It should be faster to use the bash builtin, and also allows us to avoid issues with touch breakage (like in bug #348640). | ||||
* | Don't compress empty files, bug 340935. | Ulrich Mueller | 2010-10-14 | 1 | -0/+1 |
| | |||||
* | doman: ${mandir} can't contain complete suffix so don't check for it. | Michał Górny | 2010-09-27 | 1 | -1/+1 |
| | | | | | We're appending only a single character of manfile suffix to ${mandir}, so we don't need to expect having anything more in there. | ||||
* | Revert "Remove ebuild-helpers/preplib (bug 102297)" | Zac Medico | 2010-09-14 | 1 | -0/+28 |
| | | | | | This reverts commit 811689f349a91b44448bc8e294903abf990eac45. The preplib helper is still used by at least by stable sys-libs/lib-compat ebuilds. | ||||
* | Remove ebuild-helpers/preplib (bug 102297) | Sebastian Luther | 2010-09-13 | 1 | -28/+0 |
| | |||||
* | Remove all \a (alert/bell/beep) tokens (bug 336024) | Sebastian Luther | 2010-09-06 | 1 | -1/+1 |
| | |||||
* | Update copyright header. | Ulrich Mueller | 2010-09-05 | 1 | -1/+1 |
| | |||||
* | dodoc, prepalldocs: Don't test for EAPI; use helpers in subdir 4 instead. | Ulrich Mueller | 2010-09-05 | 4 | -8/+2 |
| | |||||
* | Don't regenerate GNU Info if the dir contains a .keepinfodir file, bug 257260. | Ulrich Mueller | 2010-09-05 | 1 | -0/+3 |
| | |||||
* | Update copyright headers. | Ulrich Mueller | 2010-08-28 | 4 | -4/+4 |
| | |||||
* | Implement controllable compression and docompress, bug #273633. | Ulrich Mueller | 2010-08-28 | 6 | -3/+16 |
| | |||||
* | ecompressdir: use proper exit value | Jonathan Callen | 2010-08-27 | 1 | -1/+1 |
| | |||||
* | Update docs, comments, and messages to refer to make.globals in | Zac Medico | 2010-08-19 | 1 | -3/+2 |
| | | | | /usr/share/portage/config/ instead of /etc/make.globals. | ||||
* | * In helpers_die arguments, display ${0##*/} instead of $0 since $0 | Zac Medico | 2010-08-18 | 31 | -74/+74 |
| | | | | | | is needlessly long. * When calling helpers_die from a function, use ${FUNCNAME[0]} in arguments instead of $0. | ||||
* | Source isolated-functions.sh for helpers_die function. | Zac Medico | 2010-08-17 | 1 | -1/+3 |
| | |||||
* | Use /usr/bin/python when PORTAGE_PYTHON variable is empty. | Arfrever Frehtes Taifersar Arahesis | 2010-08-14 | 2 | -2/+2 |
| | | | | It avoids some errors during upgrade from older Portage versions. |