summaryrefslogtreecommitdiffstats
path: root/bin/misc-functions.sh
Commit message (Collapse)AuthorAgeFilesLines
* don't record internal providers in NEEDED records as they are pointless for ↵Marius Mauch2008-02-051-2/+21
| | | | | | all useful applications in portage and complicate them instead (e.g. bug #205531) svn path=/main/trunk/; revision=9275
* Bug #205718 - Fix quoting of ${INSTALL_MASK} where appropriate. ThanksZac Medico2008-01-311-3/+3
| | | | | | to Ed Catmur <ed@catmur.co.uk> for this patch. svn path=/main/trunk/; revision=9256
* Fix a typo.Zac Medico2008-01-111-1/+1
| | | | svn path=/main/trunk/; revision=9184
* Bug #162450 - Try to avoid having so many bugs marked UPSTREAM byZac Medico2008-01-111-0/+7
| | | | | | | encouraging users to report 'poor programming practices' QA issues upstream and show them the $HOMEPAGE for convenience. svn path=/main/trunk/; revision=9176
* Make the FEATURES=sfperms loops safe for whitespace in pathsZac Medico2007-12-281-2/+4
| | | | | | by using find -print0 | while read -d $'\0'. svn path=/main/trunk/; revision=9083
* Bug #203323 - Fix the FEATURES=sfperms code so that it doesn't chmodZac Medico2007-12-281-6/+19
| | | | | | | g-r on binaries that are both setuid and setgid. In that case, just chmod o-r. svn path=/main/trunk/; revision=9061
* In "QA Notice: Precompiled python" messages, use sed to strip theZac Medico2007-12-151-1/+2
| | | | | | leading ${D} from file paths. svn path=/main/trunk/; revision=8935
* Check if ${EBUILD_EXIT_STATUS_FILE} is empty beforeZac Medico2007-11-261-1/+2
| | | | | | attempting to use it. svn path=/main/trunk/; revision=8686
* Bug #200313 - Detect and report when an ebuild phaseZac Medico2007-11-261-0/+2
| | | | | | | | | | | | | | | | exits unexpectedly. This is type of behavior is known to be triggered by things such as failed variable assignments (bug #190128) or bad substitution errors (bug #200313). We use a EBUILD_EXIT_STATUS_FILE environment variable to specify a file that the shell code is supposed to create when it exits in a normal manner. If the file does not get created like it's supposed to be then we can conclude that the shell has exited in some unexpected way. svn path=/main/trunk/; revision=8682
* Use `md5` if `md5sum` is not available (useful for FreeBSD users).Zac Medico2007-11-241-2/+10
| | | | svn path=/main/trunk/; revision=8643
* Use %% instead of % parameter expansion where appropriateZac Medico2007-11-231-1/+1
| | | | | | for md5sum output. svn path=/main/trunk/; revision=8613
* Make dyn_package() create a /var/db/pkg/*/*/BINPKGMD5 entriesZac Medico2007-11-221-0/+2
| | | | | | | so that packages installed via --buildpkg have a BINPKGMD5 entry matching the package built. svn path=/main/trunk/; revision=8597
* * Replace references to deprecated ${IMAGE} with equivalent ${D}.Zac Medico2007-11-141-23/+23
| | | | | | * Remove redundant trailing slashes and fix quoting. svn path=/main/trunk/; revision=8501
* Remove references to ${O} in dyn_spec() since antarusZac Medico2007-11-061-1/+1
| | | | | | made that variable mutable. svn path=/main/trunk/; revision=8444
* Avoid an error message from find when "${D}"/usr/shareZac Medico2007-10-131-1/+1
| | | | | | does not exist. svn path=/main/trunk/; revision=8117
* add QA check for .pyc/.pyo files in /usr/shareMike Frysinger2007-10-071-0/+10
| | | | svn path=/main/trunk/; revision=7990
* Bug #190214 - Make the rpm phase use /usr/src/rpm instead of /usr/src/redhat.Zac Medico2007-08-251-4/+8
| | | | | | Bug #190144 - Use the realpath of DISTDIR so that things like subversion.eclass are compatible with sandbox. svn path=/main/trunk/; revision=7700
* filter out kernel modules from ELF QA checks #184443Mike Frysinger2007-08-171-4/+5
| | | | svn path=/main/trunk/; revision=7645
* Move ecompressdir and ecompress --dequeue after prepall.Zac Medico2007-08-041-1/+2
| | | | svn path=/main/trunk/; revision=7570
* Call ecompressdir and ecompress --dequeue outside of prepall since ↵Zac Medico2007-08-041-0/+2
| | | | | | ruby.eclass overrides prepall. svn path=/main/trunk/; revision=7568
* Use PF in dyn_package. Thanks to swegener.Zac Medico2007-07-171-1/+1
| | | | svn path=/main/trunk/; revision=7300
* Provide a default value for PORTAGE_BINPKG_TMPFILE in case the package phase ↵Zac Medico2007-06-241-0/+2
| | | | | | is called by the ebuild command. svn path=/main/trunk/; revision=6985
* Pass a temporary file name to the package phase in the environment variable ↵Zac Medico2007-05-231-15/+4
| | | | | | PORTAGE_BINPKG_TMPFILE and move the temporary file into place inside binarytree.inject(). This allows binarytree.inject() to perform the move while holding a lock. svn path=/main/trunk/; revision=6591
* When ${PKGDIR}/All/ doesn't exist, put packages in ${PKGDIR}/${CATEGORY}/ ↵Zac Medico2007-05-221-3/+11
| | | | | | instead. This new layout is backward compatible with portage-2.1.2 and it will be a requirement for new PORTAGE_BINHOST support that is comming. svn path=/main/trunk/; revision=6568
* convert `type -p` to `type -P` as noted by grobianMike Frysinger2007-04-151-5/+5
| | | | svn path=/main/trunk/; revision=6411
* simplify unsafe file checking so files/paths with spaces dont cause troublesMike Frysinger2007-04-131-14/+5
| | | | svn path=/main/trunk/; revision=6392
* import portage.xpak to avoid deprecation warningZac Medico2007-03-091-2/+2
| | | | svn path=/main/trunk/; revision=6202
* arm supports sane exec stack stuff nowMike Frysinger2007-01-181-1/+1
| | | | svn path=/main/trunk/; revision=5695
* superh supports sane exec stack stuff nowMike Frysinger2007-01-181-1/+1
| | | | svn path=/main/trunk/; revision=5694
* elevate the importance of 64bit clean code on 64bit hostsMike Frysinger2007-01-151-1/+5
| | | | svn path=/main/trunk/; revision=5656
* drop lazy bindings check once and for all ... the system ldso should have ↵Mike Frysinger2007-01-121-14/+0
| | | | | | the logic #71609 svn path=/main/trunk/; revision=5579
* add support for user-customizable compression #9870Mike Frysinger2007-01-111-3/+1
| | | | svn path=/main/trunk/; revision=5555
* create symlinks to html documentation if DOC_SYMLINK_DIR is set, original ↵Marius Mauch2007-01-101-0/+24
| | | | | | patch by TGL <degrenier@easyconnect.fr> (bug #67130) svn path=/main/trunk/; revision=5509
* For bug #160075, send all 'QA Notice' messages to eqawarn. Also, modify ↵Zac Medico2007-01-101-44/+44
| | | | | | eqawarn to use vecho and send ouput to stderr. svn path=/main/trunk/; revision=5507
* force C locale for now when parsing gcc log files #160234Mike Frysinger2007-01-061-1/+2
| | | | svn path=/main/trunk/; revision=5469
* revert previous changes ... ruby.eclass is wrongly polluting env with nullglobMike Frysinger2007-01-061-12/+3
| | | | svn path=/main/trunk/; revision=5468
* Fix one more potential false glob match.Zac Medico2007-01-061-0/+1
| | | | svn path=/main/trunk/; revision=5467
* Fix shell glob logic that leads to false positives. Thanks to Flameeyes for ↵Zac Medico2007-01-061-3/+11
| | | | | | reporting. svn path=/main/trunk/; revision=5466
* add support for scanning of build logs for common issues #111436Mike Frysinger2007-01-031-7/+43
| | | | svn path=/main/trunk/; revision=5449
* merge all of the QA related checks togetherMike Frysinger2007-01-021-1/+96
| | | | svn path=/main/trunk/; revision=5442
* fixup styleMike Frysinger2006-12-301-5/+7
| | | | svn path=/main/trunk/; revision=5417
* adjust QA_* variable names for complex values of like x86-fbsdMarius Mauch2006-12-091-3/+3
| | | | svn path=/main/trunk/; revision=5238
* drop RESTRICT=stricter since every aspect it covers can be handled properly ↵Mike Frysinger2006-12-031-3/+3
| | | | | | via other means svn path=/main/trunk/; revision=5164
* - no point in forking a call to true when we can simply use the bash ↵Ned Ludd2006-11-291-1/+1
| | | | | | internal of : for true svn path=/main/trunk/; revision=5143
* For bug #142993, make sure that chown and chgrp calls preserve S_ISUID and ↵Zac Medico2006-11-221-11/+0
| | | | | | S_ISGID mode bits. svn path=/main/trunk/; revision=5114
* Use mtree to save/restore bsd file flags before/after prepall and ↵Zac Medico2006-10-281-0/+18
| | | | | | installation. Thanks to Diego Pettenò for this patch (related to bug #153109). svn path=/main/trunk/; revision=4863
* Add back the -v option for tar (removed for bug #151146) in dyn_package(), ↵Zac Medico2006-10-171-1/+4
| | | | | | but don't enable -v when --quiet is enabled. svn path=/main/trunk/; revision=4737
* For bug #151146, don't use tar's --verbose option during the package phase ↵Zac Medico2006-10-141-1/+1
| | | | | | since it doesn't work the same way anymore in tar-1.15.92 (new args have been tested with both gnu tar-1.15.92 and bsdtar-1.3.1-r1). svn path=/main/trunk/; revision=4676
* do not abort for the time being with lazy bindings and setuid apps and ↵Mike Frysinger2006-10-111-2/+3
| | | | | | FEATURES=stricter svn path=/main/trunk/; revision=4653
* Make sure that the package phase has the PYTHONPATH set correctly so that ↵Zac Medico2006-09-071-0/+1
| | | | | | the xpak module is accessible. svn path=/main/trunk/; revision=4421