OXIESEC PANEL
- Current Dir:
/
/
opt
/
golang
/
1.19.4
/
src
Server IP: 2a02:4780:11:1084:0:327f:3464:10
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
03/16/2023 01:02:19 PM
rwxr-xr-x
📄
Make.dist
553 bytes
12/01/2022 06:12:53 PM
rw-r--r--
📄
README.vendor
2.24 KB
12/01/2022 06:12:53 PM
rw-r--r--
📄
all.bash
407 bytes
12/01/2022 06:12:53 PM
rwxr-xr-x
📄
all.bat
758 bytes
12/01/2022 06:12:53 PM
rw-r--r--
📄
all.rc
388 bytes
12/01/2022 06:12:53 PM
rwxr-xr-x
📁
archive
-
12/01/2022 06:13:55 PM
rwxr-xr-x
📄
bootstrap.bash
3.69 KB
12/01/2022 06:12:53 PM
rwxr-xr-x
📁
bufio
-
12/01/2022 06:13:55 PM
rwxr-xr-x
📄
buildall.bash
1.83 KB
12/01/2022 06:12:53 PM
rwxr-xr-x
📁
builtin
-
12/01/2022 06:13:55 PM
rwxr-xr-x
📁
bytes
-
12/01/2022 06:13:55 PM
rwxr-xr-x
📄
clean.bash
518 bytes
12/01/2022 06:12:53 PM
rwxr-xr-x
📄
clean.bat
600 bytes
12/01/2022 06:12:53 PM
rw-r--r--
📄
clean.rc
380 bytes
12/01/2022 06:12:53 PM
rwxr-xr-x
📁
cmd
-
12/01/2022 06:13:55 PM
rwxr-xr-x
📄
cmp.bash
1.48 KB
12/01/2022 06:12:56 PM
rw-r--r--
📁
compress
-
12/01/2022 06:13:55 PM
rwxr-xr-x
📁
container
-
12/01/2022 06:13:55 PM
rwxr-xr-x
📁
context
-
12/01/2022 06:13:55 PM
rwxr-xr-x
📁
crypto
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
database
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
debug
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
embed
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
encoding
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
errors
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
expvar
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
flag
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
fmt
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
go
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📄
go.mod
288 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
go.sum
840 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📁
hash
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
html
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
image
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
index
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
internal
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
io
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
log
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📄
make.bash
7.77 KB
12/01/2022 06:12:59 PM
rwxr-xr-x
📄
make.bat
4.8 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
make.rc
3.38 KB
12/01/2022 06:12:59 PM
rwxr-xr-x
📁
math
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
mime
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
net
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
os
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
path
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
plugin
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📄
race.bash
919 bytes
12/01/2022 06:12:59 PM
rwxr-xr-x
📄
race.bat
1.07 KB
12/01/2022 06:12:59 PM
rw-r--r--
📁
reflect
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
regexp
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📄
run.bash
1.75 KB
12/01/2022 06:12:59 PM
rwxr-xr-x
📄
run.bat
844 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
run.rc
396 bytes
12/01/2022 06:12:59 PM
rwxr-xr-x
📁
runtime
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
sort
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
strconv
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
strings
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
sync
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
syscall
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
testdata
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
testing
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
text
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
time
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
unicode
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
unsafe
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📁
vendor
-
12/01/2022 06:13:56 PM
rwxr-xr-x
Editing: make.rc
Close
#!/bin/rc -e # Copyright 2012 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. # See golang.org/s/go15bootstrap for an overview of the build process. # Environment variables that control make.rc: # # GOROOT_FINAL: The expected final Go root, baked into binaries. # The default is the location of the Go tree during the build. # # GOHOSTARCH: The architecture for host tools (compilers and # binaries). Binaries of this type must be executable on the current # system, so the only common reason to set this is to set # GOHOSTARCH=386 on an amd64 machine. # # GOARCH: The target architecture for installed packages and tools. # # GOOS: The target operating system for installed packages and tools. # # GO_GCFLAGS: Additional go tool compile arguments to use when # building the packages and commands. # # GO_LDFLAGS: Additional go tool link arguments to use when # building the commands. # # CGO_ENABLED: Controls cgo usage during the build. Set it to 1 # to include all cgo related files, .c and .go file with "cgo" # build directive, in the build. Set it to 0 to ignore them. rfork e if(! test -f run.rc){ echo 'make.rc must be run from $GOROOT/src' >[1=2] exit wrongdir } # Clean old generated file that will cause problems in the build. rm -f ./runtime/runtime_defs.go # Determine the host compiler toolchain. eval `{grep '^(CC|LD|O)=' /$objtype/mkfile} vflag=() if(~ $1 -v) { vflag=(-v) shift } GOROOT = `{cd .. && pwd} goroot_bootstrap_set = 'true' if(! ~ $#GOROOT_BOOTSTRAP 1){ goroot_bootstrap_set = 'false' GOROOT_BOOTSTRAP = $home/go1.4 for(d in sdk/go1.17 go1.17) if(test -d $home/$d) GOROOT_BOOTSTRAP = $home/$d } for(p in $path){ if(! test -x $GOROOT_BOOTSTRAP/bin/go){ if(go_exe = `{path=$p whatis go}){ goroot = `{GOROOT='' $go_exe env GOROOT} if(! ~ $goroot $GOROOT){ if(~ $goroot_bootstrap_set 'true'){ echo 'WARNING: '$GOROOT_BOOTSTRAP'/bin/go does not exist, found '$go_exe' from env' >[1=2] echo 'WARNING: set '$goroot' as GOROOT_BOOTSTRAP' >[1=2] } GOROOT_BOOTSTRAP = $goroot } } } } if(! test -x $GOROOT_BOOTSTRAP/bin/go){ echo 'ERROR: Cannot find '$GOROOT_BOOTSTRAP'/bin/go.' >[1=2] echo 'Set $GOROOT_BOOTSTRAP to a working Go tree >= Go 1.4.' >[1=2] exit bootstrap } if(~ $GOROOT_BOOTSTRAP $GOROOT){ echo 'ERROR: $GOROOT_BOOTSTRAP must not be set to $GOROOT' >[1=2] echo 'Set $GOROOT_BOOTSTRAP to a working Go tree >= Go 1.4.' >[1=2] exit bootstrap } echo 'Building Go cmd/dist using '^$GOROOT_BOOTSTRAP if(~ $#vflag 1) echo cmd/dist GOROOT=$GOROOT_BOOTSTRAP GOOS='' GOARCH='' GOEXPERIMENT='' GO111MODULE=off GOENV=off GOFLAGS='' $GOROOT_BOOTSTRAP/bin/go build -o cmd/dist/dist ./cmd/dist eval `{./cmd/dist/dist env -9} if(~ $#vflag 1) echo if(~ $1 --dist-tool){ # Stop after building dist tool. mkdir -p $GOTOOLDIR if(! ~ $2 '') cp cmd/dist/dist $2 mv cmd/dist/dist $GOTOOLDIR/dist exit } # Run dist bootstrap to complete make.bash. # Bootstrap installs a proper cmd/dist, built with the new toolchain. # Throw ours, built with Go 1.4, away after bootstrap. ./cmd/dist/dist bootstrap -a $vflag $* rm -f ./cmd/dist/dist # DO NOT ADD ANY NEW CODE HERE. # The bootstrap+rm above are the final step of make.rc. # If something must be added, add it to cmd/dist's cmdbootstrap, # to avoid needing three copies in three different shell languages # (make.bash, make.bat, make.rc).