summaryrefslogtreecommitdiffstats
path: root/bin/misc-functions.sh
Commit message (Collapse)AuthorAgeFilesLines
* Make the FEATURES=sfperms loops safe for whitespace in pathsZac Medico2007-12-281-2/+4
| | | | | | by using find -print0 | while read -d $'\0'. (trunk r9083) svn path=/main/branches/2.1.2/; revision=9084
* 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. (trunk r9061) svn path=/main/branches/2.1.2/; revision=9075
* In "QA Notice: Precompiled python" messages, use sed to strip theZac Medico2007-12-151-1/+2
| | | | | | leading ${D} from file paths. (trunk r8935) svn path=/main/branches/2.1.2/; revision=8936
* Check if ${EBUILD_EXIT_STATUS_FILE} is empty beforeZac Medico2007-11-261-1/+2
| | | | | | attempting to use it. (trunk r8686) svn path=/main/branches/2.1.2/; revision=8687
* 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. (trunk r8682) svn path=/main/branches/2.1.2/; revision=8684
* Use `md5` if `md5sum` is not available (useful for FreeBSD users).Zac Medico2007-11-241-2/+10
| | | | | | (trunk r8643) svn path=/main/branches/2.1.2/; revision=8644
* Use %% instead of % parameter expansion where appropriateZac Medico2007-11-231-1/+1
| | | | | | for md5sum output. (trunk r8613) svn path=/main/branches/2.1.2/; revision=8614
* 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. (trunk r8597) svn path=/main/branches/2.1.2/; revision=8598
* * Replace references to deprecated ${IMAGE} with equivalent ${D}.Zac Medico2007-11-201-23/+23
| | | | | | | * Remove redundant trailing slashes and fix quoting. (trunk r8501) svn path=/main/branches/2.1.2/; revision=8560
* Avoid an error message from find when "${D}"/usr/shareZac Medico2007-10-131-1/+1
| | | | | | does not exist. (trunk r8117) svn path=/main/branches/2.1.2/; revision=8118
* add QA check for .pyc/.pyo files in /usr/shareZac Medico2007-10-121-0/+10
| | | | | | (trunk r7990) svn path=/main/branches/2.1.2/; revision=8060
* Bug #190214 - Make the rpm phase use /usr/src/rpm instead of /usr/src/redhat.Zac Medico2007-09-061-4/+8
| | | | | | | Bug #190144 - Use the realpath of DISTDIR so that things like subversion.eclass are compatible with sandbox. (trunk r7700) svn path=/main/branches/2.1.2/; revision=7732
* filter out kernel modules from ELF QA checks #184443 (trunk r7645)Zac Medico2007-08-191-4/+5
| | | | svn path=/main/branches/2.1.2/; revision=7650
* convert `type -p` to `type -P` as noted by grobian (trunk r6410:6411)v2.1.2.4Zac Medico2007-04-161-5/+5
| | | | svn path=/main/branches/2.1.2/; revision=6414
* simplify unsafe file checking so files/paths with spaces dont cause troubles ↵Zac Medico2007-04-131-14/+5
| | | | | | (trunk r6391:6392) svn path=/main/branches/2.1.2/; revision=6393
* arm and superh support exec stack stuff now (trunk r5693:5695)Zac Medico2007-01-181-6/+2
| | | | svn path=/main/branches/2.1.2/; revision=5696
* 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
* let's not fork too muchSimon Stelling2006-08-271-2/+2
| | | | svn path=/main/trunk/; revision=4355
* make the multilib-strict check show all files that violate the rule, not ↵Simon Stelling2006-08-271-1/+10
| | | | | | just the first one svn path=/main/trunk/; revision=4354
* remove the MULTILIB_STRICT_EXEMPT default as all profiles set it anywaySimon Stelling2006-08-251-1/+1
| | | | svn path=/main/trunk/; revision=4343
* ignore binutils wrt multilib-strict; bug 121641Simon Stelling2006-08-251-1/+1
| | | | svn path=/main/trunk/; revision=4342
* only print the "Removing /usr/share/info" if --quiet was not passedSimon Stelling2006-08-241-1/+1
| | | | svn path=/main/trunk/; revision=4339
* Die at the beginning of install_qa_check if ${D} doesn't exist. See bug ↵Zac Medico2006-07-131-2/+1
| | | | | | #140159. svn path=/main/trunk/; revision=3852
* remove pointless line that just ruins the displayMike Frysinger2006-07-061-1/+0
| | | | svn path=/main/trunk/; revision=3800
* s/Preform/Perform/ Thanks to exg for reporting.Zac Medico2006-06-241-1/+1
| | | | svn path=/main/trunk/; revision=3642
* get rid of quotes in outputMike Frysinger2006-06-181-2/+2
| | | | svn path=/main/trunk/; revision=3528
* Remove QA warning when files are installed with portage uid/gid for bug #136313.Zac Medico2006-06-101-2/+0
| | | | svn path=/main/trunk/; revision=3488
* - Bug 136236 misc-functions.sh fails to always honor RESTRICT=stricter - ↵Ned Ludd2006-06-101-2/+2
| | | | | | Donnie Berkholz spyderous@gentoo.org svn path=/main/trunk/; revision=3481
* Store the original suid bits when suidctl is enabled for bug #135639. ↵Zac Medico2006-06-051-1/+1
| | | | | | Thanks to splite-gentoo@sigint.cs.purdue.edu for this patch. svn path=/main/trunk/; revision=3462
* - More updates from Kevin Q bug 131779 ; document the stricter feature along ↵Ned Ludd2006-05-241-1/+1
| | | | | | with the QA_* handling svn path=/main/trunk/; revision=3410