summaryrefslogtreecommitdiffstats
path: root/bin/misc-functions.sh
Commit message (Collapse)AuthorAgeFilesLines
* Add canonicalize() function, replacement for "readlink -f".v2.2_rc72Ulrich Mueller2010-08-281-16/+22
| | | | | Expand symlinks in prepcompress() completely, not only to the last directory component.
* Change a comment in prepcompress().Ulrich Mueller2010-08-281-2/+3
|
* Implement controllable compression and docompress, bug #273633.Ulrich Mueller2010-08-281-0/+97
|
* Remove python-oriented checks from install_qa_check() since I'm unsureZac Medico2010-08-221-29/+0
| | | | | about these policy decisions being included in portage. Besides, these kinds of things could go in the python eclass.
* Bug #324191 - Add support for FEATURES=compress-build-logs. The causesZac Medico2010-08-211-2/+6
| | | | | | | all build logs to be compressed while they are being written. Log file names have an extension that is appropriate for the compression type. Currently, only gzip(1) compression is supported, so build logs will have a '.gz' extension when this feature is enabled.
* Disable EbuildIpcDaemon for now, since it seems to be triggeringZac Medico2010-08-141-0/+1
| | | | | intermittent build failures in my stage builds. For testing purposes set PORTAGE_IPC_DAEMON_ENABLE=1 to enable EbuildIpcDaemon.
* Use /usr/bin/python when PORTAGE_PYTHON variable is empty.Arfrever Frehtes Taifersar Arahesis2010-08-141-2/+2
| | | | It avoids some errors during upgrade from older Portage versions.
* Ensure that all Python processes use the same version of Python.Arfrever Frehtes Taifersar Arahesis2010-08-141-4/+4
|
* Add QA check for libtool libraries in Python site-packages directories.Arfrever Frehtes Taifersar Arahesis2010-08-131-0/+9
|
* Add QA check for static libraries in Python site-packages directories.Arfrever Frehtes Taifersar Arahesis2010-08-131-2/+12
|
* Use EbuildIpcDaemon to replace the functionality ofZac Medico2010-08-131-3/+1
| | | | EBUILD_EXIT_STATUS_FILE.
* Make some variables local.Arfrever Frehtes Taifersar Arahesis2010-08-051-3/+12
|
* Bug #301915: Add QA check for byte-compiled Python modules.Arfrever Frehtes Taifersar Arahesis2010-08-051-5/+4
|
* install_qa_check: catch more gcc warningsMike Frysinger2010-07-191-0/+29
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* misc-functions.sh fix for baselayoutDaniel Robbins2010-06-271-0/+2
|
* Bug #321145: Don't ignore exit status of filter-bash-environment.py and ↵Arfrever Frehtes Taifersar Arahesis2010-05-251-1/+1
| | | | check-implicit-pointer-usage.py.
* Extend QA check for absolute symlinks in lib dirs to more file typesSebastian Luther2010-05-151-11/+14
|
* Fix typo in check for shared libraries lacking NEEDED entries.Arfrever Frehtes Taifersar Arahesis2010-04-161-1/+1
|
* Add back executable bits, accidentally removed in previous commit.Zac Medico2010-03-241-0/+0
|
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* install_qa_check: make sure init.d and conf.d files do not have syntax ↵Mike Frysinger2010-03-231-0/+9
| | | | | | errors in them #310805 svn path=/main/trunk/; revision=15843
* Bug #295715 - Implement a register_success_hook function to complementZac Medico2009-12-061-0/+16
| | | | | | | register_die_hook, and also add code to ensure the die hooks are called even when the failure is on the python side (like for file collisions). svn path=/main/trunk/; revision=14936
* Add a xpak-helper.py script, so that shell code always calls python viaZac Medico2009-10-111-1/+2
| | | | | | a shebang. svn path=/main/trunk/; revision=14575
* Add some more EPYTHON safety.Zac Medico2009-10-111-2/+2
| | | | svn path=/main/trunk/; revision=14570
* Bug #274497 - Misc spelling, grammar, and terminology fixes, includingZac Medico2009-10-091-3/+3
| | | | | | URL -> URI and FOO's -> FOOs. svn path=/main/trunk/; revision=14531
* Fix false positives in gcc QA with debug mode some more. Thanks again toZac Medico2009-09-081-3/+3
| | | | | | Amit Dor-Shifer <amitds@oversi.com> for reporting. svn path=/main/trunk/; revision=14218
* Fix code from previous commit so it's guaranteed to always properly resetZac Medico2009-09-081-2/+6
| | | | | | debug state. svn path=/main/trunk/; revision=14215
* In debug mode, avoid showing gcc QA search strings in the trace, so they won'tZac Medico2009-09-081-0/+4
| | | | | | | trigger false positives. Thanks to Amit Dor-Shifer <amitds@oversi.com> for reporting. svn path=/main/trunk/; revision=14214
* Avoid potential empty lines in warnings about missing SONAMEs or NEEDED ↵Arfrever Frehtes Taifersar Arahesis2009-08-211-0/+2
| | | | | | entries. Found by Zac Medico. svn path=/main/trunk/; revision=14119
* Rename QA_NEEDED to QA_DT_NEEDED.Arfrever Frehtes Taifersar Arahesis2009-08-211-6/+6
| | | | svn path=/main/trunk/; revision=14117
* Add support for QA_SONAME variable (bug #281964). Add support for QA_NEEDED ↵Arfrever Frehtes Taifersar Arahesis2009-08-211-5/+50
| | | | | | variable. svn path=/main/trunk/; revision=14115
* Support QA_DT_HASH_${ARCH} and QA_PRESTRIPPED_${ARCH} (bug #271416).Arfrever Frehtes Taifersar Arahesis2009-08-211-0/+2
| | | | svn path=/main/trunk/; revision=14114
* Bug #277544 - Add missing -c switch in bzip2 arguments. Thanks to Michał GórnyZac Medico2009-08-061-1/+1
| | | | | | <gentoo@mgorny.alt.pl> for the patch. svn path=/main/trunk/; revision=13934
* align with Prefix, also warn on sparcv9 hosts -- 64-bits Solaris/SparcFabian Groffen2009-07-161-1/+1
| | | | svn path=/main/trunk/; revision=13831
* add hppa64 to the 64bit list as pointed out by Michael HaubenwallnerMike Frysinger2009-07-161-1/+1
| | | | svn path=/main/trunk/; revision=13828
* Bug #268929 - Add grep for 'dereferencing pointer' messages produced byZac Medico2009-05-311-0/+1
| | | | | | gcc 4.4. Thanks to ABCD <en.ABCD@gmail.com> for this patch. svn path=/main/trunk/; revision=13626
* Bug #267175 - Instead of "poor code kills airplanes", say "install abortedv2.2_rc32Zac Medico2009-05-011-2/+4
| | | | | | | | due to poor programming practices shown above" in order to help the user link the die message to the related "poor programming practices" messages. Thanks to Jeremy Olexa <darkside@g.o> for the suggestion. svn path=/main/trunk/; revision=13584
* Make portage.bsd_chflags correspond to FEATURES=chflags so that it can beZac Medico2009-04-131-4/+2
| | | | | | used for related conditionals in shell code. svn path=/main/trunk/; revision=13342
* reword the qa execstack notice since it can be triggered by pt_load sections ↵Mike Frysinger2009-03-311-5/+5
| | | | | | and not stacks svn path=/main/trunk/; revision=13257
* Use posix compatible find -perm arguments. Thanks to Timothy RedaelliZac Medico2009-03-121-2/+2
| | | | | | <drizzt@g.o> for reporting. svn path=/main/trunk/; revision=13067
* Move ebuild helpers into an ebuild-helpers subdirectory.Zac Medico2009-03-121-1/+2
| | | | svn path=/main/trunk/; revision=13063
* for pointers cast to 32bit ints, we always want to abort on 64bit systems, ↵Mike Frysinger2009-03-081-7/+11
| | | | | | not just when FEATURES=stricter svn path=/main/trunk/; revision=12793
* reject all set*id binaries that have DT_RPATH:$ORIGIN #260331Mike Frysinger2009-02-261-3/+8
| | | | svn path=/main/trunk/; revision=12712
* Fix headers that contain $Header instead of $Id.Zac Medico2009-02-231-2/+2
| | | | svn path=/main/trunk/; revision=12701
* In dyn_package(), show a more informative die message if an error occurs whenZac Medico2009-02-151-1/+1
| | | | | | creating the tarball. svn path=/main/trunk/; revision=12618
* - hardened gets way to many misfiled bugs related to qa-execstack. Make it ↵Ned Ludd2009-01-281-0/+2
| | | | | | clear that bugs go to the maintainers of the pkg and not hardened for fun and profit svn path=/main/trunk/; revision=12559
* export STRIP_MASK automaticallyMike Frysinger2009-01-011-0/+1
| | | | svn path=/main/trunk/; revision=12374
* scan archives of objects for exec stacksMike Frysinger2008-12-251-3/+3
| | | | svn path=/main/trunk/; revision=12345
* Source bashrc files as late as possible, giving them the opportunity toZac Medico2008-12-021-0/+1
| | | | | | | override as much as possible. Thanks to Ned Ludd <solar@g.o> for the suggestion. svn path=/main/trunk/; revision=12134
* In dyn_package(), use the 'assert' macro (from isolated-functions.sh) die ifZac Medico2008-11-141-2/+2
| | | | | | PIPESTATUS array contains a non-zero exist status. svn path=/main/trunk/; revision=11909