Skip to content

Commit 7aeee77

Browse files
Michael Hudson-DoylePalinuroSec
Michael Hudson-Doyle
authored andcommittedAug 19, 2021
Import Debian changes 1.17~rc2-0ubuntu1
golang-1.17 (1.17~rc2-0ubuntu1) impish; urgency=medium . * New upstream release candidate. * Refresh patches, dropping two that are merged upstream. * Do not include the now-deleted favicon.ico in golang-1.17-doc. . golang-1.16 (1.16.5-1ubuntu1) impish; urgency=medium . * Merge from Debian unstable. Remaning change: - d/patches/0001-cmd-link-check-CGO_CFLAGS-for-non-g-I-O-options-befo.patch: disable internal linking when dynamically linking and CGO_CFLAGS contains flags that might make host object files that the internal linkers ELF reader does not support. This fixes lots of package builds when LTO is enabled by default via dpkg-buildflags. * d/patches/0007-cmd-link-cmd-cgo-support-flto-in-CFLAGS.patch: backport another patch from upstream to fix some failures seen with LTO. . golang-1.16 (1.16.5-1) unstable; urgency=medium . * Team upload. * New upstream version 1.16.5 + CVE-2021-33195: net: Lookup functions may return invalid host names + CVE-2021-33196: archive/zip: malformed archive may cause panic or memory exhaustion (Closes: #989492) + CVE-2021-33197: net/http/httputil: ReverseProxy forwards Connection headers if first one is empty + CVE-2021-33198: math/big: (*Rat).SetString with "1.770p02041010010011001001" crashes with "makeslice: len out of range" . golang-1.16 (1.16.4-1) unstable; urgency=medium . * Team upload. * New upstream version 1.16.4 Fix CVE-2021-31525 net/http: ReadRequest can stack overflow due to recursion with very large headers . golang-1.16 (1.16.3-4) unstable; urgency=medium . * Team upload. * Remove bootstrap dir after build. Otherwise tests fail . golang-1.16 (1.16.3-3) unstable; urgency=medium . * Team upload. * Drop mtime hack in postinst and d/rules golang/go#3506 (comment) > Essentially everything involved in this report has been rewritten. > The go command no longer cares about mtimes. * No need to remove src dir in golang-$(GOVER)-go package. It's not installed by golang-X.Y-go.dirs now * Update description and recommended way to use specified version (Closes: #985542) * Rebuild with go1.16. To build with GO386=softfloat, golang/go#44500 * Add Multi-Arch hint * Only build in -arch target again. Move generated source files to golang-1.16-go package * Not force gencontrol in dh_clean. Not needed after the new branch is created. And we need to add some Breaks/Replaces to d/control which should not be in next version * Remove GOCACHE before dh_install. So it is executed when build with nocheck as well . golang-1.16 (1.16.3-2) unstable; urgency=medium . * Team upload. * Also build package in indep target (Closes: #987126) As the -src package moved to arch all, * Build with empty GO386 env on i386 for now. It's no possible to build go1.16 with go1.15 with either GO386=softfloat or GO386=387. We can rebuild go1.16 with go1.16 and GO386=softfloat later. . golang-1.16 (1.16.3-1) unstable; urgency=medium . * Team upload. * New upstream version 1.16.3 Fix CVE-2021-27918 CVE-2021-27919 * Move golang-X.Y-src to arch all. The package doesn't contain arch specific source now. * Update golang-X.Y-doc package description. Most contents are removed by upstream in 1.16, which is moved to x/website repository. And the godoc binary is also shipped in golang-golang-x-tools now. So no longer recommend users to read doc with godoc. These html files can also be read in plain browsers. * Replace dpkg-parsechangelog with dpkg pkg-info.mk * Try to enable tests on armel and ppc64. No comments say why it doesn't work * Remove nocheck detection as debhelper respects it since compat 13 * Remove override_dh_missing as fail-missing is default in compat 13 . golang-1.16 (1.16.2-0ubuntu1) hirsute; urgency=medium . * New upstream version. . golang-1.16 (1.16.1-0ubuntu1) hirsute; urgency=medium . * New upstream version. . golang-1.16 (1.16-1) unstable; urgency=medium . * New upstream version 1.16 * debian/control{.in,}: Change Section from devel to golang * Add myself to Uploaders . golang-1.16 (1.16-0ubuntu1) hirsute; urgency=medium . * New upstream version. * d/patches/0001-cmd-link-check-CGO_CFLAGS-for-non-g-I-O-options-befo.patch: disable internal linking when dynamically linking and CGO_CFLAGS contains flags that might make host object files that the internal linkers ELF reader does not support. This fixes lots of package builds when LTO is enabled by default via dpkg-buildflags. . golang-1.16 (1.16~rc1-1) unstable; urgency=medium . * Team upload. * New upstream major version. - Drop 0004-cmd-dist-fix-build-failure-of-misc-cgo-test-on-arm64.patch which was replaced by https://go-review.googlesource.com/c/go/+/262357/ and cherry-picked as b3f7f60 for go1.16 upstream - Refresh remaining patches * Update Standards-Version to 4.5.1, no changes needed . golang-1.15 (1.15.8-1) unstable; urgency=medium . * Team upload. * New upstream version 1.15.8 * Skip userns tests in schroot. When schroot is using overlayfs, it fails to detect it as chroot. . golang-1.15 (1.15.7-1) unstable; urgency=medium . * Team upload. * New upstream version 1.15.7 + crypto/elliptic: incorrect operations on the P-224 curve CVE-2021-3114 . golang-1.15 (1.15.6-1) unstable; urgency=medium . * Team upload. . [ Balint Reczey ] * cmd/dist: increase default timeout scale for arm (LP: #1893640) . [ Shengjing Zhu ] * New upstream version 1.15.6 * Drop CGO_LDFLAGS patch, fixed in go1.15.6 . golang-1.15 (1.15.5-2) unstable; urgency=medium . * Team upload. * Backport patch to fix usability regression in go1.15.5 cmd/go: allow flags in CGO_LDFLAGS environment variable not in security allowlist golang/go#42567 . golang-1.15 (1.15.5-1) unstable; urgency=medium . * New upstream version 1.15.5. . golang-1.15 (1.15.4-1) unstable; urgency=medium . * New upstream version 1.15.4. . golang-1.15 (1.15.2-1) unstable; urgency=medium . * New upstream version 1.15.2. . golang-1.15 (1.15-2) unstable; urgency=medium . * Team upload. * Backport fix for arm64 cgo test https://go-review.googlesource.com/c/go/+/237858 . golang-1.15 (1.15-1) unstable; urgency=medium . * New upstream version 1.15 . golang-1.15 (1.15~rc2-1) unstable; urgency=medium . * New upstream version 1.15~rc2 - encoding/binary: ReadUvarint and ReadVarint can read an unlimited number of bytes from invalid inputs. CVE-2020-16845 . golang-1.15 (1.15~rc1-1) unstable; urgency=medium . [ Shengjing Zhu ] * Backport patches to fix the FPU ABI problems for mips32 https://go-review.googlesource.com/c/go/+/237058/ . [ Dr. Tobias Quathamer ] * New upstream version 1.15~rc1 - Refresh patches - net/http: Expect 100-continue panics in httputil.ReverseProxy. See golang/go#34902, fixes CVE-2020-15586 . golang-1.15 (1.15~beta1-2) unstable; urgency=medium . * Source-only upload. . golang-1.15 (1.15~beta1-1) unstable; urgency=medium . * New upstream major version. - Drop patch to fix FTBFS on $HOME managed with git, has been applied upstream. - Refresh remaining patches . golang-1.14 (1.14.4-1) unstable; urgency=medium . * New upstream version 1.14.4 - Refresh patches . golang-1.14 (1.14.3-2) unstable; urgency=medium . * Increase the test timeout that made some builds succeed there on slow hardware (such as emulated riscv64). Thanks to Gianfranco Costamagna (Closes: #960759) . golang-1.14 (1.14.3-1) unstable; urgency=medium . * New upstream version 1.14.3 * Use debhelper v13 . golang-1.14 (1.14.2-1) unstable; urgency=medium . * New upstream version 1.14.2 . golang-1.14 (1.14.1-1) unstable; urgency=medium . * New upstream version 1.14.1 - Add new patch to fix FTBFS on $HOME managed with git. Thanks to Guillem Jover <gjover@sipwise.com> (Closes: #953276) . golang-1.14 (1.14-2) unstable; urgency=medium . * Fix FTBFS if built twice in a row. Some paths of autogenerated files have been changed upstream, so that the removal of those files after the build did no longer succeed. Thanks to Guillem Jover (Closes: #953277) * Update Standards-Version to 4.5.0, no changes needed . golang-1.14 (1.14-1) unstable; urgency=medium . * New upstream version 1.14 . golang-1.14 (1.14~rc1-1) unstable; urgency=medium . * New upstream version 1.14~rc1 - Fixes CVE-2020-7919 * Add Breaks: dh-golang (<< 1.43~) to golang-go. Thanks to Pirate Praveen <praveen@onenetbeyond.org> * Update upstream's signing key * Add support for riscv64. Thanks to Aurelien Jarno <aurel32@debian.org> (Closes: #950517) . golang-1.14 (1.14~beta1-2) unstable; urgency=medium . * Source-only upload. * Add two more lintian overrides for testdata . golang-1.14 (1.14~beta1-1) unstable; urgency=medium . * New upstream major version. . golang-1.13 (1.13.5-1) unstable; urgency=medium . * New upstream version 1.13.5 . golang-1.13 (1.13.4-1) unstable; urgency=medium . * New upstream version 1.13.4 - Refresh patches . golang-1.13 (1.13.3-1) unstable; urgency=medium . * New upstream version 1.13.3 - Refresh patch - crypto/dsa: invalid public key causes panic in dsa.Verify. Fixes CVE-2019-17596. Closes: #942628 * Update Standards-Version to 4.4.1, no changes needed . golang-1.13 (1.13.1-1) unstable; urgency=medium . * New upstream version 1.13.1 - net/textproto: don't normalize headers with spaces before the colon. Fixes CVE-2019-16276. See golang/go#34541 and Debian bug #941173 . golang-1.13 (1.13-1) unstable; urgency=medium . * New upstream version 1.13 - Refresh patch * Set pristine-tar for gbp to False . golang-1.13 (1.13~rc2-1) unstable; urgency=medium . * New upstream version 1.13~rc2 - Remove patch for CVE-2019-9512 and CVE-2019-9514, has been applied upstream . golang-1.13 (1.13~rc1-2) unstable; urgency=medium . * Exclude testdata from dh_makeshlibs. Otherwise, the build fails at least on armel and armhf. * Apply changes from cme fix dpkg * Set Rules-Requires-Root: no . golang-1.13 (1.13~rc1-1) unstable; urgency=medium . * New upstream version 1.13~rc1 - Remove patch for CVE-2019-14809, has been applied upstream * Use dh_missing instead of deprecated dh_install --fail-missing * Do not run dh_dwz, there is no debugging information * Use debhelper-compat (= 12) . golang-1.13 (1.13~beta1-3) unstable; urgency=high . * Fix Denial of Service vulnerabilities in the HTTP/2 implementation. golang/go#33631 CVE-2019-9512, CVE-2019-9514. Closes: #934955 * Fix multiple Parsing Issues in URL.Parse golang/go#29098 CVE-2019-14809. Closes: #934954 . golang-1.13 (1.13~beta1-2) unstable; urgency=medium . * Set GOCACHE to fix a FTBFS. (See bug #933958) . golang-1.13 (1.13~beta1-1) unstable; urgency=medium . * New upstream major version. - Remove Reproducible-BUILD_PATH_PREFIX_MAP.patch. This patch is finally no longer needed with Go 1.13. Upstream has implemented a new flag "-trimpath" for the command "go build" which either strips the path or replaces it in the resulting binaries. References: golang/go#16860 https://go-review.googlesource.com/c/go/+/173345/ https://go-review.googlesource.com/c/go/+/173344/ - Remove arm64-arm64asm-recognise-new-ssbb-pssbb-mnemonics-fr.patch. This patch has been cherry-picked from upstream and is now included. - Refresh remaining patches - Fix lintian warning: make scripts executable * Switch to debhelper-compat, but stay at v11 for now . golang-1.12 (1.12.7-1) unstable; urgency=medium . * New upstream version 1.12.7 - Refresh patches * Update Standards-Version to 4.4.0, no changes needed . golang-1.12 (1.12.5-1) unstable; urgency=medium . * New upstream version 1.12.5 . golang-1.12 (1.12.4-1) unstable; urgency=medium . [ Anthony Fok ] * Add /usr/lib/go-X.Y/{api,misc} symlinks. For example, programs such as https://github.com/vugu/vugu and documentation such as https://github.com/golang/go/wiki/WebAssembly expect to find wasm_exec.js at "$(go env GOROOT)/misc/wasm/wasm_exec.js". . [ Dr. Tobias Quathamer ] * New upstream version 1.12.4 * Add five lintian overrides for false positives . golang-1.12 (1.12.1-1) unstable; urgency=medium . * New upstream version 1.12.1 * Use upstream signing key for tarball verification . golang-1.12 (1.12-1) unstable; urgency=medium . * New upstream version 1.12 - Remove patch 0005-Fix-CVE-2019-6486, applied upstream . golang-1.12 (1.12~beta2-2) unstable; urgency=medium . * Refresh patch Reproducible BUILD_PATH_PREFIX_MAP. Thanks to Michael Stapelberg! * Add patch to fix CVE-2019-6486. (Closes: #920548) . golang-1.12 (1.12~beta2-1) unstable; urgency=medium . * New upstream version 1.12~beta2 - Remove two patches, applied upstream. Refresh remaining patch. . golang-1.12 (1.12~beta1-4) unstable; urgency=medium . * Switch watch file to version 4 * Update d/copyright . golang-1.12 (1.12~beta1-3) unstable; urgency=medium . [ Anthony Fok ] * Add patch "unix: fix Fstatat by using fillStat_t on linux/mips64x" This fixes the "Fstatat: returned stat does not match Stat/Lstat" errors detected by TestFstatat. See https://go-review.googlesource.com/c/sys/+/155747 . [ Dr. Tobias Quathamer ] * Add another lintian override . golang-1.12 (1.12~beta1-2) unstable; urgency=medium . [ Anthony Fok ] * Add patch "cmd/compile: fix MIPS SGTconst-with-shift rules" by Cherry Zhang. This fixes the root problem behind the "slice bounds out of range" build error seen in 1.11.4 on mips and mipsel architectures. See https://go-review.googlesource.com/c/go/+/155798 * Bump Standards-Version to 4.3.0 (no change) . [ Dr. Tobias Quathamer ] * Do not compress favicon.ico. Thanks to Dato Simó <dato@debian.org> (Closes: #917132) . golang-1.12 (1.12~beta1-1) unstable; urgency=medium . * New upstream major version. - Refresh patches - Add new patch to disable test for UserHomeDir * Switch team address to tracker.d.o * Add another lintian override for a false positive . golang-1.11 (1.11.4-1) unstable; urgency=medium . * New upstream version 1.11.4 * Make lintian override agnostic of golang version . golang-1.11 (1.11.3-1) unstable; urgency=medium . * New upstream version 1.11.3 - Refresh patches * Update gbp.conf to new style syntax * Suggest brz as alternative to bzr; it provides the same command-line API. * Add myself to Uploaders . golang-1.11 (1.11.2-2) unstable; urgency=medium . * d/patches/arm64-arm64asm-recognise-new-ssbb-pssbb-mnemonics-fr.patch: backport workaround for objdump's support of newer mnemonics on arm64. . golang-1.11 (1.11.2-1) unstable; urgency=medium . * Team upload. . [ Michael Hudson-Doyle ] * New upstream major version. * Update debhelper compat level to 11. * Remove GOCACHE files after running tests. * Stop dh_strip_nondeterminism from looking at testdata directories. . [ Dr. Tobias Quathamer ] * Build-Depend on debhelper v11 * Override two false positive Lintian errors (missing depends on sensible-utils) * Add Lintian overrides for testdata * Include /usr/share/dpkg/architecture.mk for DEB_HOST_ARCH * Refresh patch for new upstream version * Fix Lintian warnings about wrong interpreter path * Make two scripts executable which have been missed by upstream * Remove three unneeded lintian overrides * Use HTTPS URL for d/watch * Update to Standards-Version 4.2.1 - Use HTTPS for d/copyright * Update d/copyright . golang-1.10 (1.10.3-1) unstable; urgency=medium . * New upstream version 1.10.3 * Restore changelog entry for 1.10.1-3, and fix that for 1.10.2-1, oops. . golang-1.10 (1.10.2-1) unstable; urgency=medium . * New upstream version 1.10.2. - d/patches/0003-Backport_nopie_fix.patch: removed, now included upstream. - d/patches/0004-Backport_mips_octeon3_fp_fix.patch: removed, also included upstream. . golang-1.10 (1.10.1-3) unstable; urgency=high . * Team upload. . [ Michael Hudson-Doyle ] * Install the 'misc' and 'api' directories as part of the golang-1.10-src package as some tools (vgo, go tool trace) expect them to be there. (Closes: 894992¸ LP: #1743598) . [ Martín Ferrari ] * Backport fix for FP bug in mips/Octeon III. Closes: #892088. Raising severity. . golang-1.10 (1.10.1-2) unstable; urgency=medium . * Team upload. * Backport patch that fixes FTBFS in arm64. * debian/copyright: Update attribution. * debian/source: Update lintian-overrides. . golang-1.10 (1.10.1-1) unstable; urgency=medium . * New upstream version 1.10.1. * d/patches/0002-reproducible-BUILD_PATH_PREFIX_MAP.patch: update patch tags to reference upstream discussion of this topic. * d/control, d/control.in: Update Vcs-* to point to salsa. . golang-1.10 (1.10-1) unstable; urgency=medium . * New upstream version 1.10 . golang-1.10 (1.10~rc2-1) unstable; urgency=medium . * New upstream version, fixing CVE-2018-6574. * d/patches/0001-os-signal-skip-TestTerminalSignal-if-posix_openpt-fa.patch, d/patches/0003-cmd-vendor-github.com-google-pprof-cherry-pick-fix-t.patch, d/patches/0004-cmd-link-internal-loadelf-fix-logic-for-computing-EL.patch: removed, now included upstream. . golang-1.10 (1.10~rc1-2) unstable; urgency=medium . * d/patches/0004-cmd-link-internal-loadelf-fix-logic-for-computing-EL.patch: Backport from upstream to fix build issues on armhf (causes ftbfs on Ubuntu but not Debian for some reason, but could produce broken binaries on Debian too). . golang-1.10 (1.10~rc1-1) unstable; urgency=medium . * New upstream version 1.10~rc1. * d/patches/0004-cmd-dist-use-buildmode-pie-for-pie-testing.patch, d/patches/0006-misc-cgo-testcarchive-use-no-pie-where-needed.patch, d/patches/0003-Do-not-use-SP-as-index-reg.patch: removed, included upstream. * d/patches/0002-reproducible-BUILD_PATH_PREFIX_MAP.patch: refreshed. * d/patches/0001-os-signal-skip-TestTerminalSignal-if-posix_openpt-fa.patch: Add to fix test failure in chroot. * d/patches/0003-cmd-vendor-github.com-google-pprof-cherry-pick-fix-t.patch: Add to fix test failure when $HOME is not writable. * d/rules: Set GOCACHE to "off" during build to avoid shipping cache files. . golang-1.9 (1.9.2-4) unstable; urgency=medium . * Enable building on mips, mipsel and mips64. (Closes: 879764) . golang-1.9 (1.9.2-3) unstable; urgency=medium . * Remove workaround for now fixed debhelper bug #879762 * Backport three patches from upstream to fix ftbfs on ppc64el with new kernel. . golang-1.9 (1.9.2-2) unstable; urgency=medium . [ Martín Ferrari ] * Add debian/patches/0003-Do-not-use-SP-as-index-reg.patch (Closes: #877541) . golang-1.9 (1.9.2-1) unstable; urgency=medium . * New upstream version 1.9.2 * Work around debhelper bug #879762 . golang-1.9 (1.9.1-2) unstable; urgency=medium . * Update debian/copyright (Closes: #873740) . golang-1.9 (1.9.1-1) unstable; urgency=medium . * New upstream release. * Use my @debian.org address in Uploaders. . golang-1.9 (1.9-1) unstable; urgency=medium . [ Michael Hudson-Doyle ] * New upstream release. * Suppress some new lintian errors in golang-1.9-src. . [ Michael Stapelberg ] * Add debian/patches/0002-reproducible-BUILD_PATH_PREFIX_MAP.patch . golang-1.8 (1.8.3-1) unstable; urgency=medium . * New upstream release. (Closes: 863292, 863307) . golang-1.8 (1.8.1-1) unstable; urgency=medium . * New upstream release. . golang-1.8 (1.8-1) unstable; urgency=medium . * New upstream release. . golang-1.8 (1.8~rc3-1) unstable; urgency=medium . * New upstream release. . golang-1.8 (1.8~rc2-1) unstable; urgency=medium . * New upstream release. . golang-1.8 (1.8~rc1-1) unstable; urgency=medium . * New upstream release. . golang-1.8 (1.8~beta2-1) unstable; urgency=medium . * New upstream release. . golang-1.8 (1.8~beta1-1) unstable; urgency=medium . * New upstream release. * Remove d/patches/cl-29995--tzdata-2016g.patch, included upstream. . golang-1.7 (1.7.4-1) unstable; urgency=medium . * Update to 1.7.4 upstream release (Closes: #846545) - https://groups.google.com/d/topic/golang-announce/2lP5z9i9ySY/discussion - https://golang.org/issue/17965 (potential DoS vector in net/http) - golang/go@go1.7.3...go1.7.4 . golang-1.7 (1.7.3-1) unstable; urgency=medium . * New upstream release. * Delete d/patches/cl-28850.patch, applied upstream. . golang-1.7 (1.7.1-3) unstable; urgency=medium . * Backport CL 29995 for tzdata 2016g changes (Closes: #839317) . golang-1.7 (1.7.1-2) unstable; urgency=medium . * Add upstream patch for s390x FTBFS . golang-1.7 (1.7.1-1) unstable; urgency=medium . * New upstream release. * Re-enable tests on s390x now that gcc-6 has been fixed in unstable. . golang-1.7 (1.7-3) unstable; urgency=medium . * Add "s390x" to Architectures . golang-1.7 (1.7-2) unstable; urgency=medium . * Disable tests on armel. . golang-1.7 (1.7-1) unstable; urgency=medium . * New upstream release. . golang-1.7 (1.7~rc4-1) unstable; urgency=medium . * New upstream release. . golang-1.7 (1.7~rc3-1) unstable; urgency=medium . [ Tianon Gravi ] * Remove outdated README files (README.source and README.Debian) . [ Michael Hudson-Doyle ] * New upstream release. * Suppress inaccurate source-is-missing lintian warnings. * Update Standards-Version to 3.9.8 (no changes required). . golang-1.7 (1.7~rc2-1) unstable; urgency=medium . * Update to 1.7rc2 upstream release. . golang-1.7 (1.7~rc1-1) unstable; urgency=medium . [ Paul Tagliamonte ] * Use a secure transport for the Vcs-Git and Vcs-Browser URL . [ Tianon Gravi ] * Update to 1.7rc1 upstream release (new packages, not used by default; see also src:golang-defaults) * Update Vcs-Git to reference a particular branch . golang-1.6 (1.6.2-2) unstable; urgency=medium . * Update "golang-any" in "Build-Depends" to fallback to "golang-go | gccgo" (will help with backporting) . golang-1.6 (1.6.2-1) unstable; urgency=medium . * Update to 1.6.2 upstream release (Closes: #825696) * Build-Depend on golang-any instead of golang-go (Closes: #824421) . golang-1.6 (1.6.1-1) unstable; urgency=medium . * Build golang version-specific packages (Closes: #818415) * Things that (conceptually at least) move to new golang version independent golang-defaults source package: - Man pages. - Suggesting golang-golang-x-tools. - Breaks/Replace-ing of old golang-go-$GOOS-$GOARCH packages. * Stop using alternatives to manage /usr/bin/go. * sed trickery in debian/rules to support easy changes to new golang versions. . golang (2:1.6.1-2) unstable; urgency=medium . * Don't strip testdata files, causes build failures on some platforms. . golang (2:1.6.1-1) unstable; urgency=medium . [ Michael Hudson-Doyle ] * Breaks/Replaces: older golang-golang-x-tools, not Conflicts, to ensure smooth upgrades. * Strip the binaries as it has worked for the last five years or so and upstream sees no reason to disable it. . [ Tianon Gravi ] * Update to 1.6.1 upstream release (Closes: #820369) - Fix CVE-2016-3959: infinite loop in several big integer routines . golang (2:1.6-1) unstable; urgency=medium . * Update to 1.6 upstream release (thanks Hilko!) - change "ar" arguments to quiet spurious warnings while using gccgo (Closes: #807138) - skip multicast listen test (Closes: #814849) - skip userns tests when chrooted (Closes: #807303) - use correct ELF header for armhf binaries (Closes: #734357) - Update debian/rules clean for new location of generated file. . [ Michael Hudson-Doyle ] * Respect "nocheck" in DEB_BUILD_OPTIONS while building to skip tests (Closes: #807290) * Trim Build-Depends (Closes: #807299) * Fix several minor debian/copyright issues (Closes: #807304) * Remove inconsistently included race-built packages (Closes: #807294) . [ Tianon Gravi ] * Add "-k" to "run.bash" invocation so that we do a full test run every time . golang (2:1.5.3-1) unstable; urgency=high . * Update to 1.5.3 upstream release - Fix CVE-2015-8618: Carry propagation in Int.Exp Montgomery code in math/big library (Closes: #809168) * Add "Breaks" to properly complement our "Replaces" (Closes: #810595) . golang (2:1.5.2-1) unstable; urgency=medium . * Update to 1.5.2 upstream release (Closes: #807136) . golang (2:1.5.1-4) unstable; urgency=medium . * Add Conflicts to force newer golang-go.tools too (Closes: #803559) . golang (2:1.5.1-3) unstable; urgency=medium . * Remove architecture qualification on golang-go Build-Depend now that golang-go is available for more architectures. . golang (2:1.5.1-2) unstable; urgency=medium . * Add Conflicts to force newer golang-golang-x-tools (Closes: #802945). . golang (2:1.5.1-1) unstable; urgency=medium . * Upload to unstable. * Update to 1.5.1 upstream release (see notes from experimental uploads for what's changed). * Skip tests on architectures where the tests fail. . golang (2:1.4.3-3) unstable; urgency=medium . * Fix FTBFS for non-amd64 architectures due to handling of "-race". . golang (2:1.5.1-1~exp2) experimental; urgency=medium . * Upload to experimental. * Add arch-qualifiers to "golang-go" build-depends to unblock the buildds (Closes: #800479); thanks Tim! . golang (2:1.4.3-2) unstable; urgency=medium . * Update Recommends/Suggests, especially to add gcc, etc. * Refactor "debian/rules" to utilize debhelper more effectively, especially for arch vs indep building (mostly backported from the 1.5+ changes), which fixes the "arch:all" FTBFS. . golang (2:1.5.1-1~exp1) experimental; urgency=low . * Upload to experimental. * Update to 1.5.1 upstream release (Closes: #796150). - Compiler and runtime written entirely in Go. - Concurrent garbage collector. - GOMAXPROCS=runtime.NumCPU() by default. - "internal" packages for all, not just core. - Experimental "vendoring" support. - Cross-compilation no longer requires a complete rebuild of the stdlib in GOROOT, and thus the golang-go-GOHOST-GOARCH packages are removed. * Sync debian/copyright with the Ubuntu delta. (thanks doko!) * Remove patches that no longer apply. * Add more supported arches to "debian/rules" code for detecting appropriate GOARCH/GOHOSTARCH values; thanks mwhudson and tpot! (Closes: #799907) * Refactor "debian/rules" to utilize debhelper more effectively, especially for arch vs indep building. * Move "dpkg-architecture" to "GOOS"/"GOARCH" code into a simple shell script for easier maintenance. . golang (2:1.4.3-1) unstable; urgency=medium . * New upstream version (https://golang.org/doc/devel/release.html#go1.4.minor) - includes previous CVE and non-CVE security fixes, especially TEMP-0000000-1C4729 . golang (2:1.4.2-4) unstable; urgency=high . * Apply backported CVE fixes (Closes: #795106). - CVE-2015-5739: Invalid headers are parsed as valid headers - CVE-2015-5740: RFC 7230 3.3.3 4 violation - CVE-2015-5741: other discoveries of security-relevant RFC 7230 violations . golang (2:1.4.2-3) unstable; urgency=medium . * Add missing "prerm" for our new alternatives (thanks piuparts). . golang (2:1.4.2-2) unstable; urgency=medium . * Move "go" and "gofmt" into "/usr/lib/go" and use alternatives to provide appropriate symlinks (Closes: #779503, #782301). * Relax "golang-go.tools" relationship to Suggests (from Recommends). * Add "go get" VCS options to Suggests for golang-go (bzr, git, mercurial, subversion). . golang (2:1.4.2-1) unstable; urgency=medium . * New upstream version (https://golang.org/doc/devel/release.html#go1.4.minor) . golang (2:1.4.1-1~exp1) experimental; urgency=low . * New upstream version (https://golang.org/doc/go1.4) - all editor support files have been removed from misc/ upstream upstream, so golang-mode, kate-syntax-go, and vim-syntax-go can no longer be provided; see https://github.com/golang/go/wiki/IDEsAndTextEditorPlugins for an upstream-maintained list of potential replacements . golang (2:1.3.3-1) unstable; urgency=medium . * New upstream version (https://code.google.com/p/go/source/list?name=go1.3.3) - time: removed from tests now obsolete assumption about Australian tz abbreviations - net: temporarily skip TestAcceptIgnoreSomeErrors - runtime: hide cgocallback_gofunc calling cgocallbackg from linker - runtime: fix GOTRACEBACK reading on Windows, Plan 9 - nacltest.bash: unset GOROOT - cmd/5l, cmd/6l, cmd/8l: fix nacl binary corruption bug * Add Paul and myself as uploaders. Many, many thanks to Michael for his work so far on this package (and hopefully more to come). . golang (2:1.3.2-1) unstable; urgency=medium . * New upstream version . golang (2:1.3.1-1) unstable; urgency=medium . * New upstream version . golang (2:1.3-4) unstable; urgency=medium . [ Tianon Gravi ] * update debian/watch for upstream's latest move (Closes: #756415) * backport archive/tar patch to fix PAX headers (Closes: #756416) . golang (2:1.3-3) unstable; urgency=medium . * don’t depend on emacs23, depend on emacs instead (Closes: #754013) * install include/ in golang-src, VERSION in golang-go (Closes: #693186) . golang (2:1.3-2) unstable; urgency=medium . * Add /usr/lib/go/test symlink * Build with GO386=387 to favor the 387 floating point unit over sse2 instructions (Closes: #753160) * Add debian/patches/0001-backport-delete-whole-line.patch to fix a deprecation warning about flet in the emacs part of golang-mode (Closes: #753607) * Migrate to emacsen >2 (Closes: #753607) * Backport two patches to improve archive/tar performance (for docker): debian/patches/0002-archive-tar-reuse-temporary-buffer-in-writeHeader.patch debian/patches/0003-archive-tar-reuse-temporary-buffer-in-readHeader.patch . golang (2:1.3-1) unstable; urgency=medium . * New upstream version. * Drop patches merged upstream: - debian/patches/add-tar-xattr-support.patch - debian/patches/add-tar-xattr-support.patch * Fix debian/watch (Thanks Tianon) (Closes: #748290) * Remove dangling symlink /usr/lib/go/lib/godoc (Closes: #747968) . golang (2:1.2.1-2) unstable; urgency=low . * Re-apply debian/patches/add-tar-xattr-support.patch which got lost when uploading 1.2.1-1; sorry about that. . golang (2:1.2.1-1) unstable; urgency=low . * New upstream release. . golang (2:1.2-3) unstable; urgency=low . * add debian/patches/add-tar-xattr-support.patch to have xattr support in tar (cherry-picked from upstream) (Thanks proppy) (Closes: #739586) . golang (2:1.2-2) unstable; urgency=low . * add patches/add-src-pkg-debug-elf-testdata-hello.patch to provide source for the testdata/ ELF binaries (Closes: #716853) . golang (2:1.2-1) unstable; urgency=low . * New upstream release. * drop patches/archive-tar-fix-links-and-pax.patch, it is merged upstream * godoc(1) is now in the Debian package golang-go.tools, it was moved into a separate repository by upstream. * move patches/godoc-symlinks.diff to golang-go.tools . golang (2:1.1.2-3) unstable; urgency=low . * cherry-pick upstream commit: archive-tar-fix-links-and-pax.patch (Closes: #730566) . golang (2:1.1.2-2) unstable; urgency=low . * Build golang-go-linux-* for each architecture (Thanks James Page) (Closes: #719611) * Update lintian-overrides to override statically-linked-binary and unstripped-binary-or-object for all of golang-go . golang (2:1.1.2-1) unstable; urgency=low . * New upstream release. * Relicense debian/ under the Go license to match upstream. All copyright holders agreed to this. (Closes: #716907) * golang-mode: don’t install for a number of emacs versions which are not supported upstream (Thanks Kevin Ryde) (Closes: #702511, #717521) . golang (2:1.1.1-4) unstable; urgency=low . * Disable stripping, it breaks go binaries on some architectures. This drops the golang-dbg package which would be empty now. (Thanks Robie Basak) (Closes: #717172) . golang (2:1.1.1-3) unstable; urgency=low . * Ship */runtime/cgo.a in golang-go to ensure it is present. It can only be used on the native architecture anyway (cannot be used when cross-compiling), so having it in golang-go-$GOOS-$GOARCH is not necessary. Even worse, since these packages are arch: all, they will be built precisely once, and only the runtime/cgo.a for the buildd’s native arch will be present. (Closes: #715025) . golang (2:1.1.1-2) unstable; urgency=low . [ James Page ] * Ensure smooth upgrade path from << 2:1.1-2 (Closes: #714838) . golang (2:1.1.1-1) unstable; urgency=low . * Imported Upstream version 1.1.1 . golang (2:1.1-2) unstable; urgency=low . [ Ondřej Surý ] * Promote Michael to Maintainer . [ Michael Stapelberg ] * Build golang-go-$GOOS-$GOARCH packages for cross-compiling (Closes: #710090) * Build race detector on linux/amd64 (only supported arch) (Closes: #710691) * Switch compression to xz (50% smaller binaries) . golang (2:1.1-1) unstable; urgency=low . * New upstream release: Go 1.1! * Remove the long obsolete goinstall debconf question and config file. goinstall does not exist anymore since a long time. This also obsoletes the need for any translations (Closes: #685923, #692478) * Emacs go-mode auto-mode-alist entry was fixed upstream (Closes: #670371) . golang (2:1.1~hg20130405-1) experimental; urgency=low . * Provide a new hg tip snapshot. This includes what was recently released as Go 1.1 beta. . golang (2:1.1~hg20130323-1) experimental; urgency=low . * Provide a new hg tip snapshot. * Add debian/watch (Closes: #699698) . golang (2:1.1~hg20130304-2) experimental; urgency=low . * Fix FTBFS of binary-arch only builds (as performed by buildds) caused by 'rm' not finding jquery.js in golang-doc (Thanks Peter Green) . golang (2:1.1~hg20130304-1) experimental; urgency=low . * Provide a hg tip snapshot (2013-03-04) in Debian experimental. Current hg tip is a good approximation to Go 1.1 and should get some testing within Debian in order to package Go 1.1 well when it is released. Thanks to Andrew Gerrand. . golang (2:1.0.2-2) unstable; urgency=low . * Add myself to uploaders, as discussed in #683421. * cherry-pick r820ffde8c396 (net/http: non-keepalive connections close successfully) (Closes: #683421) . golang (2:1.0.2-1.1) unstable; urgency=low . * Non-maintainer upload. (as discussed with Ondřej in #679692) * Fix godoc-symlinks.diff (godoc didn’t find docs) (Closes: #679692) . golang (2:1.0.2-1) unstable; urgency=low . [ Ondřej Surý ] * Imported Upstream version 1.0.2 * Update Vcs fields to reflect new git repository location * Kill get-orig-source, since 1.0.0, the tarballs can be downloaded from webpage . [ Michael Stapelberg ] * golang-mode: use debian-pkg-add-load-path-item (Closes: #664802) * add manpages (Closes: #632964) * Use updated pt.po from Pedro Ribeiro (Closes: #674958) . golang (2:1.0.1-1) unstable; urgency=low . * Imported Upstream version 1.0.1 * Apply godoc patch to display package list correctly (Closes: #669354) . golang (2:1-6) unstable; urgency=low . * Merge upstream patch to fix homedir issue (http://code.google.com/p/go/source/detail?r=709120aecee0) * Disable GNU/KFreeBSD build (Closes: #668794) . golang (2:1-5) unstable; urgency=low . * Rewrite test conditions to make them more readable (and fix the debian/rules to really not check on armel+kfreebsd) * Patch upstream test to not fail on missing home directory . golang (2:1-4) unstable; urgency=low . * Disable tests on Debian GNU/KFreeBSD, they just hang now (Closes: #668794) * Disable tests on armel, but the invalid instruction needs fixing in upstream * Create fake home directory to pass the os/user test . golang (2:1-3) unstable; urgency=high . * Use VERSION provided by upstream for packaging purposes * Run tests as a part of a build process * Install full src tree (except pkg/debug) because go command depend on sources available * Install sources without testdata and *_test.go * Remove circular dependency golang-go->golang-doc->golang-go * Make sure that timestamp on installed binaries and libraries is same because go build/install recompiles everything if the go binary has more recent timestamp than libraries (Closes: #668235) + Need to update timestamps at postinst time because already created directories can have time in the past * Fix couple of lintian errors and warnings . golang (2:1-2) unstable; urgency=low . * Remove preserving of old -tools settings, there are too many options now anyway (Closes: #666007) . golang (2:1-1) unstable; urgency=low . * New major upstream release Go 1 (Closes: #666942) * Bumb epoch to 2, since 1 < 60 < 2011 (I wonder if next version will be 0 :) * Debconf templates and debian/control reviewed by the debian-l10n- english team as part of the Smith review project. (Closes: #663181) * [Debconf translation updates] + Pick existing translations from golang-weekly and do appropriate sed magic to fit golang templates. (Closes: #666884, #666880, #666881) + Dutch; (Jeroen Schot). (Closes: #664598) + Czech (Michal Simunek). (Closes: #665385) + Spanish; (Camaleón). (Closes: #666177) + Danish (Joe Hansen). (Closes: #666526) . golang (1:60.3-2) unstable; urgency=low . * debconf-gettextize package templates . golang (1:60.3-1) unstable; urgency=low . * Imported Upstream version 60.3 . golang (1:60.2-1) unstable; urgency=low . * Imported Upstream version 60.2 . golang (1:60.1-1) unstable; urgency=low . * Imported Upstream version 60.1 . golang (1:60-1) unstable; urgency=low . * Imported Upstream version 60 * Save upstream VERSION to the archive * Use GOVERSION as generated by src/version.bash on hg archive time * Add support for goinstall dashboard debconf question in the Debian packaging * Read goinstall dashboard option from debian configuration file * Remove 005-goinstall_dont_call_home_by_default.patch; replaced by configuration option * Fix directory name for upstream archive checkout . golang (1:59-1) unstable; urgency=low . * Imported Upstream version 59 * Refresh patches to a new release * Fix FTBFS on ARM (Closes: #634270) * Update version.bash to work with Debian packaging and not hg repository . golang (1:58.1-2) unstable; urgency=low . * Install golang-doc package by default (Recommends from golang-tools, Depends from golang) . golang (1:58.1-1) unstable; urgency=low . * Imported Upstream version 58.1 . golang (1:58-1) unstable; urgency=low . * Imported Upstream version 58 + Add NEWS file with upstream API changes * Remove patch to not update standard package, fixed in upstream . golang (1:57.2-1) unstable; urgency=low . * Imported Upstream version 57.2 * More spelling fixes (Closes: #630660) . golang (1:57.1-4) unstable; urgency=low . * Description update to have proper articles and capitalization (Closes: #630189) * Add extended description about Go being experimental and that the languager can change between releases . golang (1:57.1-3) unstable; urgency=low . * Fix "the Google's Go implementation" in extended description (Closes: #627814) * Update Vcs-* links * Install vim ftplugin files into correct directory (Closes: #629844) . golang (1:57.1-2) unstable; urgency=low . * Bump standards version to 3.9.2 * Capitalize Kate (Closes: #627036) * Import slightly modified patch to be more clear about $GOPATH installs for non-root users * Remove don't install deps patch from goinstall; deprecated by $GOPATH installs . golang (1:57.1-1) unstable; urgency=low . * Add support for dot-minor releases * Imported Upstream version 57.1 . golang (1:57-3) unstable; urgency=low . [ Florian Weimer ] * golang-tools: install gofix binary . [ Ondřej Surý ] * Add lintian-overrides for gofix binary . golang (1:57-2) unstable; urgency=low . * Remove weekly code from debian/rules * Add golang meta-package * Don't create tool chain symlinks twice * Make debian/rules more generic for simpler sync between weekly and release branches . golang (1:57-1) unstable; urgency=low . * Imported Upstream version r57 * Bumped epoch version to 1, to convert from date based versions to release number based version * Allow release to migrate to testing (Closes: #624408) * Add kate and vim syntax highlighting (Closes: #624544) * Add -dbg package with debugging symbols . golang (2011.04.27-2) unstable; urgency=low . * Fix yet another build failure on kfreebsd (use linux userspace) . golang (2011.04.27-1) unstable; urgency=low . * Imported Upstream version 2011.04.27 * Update debian/rules to allow pulling weekly upstream releases * Don't remove RUNPATH from binaries; fixed upstream (golang#1527) * Set GOHOSTOS and GOHOSTARCH to match dpkg-architecture variables * Add support for kfreebsd-i386, kfreebsd-amd64, armel and armhf architectures + 006-fix_kfreebsd_build.patch: - Add GNU/KFreeBSD support by replacing all uname calls by $(GOOS) + 007-use_native_dynamic_linker_on_kfreebsd.patch: - Use native kfreebsd dynamic linker (/lib/ld-*.so.1) * Add information about available architectures (Closes: #623877) * Don't strip gotest * Add Depends: golang-go to golang-tools * Add better support for armhf . golang (2011.04.13-1) unstable; urgency=low . [ Florian Weimer ] * Delete bin directory in clean target * Enable parallel build * golang-src: install source files directly * Use proper symlink targets for architecture-independent toolchain names * Emacs mode: indent keys in struct literals properly . [ Ondřej Surý ] * Imported Upstream weekly version 2011.04.13 * Update patches to new weekly release * Add lintian-override for gotest binary . golang (2011.03.07.1-1) unstable; urgency=low . * Imported Upstream version 2011.03.07.1 * Install to /usr/lib/go * Remove xkcd strip to get rid of CC-NC-BY * Update golang-src.install to new upstream * Remove 002-use_GOROOT_FINAL_in_generated_binaries.patch; merged upstream * Make all .go files no-executable * Update lintian-overrides to include both types of syntax . golang (2011.02.15-2) unstable; urgency=low . [ Ondřej Surý ] * Add ${misc:Depends} to golang-mode to shutup lintian * Rehaul build system and add golang-src package with .go source files * goinstall: do not automatically install prerequisities * goinstall: don't report to dashboard by default * Add a README.Debian about local modifications to goinstall * Add warning about local modifications also directly to goinstall command . [ Florian Weimer ] * Fix syntax error in 004- dont_reinstall_dependencies_in_goinstall.patch . golang (2011.02.15-1) unstable; urgency=low . [ Obey Arthur Liu ] * Added pkg-google git repo to control file . [ Florian Weimer ] * Build golang-mode package . [ Ondřej Surý ] * Imported Upstream version 2011.02.15 * Don't compress godoc documentation * Correctly use $GOROOT_FINAL in the build chain * Remove RPATH/RUNPATH from go binaries . golang (2011.02.01.1-1) unstable; urgency=low . [ Ivan Wong ] * Initial release (Closes: #574371) . [ Jonathan Nieder ] * Fill out copyright file * Rewrite debian/rules using dh driver * debian: fix get-orig-source rule * debian: do not install extra files on repeated build * debian: fix reversed ‘if’ * debian: do not leave around stale debian/env.sh+ file * debian: Build-Depends on awk instead of gawk * debian: add run-time dependency on perl * debian: add build-time dependency on perl * debian: fix setting of GOARM on arm * debian: do not compress files in web page * debian: install favicon . [ Ondřej Surý ] * Make myself a maintainer * Add patch to allow IPv4 on IPv6 sockets (Courtesy of Florian Weimer) * Use GOROOT_FINAL and change GOBIN to /usr/bin * Get rid of env.sh and wrappers * Add support for building in i386 pbuilder on amd64 architecture * Rename source package to golang to match upstream repository name * Add golang-doc package * Split package into compiler, docs and tools * Don't install quietgcc and hgpatch * Don't generate fake gomake * Update golang-doc package * Export GOHOSTARCH and GOHOSTOS * Disable build time checks * Fail on missed installed files * Revert s{tmp{golang-go{ change in DESTDIR * Relicence debian/ files from versionless GPL to GPL-3 * Move golang-doc to doc section * Add more lintian overrides for Go binaries * Install all 6,8,5 variants of commands * Install golang-* symlinks for 6,8,5* commands * Don't strip govet as well * Remove ${shlibs:Depends} where it doesn't belong * Move more html files to golang-doc package * Remove codereview directory - some python code to deal with mercurial
1 parent 8090543 commit 7aeee77

30 files changed

+3413
-0
lines changed
 

‎debian/changelog

+1,675
Large diffs are not rendered by default.

‎debian/control

+106
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
#
2+
# WARNING: "debian/control" is generated via "debian/rules gencontrol" (sourced from "debian/control.in")
3+
#
4+
5+
Source: golang-1.17
6+
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
7+
XSBC-Original-Maintainer: Go Compiler Team <team+go-compiler@tracker.debian.org>
8+
Uploaders: Michael Stapelberg <stapelberg@debian.org>,
9+
Paul Tagliamonte <paultag@debian.org>,
10+
Tianon Gravi <tianon@debian.org>,
11+
Michael Hudson-Doyle <mwhudson@debian.org>,
12+
Dr. Tobias Quathamer <toddy@debian.org>,
13+
Anthony Fok <foka@debian.org>
14+
Section: golang
15+
Priority: optional
16+
Build-Depends: debhelper-compat (= 13),
17+
golang-any (>= 2:1.4~) | golang-go (>= 2:1.4~) | gccgo (>= 4:5~),
18+
netbase
19+
Standards-Version: 4.5.1
20+
Vcs-Browser: https://salsa.debian.org/go-team/compiler/golang/tree/golang-1.17
21+
Vcs-Git: https://salsa.debian.org/go-team/compiler/golang.git -b golang-1.17
22+
Homepage: https://golang.org
23+
Rules-Requires-Root: no
24+
25+
Package: golang-1.17-go
26+
Architecture: amd64 arm64 armel armhf i386 mips mips64el mipsel ppc64 ppc64el riscv64 s390x
27+
Depends: golang-1.17-src (>= ${source:Version}),
28+
${misc:Depends},
29+
${perl:Depends},
30+
${shlibs:Depends}
31+
Recommends: g++, gcc, libc6-dev, pkg-config
32+
Breaks: dh-golang (<< 1.43~)
33+
Suggests: bzr | brz, ca-certificates, git, mercurial, subversion
34+
Description: Go programming language compiler, linker, compiled stdlib
35+
The Go programming language is an open source project to make programmers more
36+
productive. Go is expressive, concise, clean, and efficient. Its concurrency
37+
mechanisms make it easy to write programs that get the most out of multicore
38+
and networked machines, while its novel type system enables flexible and
39+
modular program construction. Go compiles quickly to machine code yet has the
40+
convenience of garbage collection and the power of run-time reflection. It's a
41+
fast, statically typed, compiled language that feels like a dynamically typed,
42+
interpreted language.
43+
.
44+
This package provides an assembler, compiler, linker, and compiled libraries
45+
for the Go programming language.
46+
.
47+
To use this version, instead of the default one provided by golang-go package,
48+
add /usr/lib/go-1.17/bin/ to PATH, or invoke /usr/lib/go-1.17/bin/go directly.
49+
50+
Package: golang-1.17-src
51+
Architecture: all
52+
Depends: ${misc:Depends}, ${shlibs:Depends}
53+
Description: Go programming language - source files
54+
The Go programming language is an open source project to make programmers more
55+
productive. Go is expressive, concise, clean, and efficient. Its concurrency
56+
mechanisms make it easy to write programs that get the most out of multicore
57+
and networked machines, while its novel type system enables flexible and
58+
modular program construction. Go compiles quickly to machine code yet has the
59+
convenience of garbage collection and the power of run-time reflection. It's a
60+
fast, statically typed, compiled language that feels like a dynamically typed,
61+
interpreted language.
62+
.
63+
This package provides the Go programming language source files needed for
64+
compilation.
65+
66+
Package: golang-1.17-doc
67+
Depends: ${misc:Depends}
68+
Architecture: all
69+
Section: doc
70+
Description: Go programming language - documentation
71+
The Go programming language is an open source project to make
72+
programmers more productive. Go is expressive, concise, clean, and
73+
efficient. Its concurrency mechanisms make it easy to write programs
74+
that get the most out of multicore and networked machines, while its
75+
novel type system enables flexible and modular program construction.
76+
Go compiles quickly to machine code yet has the convenience of
77+
garbage collection and the power of run-time reflection. It's a fast,
78+
statically typed, compiled language that feels like a dynamically
79+
typed, interpreted language.
80+
.
81+
This package provides the documentation for the Go programming
82+
language.
83+
84+
Package: golang-1.17
85+
Depends: golang-1.17-doc (>= ${source:Version}),
86+
golang-1.17-go (>= ${source:Version}),
87+
golang-1.17-src (>= ${source:Version}),
88+
${misc:Depends}
89+
Architecture: all
90+
Description: Go programming language compiler - metapackage
91+
The Go programming language is an open source project to make
92+
programmers more productive. Go is expressive, concise, clean, and
93+
efficient. Its concurrency mechanisms make it easy to write programs
94+
that get the most out of multicore and networked machines, while its
95+
novel type system enables flexible and modular program construction.
96+
Go compiles quickly to machine code yet has the convenience of
97+
garbage collection and the power of run-time reflection. It's a
98+
fast, statically typed, compiled language that feels like a
99+
dynamically typed, interpreted language.
100+
.
101+
This package is a metapackage that, when installed, guarantees
102+
that (most of) a full Go development environment is installed.
103+
.
104+
To use this version, instead of the default one provided by golang-go
105+
package, add /usr/lib/go-1.17/bin/ to PATH, or invoke /usr/lib/go-1.17/bin/go
106+
directly.

‎debian/control.in

+102
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
Source: golang-X.Y
2+
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
3+
XSBC-Original-Maintainer: Go Compiler Team <team+go-compiler@tracker.debian.org>
4+
Uploaders: Michael Stapelberg <stapelberg@debian.org>,
5+
Paul Tagliamonte <paultag@debian.org>,
6+
Tianon Gravi <tianon@debian.org>,
7+
Michael Hudson-Doyle <mwhudson@debian.org>,
8+
Dr. Tobias Quathamer <toddy@debian.org>,
9+
Anthony Fok <foka@debian.org>
10+
Section: golang
11+
Priority: optional
12+
Build-Depends: debhelper-compat (= 13),
13+
golang-any (>= 2:1.4~) | golang-go (>= 2:1.4~) | gccgo (>= 4:5~),
14+
netbase
15+
Standards-Version: 4.5.1
16+
Vcs-Browser: https://salsa.debian.org/go-team/compiler/golang/tree/golang-X.Y
17+
Vcs-Git: https://salsa.debian.org/go-team/compiler/golang.git -b golang-X.Y
18+
Homepage: https://golang.org
19+
Rules-Requires-Root: no
20+
21+
Package: golang-X.Y-go
22+
Architecture: amd64 arm64 armel armhf i386 mips mips64el mipsel ppc64 ppc64el riscv64 s390x
23+
Depends: golang-X.Y-src (>= ${source:Version}),
24+
${misc:Depends},
25+
${perl:Depends},
26+
${shlibs:Depends}
27+
Recommends: g++, gcc, libc6-dev, pkg-config
28+
Breaks: dh-golang (<< 1.43~)
29+
Suggests: bzr | brz, ca-certificates, git, mercurial, subversion
30+
Description: Go programming language compiler, linker, compiled stdlib
31+
The Go programming language is an open source project to make programmers more
32+
productive. Go is expressive, concise, clean, and efficient. Its concurrency
33+
mechanisms make it easy to write programs that get the most out of multicore
34+
and networked machines, while its novel type system enables flexible and
35+
modular program construction. Go compiles quickly to machine code yet has the
36+
convenience of garbage collection and the power of run-time reflection. It's a
37+
fast, statically typed, compiled language that feels like a dynamically typed,
38+
interpreted language.
39+
.
40+
This package provides an assembler, compiler, linker, and compiled libraries
41+
for the Go programming language.
42+
.
43+
To use this version, instead of the default one provided by golang-go package,
44+
add /usr/lib/go-X.Y/bin/ to PATH, or invoke /usr/lib/go-X.Y/bin/go directly.
45+
46+
Package: golang-X.Y-src
47+
Architecture: all
48+
Depends: ${misc:Depends}, ${shlibs:Depends}
49+
Description: Go programming language - source files
50+
The Go programming language is an open source project to make programmers more
51+
productive. Go is expressive, concise, clean, and efficient. Its concurrency
52+
mechanisms make it easy to write programs that get the most out of multicore
53+
and networked machines, while its novel type system enables flexible and
54+
modular program construction. Go compiles quickly to machine code yet has the
55+
convenience of garbage collection and the power of run-time reflection. It's a
56+
fast, statically typed, compiled language that feels like a dynamically typed,
57+
interpreted language.
58+
.
59+
This package provides the Go programming language source files needed for
60+
compilation.
61+
62+
Package: golang-X.Y-doc
63+
Depends: ${misc:Depends}
64+
Architecture: all
65+
Section: doc
66+
Description: Go programming language - documentation
67+
The Go programming language is an open source project to make
68+
programmers more productive. Go is expressive, concise, clean, and
69+
efficient. Its concurrency mechanisms make it easy to write programs
70+
that get the most out of multicore and networked machines, while its
71+
novel type system enables flexible and modular program construction.
72+
Go compiles quickly to machine code yet has the convenience of
73+
garbage collection and the power of run-time reflection. It's a fast,
74+
statically typed, compiled language that feels like a dynamically
75+
typed, interpreted language.
76+
.
77+
This package provides the documentation for the Go programming
78+
language.
79+
80+
Package: golang-X.Y
81+
Depends: golang-X.Y-doc (>= ${source:Version}),
82+
golang-X.Y-go (>= ${source:Version}),
83+
golang-X.Y-src (>= ${source:Version}),
84+
${misc:Depends}
85+
Architecture: all
86+
Description: Go programming language compiler - metapackage
87+
The Go programming language is an open source project to make
88+
programmers more productive. Go is expressive, concise, clean, and
89+
efficient. Its concurrency mechanisms make it easy to write programs
90+
that get the most out of multicore and networked machines, while its
91+
novel type system enables flexible and modular program construction.
92+
Go compiles quickly to machine code yet has the convenience of
93+
garbage collection and the power of run-time reflection. It's a
94+
fast, statically typed, compiled language that feels like a
95+
dynamically typed, interpreted language.
96+
.
97+
This package is a metapackage that, when installed, guarantees
98+
that (most of) a full Go development environment is installed.
99+
.
100+
To use this version, instead of the default one provided by golang-go
101+
package, add /usr/lib/go-X.Y/bin/ to PATH, or invoke /usr/lib/go-X.Y/bin/go
102+
directly.

‎debian/copyright

+723
Large diffs are not rendered by default.

‎debian/docs

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
AUTHORS
2+
CONTRIBUTORS
3+
README.md

‎debian/gbp.conf

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#
2+
# WARNING: "debian/gbp.conf" is generated via "debian/rules gencontrol" (sourced from "debian/gbp.conf.in")
3+
#
4+
5+
[DEFAULT]
6+
debian-branch = ubuntu-1.17
7+
debian-tag = debian/%(version)s
8+
upstream-branch = upstream-1.17
9+
upstream-tag = upstream/%(version)s
10+
pristine-tar = False
11+
12+
[dch]
13+
meta = 1

‎debian/gbp.conf.in

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[DEFAULT]
2+
debian-branch = ubuntu-X.Y
3+
debian-tag = debian/%(version)s
4+
upstream-branch = upstream-X.Y
5+
upstream-tag = upstream/%(version)s
6+
pristine-tar = False
7+
8+
[dch]
9+
meta = 1

‎debian/golang-X.Y-doc.dirs

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
usr/share/doc/golang-X.Y-doc/html

‎debian/golang-X.Y-doc.install

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
doc/* /usr/share/doc/golang-X.Y-doc/html/

‎debian/golang-X.Y-doc.links

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
usr/share/doc/golang-X.Y-doc/html /usr/lib/go-X.Y/doc

‎debian/golang-X.Y-go.dirs

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
usr/lib/go-X.Y

‎debian/golang-X.Y-go.install

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
VERSION /usr/lib/go-X.Y/
2+
bin/go /usr/lib/go-X.Y/bin/
3+
bin/gofmt /usr/lib/go-X.Y/bin/
4+
pkg/*_* /usr/lib/go-X.Y/pkg/
5+
pkg/include /usr/share/go-X.Y/pkg/
6+
pkg/tool /usr/lib/go-X.Y/pkg/
7+
src/cmd/cgo/zdefaultcc.go /usr/share/go-X.Y/src/cmd/cgo/
8+
src/cmd/go/internal/cfg/zdefaultcc.go /usr/share/go-X.Y/src/cmd/go/internal/cfg/
9+
src/cmd/go/internal/cfg/zosarch.go /usr/share/go-X.Y/src/cmd/go/internal/cfg/
10+
src/cmd/internal/objabi/zbootstrap.go /usr/share/go-X.Y/src/cmd/internal/objabi/
11+
src/go/build/zcgo.go /usr/share/go-X.Y/src/go/build/
12+
src/runtime/internal/sys/zversion.go /usr/share/go-X.Y/src/runtime/internal/sys/

‎debian/golang-X.Y-go.links

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
usr/share/go-X.Y/api /usr/lib/go-X.Y/api
2+
usr/share/go-X.Y/misc /usr/lib/go-X.Y/misc
3+
usr/share/go-X.Y/pkg/include /usr/lib/go-X.Y/pkg/include
4+
usr/share/go-X.Y/src /usr/lib/go-X.Y/src
5+
usr/share/go-X.Y/test /usr/lib/go-X.Y/test
+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Go always links statically.
2+
golang-X.Y-go: statically-linked-binary

‎debian/golang-X.Y-src.install

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
api /usr/share/go-X.Y/
2+
misc /usr/share/go-X.Y/
3+
src /usr/share/go-X.Y/
4+
test /usr/share/go-X.Y/
+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# golang-X.Y-src ships ELF object files and binaries as testdata for the
2+
# debug/dwarf, debug/elf and runtime/pprof packages.
3+
golang-X.Y-src: arch-dependent-file-in-usr-share
4+
golang-X.Y-src: unstripped-binary-or-object
5+
golang-X.Y-src: statically-linked-binary
6+
7+
golang-X.Y-src: repeated-path-segment
8+
golang-X.Y-src: package-contains-documentation-outside-usr-share-doc
9+
golang-X.Y-src: arch-independent-package-contains-binary-or-object usr/share/go-X.Y/src/runtime/race/race_*.syso
10+
golang-X.Y-src: script-not-executable usr/share/go-X.Y/src/cmd/vendor/golang.org/x/sys/windows/mkknownfolderids.bash
11+
12+
# These files are only testdata
13+
golang-X.Y-src: arch-independent-package-contains-binary-or-object usr/share/go-X.Y/src/debug/dwarf/testdata/*
14+
golang-X.Y-src: arch-independent-package-contains-binary-or-object usr/share/go-X.Y/src/debug/elf/testdata/*
15+
golang-X.Y-src: arch-independent-package-contains-binary-or-object usr/share/go-X.Y/src/go/internal/gccgoimporter/testdata/*
16+
golang-X.Y-src: arch-independent-package-contains-binary-or-object usr/share/go-X.Y/src/go/internal/gcimporter/testdata/*
17+
golang-X.Y-src: arch-independent-package-contains-binary-or-object usr/share/go-X.Y/src/runtime/pprof/testdata/*
18+
golang-X.Y-src: binary-with-bad-dynamic-table usr/share/go-X.Y/src/debug/elf/testdata/*
19+
golang-X.Y-src: broken-bz2 usr/share/go-X.Y/src/compress/bzip2/testdata/*.bz2
20+
golang-X.Y-src: national-encoding usr/share/go-X.Y/src/fmt/fmt_test.go
21+
golang-X.Y-src: portable-executable-missing-security-features usr/share/go-X.Y/src/debug/dwarf/testdata/*
22+
golang-X.Y-src: portable-executable-missing-security-features usr/share/go-X.Y/src/debug/pe/testdata/*
23+
golang-X.Y-src: shared-library-lacks-prerequisites usr/share/go-X.Y/src/debug/elf/testdata/*
24+
golang-X.Y-src: undeclared-elf-prerequisites usr/share/go-X.Y/src/debug/dwarf/testdata/*
25+
golang-X.Y-src: undeclared-elf-prerequisites usr/share/go-X.Y/src/debug/elf/testdata/*
26+
golang-X.Y-src: unstripped-static-library usr/share/go-X.Y/src/go/internal/gccgoimporter/testdata/*

‎debian/helpers/goenv.sh

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
#!/bin/sh
2+
set -e
3+
4+
__goos__deb_arch_os() {
5+
case "$1" in
6+
kfreebsd) echo freebsd ;;
7+
linux) echo "$1" ;;
8+
*) echo >&2 "error: unrecongized DEB_*_ARCH_OS: $1"; exit 1 ;;
9+
esac
10+
}
11+
12+
__goarch__deb_arch_cpu() {
13+
case "$1" in
14+
amd64|arm|arm64|mips|ppc64|riscv64|s390x) echo "$1" ;;
15+
i386) echo 386 ;;
16+
mips64el) echo mips64le ;;
17+
mipsel) echo mipsle ;;
18+
ppc64el) echo ppc64le ;;
19+
*) echo >&2 "error: unrecongized DEB_*_ARCH_CPU: $1"; exit 1 ;;
20+
esac
21+
}
22+
23+
# build machine
24+
# The machine the package is built on.
25+
#
26+
# host machine
27+
# The machine the package is built for.
28+
29+
export GOHOSTOS="$(__goos__deb_arch_os "$(dpkg-architecture -qDEB_BUILD_ARCH_OS 2>/dev/null)")"
30+
export GOOS="$(__goos__deb_arch_os "$(dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null)")"
31+
32+
export GOHOSTARCH="$(__goarch__deb_arch_cpu "$(dpkg-architecture -qDEB_BUILD_ARCH_CPU 2>/dev/null)")"
33+
export GOARCH="$(__goarch__deb_arch_cpu "$(dpkg-architecture -qDEB_HOST_ARCH_CPU 2>/dev/null)")"
34+
35+
if [ -z "$GOHOSTOS" -o -z "$GOOS" -o -z "$GOHOSTARCH" -o -z "$GOARCH" ]; then
36+
exit 1
37+
fi
38+
39+
export GOVERSION_BOOTSTRAP=$("$GOROOT_BOOTSTRAP/bin/go" version|grep -oP '[0-9]+\.[0-9]+')
40+
41+
# Always not use sse2. This is important to ensure that the binaries we build
42+
# (both when compiling golang on the buildds and when users cross-compile for
43+
# 386) can actually run on older CPUs (where old means e.g. an AMD Athlon XP
44+
# 2400+). See http://bugs.debian.org/753160 and
45+
# https://code.google.com/p/go/issues/detail?id=8152
46+
47+
# Staring from go1.16, GO386=387 is not supported, only GO386=softfloat.
48+
unset GO386
49+
if dpkg --compare-versions "$GOVERSION_BOOTSTRAP" ge "1.16"; then
50+
# Only go1.16 recognizes GO386=softfloat. Using GO386=387 to build go1.16
51+
# also fails.
52+
# https://github.com/golang/go/issues/44500
53+
# Need to build with GO386="" first, then rebuild go1.16+ with go1.16 and
54+
# GO386=softfloat
55+
export GO386=softfloat
56+
fi
57+
58+
unset GOARM
59+
if [ "$GOARCH" = 'arm' ]; then
60+
# start with GOARM=5 for maximum compatibility (see note about GO386 above)
61+
GOARM=5
62+
case "$(dpkg-architecture -qDEB_HOST_ARCH 2>/dev/null)" in
63+
armhf) GOARM=6 ;;
64+
esac
65+
fi
66+
export GOARM
67+
68+
eval "$@"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
From: "Dr. Tobias Quathamer" <toddy@debian.org>
2+
Date: Wed, 19 Dec 2018 14:25:06 +0100
3+
Subject: Disable test for UserHomeDir.
4+
5+
On Debian buildds, the user home dir does not exist, so this test fails.
6+
---
7+
src/os/os_test.go | 2 ++
8+
1 file changed, 2 insertions(+)
9+
10+
--- a/src/os/os_test.go
11+
+++ b/src/os/os_test.go
12+
@@ -2540,6 +2540,8 @@
13+
if err != nil {
14+
t.Skipf("UserHomeDir failed: %v", err)
15+
}
16+
+ // On Debian buildds, the user home dir does not exist.
17+
+ t.Skip("UserHomeDir does not exist on Debian buildds.")
18+
fi, err := Stat(dir)
19+
if err != nil {
20+
t.Fatal(err)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
From 9842b1f35452eaf8b2ca7252905bc6501a956202 Mon Sep 17 00:00:00 2001
2+
From: Michael Hudson-Doyle <michael.hudson@canonical.com>
3+
Date: Wed, 6 Jan 2021 12:18:24 +1300
4+
Subject: [PATCH] cmd/link: check CGO_CFLAGS for non -g/-I/-O options before
5+
internal linking
6+
7+
On Ubuntu we are investigating enabling link-time optimization by
8+
default, which means the default CFLAGS will contain arguments that
9+
cause gcc to generate object files cmd/link/internal/loadelf cannot
10+
process. Rather than failing in this situation, scan CGO_CFLAGS in
11+
mustLinkExternal and do not link internally if there is a flag that does
12+
not start with -g, -I, or -O.
13+
14+
CFLAGS can also be injected via #cgo CFLAGS: directives but as use of
15+
any non-standard library cgo modules disables internal linking anyway,
16+
we don't have to worry about that here.
17+
18+
Fixes #43505
19+
20+
Change-Id: Ib083f6daf22617e2e5df67e95d3bc178942328cd
21+
---
22+
src/cmd/link/internal/ld/config.go | 28 ++++++++++++++++++++++++++++
23+
1 file changed, 28 insertions(+)
24+
25+
--- a/src/cmd/link/internal/ld/config.go
26+
+++ b/src/cmd/link/internal/ld/config.go
27+
@@ -8,6 +8,8 @@
28+
"cmd/internal/sys"
29+
"fmt"
30+
"internal/buildcfg"
31+
+ "os"
32+
+ "strings"
33+
)
34+
35+
// A BuildMode indicates the sort of object we are building.
36+
@@ -248,6 +250,29 @@
37+
return false, ""
38+
}
39+
40+
+// Some arguments in CGO_CFLAGS can cause the host compiler to
41+
+// generate object files that loadelf cannot handle but arguments
42+
+// starting with any of these values are OK.
43+
+var internalOKCflagPrefixes = []string{
44+
+ "-O",
45+
+ "-g",
46+
+ "-I",
47+
+}
48+
+
49+
+func cflagsOKForInternalLinking() bool {
50+
+outer:
51+
+ for _, flag := range strings.Fields(os.Getenv("CGO_CFLAGS")) {
52+
+ for _, okPrefix := range internalOKCflagPrefixes {
53+
+ if strings.HasPrefix(flag, okPrefix) {
54+
+ continue outer
55+
+ }
56+
+ }
57+
+ return false
58+
+ }
59+
+
60+
+ return true
61+
+}
62+
+
63+
// determineLinkMode sets ctxt.LinkMode.
64+
//
65+
// It is called after flags are processed and inputs are processed,
66+
@@ -272,6 +297,9 @@
67+
default:
68+
if extNeeded || (iscgo && externalobj) {
69+
ctxt.LinkMode = LinkExternal
70+
+ } else if iscgo && !cflagsOKForInternalLinking() {
71+
+ ctxt.LinkMode = LinkExternal
72+
+ extReason = "CGO_CFLAGS contains flag that may inhibit internal linking"
73+
} else {
74+
ctxt.LinkMode = LinkInternal
75+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
From: "Dr. Tobias Quathamer" <toddy@debian.org>
2+
Date: Thu, 1 Aug 2019 13:50:48 +0200
3+
Subject: Fix Lintian warnings about wrong interpreter path
4+
5+
The command used for this change is as follows:
6+
7+
grep -rH "/usr/bin/env perl" * | cut -d: -f1 | xargs -n1 sed -i -e "s,/usr/bin/env perl,/usr/bin/perl,"
8+
---
9+
src/syscall/mksyscall.pl | 2 +-
10+
src/syscall/mksyscall_libc.pl | 2 +-
11+
src/syscall/mksysctl_openbsd.pl | 2 +-
12+
src/syscall/mksysnum_darwin.pl | 2 +-
13+
src/syscall/mksysnum_dragonfly.pl | 2 +-
14+
src/syscall/mksysnum_freebsd.pl | 2 +-
15+
src/syscall/mksysnum_linux.pl | 2 +-
16+
src/syscall/mksysnum_netbsd.pl | 2 +-
17+
src/syscall/mksysnum_openbsd.pl | 2 +-
18+
9 files changed, 9 insertions(+), 9 deletions(-)
19+
20+
--- a/src/syscall/mksyscall.pl
21+
+++ b/src/syscall/mksyscall.pl
22+
@@ -1,4 +1,4 @@
23+
-#!/usr/bin/env perl
24+
+#!/usr/bin/perl
25+
# Copyright 2009 The Go Authors. All rights reserved.
26+
# Use of this source code is governed by a BSD-style
27+
# license that can be found in the LICENSE file.
28+
--- a/src/syscall/mksyscall_libc.pl
29+
+++ b/src/syscall/mksyscall_libc.pl
30+
@@ -1,4 +1,4 @@
31+
-#!/usr/bin/env perl
32+
+#!/usr/bin/perl
33+
# Copyright 2009 The Go Authors. All rights reserved.
34+
# Use of this source code is governed by a BSD-style
35+
# license that can be found in the LICENSE file.
36+
--- a/src/syscall/mksysctl_openbsd.pl
37+
+++ b/src/syscall/mksysctl_openbsd.pl
38+
@@ -1,4 +1,4 @@
39+
-#!/usr/bin/env perl
40+
+#!/usr/bin/perl
41+
42+
# Copyright 2011 The Go Authors. All rights reserved.
43+
# Use of this source code is governed by a BSD-style
44+
--- a/src/syscall/mksysnum_dragonfly.pl
45+
+++ b/src/syscall/mksysnum_dragonfly.pl
46+
@@ -1,4 +1,4 @@
47+
-#!/usr/bin/env perl
48+
+#!/usr/bin/perl
49+
# Copyright 2009 The Go Authors. All rights reserved.
50+
# Use of this source code is governed by a BSD-style
51+
# license that can be found in the LICENSE file.
52+
--- a/src/syscall/mksysnum_freebsd.pl
53+
+++ b/src/syscall/mksysnum_freebsd.pl
54+
@@ -1,4 +1,4 @@
55+
-#!/usr/bin/env perl
56+
+#!/usr/bin/perl
57+
# Copyright 2009 The Go Authors. All rights reserved.
58+
# Use of this source code is governed by a BSD-style
59+
# license that can be found in the LICENSE file.
60+
--- a/src/syscall/mksysnum_linux.pl
61+
+++ b/src/syscall/mksysnum_linux.pl
62+
@@ -1,4 +1,4 @@
63+
-#!/usr/bin/env perl
64+
+#!/usr/bin/perl
65+
# Copyright 2009 The Go Authors. All rights reserved.
66+
# Use of this source code is governed by a BSD-style
67+
# license that can be found in the LICENSE file.
68+
--- a/src/syscall/mksysnum_netbsd.pl
69+
+++ b/src/syscall/mksysnum_netbsd.pl
70+
@@ -1,4 +1,4 @@
71+
-#!/usr/bin/env perl
72+
+#!/usr/bin/perl
73+
# Copyright 2009 The Go Authors. All rights reserved.
74+
# Use of this source code is governed by a BSD-style
75+
# license that can be found in the LICENSE file.
76+
--- a/src/syscall/mksysnum_openbsd.pl
77+
+++ b/src/syscall/mksysnum_openbsd.pl
78+
@@ -1,4 +1,4 @@
79+
-#!/usr/bin/env perl
80+
+#!/usr/bin/perl
81+
# Copyright 2009 The Go Authors. All rights reserved.
82+
# Use of this source code is governed by a BSD-style
83+
# license that can be found in the LICENSE file.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
From: Balint Reczey <balint.reczey@canonical.com>
2+
Date: Mon, 31 Aug 2020 13:14:51 +0200
3+
Subject: [PATCH] cmd/dist: increase default timeout scale for arm
4+
5+
Forwarded: https://github.com/golang/go/issues/43002
6+
7+
Most developers use (faster) amd64 machines setting the test timeouts,
8+
but test may run on slower arm ones and also different tests may suffer
9+
different relative slowdown on the arm CPUs.
10+
11+
Due to those two varying factors it is safer to allow a higher timeout
12+
scale on arm to avoid tests timing out.
13+
---
14+
src/cmd/dist/test.go | 2 +-
15+
1 file changed, 1 insertion(+), 1 deletion(-)
16+
17+
--- a/src/cmd/dist/test.go
18+
+++ b/src/cmd/dist/test.go
19+
@@ -165,7 +165,7 @@
20+
t.timeoutScale = 1
21+
switch goarch {
22+
case "arm":
23+
- t.timeoutScale = 2
24+
+ t.timeoutScale = 3
25+
case "mips", "mipsle", "mips64", "mips64le":
26+
t.timeoutScale = 4
27+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
From: Shengjing Zhu <zhsj@debian.org>
2+
Date: Fri, 5 Feb 2021 21:21:45 +0800
3+
Subject: skip userns test in schroot as well
4+
5+
When schroot is using overlayfs, it fails to detect it as chroot.
6+
7+
---
8+
src/syscall/exec_linux_test.go | 7 +++++++
9+
1 file changed, 7 insertions(+)
10+
11+
--- a/src/syscall/exec_linux_test.go
12+
+++ b/src/syscall/exec_linux_test.go
13+
@@ -33,6 +33,10 @@
14+
return os.Getenv("container") == "lxc"
15+
}
16+
17+
+func isSchroot() bool {
18+
+ return os.Getenv("SCHROOT_SESSION_ID") != ""
19+
+}
20+
+
21+
func skipInContainer(t *testing.T) {
22+
// TODO: the callers of this func are using this func to skip
23+
// tests when running as some sort of "fake root" that's uid 0
24+
@@ -48,6 +52,9 @@
25+
if isLXC() {
26+
t.Skip("skip this test in LXC container")
27+
}
28+
+ if isSchroot() {
29+
+ t.Skip("skip this test in Schroot container")
30+
+ }
31+
}
32+
33+
func skipNoUserNamespaces(t *testing.T) {

‎debian/patches/series

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
0001-Disable-test-for-UserHomeDir.patch
2+
0002-Fix-Lintian-warnings-about-wrong-interpreter-path.patch
3+
0005-cmd-dist-increase-default-timeout-scale-for-arm.patch
4+
0006-skip-userns-test-in-schroot-as-well.patch
5+
0001-cmd-link-check-CGO_CFLAGS-for-non-g-I-O-options-befo.patch

‎debian/rules

+136
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
#!/usr/bin/make -f
2+
# This file is in the public domain.
3+
# You may freely use, modify, distribute, and relicense it.
4+
5+
# We need DEB_HOST_ARCH, so include the needed makefile snippet
6+
include /usr/share/dpkg/architecture.mk
7+
# for DEB_VERSION_UPSTREAM
8+
include /usr/share/dpkg/pkg-info.mk
9+
10+
export GOVER := $(shell echo $(DEB_VERSION_UPSTREAM) | grep -oP '^([0-9]+\.[0-9]+)')
11+
12+
export GOROOT := $(CURDIR)
13+
export GOROOT_FINAL := /usr/lib/go-$(GOVER)
14+
15+
# Go 1.12 needs a build cache, otherwise the build fails.
16+
export GOCACHE := $(CURDIR)/pkg/go-build
17+
18+
# source files generated during building.
19+
# especially zbootstrap.go has different defaultGOARM values on armhf and armel,
20+
# since the value is set from debian/helpers/goenv.sh
21+
GENERATED_FILES := \
22+
src/cmd/cgo/zdefaultcc.go \
23+
src/cmd/go/internal/cfg/zdefaultcc.go \
24+
src/cmd/go/internal/cfg/zosarch.go \
25+
src/cmd/internal/objabi/zbootstrap.go \
26+
src/go/build/zcgo.go \
27+
src/runtime/internal/sys/zversion.go
28+
29+
%:
30+
+dh $@ $(opt_no_act)
31+
32+
gencontrol:
33+
for file in control gbp.conf source/lintian-overrides watch; do \
34+
{ \
35+
echo '#'; \
36+
echo '# WARNING: "debian/'$$file'" is generated via "debian/rules gencontrol" (sourced from "debian/'$$file'.in")'; \
37+
echo '#'; \
38+
echo; \
39+
sed -e 's/X.Y/$(GOVER)/g' debian/$$file.in; \
40+
} > debian/$$file; \
41+
done
42+
43+
# The signing key for the source tarballs is rotated yearly.
44+
update_upstream_signing_key:
45+
wget -O debian/upstream/signing-key.asc https://dl.google.com/dl/linux/linux_signing_key.pub
46+
47+
override_dh_auto_clean:
48+
# remove autogenerated files
49+
rm -f -v $(GENERATED_FILES)
50+
# remove built objects
51+
rm -rf bin pkg
52+
# remove generated files
53+
@set -e; cd debian; for x in golang-X.Y-*; do \
54+
rm -f -v golang-$(GOVER)-$${x##golang-X.Y-}; \
55+
done
56+
57+
execute_after_dh_prep:
58+
dh_prep
59+
@set -e; cd debian; for x in golang-X.Y-*; do \
60+
sed -e 's/X.Y/$(GOVER)/g' $$x > golang-$(GOVER)-$${x##golang-X.Y-}; \
61+
done
62+
63+
64+
override_dh_auto_test-arch:
65+
set -ex; \
66+
cd src; \
67+
export PATH="$(GOROOT)/bin:$$PATH"; \
68+
export GO_TEST_TIMEOUT_SCALE=10; \
69+
eval "$$(go tool dist env)"; \
70+
bash run.bash -k -no-rebuild;
71+
# -k keep going even when error occurred
72+
# -no-rebuild don't rebuild std and cmd packages
73+
74+
# On linux/amd64 run.bash installs some race enabled standard library
75+
# packages. Delete them again to avoid accidentally including them in
76+
# the package.
77+
set -ex; \
78+
export PATH="$(GOROOT)/bin:$$PATH"; \
79+
eval "$$(go tool dist env)"; \
80+
rm -rf "$(GOROOT)/pkg/$${GOOS}_$${GOARCH}_race/"
81+
82+
override_dh_compress-indep:
83+
dh_compress -Xusr/share/doc/golang-$(GOVER)-doc/html
84+
85+
execute_before_dh_install-arch:
86+
rm -rf $(GOCACHE)
87+
88+
execute_after_dh_install-indep:
89+
# Remove generated source files, they are installed in golang-$(GOVER)-go.
90+
cd debian/golang-$(GOVER)-src/usr/share/go-$(GOVER)/ && rm -v -f $(GENERATED_FILES)
91+
# Remove Plan9 rc(1) scripts
92+
find debian/golang-$(GOVER)-src/usr/share/go-$(GOVER)/src -type f -name '*.rc' -delete
93+
# Make scripts executable which have been missed by upstream
94+
chmod a+x debian/golang-$(GOVER)-src/usr/share/go-$(GOVER)/src/cmp.bash
95+
chmod a+x debian/golang-$(GOVER)-src/usr/share/go-$(GOVER)/src/cmd/vendor/golang.org/x/sys/unix/mkall.sh
96+
chmod a+x debian/golang-$(GOVER)-src/usr/share/go-$(GOVER)/src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh
97+
chmod a+x debian/golang-$(GOVER)-src/usr/share/go-$(GOVER)/src/cmd/vendor/golang.org/x/sys/windows/mkerrors.bash
98+
99+
override_dh_strip:
100+
dh_strip -Xtestdata
101+
102+
# Do not run dh_dwz, as there is no debug information currently.
103+
override_dh_dwz:
104+
105+
override_dh_strip_nondeterminism:
106+
dh_strip_nondeterminism -Xtestdata
107+
108+
override_dh_shlibdeps:
109+
dh_shlibdeps -Xtestdata -Xtest
110+
111+
override_dh_makeshlibs:
112+
dh_makeshlibs -Xtestdata -Xtest
113+
114+
override_dh_auto_build-arch:
115+
[ -f VERSION ] || echo "debian snapshot $(DEB_VERSION)" > VERSION
116+
117+
# on i386, need to rebuild with go1.16 for GO386=softfloat
118+
export GOROOT_BOOTSTRAP=$$(env -i go env GOROOT) \
119+
&& if [ "$(DEB_HOST_ARCH)" = "i386" ] && dpkg --compare-versions $$(GOROOT_BOOTSTRAP=/usr ./debian/helpers/goenv.sh echo '$$GOVERSION_BOOTSTRAP') lt "1.16"; then \
120+
mkdir -p $(CURDIR)/bootstrap \
121+
&& cp -Rp $(CURDIR)/src bootstrap/ \
122+
&& cp -Rp $(CURDIR)/VERSION bootstrap/ \
123+
&& cd $(CURDIR)/bootstrap/src \
124+
&& $(CURDIR)/debian/helpers/goenv.sh bash ./make.bash --no-banner \
125+
&& export GOROOT_BOOTSTRAP=$(CURDIR)/bootstrap; \
126+
fi \
127+
&& cd $(CURDIR)/src \
128+
&& $(CURDIR)/debian/helpers/goenv.sh bash ./make.bash --no-banner
129+
130+
# rm bootstrap dir
131+
rm -rf $(CURDIR)/bootstrap
132+
133+
opt_no_act :=
134+
ifneq (,$(findstring n,$(MAKEFLAGS)))
135+
opt_no_act := --no-act
136+
endif

‎debian/source/format

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0 (quilt)

‎debian/source/lintian-overrides

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
#
2+
# WARNING: "debian/source/lintian-overrides" is generated via "debian/rules gencontrol" (sourced from "debian/source/lintian-overrides.in")
3+
#
4+
5+
golang-1.17 source: source-contains-prebuilt-binary src/debug/dwarf/testdata/cycle.elf
6+
golang-1.17 source: source-contains-prebuilt-binary src/debug/dwarf/testdata/line-clang.elf
7+
golang-1.17 source: source-contains-prebuilt-binary src/debug/dwarf/testdata/line-gcc.elf
8+
golang-1.17 source: source-contains-prebuilt-binary src/debug/dwarf/testdata/ranges.elf
9+
golang-1.17 source: source-contains-prebuilt-binary src/debug/dwarf/testdata/split.elf
10+
golang-1.17 source: source-contains-prebuilt-binary src/debug/dwarf/testdata/typedef.elf
11+
golang-1.17 source: source-contains-prebuilt-binary src/debug/dwarf/testdata/typedef.elf4
12+
golang-1.17 source: source-contains-prebuilt-binary src/debug/elf/testdata/gcc-386-freebsd-exec
13+
golang-1.17 source: source-contains-prebuilt-binary src/debug/elf/testdata/gcc-amd64-linux-exec
14+
golang-1.17 source: source-contains-prebuilt-binary src/debug/elf/testdata/*.obj
15+
golang-1.17 source: source-contains-prebuilt-binary src/go/internal/gccgoimporter/testdata/escapeinfo.gox
16+
golang-1.17 source: source-contains-prebuilt-binary src/go/internal/gccgoimporter/testdata/time.gox
17+
golang-1.17 source: source-contains-prebuilt-binary src/go/internal/gccgoimporter/testdata/unicode.gox
18+
golang-1.17 source: source-contains-prebuilt-binary src/runtime/pprof/testdata/test32
19+
golang-1.17 source: source-contains-prebuilt-binary src/runtime/pprof/testdata/test32be
20+
golang-1.17 source: source-contains-prebuilt-binary src/runtime/pprof/testdata/test64
21+
golang-1.17 source: source-contains-prebuilt-binary src/runtime/pprof/testdata/test64be
22+
golang-1.17 source: source-contains-prebuilt-binary src/runtime/race/*.syso
23+
golang-1.17 source: source-contains-prebuilt-windows-binary src/debug/dwarf/testdata/line-gcc-win.bin
24+
golang-1.17 source: source-contains-prebuilt-windows-binary src/debug/pe/testdata/gcc-386-mingw-exec
25+
golang-1.17 source: source-contains-prebuilt-windows-binary src/debug/pe/testdata/gcc-386-mingw-no-symbols-exec
26+
golang-1.17 source: source-contains-prebuilt-windows-binary src/debug/pe/testdata/gcc-amd64-mingw-exec
27+
golang-1.17 source: source-contains-prebuilt-windows-binary src/debug/pe/testdata/vmlinuz-4.15.0-47-generic
28+
29+
golang-1.17 source: source-is-missing src/runtime/race/*.syso
30+
31+
# All these files are compiled from src/debug/elf/testdata/hello.c
32+
# with various toolchain and options to be used as test data for the
33+
# elf parser.
34+
golang-1.17 source: source-is-missing src/debug/elf/testdata/gcc-386-freebsd-exec
35+
golang-1.17 source: source-is-missing src/debug/elf/testdata/gcc-amd64-linux-exec
36+
golang-1.17 source: source-is-missing src/debug/elf/testdata/*.obj
37+
golang-1.17 source: source-is-missing src/debug/elf/testdata/go-relocation-test-gcc930-ranges-no-rela-x86-64
38+
golang-1.17 source: source-is-missing src/debug/elf/testdata/go-relocation-test-gcc930-ranges-with-rela-x86-64
39+
40+
# These files are compiled from src/debug/dwarf/testdata/line2.c with clang and gcc.
41+
golang-1.17 source: source-is-missing src/debug/dwarf/testdata/line-clang.elf
42+
golang-1.17 source: source-is-missing src/debug/dwarf/testdata/line-gcc.elf
43+
golang-1.17 source: source-is-missing src/debug/dwarf/testdata/line-gcc-dwarf5.elf
44+
golang-1.17 source: source-is-missing src/debug/dwarf/testdata/line-clang-dwarf5.elf
45+
46+
# Compiled from src/debug/dwarf/testdata/typedef.c with dwarf version 4.
47+
golang-1.17 source: source-is-missing src/debug/dwarf/testdata/typedef.elf4
48+
49+
golang-1.17 source: source-is-missing src/runtime/pprof/testdata/test*
50+
golang-1.17 source: source-is-missing src/go/internal/gccgoimporter/testdata/*.gox
51+
52+
# This is not a typo.
53+
golang-1.17 source: unknown-file-in-debian-source lintian-overrides.in

‎debian/source/lintian-overrides.in

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
golang-X.Y source: source-contains-prebuilt-binary src/debug/dwarf/testdata/cycle.elf
2+
golang-X.Y source: source-contains-prebuilt-binary src/debug/dwarf/testdata/line-clang.elf
3+
golang-X.Y source: source-contains-prebuilt-binary src/debug/dwarf/testdata/line-gcc.elf
4+
golang-X.Y source: source-contains-prebuilt-binary src/debug/dwarf/testdata/ranges.elf
5+
golang-X.Y source: source-contains-prebuilt-binary src/debug/dwarf/testdata/split.elf
6+
golang-X.Y source: source-contains-prebuilt-binary src/debug/dwarf/testdata/typedef.elf
7+
golang-X.Y source: source-contains-prebuilt-binary src/debug/dwarf/testdata/typedef.elf4
8+
golang-X.Y source: source-contains-prebuilt-binary src/debug/elf/testdata/gcc-386-freebsd-exec
9+
golang-X.Y source: source-contains-prebuilt-binary src/debug/elf/testdata/gcc-amd64-linux-exec
10+
golang-X.Y source: source-contains-prebuilt-binary src/debug/elf/testdata/*.obj
11+
golang-X.Y source: source-contains-prebuilt-binary src/go/internal/gccgoimporter/testdata/escapeinfo.gox
12+
golang-X.Y source: source-contains-prebuilt-binary src/go/internal/gccgoimporter/testdata/time.gox
13+
golang-X.Y source: source-contains-prebuilt-binary src/go/internal/gccgoimporter/testdata/unicode.gox
14+
golang-X.Y source: source-contains-prebuilt-binary src/runtime/pprof/testdata/test32
15+
golang-X.Y source: source-contains-prebuilt-binary src/runtime/pprof/testdata/test32be
16+
golang-X.Y source: source-contains-prebuilt-binary src/runtime/pprof/testdata/test64
17+
golang-X.Y source: source-contains-prebuilt-binary src/runtime/pprof/testdata/test64be
18+
golang-X.Y source: source-contains-prebuilt-binary src/runtime/race/*.syso
19+
golang-X.Y source: source-contains-prebuilt-windows-binary src/debug/dwarf/testdata/line-gcc-win.bin
20+
golang-X.Y source: source-contains-prebuilt-windows-binary src/debug/pe/testdata/gcc-386-mingw-exec
21+
golang-X.Y source: source-contains-prebuilt-windows-binary src/debug/pe/testdata/gcc-386-mingw-no-symbols-exec
22+
golang-X.Y source: source-contains-prebuilt-windows-binary src/debug/pe/testdata/gcc-amd64-mingw-exec
23+
golang-X.Y source: source-contains-prebuilt-windows-binary src/debug/pe/testdata/vmlinuz-4.15.0-47-generic
24+
25+
golang-X.Y source: source-is-missing src/runtime/race/*.syso
26+
27+
# All these files are compiled from src/debug/elf/testdata/hello.c
28+
# with various toolchain and options to be used as test data for the
29+
# elf parser.
30+
golang-X.Y source: source-is-missing src/debug/elf/testdata/gcc-386-freebsd-exec
31+
golang-X.Y source: source-is-missing src/debug/elf/testdata/gcc-amd64-linux-exec
32+
golang-X.Y source: source-is-missing src/debug/elf/testdata/*.obj
33+
golang-X.Y source: source-is-missing src/debug/elf/testdata/go-relocation-test-gcc930-ranges-no-rela-x86-64
34+
golang-X.Y source: source-is-missing src/debug/elf/testdata/go-relocation-test-gcc930-ranges-with-rela-x86-64
35+
36+
# These files are compiled from src/debug/dwarf/testdata/line2.c with clang and gcc.
37+
golang-X.Y source: source-is-missing src/debug/dwarf/testdata/line-clang.elf
38+
golang-X.Y source: source-is-missing src/debug/dwarf/testdata/line-gcc.elf
39+
golang-X.Y source: source-is-missing src/debug/dwarf/testdata/line-gcc-dwarf5.elf
40+
golang-X.Y source: source-is-missing src/debug/dwarf/testdata/line-clang-dwarf5.elf
41+
42+
# Compiled from src/debug/dwarf/testdata/typedef.c with dwarf version 4.
43+
golang-X.Y source: source-is-missing src/debug/dwarf/testdata/typedef.elf4
44+
45+
golang-X.Y source: source-is-missing src/runtime/pprof/testdata/test*
46+
golang-X.Y source: source-is-missing src/go/internal/gccgoimporter/testdata/*.gox
47+
48+
# This is not a typo.
49+
golang-X.Y source: unknown-file-in-debian-source lintian-overrides.in

‎debian/upstream/signing-key.asc

+165
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
1+
-----BEGIN PGP PUBLIC KEY BLOCK-----
2+
Version: GnuPG v1.4.2.2 (GNU/Linux)
3+
4+
mQGiBEXwb0YRBADQva2NLpYXxgjNkbuP0LnPoEXruGmvi3XMIxjEUFuGNCP4Rj/a
5+
kv2E5VixBP1vcQFDRJ+p1puh8NU0XERlhpyZrVMzzS/RdWdyXf7E5S8oqNXsoD1z
6+
fvmI+i9b2EhHAA19Kgw7ifV8vMa4tkwslEmcTiwiw8lyUl28Wh4Et8SxzwCggDcA
7+
feGqtn3PP5YAdD0km4S4XeMEAJjlrqPoPv2Gf//tfznY2UyS9PUqFCPLHgFLe80u
8+
QhI2U5jt6jUKN4fHauvR6z3seSAsh1YyzyZCKxJFEKXCCqnrFSoh4WSJsbFNc4PN
9+
b0V0SqiTCkWADZyLT5wll8sWuQ5ylTf3z1ENoHf+G3um3/wk/+xmEHvj9HCTBEXP
10+
78X0A/0Tqlhc2RBnEf+AqxWvM8sk8LzJI/XGjwBvKfXe+l3rnSR2kEAvGzj5Sg0X
11+
4XmfTg4Jl8BNjWyvm2Wmjfet41LPmYJKsux3g0b8yzQxeOA4pQKKAU3Z4+rgzGmf
12+
H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VyxJNHeGzV5G0timAwfdJF
158+
UzE1vNU5P0w4O8HrCsX5Ecfgcw2BQ9vPCE3OfG+11xp6oiNMRVsR5pTu7RiI1BQA
159+
yICWUW/wXuhhHkkwNTiwfciJfVA8ckOiRubik8geEH5boOxgeAaBu6yusQVHnRRy
160+
G4wjQ+qsWo+wDI9WMdtpNG1toJrSUL4OYa4oX3YogSv5hGrbYIaP4HwO6O2oTMnS
161+
0lRIGJOqbEQcmKUa/nWT/3NipTnYzyMjMlEQe89YKjd+32tjMfOSdIOvwCGaTizd
162+
WnKPF77qB9D0v8C/7AdHmEFqf2ZX8vK31aaY+ZpPWG5IHlf6f/buIMBalJOxIBev
163+
eBqxcHwQ
164+
=4zaS
165+
-----END PGP PUBLIC KEY BLOCK-----

‎debian/watch

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#
2+
# WARNING: "debian/watch" is generated via "debian/rules gencontrol" (sourced from "debian/watch.in")
3+
#
4+
5+
version=4
6+
opts=\
7+
uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/,\
8+
pgpmode=auto \
9+
https://golang.org/dl/ .*/go(1.17\S*)\.src\.tar\.gz

‎debian/watch.in

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
version=4
2+
opts=\
3+
uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/,\
4+
pgpmode=auto \
5+
https://golang.org/dl/ .*/go(X.Y\S*)\.src\.tar\.gz

0 commit comments

Comments
 (0)
Please sign in to comment.