Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 311875 Details for
Bug 342505
dev-lang/go: new ebuild for the go language compilers and environment
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
go-1.0.1-hardened.patch
go-1.0.1-hardened.patch (text/plain), 1.47 KB, created by
William Hubbs
on 2012-05-15 14:56:42 UTC
(
hide
)
Description:
go-1.0.1-hardened.patch
Filename:
MIME Type:
Creator:
William Hubbs
Created:
2012-05-15 14:56:42 UTC
Size:
1.47 KB
patch
obsolete
>diff -r 95d6aec944d4 src/all.bash >--- a/src/all.bash Tue May 15 12:00:13 2012 +1000 >+++ b/src/all.bash Tue May 15 08:46:50 2012 -0500 >@@ -8,6 +8,6 @@ > echo 'all.bash must be run from $GOROOT/src' 1>&2 > exit 1 > fi >-. ./make.bash --no-banner >+. ./make.bash $@ --no-banner > bash run.bash --no-rebuild --banner > $GOTOOLDIR/dist banner # print build info >diff -r 95d6aec944d4 src/make.bash >--- a/src/make.bash Tue May 15 12:00:13 2012 +1000 >+++ b/src/make.bash Tue May 15 08:46:50 2012 -0500 >@@ -116,6 +116,40 @@ > ./cmd/dist/dist bootstrap $buildall -v # builds go_bootstrap > # Delay move of dist tool to now, because bootstrap may clear tool directory. > mv cmd/dist/dist "$GOTOOLDIR"/dist >+if [ "$1" = "--pax-kernel" ]; then >+ shift >+ if [ -f "$GOTOOLDIR"/8l ]; then >+ mv "$GOTOOLDIR"/8l{,.orig} >+ cat <<'EOF' >"$GOTOOLDIR"/8l >+#!/bin/bash >+BIN="8.out" >+for (( i = 1 ; i <= $# ; i++ )); do >+ if [ "x${!i}" = "x-o" ]; then >+ i=$(( i + 1 )) >+ BIN="${!i}" >+ fi >+done >+$(dirname $0)/8l.orig "$@" && paxctl -cm "$BIN" &>/dev/null >+EOF >+ chmod +x "$GOTOOLDIR"/8l >+ fi >+ if [ -f "$GOTOOLDIR"/6l ]; then >+ mv "$GOTOOLDIR"/6l{,.orig} >+ cat <<'EOF' >"$GOTOOLDIR"/6l >+#!/bin/bash >+BIN="6.out" >+for (( i = 1 ; i <= $# ; i++ )); do >+ if [ "x${!i}" = "x-o" ]; then >+ i=$(( i + 1 )) >+ BIN="${!i}" >+ fi >+done >+$(dirname $0)/6l.orig "$@" && paxctl -cm "$BIN" &>/dev/null >+EOF >+ chmod +x "$GOTOOLDIR"/6l >+ fi >+ paxctl -cm "$GOTOOLDIR"/go_bootstrap &>/dev/null >+fi > "$GOTOOLDIR"/go_bootstrap clean -i std > echo >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 342505
:
251819
|
251821
|
251827
|
251829
|
251831
|
251833
|
251865
|
251867
|
252191
|
252463
|
252465
|
252467
|
253075
|
253077
|
269527
|
269529
|
280243
|
302167
|
302169
|
307393
|
308225
|
310261
|
310653
|
310905
|
311201
|
311351
|
311353
|
311385
|
311387
|
311873
| 311875