aboutsummaryrefslogtreecommitdiff
path: root/lang/golang
Commit message (Collapse)AuthorAge
* golang: Add support for setting gcflags/ldflags from package MakefileJeffery To2019-03-21
| | | | | | | | | | | | | | | | This adds several variables for Go package Makefiles: * GO_PKG_GCFLAGS - go tool compile arguments * GO_PKG_LDFLAGS - go tool link arguments * GO_PKG_LDFLAGS_X - go tool link -X definitions Settings these will add the corresponding flags to the go install command line. (Other command line arguments can still be added by passing them as the first argument to GoPackage/Build/Compile.) This also adds Go's runtime environment variables (GOGC, GOMAXPROCS, GOTRACEBACK) to the unexport list. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* golang: update to version 1.12.1Josef Schlehofer2019-03-19
| | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* golang: Bump to version 1.12Xingwang Liao2019-03-08
| | | | Signed-off-by: Xingwang Liao <kuoruan@gmail.com>
* golang: Ignore GOFLAGS, GO111MODULE environment variablesJeffery To2019-02-11
| | | | | | These were added in Go 1.11. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* golang: Install go.mod/go.sum by defaultJeffery To2019-02-11
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* golang: Install files with .cpp/.hpp suffixes by defaultJeffery To2019-02-11
| | | | | | This also updates the URL for dh-golang. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* golang: Fix handling of filenames with spacesJeffery To2019-02-11
| | | | | | Closes #7127. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* golang: Update to latest versionJeffery To2019-01-28
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* golang: update to latest versionJeffery To2018-12-19
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* Merge pull request #7617 from neheb/sipHannu Nyman2018-12-14
|\ | | | | golang-github-dchest-siphash: Switch to versioned releases
| * golang-github-dchest-siphash: Switch to versioned releasesRosen Penev2018-12-08
| | | | | | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* | golang: fix package clean / autoremove, add output whitespaceJeffery To2018-12-12
|/ | | | | | | | | | | | | | | go 1.11 added modules, which are cached locally. The go developers have decided to make this cache read-only (golang/go#27455), which causes problems with package clean / autoremove (#7635). This adds a call to clear this cache right after building, as currently there is no easy way to hook into autoremove (it may be possible to hook into package clean). This also adds whitespace (blank lines) to certain places in make output, to aid debugging. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* golang: Update to 1.11.2, fix build errorsJeffery To2018-11-06
| | | | | | | | | When installing a newer host Go, be sure to remove the old host Go. Not doing so causes errors[1] when trying to build target Go. [1]: https://github.com/openwrt/packages/pull/7194#issuecomment-435948361 Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* Merge pull request #5781 from jefferyto/obfs4proxyHannu Nyman2018-11-04
|\ | | | | obfs4proxy: new packages (including dependencies)
| * obfs4proxy: new packages (including dependencies)Jeffery To2018-06-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | obfs4proxy is a Tor pluggable transport proxy, implementing obfs4. This commit also includes obfs4proxy's build time dependencies: * golang-github-agl-ed25519: Go implementation of Ed25519 signature algorithm * golang-github-dchest-siphash: Go implementation of SipHash-2-4 * golang-golang-x-crypto: Go supplementary cryptography libraries * golang-golang-x-net: Go supplementary network libraries * golang-golang-x-sys: Go packages for interaction with the OS * golang-golang-x-text: Go text processing support * golang-torproject-pluggable-transports-goptlib: Tor pluggable transports library for Go Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | golang: Update to 1.11.1, add mips64 / mips64el buildsJeffery To2018-10-13
| | | | | | | | | | | | | | | | | | Go 1.11 added softfloat support for 64-bit MIPS systems[1], so this also adds builds for mips64 and mips64el. [1] https://golang.org/doc/go1.11#mips Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | golang: Download bootstrap source directly, use golang-specific mirrorsJeffery To2018-06-29
| | | | | | | | | | | | | | These changes are a result of this conversation: https://github.com/openwrt/packages/commit/19292650241de44b4f12fb02f0e11127f069d2b4#r29531922 Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | golang: Allow additional arguments when compiling Go packagesJeffery To2018-06-28
| | | | | | | | | | | | | | This updates GoPackage/Build/Compile in golang-package.mk to accept additional arguments that are passed to the go command line. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | golang: update to 1.10.3, add mirrorsJeffery To2018-06-27
|/ | | | | | | | This also changes the bootstrap source URL to the official GitHub mirror, to make building easier for places where Google sites aren't accessible. Fixes #6326. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* golang: new packagesJeffery To2018-03-21
From golang.org: The Go programming language is an open source project to make programmers more productive. This commit consists of two "parts": * golang/host: Main Go compiler for host (installed to STAGING_DIR_HOST/lib/go-cross), used to cross-compile Go programs to be packaged. * golang (and golang-src/golang-doc): Main Go compiler for on-target development. These packages are quite large, but I would expect only developers to install these. Signed-off-by: Jeffery To <jeffery.to@gmail.com>