summaryrefslogtreecommitdiffstats
path: root/bin/misc-functions.sh
Commit message (Collapse)AuthorAgeFilesLines
* Make the "this code is not 64bit clean" die less strict like it was before soZac Medico2008-04-101-5/+1
| | | | | | that maintainers aren't disturbed by too many bugs like bug #216848. svn path=/main/branches/2.1.2/; revision=9802
* Remove references to ${O} in dyn_spec() since antarusZac Medico2008-04-011-1/+1
| | | | | | made that variable mutable. (trunk r8444) svn path=/main/branches/2.1.2/; revision=9664
* elevate the importance of 64bit clean code on 64bit hosts (trunk r5656)Zac Medico2008-04-011-1/+5
| | | | svn path=/main/branches/2.1.2/; revision=9663
* Bug #214619 - Run dyn_package() and preinst_mask() from ${T} instead ofZac Medico2008-03-291-3/+9
| | | | | | | | | ${D} in order to avoid leaving gmon.out files in ${D} in case any tools were built with -pf in CFLAGS. Also, call preinst_mask() after all other functions so that INSTALL_MASK can be used to wipe out any gmon.out files created during previous functions. (trunk r9592) svn path=/main/branches/2.1.2/; revision=9595
* Fix quoting for ${root} in install_mask(). (trunk r9590)Zac Medico2008-03-291-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=9593
* Bug #214619 - Add support for a PORTAGE_BINPKG_TAR_OPTS variable thatZac Medico2008-03-281-1/+2
| | | | | | | allows the user to specify tar command options for binary package creation. (trunk r9528) svn path=/main/branches/2.1.2/; revision=9580
* Bug #97776 - Tell rpmbuild to clean it's working files after completion.Zac Medico2008-03-281-1/+1
| | | | | | (trunk r9428) svn path=/main/branches/2.1.2/; revision=9547
* Bug #210372 - Fix FEATURES=suidctl so that it really works again.Zac Medico2008-03-031-11/+12
| | | | | | (trunk r9423) svn path=/main/branches/2.1.2/; revision=9424
* Bug #210372 - Fix suidctl.conf parser to look for paths with a leading slash.Zac Medico2008-02-191-1/+1
| | | | | | (trunk r9355) svn path=/main/branches/2.1.2/; revision=9356
* 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. (trunk r9256) svn path=/main/branches/2.1.2/; revision=9257
* Fix a typo. (trunk r9184)Zac Medico2008-01-111-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=9185
* 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. (trunk r9176) svn path=/main/branches/2.1.2/; revision=9180
* 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