Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 131779 | Differences between
and this patch

Collapse All | Expand All

(-)bin/misc-functions.sh (-1 / +1 lines)
Lines 133-139 Link Here
133
					[[ -n ${QA_STRICT_EXECSTACK} ]] && QA_EXECSTACK=""
133
					[[ -n ${QA_STRICT_EXECSTACK} ]] && QA_EXECSTACK=""
134
					qa_var="QA_WX_LOAD_${ARCH}"
134
					qa_var="QA_WX_LOAD_${ARCH}"
135
					[[ -n ${!qa_var} ]] && QA_WX_LOAD=${!qa_var}
135
					[[ -n ${!qa_var} ]] && QA_WX_LOAD=${!qa_var}
136
					[[ -n ${QA_STRICT_EXECSTACK} ]] && QA_WX_LOAD=""
136
					[[ -n ${QA_STRICT_WX_LOAD} ]] && QA_WX_LOAD=""
137
					export QA_EXECSTACK QA_WX_LOAD
137
					export QA_EXECSTACK QA_WX_LOAD
138
					f=$(scanelf -qyRF '"%e %p"' "${D}" | grep -v 'usr/lib/debug/')
138
					f=$(scanelf -qyRF '"%e %p"' "${D}" | grep -v 'usr/lib/debug/')
139
					;;
139
					;;
(-)man/make.conf.5 (+17 lines)
Lines 231-236 Link Here
231
Have portage react strongly to conditions that have the potential to be 
231
Have portage react strongly to conditions that have the potential to be 
232
dangerous (like missing or incorrect Manifests).
232
dangerous (like missing or incorrect Manifests).
233
.TP
233
.TP
234
.B stricter
235
Have portage react strongly to conditions that may conflict with system
236
security provisions (for example textrels, executable stack).  Read about
237
the \fIQA_STRICT_*\fR variables in \fBmake.conf\fR(5).
238
.TP
234
.B suidctl
239
.B suidctl
235
Before merging packages to the live filesystem, automatically strip setuid 
240
Before merging packages to the live filesystem, automatically strip setuid 
236
bits from any file that is not listed in \fI/etc/portage/suidctl.conf\fR.
241
bits from any file that is not listed in \fI/etc/portage/suidctl.conf\fR.
Lines 342-347 Link Here
342
have been partially downloaded.  It should be defined using the same format
347
have been partially downloaded.  It should be defined using the same format
343
as \fBFETCHCOMMAND\fR.
348
as \fBFETCHCOMMAND\fR.
344
.TP
349
.TP
350
\fBQA_STRICT_EXECSTACK = \fI"set"\fR
351
Set this to cause portage to ignore any \fIQA_EXECSTACK\fR override
352
settings from ebuilds.  See also \fBebuild\fR(5).
353
.TP
354
\fBQA_STRICT_WX_LOAD = \fI"set"\fR
355
Set this to cause portage to ignore any \fIQA_WX_LOAD\fR override
356
settings from ebuilds.  See also \fBebuild\fR(5).
357
.TP
358
\fBQA_STRICT_TEXTRELS = \fI"set"\fR
359
Set this to cause portage to ignore any \fIQA_TEXTREL\fR override
360
settings from ebuilds.  See also \fBebuild\fR(5).
361
.TP
345
\fBROOT\fR = \fI[path]\fR
362
\fBROOT\fR = \fI[path]\fR
346
Use \fBROOT\fR to specify the target root filesystem to be used for merging 
363
Use \fBROOT\fR to specify the target root filesystem to be used for merging 
347
packages or ebuilds.  All \fBRDEPEND\fR and \fBPDEPEND\fR will be installed 
364
packages or ebuilds.  All \fBRDEPEND\fR and \fBPDEPEND\fR will be installed 
(-)man/ebuild.5 (+32 lines)
Lines 342-347 Link Here
342
For example, blackdown-jdk and sun-jdk provide \fIvirtual/jdk\fR.  This
342
For example, blackdown-jdk and sun-jdk provide \fIvirtual/jdk\fR.  This
343
allows for packages to depend on \fIvirtual/jdk\fR rather than on blackdown
343
allows for packages to depend on \fIvirtual/jdk\fR rather than on blackdown
344
or sun specifically.
344
or sun specifically.
345
.SH "QA CONTROL VARIABLES"
346
.TP
347
.B USAGE NOTES
348
Several QA variables are provided which allow an ebuild to manipulate some
349
of the QA checks performed by portage.  Use of these variables in ebuilds
350
should be kept to an absolute minimum otherwise they defeat the purpose
351
of the QA checks, and their use is subject to agreement of the QA team.
352
They are primarily intended for use by ebuilds that install closed-source
353
binary objects that cannot be altered.
354
.br
355
Note that objects that violate these rules may fail on some architectures.
356
.TP
357
\fBQA_TEXTRELS\fR
358
This variable can be set to a list of file paths, relative to the image
359
directory, of files that contain text relocations that cannot be eliminated.
360
The paths may contain regular expressions.
361
.br
362
This variable is intended to be used on closed-source binary objects that
363
cannot be altered.
364
.TP
365
\fBQA_EXECSTACK\fR
366
This should contain a list of file paths, relative to the image directory, of
367
objects that require executable stack in order to run.
368
The paths may contain regular expressions.
369
.br
370
This variable is intended to be used on objects that truly need executable
371
stack (i.e. not those marked to need it which in fact do not).
372
.TP
373
\fBQA_WX_LOAD\fR
374
This should contain a list of file paths, relative to the image directory, of
375
files that contain writable and executable segments.  These are rare.
376
The paths may contain regular expressions.
345
.SH "PORTAGE DECLARATIONS"
377
.SH "PORTAGE DECLARATIONS"
346
.TP
378
.TP
347
.B inherit
379
.B inherit

Return to bug 131779