head 1.70; access; symbols pkgsrc-2026Q3:1.70.0.54 pkgsrc-2026Q3-base:1.70 pkgsrc-2026Q2:1.70.0.52 pkgsrc-2026Q2-base:1.70 pkgsrc-2026Q1:1.70.0.50 pkgsrc-2026Q1-base:1.70 pkgsrc-2025Q4:1.70.0.48 pkgsrc-2025Q4-base:1.70 pkgsrc-2025Q3:1.70.0.46 pkgsrc-2025Q3-base:1.70 pkgsrc-2025Q2:1.70.0.44 pkgsrc-2025Q2-base:1.70 pkgsrc-2025Q1:1.70.0.42 pkgsrc-2025Q1-base:1.70 pkgsrc-2024Q4:1.70.0.40 pkgsrc-2024Q4-base:1.70 pkgsrc-2024Q3:1.70.0.38 pkgsrc-2024Q3-base:1.70 pkgsrc-2024Q2:1.70.0.36 pkgsrc-2024Q2-base:1.70 pkgsrc-2024Q1:1.70.0.34 pkgsrc-2024Q1-base:1.70 pkgsrc-2023Q4:1.70.0.32 pkgsrc-2023Q4-base:1.70 pkgsrc-2023Q3:1.70.0.30 pkgsrc-2023Q3-base:1.70 pkgsrc-2023Q2:1.70.0.28 pkgsrc-2023Q2-base:1.70 pkgsrc-2023Q1:1.70.0.26 pkgsrc-2023Q1-base:1.70 pkgsrc-2022Q4:1.70.0.24 pkgsrc-2022Q4-base:1.70 pkgsrc-2022Q3:1.70.0.22 pkgsrc-2022Q3-base:1.70 pkgsrc-2022Q2:1.70.0.20 pkgsrc-2022Q2-base:1.70 pkgsrc-2022Q1:1.70.0.18 pkgsrc-2022Q1-base:1.70 pkgsrc-2021Q4:1.70.0.16 pkgsrc-2021Q4-base:1.70 pkgsrc-2021Q3:1.70.0.14 pkgsrc-2021Q3-base:1.70 pkgsrc-2021Q2:1.70.0.12 pkgsrc-2021Q2-base:1.70 pkgsrc-2021Q1:1.70.0.10 pkgsrc-2021Q1-base:1.70 pkgsrc-2020Q4:1.70.0.8 pkgsrc-2020Q4-base:1.70 pkgsrc-2020Q3:1.70.0.6 pkgsrc-2020Q3-base:1.70 pkgsrc-2020Q2:1.70.0.4 pkgsrc-2020Q2-base:1.70 pkgsrc-2020Q1:1.70.0.2 pkgsrc-2020Q1-base:1.70 pkgsrc-2019Q4:1.69.0.12 pkgsrc-2019Q4-base:1.69 pkgsrc-2019Q3:1.69.0.8 pkgsrc-2019Q3-base:1.69 pkgsrc-2019Q2:1.69.0.6 pkgsrc-2019Q2-base:1.69 pkgsrc-2019Q1:1.69.0.4 pkgsrc-2019Q1-base:1.69 pkgsrc-2018Q4:1.69.0.2 pkgsrc-2018Q4-base:1.69 pkgsrc-2018Q2:1.63.0.4 pkgsrc-2018Q2-base:1.63 pkgsrc-2018Q1:1.63.0.2 pkgsrc-2018Q1-base:1.63 pkgsrc-2017Q4:1.58.0.2 pkgsrc-2017Q4-base:1.58 pkgsrc-2017Q3:1.56.0.4 pkgsrc-2017Q3-base:1.56 pkgsrc-2017Q2:1.52.0.2 pkgsrc-2017Q2-base:1.52 pkgsrc-2017Q1:1.49.0.2 pkgsrc-2017Q1-base:1.49 pkgsrc-2016Q4:1.48.0.2 pkgsrc-2016Q4-base:1.48 pkgsrc-2016Q3:1.47.0.2 pkgsrc-2016Q3-base:1.47 pkgsrc-2016Q2:1.41.0.2 pkgsrc-2016Q2-base:1.41 pkgsrc-2016Q1:1.39.0.2 pkgsrc-2016Q1-base:1.39 pkgsrc-2015Q4:1.36.0.2 pkgsrc-2015Q4-base:1.36 pkgsrc-2015Q3:1.34.0.2 pkgsrc-2015Q3-base:1.34 pkgsrc-2015Q2:1.29.0.2 pkgsrc-2015Q2-base:1.29 pkgsrc-2015Q1:1.27.0.2 pkgsrc-2015Q1-base:1.27 pkgsrc-2014Q4:1.22.0.2 pkgsrc-2014Q4-base:1.22 pkgsrc-2014Q3:1.18.0.2 pkgsrc-2014Q3-base:1.18 pkgsrc-2014Q2:1.14.0.2 pkgsrc-2014Q2-base:1.14 pkgsrc-2014Q1:1.6.0.2 pkgsrc-2014Q1-base:1.6 pkgsrc-2013Q4:1.3.0.2 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.2.0.2 pkgsrc-2013Q3-base:1.2; locks; strict; comment @# @; 1.70 date 2020.01.26.17.31.28; author rillig; state Exp; branches; next 1.69; commitid 4fBBvoSLJaGd0eUB; 1.69 date 2018.11.21.11.25.00; author jperkin; state Exp; branches; next 1.68; commitid 72GIjKrOsevaPN0B; 1.68 date 2018.09.23.20.05.29; author bsiegert; state dead; branches; next 1.67; commitid zjrLYAuNW0jvBgTA; 1.67 date 2018.09.14.09.24.30; author fhajny; state Exp; branches; next 1.66; commitid zSUMZs0pg9pSl3SA; 1.66 date 2018.08.27.15.01.09; author bsiegert; state Exp; branches; next 1.65; commitid gaZRSjVOgU1UMLPA; 1.65 date 2018.08.22.09.45.20; author wiz; state Exp; branches; next 1.64; commitid YLub8g3ofvFGb6PA; 1.64 date 2018.07.08.09.27.31; author bsiegert; state Exp; branches; next 1.63; commitid k419PvBYrZLuxjJA; 1.63 date 2018.03.05.12.42.50; author ryoon; state Exp; branches; next 1.62; commitid gjE2ogid2lLBEgtA; 1.62 date 2018.03.04.12.54.06; author bsiegert; state Exp; branches; next 1.61; commitid 5g3GPMJ6P5GXJ8tA; 1.61 date 2018.01.30.17.05.21; author jperkin; state Exp; branches; next 1.60; commitid a4huZlg0u5facVoA; 1.60 date 2018.01.28.11.31.03; author bsiegert; state Exp; branches; next 1.59; commitid n3EmVEaDRDiypDoA; 1.59 date 2018.01.20.16.55.05; author christos; state Exp; branches; next 1.58; commitid k4Zu0Kl7q7aysDnA; 1.58 date 2017.11.14.09.53.53; author wiz; state Exp; branches 1.58.2.1; next 1.57; commitid s2rNOwNnjAzQhZeA; 1.57 date 2017.10.04.10.03.53; author jperkin; state Exp; branches; next 1.56; commitid yNpCFYvcqTfUEI9A; 1.56 date 2017.09.03.16.49.52; author tron; state Exp; branches; next 1.55; commitid IrMwHTs8cIhLTL5A; 1.55 date 2017.09.03.13.40.19; author tron; state Exp; branches; next 1.54; commitid 2EUzYEY8fKNIQK5A; 1.54 date 2017.09.03.07.12.07; author bsiegert; state Exp; branches; next 1.53; commitid Bfze4d9786NtHI5A; 1.53 date 2017.07.22.19.32.41; author wiz; state Exp; branches; next 1.52; commitid WRuiFrybV0Pdbg0A; 1.52 date 2017.05.25.09.06.43; author bsiegert; state Exp; branches; next 1.51; commitid C0ZG9M6ZMWVbzKSz; 1.51 date 2017.05.02.17.15.31; author fhajny; state Exp; branches; next 1.50; commitid fOgXUwJXPRHh1QPz; 1.50 date 2017.04.19.21.27.31; author christos; state Exp; branches; next 1.49; commitid PVGcDeu2bSldQbOz; 1.49 date 2017.03.15.19.38.09; author bsiegert; state Exp; branches 1.49.2.1; next 1.48; commitid mcFyMro6u9sNlGJz; 1.48 date 2016.10.27.18.58.00; author bsiegert; state Exp; branches; next 1.47; commitid nKJghYSAUQpDBOrz; 1.47 date 2016.09.17.15.56.58; author bsiegert; state Exp; branches 1.47.2.1; next 1.46; commitid qx8WLNBcTJRESEmz; 1.46 date 2016.08.31.14.15.33; author jperkin; state Exp; branches; next 1.45; commitid mSkMfFPncMCtSskz; 1.45 date 2016.08.20.06.22.38; author wiz; state Exp; branches; next 1.44; commitid g8MqsJmWj7M7C0jz; 1.44 date 2016.08.19.09.38.06; author bsiegert; state Exp; branches; next 1.43; commitid hpXqn1WZjrgWITiz; 1.43 date 2016.07.18.20.37.40; author bsiegert; state Exp; branches; next 1.42; commitid R6vI589oXj5YoQez; 1.42 date 2016.07.09.06.38.25; author wiz; state Exp; branches; next 1.41; commitid dlqnocGpOoXV2Cdz; 1.41 date 2016.04.13.07.12.00; author bsiegert; state Exp; branches; next 1.40; commitid tDGKetHqFVQV1r2z; 1.40 date 2016.04.08.20.00.02; author bsiegert; state Exp; branches; next 1.39; commitid WptpezqtlcVBqR1z; 1.39 date 2016.02.23.20.12.25; author bsiegert; state Exp; branches; next 1.38; commitid Y2MLZYRWXH46X4Wy; 1.38 date 2016.01.31.10.17.27; author bsiegert; state Exp; branches; next 1.37; commitid wHMgYyhrIEU4p4Ty; 1.37 date 2016.01.16.09.43.44; author fhajny; state Exp; branches; next 1.36; commitid WE1y9HxonqIYG8Ry; 1.36 date 2015.12.22.20.44.40; author bsiegert; state Exp; branches 1.36.2.1; next 1.35; commitid SnOfUTYEtSA79ZNy; 1.35 date 2015.12.10.20.04.54; author bsiegert; state Exp; branches; next 1.34; commitid HJ5LW3h9tBaBjrMy; 1.34 date 2015.09.13.19.11.55; author fhajny; state Exp; branches; next 1.33; commitid DUKUluWVWcTnR7By; 1.33 date 2015.08.25.23.09.51; author fhajny; state Exp; branches; next 1.32; commitid kYJuEcTKXGpZMHyy; 1.32 date 2015.08.25.23.07.23; author fhajny; state Exp; branches; next 1.31; commitid 7CduRMuSiZUkMHyy; 1.31 date 2015.08.22.23.49.13; author wiz; state Exp; branches; next 1.30; commitid mv4msxCZLYHA6kyy; 1.30 date 2015.08.22.10.51.20; author bsiegert; state Exp; branches; next 1.29; commitid lcrHLC1IUxC0Nfyy; 1.29 date 2015.06.12.10.50.15; author wiz; state Exp; branches; next 1.28; commitid B4JmCfaVUbiY38py; 1.28 date 2015.05.03.15.32.02; author bsiegert; state Exp; branches; next 1.27; commitid 8ndQmO40aEicV0ky; 1.27 date 2015.03.10.13.11.36; author jperkin; state Exp; branches; next 1.26; commitid 8yV1MjRt3ufqS3dy; 1.26 date 2015.02.22.13.28.30; author tnn; state Exp; branches; next 1.25; commitid 8ro8ctR4Uwqou0by; 1.25 date 2015.02.04.22.57.46; author tnn; state Exp; branches; next 1.24; commitid x9iP1D27I1jFcK8y; 1.24 date 2015.01.16.11.27.03; author wiz; state Exp; branches; next 1.23; commitid 9wC29MEDZzvu0f6y; 1.23 date 2014.12.31.11.40.14; author bsiegert; state Exp; branches; next 1.22; commitid ZkKOnPhZg5bDAb4y; 1.22 date 2014.12.12.09.41.40; author wiz; state Exp; branches; next 1.21; commitid rRamfDZCh8E2yJ1y; 1.21 date 2014.11.18.20.39.11; author bsiegert; state Exp; branches; next 1.20; commitid zP206h1xvRYjXHYx; 1.20 date 2014.10.12.14.51.03; author wiz; state Exp; branches; next 1.19; commitid GyJxTzqwddPAdVTx; 1.19 date 2014.10.11.16.41.47; author khorben; state Exp; branches; next 1.18; commitid 8EEilEqTvVs3RNTx; 1.18 date 2014.09.26.13.54.28; author wiz; state Exp; branches; next 1.17; commitid W1ayBAmkcIhdqRRx; 1.17 date 2014.08.17.15.17.42; author wiz; state Exp; branches; next 1.16; commitid EkBhnmC6GFDvaJMx; 1.16 date 2014.07.30.12.04.20; author fhajny; state Exp; branches; next 1.15; commitid Arb5SZwTMBAVFoKx; 1.15 date 2014.07.07.16.44.18; author jperkin; state Exp; branches; next 1.14; commitid cwhvvFGWVALVXsHx; 1.14 date 2014.06.22.14.50.47; author bsiegert; state Exp; branches; next 1.13; commitid tQPI56c5NjoIOwFx; 1.13 date 2014.06.14.16.20.45; author joerg; state Exp; branches; next 1.12; commitid v9aN8fi6m71GzvEx; 1.12 date 2014.05.31.13.06.47; author bsiegert; state Exp; branches; next 1.11; commitid I7Wuvfc5h6hGWGCx; 1.11 date 2014.05.29.23.36.43; author wiz; state Exp; branches; next 1.10; commitid laryHfkCalgYtuCx; 1.10 date 2014.05.27.18.56.53; author bsiegert; state Exp; branches; next 1.9; commitid 9UelJZyqIYeE0dCx; 1.9 date 2014.05.24.09.44.39; author bsiegert; state Exp; branches; next 1.8; commitid DoCRJKPHhV9Q2MBx; 1.8 date 2014.05.16.11.53.10; author wiz; state Exp; branches; next 1.7; commitid 0kurwoNQu8BH1LAx; 1.7 date 2014.05.15.19.35.49; author christos; state Exp; branches; next 1.6; commitid TeLe89EKm98pCFAx; 1.6 date 2014.03.03.15.41.12; author bsiegert; state Exp; branches; next 1.5; commitid QdVW5dQQeSDpDgrx; 1.5 date 2014.01.05.14.55.09; author wiz; state Exp; branches; next 1.4; commitid fpTbozqJbgpafWjx; 1.4 date 2014.01.04.11.35.48; author bsiegert; state Exp; branches; next 1.3; commitid o3eCVg4JykfEaNjx; 1.3 date 2013.12.15.21.50.34; author bsiegert; state Exp; branches 1.3.2.1; next 1.2; commitid Xhtaitok484gdhhx; 1.2 date 2013.09.24.20.53.48; author bsiegert; state Exp; branches; next 1.1; commitid Om1HQHIgvx1ixJ6x; 1.1 date 2013.07.07.08.10.14; author wiz; state Exp; branches; next ; commitid RVDr6sOPoUA0RvWw; 1.58.2.1 date 2018.02.24.11.16.59; author spz; state Exp; branches; next ; commitid 8jZPmGErsBA5t6sA; 1.49.2.1 date 2017.04.29.19.32.54; author bsiegert; state Exp; branches; next 1.49.2.2; commitid gSXK77dORJm6TsPz; 1.49.2.2 date 2017.05.06.15.19.40; author bsiegert; state Exp; branches; next 1.49.2.3; commitid KvDo9p9VGn1hglQz; 1.49.2.3 date 2017.05.25.21.11.03; author spz; state Exp; branches; next ; commitid RoXxUPRcwT1WAOSz; 1.47.2.1 date 2016.12.12.06.50.02; author spz; state Exp; branches; next ; commitid Ji7ipSsgO66o6Fxz; 1.36.2.1 date 2016.02.06.19.50.15; author spz; state Exp; branches; next ; commitid 3RuocJL5BtWRnTTy; 1.3.2.1 date 2014.01.05.21.04.20; author spz; state Exp; branches; next ; commitid D2ypzXQ99HyRhYjx; desc @@ 1.70 log @all: migrate homepages from http to https pkglint -r --network --only "migrate" As a side-effect of migrating the homepages, pkglint also fixed a few indentations in unrelated lines. These and the new homepages have been checked manually. @ text @# $NetBSD: Makefile,v 1.69 2018/11/21 11:25:00 jperkin Exp $ DISTNAME= # empty PKGNAME= go-${GO${GOVERSSUFFIX}_VERSION} CATEGORIES= lang MASTER_SITES= # empty MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://golang.org/ COMMENT= Meta package providing the current release of the Go language LICENSE= modified-bsd META_PACKAGE= yes DEPENDS+= ${GO_PACKAGE_DEP} .include "../../lang/go/version.mk" .include "../../mk/bsd.pkg.mk" @ 1.69 log @lang: Re-enable lang/go as a meta package. This allows users to simply install a "go" package and pull in the latest version available for their host operating system without having to figure out the name for the correct suffixed package. @ text @d1 1 a1 1 # $NetBSD$ d9 1 a9 1 HOMEPAGE= http://golang.org/ @ 1.68 log @Remove lang/go. Replacements: the versioned lang/go19, lang/go110 and lang/go111. Nothing in pkgsrc directly depends on this anymore. There are a few stragglers in wip, which will be fixed. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.67 2018/09/14 09:24:30 fhajny Exp $ d3 2 a4 5 .include "version.mk" DISTNAME= go${GO_VERSION}.src PKGNAME= go-${GO_VERSION} PKGREVISION= 1 d6 1 a6 2 MASTER_SITES= https://storage.googleapis.com/golang/ EXTRACT_USING= bsdtar d8 1 a8 1 MAINTAINER= bsiegert@@NetBSD.org d10 1 a10 1 COMMENT= The Go programming language d13 1 a13 89 WRKSRC= ${WRKDIR}/go USE_TOOLS+= bash:run perl:run pax # uses ulimit -T # BUILD_DEPENDS+= bash>=4.2nb3:../../shells/bash # cgo compiles under TMPDIR TMPDIR?= /tmp BUILDLINK_PASSTHRU_DIRS+= ${TMPDIR} GOROOT_FINAL= ${PREFIX}/go INSTALLATION_DIRS= bin REPLACE_BASH+= doc/articles/wiki/test.bash REPLACE_BASH+= doc/codewalk/run REPLACE_BASH+= lib/time/update.bash REPLACE_BASH+= misc/arm/a REPLACE_BASH+= misc/benchcmp REPLACE_BASH+= misc/cgo/fortran/test.bash REPLACE_BASH+= misc/cgo/testgodefs/test.bash REPLACE_BASH+= misc/cgo/testplugin/test.bash REPLACE_BASH+= misc/nacl/go_nacl_386_exec REPLACE_BASH+= misc/nacl/go_nacl_amd64p32_exec REPLACE_BASH+= misc/nacl/go_nacl_arm_exec REPLACE_BASH+= src/all.bash REPLACE_BASH+= src/androidtest.bash REPLACE_BASH+= src/bootstrap.bash REPLACE_BASH+= src/buildall.bash REPLACE_BASH+= src/clean.bash REPLACE_BASH+= src/cmd/go/mkalldocs.sh REPLACE_BASH+= src/cmd/vendor/github.com/google/pprof/test.sh REPLACE_BASH+= src/internal/trace/mkcanned.bash REPLACE_BASH+= src/iostest.bash REPLACE_BASH+= src/make.bash REPLACE_BASH+= src/naclmake.bash REPLACE_BASH+= src/nacltest.bash REPLACE_BASH+= src/race.bash REPLACE_BASH+= src/run.bash REPLACE_BASH+= src/runtime/mknacl.sh REPLACE_BASH+= src/syscall/mkall.sh REPLACE_BASH+= src/syscall/mkerrors.sh REPLACE_BASH+= src/syscall/mksysnum_plan9.sh REPLACE_PERL+= src/net/http/cgi/testdata/test.cgi REPLACE_PERL+= src/regexp/syntax/make_perl_groups.pl REPLACE_PERL+= src/syscall/*.pl REPLACE_PERL+= test/errchk # uses own linker, which does not support relro on NetBSD CHECK_RELRO_SKIP+= go/bin/go CHECK_RELRO_SKIP+= go/bin/gofmt CHECK_RELRO_SKIP+= go/pkg/bootstrap/bin/asm CHECK_RELRO_SKIP+= go/pkg/bootstrap/bin/compile CHECK_RELRO_SKIP+= go/pkg/bootstrap/bin/link CHECK_RELRO_SKIP+= go/pkg/bootstrap/bin/cgo # also does not support SSP at this time CHECK_SSP_SKIP= ${CHECK_RELRO_SKIP} # uses /bin/rc (for Plan 9) CHECK_INTERPRETER_SKIP+= go/include/plan9/mklibc.rc CHECK_INTERPRETER_SKIP+= go/src/all.rc CHECK_INTERPRETER_SKIP+= go/src/clean.rc CHECK_INTERPRETER_SKIP+= go/src/make.rc CHECK_INTERPRETER_SKIP+= go/src/run.rc BUILD_DEPENDS+= go14-1.4*:../../lang/go14 GOROOT_BOOTSTRAP= ${PREFIX}/go14 .include "../../mk/bsd.prefs.mk" PLIST_VARS+= pty route .if ${OPSYS} != "SunOS" PLIST.pty= yes .endif .if ${OPSYS} != "Linux" && ${OPSYS} != "SunOS" PLIST.route= yes .endif do-build: cd ${WRKSRC}/src && env GOROOT_BOOTSTRAP=${GOROOT_BOOTSTRAP:Q} GOROOT_FINAL=${GOROOT_FINAL:Q} ${GOOPT} ${BASH} ./make.bash # for RELRO build: # cd ${WRKSRC}/src && env GOROOT_BOOTSTRAP=${GOROOT_BOOTSTRAP:Q} GOROOT_FINAL=${GOROOT_FINAL:Q} GO_LDFLAGS="-buildmode=pie" ${GOOPT} ${BASH} ./make.bash do-install: cd ${WRKSRC} && rm -rf .hgignore .hgtags pkg/obj cd ${WRKDIR} && pax -rw go ${DESTDIR}${PREFIX} find ${DESTDIR}${PREFIX}/go -name \*.orig -exec rm {} \; d15 1 a15 2 do-test: cd ${WRKSRC}/src && GOROOT=${WRKSRC} PATH=${WRKSRC}/bin:${PATH} ${GOOPT} ${BASH} run.bash --no-rebuild --banner "" d17 1 @ 1.67 log @lang/go: Add SYS_IOCTL on SunOS. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.66 2018/08/27 15:01:09 bsiegert Exp $ @ 1.66 log @Update Go to 1.10.4. go1.10.4 (released 2018/08/24) includes fixes to the go command, linker, and the net/http, mime/multipart, ld/macho, bytes, and strings packages. See the Go 1.10.4 milestone on our issue tracker for details. pkgsrc note: After the import of Go 1.11, this package will be renamed to lang/go110. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.65 2018/08/22 09:45:20 wiz Exp $ d7 1 @ 1.65 log @Recursive bump for perl5-5.28.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.64 2018/07/08 09:27:31 bsiegert Exp $ a6 1 PKGREVISION= 2 @ 1.64 log @Install bin/go via pkg_alternatives. Bump revision. BREAKING CHANGE: If you do not have pkg_alternatives installed, then you will not get a "go" tool in the PATH, and builds of packages using Go may fail. (This will be fixed in the next commit.) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.63 2018/03/05 12:42:50 ryoon Exp $ d7 1 a7 1 PKGREVISION= 1 @ 1.63 log @Fix RELRO packaging @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.62 2018/03/04 12:54:06 bsiegert Exp $ d7 1 a105 3 .for cmd in go gofmt cd ${DESTDIR}${PREFIX}/bin && ln -sf ../go/bin/${cmd} ${cmd} .endfor @ 1.62 log @Update Go to 1.10. Via wip. Full release notes at https://golang.org/doc/go1.10. The latest Go release, version 1.10, arrives six months after Go 1.9. Most of its changes are in the implementation of the toolchain, runtime, and libraries. As always, the release maintains the Go 1 promise of compatibility. We expect almost all Go programs to continue to compile and run as before. This release improves caching of built packages, adds caching of successful test results, runs vet automatically during tests, and permits passing string values directly between Go and C using cgo. A new compiler option whitelist may cause unexpected invalid flag errors in code that built successfully with older releases. As announced in the Go 1.9 release notes, Go 1.10 now requires FreeBSD 10.3 or later; support for FreeBSD 9.3 has been removed. Go now runs on NetBSD again but requires the unreleased NetBSD 8. Only GOARCH amd64 and 386 have been fixed. The arm port is still broken. On 32-bit MIPS systems, the new environment variable settings GOMIPS=hardfloat (the default) and GOMIPS=softfloat select whether to use hardware instructions or software emulation for floating-point computations. Go 1.10 is the last release that will run on OpenBSD 6.0. Go 1.11 will require OpenBSD 6.2. Go 1.10 is the last release that will run on OS X 10.8 Mountain Lion or OS X 10.9 Mavericks. Go 1.11 will require OS X 10.10 Yosemite or later. Go 1.10 is the last release that will run on Windows XP or Windows Vista. Go 1.11 will require Windows 7 or later. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.58 2017/11/14 09:53:53 wiz Exp $ d70 1 a72 1 CHECK_SSP_SKIP+= go/pkg/bootstrap/bin/cgo @ 1.61 log @go*: Disable SSP support completely. It's not supported by the go linker, and can cause issues when building third-party modules if the SSP libraries are handled by pkgsrc. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.60 2018/01/28 11:31:03 bsiegert Exp $ d26 2 a27 2 GOROOT_FINAL= ${PREFIX}/go INSTALLATION_DIRS= bin a33 1 REPLACE_BASH+= misc/cgo/errors/test.bash a34 1 REPLACE_BASH+= misc/cgo/testcshared/test.bash a36 2 REPLACE_BASH+= misc/cgo/testsanitizers/test.bash REPLACE_BASH+= misc/cgo/testplugin/test.bash a44 1 REPLACE_BASH+= src/cmd/dist/mkdeps.bash d46 1 d70 3 d86 5 a90 1 PLIST_VARS+= route @ 1.60 log @Update Go to 1.9.3. This release includes fixes to the compiler, runtime, and the database/sql, math/big, net/http, and net/url packages. View the release notes for more information: https://golang.org/doc/devel/release.html#go1.9.minor @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.59 2018/01/20 16:55:05 christos Exp $ a73 2 # also does not support SSP at this time CHECK_SSP_SKIP= ${CHECK_RELRO_SKIP} @ 1.59 log @Add Yasushi Oshima patches for arm from: https://github.com/oshimaya/pkgsrc/tree/master/lang/go @ text @d1 1 a1 1 # $NetBSD$ a6 1 PKGREVISION= 1 @ 1.58 log @lang/go: remove references to non-existent files @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.57 2017/10/04 10:03:53 jperkin Exp $ d7 1 d41 1 d97 1 a97 1 cd ${WRKSRC}/src && env GOROOT_BOOTSTRAP=${GOROOT_BOOTSTRAP:Q} GOROOT_FINAL=${GOROOT_FINAL:Q} ${BASH} ./make.bash d99 1 a99 1 # cd ${WRKSRC}/src && env GOROOT_BOOTSTRAP=${GOROOT_BOOTSTRAP:Q} GOROOT_FINAL=${GOROOT_FINAL:Q} GO_LDFLAGS="-buildmode=pie" ${BASH} ./make.bash d110 1 a110 1 cd ${WRKSRC}/src && GOROOT=${WRKSRC} PATH=${WRKSRC}/bin:${PATH} ${BASH} run.bash --no-rebuild --banner "" @ 1.58.2.1 log @Pullup ticket #5703 - requested by bsiegert lang/go: security update Revisions pulled up: - lang/go/Makefile 1.59-1.60 - lang/go/PLIST 1.35-1.38 - lang/go/distinfo 1.54-1.57 - lang/go/patches/patch-src_cmd_dist_util.go 1.1 - lang/go/patches/patch-src_cmd_link_internal_ld_elf.go 1.1-1.2 - lang/go/patches/patch-src_runtime_os__netbsd.go 1.3 - lang/go/patches/patch-src_runtime_rt0__netbsd__arm.s 1.1 - lang/go/version.mk 1.31-1.32,1.34 ------------------------------------------------------------------- Module Name: pkgsrc Committed By: christos Date: Sat Jan 20 16:55:06 UTC 2018 Modified Files: pkgsrc/lang/go: Makefile PLIST distinfo version.mk Added Files: pkgsrc/lang/go/patches: patch-src_cmd_dist_util.go patch-src_cmd_link_internal_ld_elf.go patch-src_runtime_os__netbsd.go patch-src_runtime_rt0__netbsd__arm.s Log Message: Add Yasushi Oshima patches for arm from: https://github.com/oshimaya/pkgsrc/tree/master/lang/go To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 pkgsrc/lang/go/Makefile cvs rdiff -u -r1.34 -r1.35 pkgsrc/lang/go/PLIST cvs rdiff -u -r1.53 -r1.54 pkgsrc/lang/go/distinfo cvs rdiff -u -r1.30 -r1.31 pkgsrc/lang/go/version.mk cvs rdiff -u -r0 -r1.1 pkgsrc/lang/go/patches/patch-src_cmd_dist_util.go \ pkgsrc/lang/go/patches/patch-src_cmd_link_internal_ld_elf.go \ pkgsrc/lang/go/patches/patch-src_runtime_rt0__netbsd__arm.s cvs rdiff -u -r0 -r1.3 pkgsrc/lang/go/patches/patch-src_runtime_os__netbsd.go ------------------------------------------------------------------- Module Name: pkgsrc Committed By: ryoon Date: Sun Jan 21 01:28:39 UTC 2018 Modified Files: pkgsrc/lang/go: PLIST Log Message: Fix packaging To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 pkgsrc/lang/go/PLIST ------------------------------------------------------------------- Module Name: pkgsrc Committed By: christos Date: Sat Jan 20 18:13:25 UTC 2018 Modified Files: pkgsrc/lang/go: distinfo pkgsrc/lang/go/patches: patch-src_cmd_link_internal_ld_elf.go Log Message: fix the path To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 pkgsrc/lang/go/distinfo cvs rdiff -u -r1.1 -r1.2 \ pkgsrc/lang/go/patches/patch-src_cmd_link_internal_ld_elf.go ------------------------------------------------------------------- Module Name: pkgsrc Committed By: bsiegert Date: Sun Jan 28 11:31:03 UTC 2018 Modified Files: pkgsrc/lang/go: Makefile PLIST distinfo version.mk Log Message: Update Go to 1.9.3. This release includes fixes to the compiler, runtime, and the database/sql, math/big, net/http, and net/url packages. View the release notes for more information: https://golang.org/doc/devel/release.html#go1.9.minor To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 pkgsrc/lang/go/Makefile cvs rdiff -u -r1.36 -r1.37 pkgsrc/lang/go/PLIST cvs rdiff -u -r1.55 -r1.56 pkgsrc/lang/go/distinfo cvs rdiff -u -r1.31 -r1.32 pkgsrc/lang/go/version.mk ------------------------------------------------------------------- Module Name: pkgsrc Committed By: bsiegert Date: Thu Feb 8 19:32:17 UTC 2018 Modified Files: pkgsrc/lang/go: PLIST distinfo version.mk Log Message: Update Go to 1.9.4. By using the clang or gcc plugin mechanism, it was possible for an attacker to trick the “go get” command into executing arbitrary code. The go command now restricts the set of allowed host compiler and linker arguments in cgo source files to a list of allowed flags, in particular disallowing -fplugin= and -plugin=. The issue is CVE-2018-6574 and Go issue golang.org/issue/23672. See the Go issue for details. Thanks to Christopher Brown of Mattermost for reporting this problem. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 pkgsrc/lang/go/PLIST cvs rdiff -u -r1.56 -r1.57 pkgsrc/lang/go/distinfo cvs rdiff -u -r1.33 -r1.34 pkgsrc/lang/go/version.mk @ text @d1 1 a1 1 # $NetBSD$ a39 1 REPLACE_BASH+= misc/cgo/testplugin/test.bash d95 1 a95 1 cd ${WRKSRC}/src && env GOROOT_BOOTSTRAP=${GOROOT_BOOTSTRAP:Q} GOROOT_FINAL=${GOROOT_FINAL:Q} ${GOOPT} ${BASH} ./make.bash d97 1 a97 1 # cd ${WRKSRC}/src && env GOROOT_BOOTSTRAP=${GOROOT_BOOTSTRAP:Q} GOROOT_FINAL=${GOROOT_FINAL:Q} GO_LDFLAGS="-buildmode=pie" ${GOOPT} ${BASH} ./make.bash d108 1 a108 1 cd ${WRKSRC}/src && GOROOT=${WRKSRC} PATH=${WRKSRC}/bin:${PATH} ${GOOPT} ${BASH} run.bash --no-rebuild --banner "" @ 1.57 log @go*: Disable SSP checks for similar reasons as RELRO. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.56 2017/09/03 16:49:52 tron Exp $ a35 1 REPLACE_BASH+= misc/cgo/testcarchive/test.bash a47 1 REPLACE_BASH+= src/cmd/compile/internal/big/vendor.bash @ 1.56 log @Use bsdtar instead of GNU Tar to extract the distribution archive as suggested by wizd(8) in private e-mail @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.55 2017/09/03 13:40:19 tron Exp $ d75 2 @ 1.55 log @Use GNU Tar to extract the distribution archive because at least NetBSD (8.99.2)'s "/bin/tar" fails to handle the extented headers and extracts files into the wrong directory. This in turn least to package list problems during the installation phase. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.54 2017/09/03 07:12:07 bsiegert Exp $ d9 1 a9 1 EXTRACT_USING= gtar @ 1.54 log @Update Go to 1.9. The latest Go release, version 1.9, arrives six months after Go 1.8 and is the tenth release in the Go 1.x series. There are two changes to the language: adding support for type aliases and defining when implementations may fuse floating point operations. Most of the changes are in the implementation of the toolchain, runtime, and libraries. As always, the release maintains the Go 1 promise of compatibility. We expect almost all Go programs to continue to compile and run as before. The release adds transparent monotonic time support, parallelizes compilation of functions within a package, better supports test helper functions, includes a new bit manipulation package, and has a new concurrent map type. There are some instabilities on FreeBSD that are known but not understood. These can lead to program crashes in rare cases. See issue 15658. Any help in solving this FreeBSD-specific issue would be appreciated. Go stopped running NetBSD builders during the Go 1.9 development cycle due to NetBSD kernel crashes, up to and including NetBSD 7.1. As Go 1.9 is being released, NetBSD 7.1.1 is being released with a fix. However, at this time we have no NetBSD builders passing our test suite. Any help investigating the various NetBSD issues would be appreciated. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.53 2017/07/22 19:32:41 wiz Exp $ d9 1 @ 1.53 log @Sprinkle CHECK_RELRO_SKIP on go packages. go14 has no relro support AFAICT. go-1.8.3 has if you use -buildmode=pie, but it claims it's not supported on Linux. Disable relro checking for go packages until bsiegert has time to look at this. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.52 2017/05/25 09:06:43 bsiegert Exp $ d35 1 d48 1 @ 1.52 log @SECURITY: Update Go to 1.8.2, fixing CVE-2017-8932, carry bug in x86-64 P-256. A security-related issue was recently reported in Go's crypto/elliptic package. To address this issue, we have just released Go 1.7.6 and Go 1.8.2. The Go team would like to thank Vlad Krasnov and Filippo Valsorda at Cloudflare for reporting the issue and providing a fix. The issue affects Go's P-256 implementation on the 64-bit x86 architecture. This is CVE-2017-8932 and was addressed by this change: https://golang.org/cl/41070, tracked in this issue: https://golang.org/issue/20040 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.51 2017/05/02 17:15:31 fhajny Exp $ a34 1 REPLACE_BASH+= misc/cgo/testcarchive/test.bash a46 1 REPLACE_BASH+= src/cmd/compile/internal/big/vendor.bash d66 7 d93 2 @ 1.51 log @* Remove patch adding syscall.Dup2() for SunOS, software should be using unix.Dup2() instead. https://github.com/joyent/pkgsrc/pull/492 * Improve handling of low-memory situations on Illumos. https://github.com/joyent/pkgsrc/pull/493 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.50 2017/04/19 21:27:31 christos Exp $ a6 1 PKGREVISION= 2 @ 1.50 log @Block signals explicitly during lwp creation since blocking via the context doea not work. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.49 2017/03/15 19:38:09 bsiegert Exp $ d7 1 a7 1 PKGREVISION= 1 a86 6 pre-build: cd ${WRKSRC}/src/syscall && \ env GOOS=${LOWER_OPSYS:Q} GOARCH=${GOARCH:Q} \ ${PERL5} mksyscall_solaris.pl \ syscall_solaris.go syscall_solaris_amd64.go > zsyscall_solaris_amd64.go @ 1.49 log @Update Go to 1.8. The compiler back end introduced in Go 1.7 for 64-bit x86 is now used on all architectures, and those architectures should see significant performance improvements. For instance, the CPU time required by our benchmark programs was reduced by 20-30% on 32-bit ARM systems. There are also some modest performance improvements in this release for 64-bit x86 systems. The compiler and linker have been made faster. Compile times should be improved by about 15% over Go 1.7. There is still more work to be done in this area: expect faster compilation speeds in future releases. Garbage collection pauses should be significantly shorter, usually under 100 microseconds and often as low as 10 microseconds. The HTTP server adds support for HTTP/2 Push, allowing servers to preemptively send responses to a client. This is useful for minimizing network latency by eliminating roundtrips. The HTTP server also adds support for graceful shutdown, allowing servers to minimize downtime by shutting down only after serving all requests that are in flight. Contexts (added to the standard library in Go 1.7) provide a cancelation and timeout mechanism. Go 1.8 adds support for contexts in more parts of the standard library, including the database/sql and net packages and Server.Shutdown in the net/http package. Go 1.8 includes many more additions, improvements, and fixes. Find the complete set of changes, and more information about the improvements listed above, in the Go 1.8 release notes: https://golang.org/doc/go1.8 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.48 2016/10/27 18:58:00 bsiegert Exp $ d7 1 @ 1.49.2.1 log @Pullup ticket #5325 - requested by sevan lang/go: bugfix for NetBSD Revisions pulled up: - lang/go/Makefile 1.50 - lang/go/distinfo 1.46 - lang/go/patches/patch-src_runtime_os__netbsd.go 1.1 --- Module Name: pkgsrc Committed By: christos Date: Wed Apr 19 21:27:31 UTC 2017 Modified Files: pkgsrc/lang/go: Makefile distinfo Added Files: pkgsrc/lang/go/patches: patch-src_runtime_os__netbsd.go Log Message: Block signals explicitly during lwp creation since blocking via the context doea not work. @ text @d1 1 a1 1 # $NetBSD$ a6 1 PKGREVISION= 1 @ 1.49.2.2 log @Pullup ticket #5396 - requested by sevan lang/go: bugfix Revisions pulled up: - lang/go/Makefile 1.51 - lang/go/distinfo 1.47 - lang/go/patches/patch-src_runtime_mem__bsd.go 1.1 - lang/go/patches/patch-src_syscall_syscall__solaris.go deleted --- Module Name: pkgsrc Committed By: fhajny Date: Tue May 2 17:15:31 UTC 2017 Modified Files: pkgsrc/lang/go: Makefile distinfo Added Files: pkgsrc/lang/go/patches: patch-src_runtime_mem__bsd.go Removed Files: pkgsrc/lang/go/patches: patch-src_syscall_syscall__solaris.go Log Message: * Remove patch adding syscall.Dup2() for SunOS, software should be using unix.Dup2() instead. https://github.com/joyent/pkgsrc/pull/492 * Improve handling of low-memory situations on Illumos. https://github.com/joyent/pkgsrc/pull/493 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.49.2.1 2017/04/29 19:32:54 bsiegert Exp $ d7 1 a7 1 PKGREVISION= 2 d87 6 @ 1.49.2.3 log @Pullup ticket #5433 - requested by bsiegert lang/go: security update Revisions pulled up: - lang/go/Makefile 1.52 - lang/go/distinfo 1.49 - lang/go/version.mk 1.26 - lang/go/PLIST 1.31 ------------------------------------------------------------------- Module Name: pkgsrc Committed By: bsiegert Date: Thu May 25 09:06:43 UTC 2017 Modified Files: pkgsrc/lang/go: Makefile distinfo version.mk Log Message: SECURITY: Update Go to 1.8.2, fixing CVE-2017-8932, carry bug in x86-64 P-256. A security-related issue was recently reported in Go's crypto/elliptic package. To address this issue, we have just released Go 1.7.6 and Go 1.8.2. The Go team would like to thank Vlad Krasnov and Filippo Valsorda at Cloudflare for reporting the issue and providing a fix. The issue affects Go's P-256 implementation on the 64-bit x86 architecture. This is CVE-2017-8932 and was addressed by this change: https://golang.org/cl/41070, tracked in this issue: https://golang.org/issue/20040 To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 pkgsrc/lang/go/Makefile cvs rdiff -u -r1.48 -r1.49 pkgsrc/lang/go/distinfo cvs rdiff -u -r1.25 -r1.26 pkgsrc/lang/go/version.mk ------------------------------------------------------------------- Module Name: pkgsrc Committed By: wen Date: Sun Apr 9 08:23:43 UTC 2017 Modified Files: pkgsrc/lang/go: PLIST distinfo version.mk Log Message: Update to 1.8.1 Upstream changes: go1.8.1 (released 2017/04/07) includes fixes to the compiler, linker, runtime, +documentation, go command and the crypto/tls, encoding/xml, image/png, net, +net/http, reflect, text/template, and time packages. See the Go 1.8.1 milestone +on our issue tracker for details. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 pkgsrc/lang/go/PLIST cvs rdiff -u -r1.44 -r1.45 pkgsrc/lang/go/distinfo cvs rdiff -u -r1.23 -r1.24 pkgsrc/lang/go/version.mk @ text @d1 1 a1 1 # $NetBSD$ d7 1 @ 1.48 log @Update Go to 1.7.3. go1.7.2 should not be used. It was tagged but not fully released. The release was deferred due to a last minute bug report. Use go1.7.3 instead, and refer to the summary of changes below. go1.7.3 (released 2016/10/19) includes fixes to the compiler, runtime, and the crypto/cipher, crypto/tls, net/http, and strings packages. See the Go 1.7.3 milestone on our issue tracker for details. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.47 2016/09/17 15:56:58 bsiegert Exp $ d35 1 d38 1 d51 1 @ 1.47 log @Patch a subtle data corruption issue where the HTTP/2 client sometimes swallows the first byte of the request body. This will also be in the next point release. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.46 2016/08/31 14:15:33 jperkin Exp $ a6 1 PKGREVISION= 1 @ 1.47.2.1 log @Pullup ticket #5170 - requested by bsiegert lang/go: security update Revisions pulled up: - lang/go/Makefile 1.48 - lang/go/PLIST 1.28 - lang/go/distinfo 1.42,1.41 - lang/go/patches/patch-src_net_http_h2__bundle.go deleted - lang/go/version.mk 1.21,1.18 ------------------------------------------------------------------- Module Name: pkgsrc Committed By: bsiegert Date: Sun Dec 4 16:08:55 UTC 2016 Modified Files: pkgsrc/lang/go: distinfo version.mk Log Message: Update Go to 1.7.4. Two security-related issues were recently reported, and to address these issues we have just released Go 1.6.4 and Go 1.7.4. We recommend that all users update to one of these releases (if you're not sure which, choose Go 1.7.4). The issues addressed by these releases are: On Darwin, user's trust preferences for root certificates were not honored. If the user had a root certificate loaded in their Keychain that was explicitly not trusted, a Go program would still verify a connection using that root certificate. This is addressed by https://golang.org/cl/33721, tracked in https://golang.org/issue/18141. Thanks to Xy Ziemba for identifying and reporting this issue. The net/http package's Request.ParseMultipartForm method starts writing to temporary files once the request body size surpasses the given "maxMemory" limit. It was possible for an attacker to generate a multipart request crafted such that the server ran out of file descriptors. This is addressed by https://golang.org/cl/30410, tracked in https://golang.org/issue/17965. Thanks to Simon Rawet for the report. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 pkgsrc/lang/go/distinfo cvs rdiff -u -r1.20 -r1.21 pkgsrc/lang/go/version.mk ------------------------------------------------------------------- Module Name: pkgsrc Committed By: bsiegert Date: Thu Oct 27 18:58:00 UTC 2016 Modified Files: pkgsrc/lang/go: Makefile PLIST distinfo version.mk Removed Files: pkgsrc/lang/go/patches: patch-src_net_http_h2__bundle.go Log Message: Update Go to 1.7.3. go1.7.2 should not be used. It was tagged but not fully released. The release was deferred due to a last minute bug report. Use go1.7.3 instead, and refer to the summary of changes below. go1.7.3 (released 2016/10/19) includes fixes to the compiler, runtime, and the crypto/cipher, crypto/tls, net/http, and strings packages. See the Go 1.7.3 milestone on our issue tracker for details. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 pkgsrc/lang/go/Makefile cvs rdiff -u -r1.27 -r1.28 pkgsrc/lang/go/PLIST cvs rdiff -u -r1.40 -r1.41 pkgsrc/lang/go/distinfo cvs rdiff -u -r1.17 -r1.18 pkgsrc/lang/go/version.mk cvs rdiff -u -r1.1 -r0 \ pkgsrc/lang/go/patches/patch-src_net_http_h2__bundle.go @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.47 2016/09/17 15:56:58 bsiegert Exp $ d7 1 @ 1.46 log @Fix install on Linux and SunOS. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.45 2016/08/20 06:22:38 wiz Exp $ d7 1 @ 1.45 log @Update REPLACE_BASH patterns so this builds with PKG_DEVELOPER set on machines without /bin/bash. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.44 2016/08/19 09:38:06 bsiegert Exp $ d75 8 @ 1.44 log @Update Go to 1.7. The latest Go release, version 1.7, arrives six months after 1.6. Most of its changes are in the implementation of the toolchain, runtime, and libraries. There is one minor change to the language specification. As always, the release maintains the Go 1 promise of compatibility. We expect almost all Go programs to continue to compile and run as before. There is one tiny language change in this release. The section on terminating statements clarifies that to determine whether a statement list ends in a terminating statement, the “final non-empty statement” is considered the end, matching the existing behavior of the gc and gccgo compiler toolchains. In earlier releases the definition referred only to the “final statement,” leaving the effect of trailing empty statements at the least unclear. The go/types package has been updated to match the gc and gccgo compiler toolchains in this respect. This change has no effect on the correctness of existing programs. Go 1.7 adds support for macOS 10.12 Sierra. This support was backported to Go 1.6.3. Binaries built with versions of Go before 1.6.3 will not work correctly on Sierra. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.43 2016/07/18 20:37:40 bsiegert Exp $ a34 1 REPLACE_BASH+= misc/cgo/testcarchive/test.bash d51 1 @ 1.43 log @Update Go to 1.6.3. A security-related issue was recently reported in Go's net/http/cgi package and net/http package when used in a CGI environment. Go 1.6.3 and Go 1.7rc2 contain a fix for this issue. Go versions 1.0-1.6.2 and 1.7rc1 are vulnerable to an input validation flaw in the CGI components resulting in the HTTP_PROXY environment variable being set by the incoming Proxy header. This environment variable was also used to set the outgoing proxy, enabling an attacker to insert a proxy into outgoing requests of a CGI program. This is CVE-2016-5386 and was addressed by this change: https://golang.org/cl/25010, tracked in this issue: https://golang.org/issue/16405 The Go team would like to thank Dominic Scheirlinck for coordinating disclosure of this issue across multiple languages and CGI environments. Read more about "httpoxy" here: https://httpoxy.org/ Go 1.6.3 also adds support for macOS Sierra. See https://golang.org/issue/16354 for details. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.42 2016/07/09 06:38:25 wiz Exp $ d34 1 @ 1.42 log @Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.41 2016/04/13 07:12:00 bsiegert Exp $ a2 1 PKGREVISION= 1 @ 1.41 log @Update Go to 1.6.1. Two security-related issues were recently reported, and to address these issues we have just released Go 1.6.1 and Go 1.5.4. We recommend that all users update to one of these releases (if you're not sure which, choose Go 1.6.1). The issues addressed by these releases are: On Windows, Go loads system DLLs by name with LoadLibrary, making it vulnerable to DLL preloading attacks. For instance, if a user runs a Go executable from a Downloads folder, malicious DLL files also downloaded to that folder could be loaded into that executable. This is CVE-2016-3958 and was addressed by this change: https://golang.org/cl/21428 Thanks to Taru Karttunen for identifying this issue. Go's crypto libraries passed certain parameters unchecked to the underlying big integer library, possibly leading to extremely long-running computations, which in turn makes Go programs vulnerable to remote denial of service attacks. Programs using HTTPS client certificates or the Go SSH server libraries are both exposed to this vulnerability. This is CVE-2016-3959 and was addressed by this change: https://golang.org/cl/21533 Thanks to David Wong for identifying this issue. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.40 2016/04/08 20:00:02 bsiegert Exp $ d3 1 @ 1.40 log @Patch CVE-2016-3959 in Go. There will be a Go 1.6.1 release next week that fixes this properly. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.39 2016/02/23 20:12:25 bsiegert Exp $ a6 1 PKGREVISION= 1 @ 1.39 log @Update Go to 1.6. The latest Go release, version 1.6, arrives six months after 1.5. Most of its changes are in the implementation of the language, runtime, and libraries. There are no changes to the language specification. As always, the release maintains the Go 1 promise of compatibility. We expect almost all Go programs to continue to compile and run as before. The release adds new ports to Linux on 64-bit MIPS and Android on 32-bit x86; defined and enforced rules for sharing Go pointers with C; transparent, automatic support for HTTP/2; and a new mechanism for template reuse. Full changelog at https://golang.org/doc/go1.6. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.38 2016/01/31 10:17:27 bsiegert Exp $ d7 1 @ 1.38 log @Add the correct path for SSL certificates that mozilla-rootcerts uses. PR pkg/50690. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.37 2016/01/16 09:43:44 fhajny Exp $ a6 1 PKGREVISION= 1 d37 1 d47 1 a57 1 REPLACE_BASH+= test/bench/shootout/timing.sh d75 3 a77 1 cd ${WRKSRC}/src/syscall && ${PERL5} mksyscall_solaris.pl \ @ 1.37 log @Update lang/go to 1.5.3. This is a security-related release, it fixes CVE-2015-8618 that was partically patched in 1.5.2nb1. See full release notes for a description: https://groups.google.com/d/msg/golang-announce/MEATuOi_ei4/JsndUuZwEAAJ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.36 2015/12/22 20:44:40 bsiegert Exp $ d7 1 @ 1.36 log @Pull in https://golang.org/cl/17672, "math/big: fix carry propagation in Int.Exp Montgomery code", to fix CVE-2015-8618. From the oss-security posting that asked for a CVE: "The Go open source project has received notification of an error in the math/big library (https://golang.org/pkg/math/big/). The problem that was identified is similar to CVE-2015-3193 . The vulnerability was introduced in the 1.5 release, and remains present in Go 1.5.1 and 1.5.2. "A fix for the issue has been applied to the master branch of the Go repo under CL 17672 . We will also be releasing Go 1.5.3 to fix this vulnerability." ok wiz@@ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.35 2015/12/10 20:04:54 bsiegert Exp $ a6 1 PKGREVISION= 1 d19 1 a19 1 BUILD_DEPENDS+= bash>=4.2nb3:../../shells/bash @ 1.36.2.1 log @Pullup ticket #4908 - requested by bsiegert lang/go: bugfix Revisions pulled up: - lang/go/Makefile 1.38 - lang/go/distinfo 1.32 - lang/go/patches/patch-src_crypto_x509_root__bsd.go 1.1 ------------------------------------------------------------------- Module Name: pkgsrc Committed By: bsiegert Date: Sun Jan 31 10:17:27 UTC 2016 Modified Files: pkgsrc/lang/go: Makefile distinfo Added Files: pkgsrc/lang/go/patches: patch-src_crypto_x509_root__bsd.go Log Message: Add the correct path for SSL certificates that mozilla-rootcerts uses. PR pkg/50690. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 pkgsrc/lang/go/Makefile cvs rdiff -u -r1.31 -r1.32 pkgsrc/lang/go/distinfo cvs rdiff -u -r0 -r1.1 \ pkgsrc/lang/go/patches/patch-src_crypto_x509_root__bsd.go @ text @d1 1 a1 1 # $NetBSD$ d7 1 a7 1 PKGREVISION= 2 @ 1.35 log @Update Go to 1.5.2, original patch from Kamel Derouiche in PR pkg/50498. go1.5.2 (released 2015/12/02) includes bug fixes to the compiler, linker, and the mime/multipart, net, and runtime packages. See the Go 1.5.2 milestone on our issue tracker for details. https://github.com/golang/go/issues?q=milestone%3AGo1.5.2 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.34 2015/09/13 19:11:55 fhajny Exp $ d7 1 @ 1.34 log @Remove patch for a problem that was fixed in 1.5.1. Clear PKGREVISION after PKGVERSION update. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2015/08/25 23:09:51 fhajny Exp $ a24 4 # bash script may use unportable bash constructs CHECK_PORTABILITY_SKIP= lib/time/update.bash CHECK_PORTABILITY_SKIP= misc/ios/clangwrap.sh @ 1.33 log @Add support for the dup2 syscall on SunOS. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2015/08/25 23:07:23 fhajny Exp $ a6 1 PKGREVISION= 2 @ 1.32 log @Define test target for lang/go @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2015/08/22 23:49:13 wiz Exp $ d7 1 a7 1 PKGREVISION= 1 d78 4 @ 1.31 log @Fix interpreter path in more installed files. Ignore another file's interpreter during build. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2015/08/22 10:51:20 bsiegert Exp $ d89 3 @ 1.30 log @Update go to 1.5. This release now needs the previous one (lang/go14) to build. The biggest developments in the implementation are: * The compiler and runtime are now written entirely in Go (with a little assembler). C is no longer involved in the implementation, and so the C compiler that was once necessary for building the distribution is gone. * The garbage collector is now concurrent and provides dramatically lower pause times by running, when possible, in parallel with other goroutines. * By default, Go programs run with GOMAXPROCS set to the number of cores available; in prior releases it defaulted to 1. * Support for internal packages is now provided for all repositories, not just the Go core. * The go command now provides experimental support for "vendoring" external dependencies. * A new go tool trace command supports fine-grained tracing of program execution. * A new go doc command (distinct from godoc) is customized for command-line use. Full release notes are at https://golang.org/doc/go1.5. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2015/06/12 10:50:15 wiz Exp $ d7 1 d28 1 d39 2 d47 2 d50 3 @ 1.29 log @Recursive PKGREVISION bump for all packages mentioning 'perl', having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2015/05/03 15:32:02 bsiegert Exp $ a6 1 PKGREVISION= 2 a8 1 PATCH_SITES= https://codereview.appspot.com/download/ a32 2 REPLACE_BASH+= doc/progs/run REPLACE_BASH+= doc/progs/update.bash a36 1 REPLACE_BASH+= misc/cgo/testcdefs/test.bash a37 3 REPLACE_BASH+= misc/cgo/testso/test.bash REPLACE_BASH+= misc/makerelease/darwin/scripts/postinstall REPLACE_BASH+= misc/makerelease/darwin/scripts/preinstall a43 2 REPLACE_BASH+= src/cmd/go/mkdoc.sh REPLACE_BASH+= src/cmd/go/test.bash a48 1 REPLACE_BASH+= src/sudo.bash a52 1 REPLACE_BASH+= test/run d66 3 d70 1 a70 1 cd ${WRKSRC}/src && env GOROOT_FINAL=${GOROOT_FINAL:Q} ${BASH} ./make.bash @ 1.28 log @Remove some files that no longer exist from the replace-interpreter list. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2015/03/10 13:11:36 jperkin Exp $ d7 1 a7 1 PKGREVISION= 1 @ 1.27 log @Implement cgo support for illumos. Patches by Keith Wesolowski at Joyent. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2015/02/22 13:28:30 tnn Exp $ a48 2 REPLACE_BASH+= misc/vim/ftplugin/go/test.sh REPLACE_BASH+= misc/xcode/4/go4xcode.sh a65 2 REPLACE_PERL+= misc/pprof REPLACE_PERL+= misc/xcode/4/go4xcode.sh a66 1 REPLACE_PERL+= src/pkg/net/http/cgi/testdata/test.cgi @ 1.26 log @drop DIST_SUBDIR @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2015/02/04 22:57:46 tnn Exp $ d7 1 a22 8 PLIST_VARS+= cgo zsyscall .if ${OPSYS} == "SunOS" PLIST.zsyscall= yes .else PLIST.cgo= yes .endif d89 1 a89 1 find ${DESTDIR}${PREFIX}/go/src -name \*.orig -exec rm {} \; @ 1.25 log @Upstream did distfile switcheroo. Update checksum to match the one listed on https://golang.org/dl/. Diff to previous rel revealed nothing weird. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2015/01/16 11:27:03 wiz Exp $ a6 1 DIST_SUBDIR= ${PKGNAME_NOREV} # remove this line next release @ 1.24 log @Update to 1.4.1: We've just released Go version 1.4.1, a minor point release. This release fixes bugs in linker and the log, runtime, and syscall packages. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2014/12/31 11:40:14 bsiegert Exp $ d7 1 @ 1.23 log @Remove special case for golang.org/x/tools from the go command. We handle it differently in the go-tools package. While here, rename GO_COMPILER to GOCHAR, which is the name upstream uses. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2014/12/12 09:41:40 wiz Exp $ a6 1 PKGREVISION= 1 @ 1.22 log @Update to 1.4, ok bsiegert: Today we announce Go 1.4, the fifth major stable release of Go, arriving six months after our previous major release Go 1.3. It contains a small language change, support for more operating systems and processor architectures, and improvements to the tool chain and libraries. As always, Go 1.4 keeps the promise of compatibility, and almost everything will continue to compile and run without change when moved to 1.4. For the full details, see the Go 1.4 release notes. The most notable new feature in this release is official support for Android. Using the support in the core and the libraries in the golang.org/x/mobile repository, it is now possible to write simple Android apps using only Go code. At this stage, the support libraries are still nascent and under heavy development. Early adopters should expect a bumpy ride, but we welcome the community to get involved. The language change is a tweak to the syntax of for-range loops. You may now write "for range s {" to loop over each item from s, without having to assign the value, loop index, or map key. See the release notes for details. The go command has a new subcommand, go generate, to automate the running of tools to generate source code before compilation. For example, it can be used to automate the generation of String methods for typed constants using the new stringer tool. For more information, see the design document. Most programs will run about the same speed or slightly faster in 1.4 than in 1.3; some will be slightly slower. There are many changes, making it hard to be precise about what to expect. See the release notes for more discussion. And, of course, there are many more improvements and bug fixes. In case you missed it, a few weeks ago the sub-repositories were moved to new locations. For example, the go.tools packages are now imported from "golang.org/x/tools". See the announcement post for details. This release also coincides with the project's move from Mercurial to Git (for source control), Rietveld to Gerrit (for code review), and Google Code to Github (for issue tracking and wiki). The move affects the core Go repository and its sub-repositories. You can find the canonical Git repositories at go.googlesource.com, and the issue tracker and wiki at the golang/go GitHub repo. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2014/11/18 20:39:11 bsiegert Exp $ d7 1 @ 1.21 log @Add a separate Makefile for the version string plus GOARCH. To be used by Go packages. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2014/10/12 14:51:03 wiz Exp $ d44 1 d47 3 d55 1 d59 1 d61 1 a64 3 REPLACE_BASH+= src/pkg/runtime/mknacl.sh REPLACE_BASH+= src/pkg/syscall/mkall.sh REPLACE_BASH+= src/pkg/syscall/mkerrors.sh d67 1 d69 3 d77 1 d79 2 a80 10 REPLACE_PERL+= src/pkg/regexp/syntax/make_perl_groups.pl REPLACE_PERL+= src/pkg/syscall/mksyscall.pl REPLACE_PERL+= src/pkg/syscall/mksyscall_solaris.pl REPLACE_PERL+= src/pkg/syscall/mksysctl_openbsd.pl REPLACE_PERL+= src/pkg/syscall/mksysnum_darwin.pl REPLACE_PERL+= src/pkg/syscall/mksysnum_dragonfly.pl REPLACE_PERL+= src/pkg/syscall/mksysnum_freebsd.pl REPLACE_PERL+= src/pkg/syscall/mksysnum_linux.pl REPLACE_PERL+= src/pkg/syscall/mksysnum_netbsd.pl REPLACE_PERL+= src/pkg/syscall/mksysnum_openbsd.pl @ 1.20 log @Update to 1.3.3: go1.3.3 (released 2014/09/30) includes further bug fixes to cgo, the runtime package, and the nacl port. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2014/10/11 16:41:47 khorben Exp $ d3 4 a6 3 VERSION= 1.3.3 DISTNAME= go${VERSION}.src PKGNAME= go-${VERSION} a21 18 .include "../../mk/bsd.prefs.mk" # TODO: other arm platforms? ONLY_FOR_PLATFORM= *-*-i386 *-*-x86_64 *-*-evbarm NOT_FOR_PLATFORM= SunOS-*-i386 .if ${MACHINE_ARCH} == "i386" GOARCH= 386 GO_COMPILER= 8 .elif ${MACHINE_ARCH} == "x86_64" GOARCH= amd64 GO_COMPILER= 6 .elif ${MACHINE_ARCH} == "evbarm" GOARCH= arm GO_COMPILER= 5 .endif PLIST_SUBST+= GO_PLATFORM=${LOWER_OPSYS:Q}_${GOARCH:Q} GOARCH=${GOARCH:Q} PLIST_SUBST+= GO_COMPILER=${GO_COMPILER:Q} @ 1.19 log @Also look for the right path for the SSL certificate repository on NetBSD. Fixes "go get code.google.com/p/..." for me, once security/mozilla-rootcerts installed and configured (with the default settings). Bumps PKGREVISION, since the package is modified. ok bsiegert@@ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2014/09/26 13:54:28 wiz Exp $ d3 1 a3 1 VERSION= 1.3.2 a5 1 PKGREVISION= 1 @ 1.18 log @Update to 1.3.2 for a security fix: We've just released Go version 1.3.2, a minor point release. This release includes bug fixes to cgo and the crypto/tls package. https://golang.org/doc/devel/release.html#go1.3.minor The crpyto/tls fix addresses a security bug that affects programs that use crypto/tls to implement a TLS server from Go 1.1 onwards. If the server enables TLS client authentication using certificates (this is rare) and explicitly sets SessionTicketsDisabled to true in the tls.Config, then a malicious client can falsely assert ownership of any client certificate it wishes. This issue was discovered internally and there is no evidence of exploitation. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2014/08/17 15:17:42 wiz Exp $ d6 1 @ 1.17 log @Update to 1.3.1: This release includes bug fixes to the compiler and the runtime, net, and crypto/rsa packages. Ok bsiegert@@ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2014/07/30 12:04:20 fhajny Exp $ d3 1 a3 1 VERSION= 1.3.1 @ 1.16 log @SunOS-*-i386 is not supported yet, don't bother building for now. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2014/07/07 16:44:18 jperkin Exp $ d3 1 a3 1 VERSION= 1.3 @ 1.15 log @PLIST fixes for SunOS. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2014/06/22 14:50:47 bsiegert Exp $ d24 2 a25 1 ONLY_FOR_PLATFORM= *-*-i386 *-*-x86_64 *-*-evbarm d28 1 a28 1 GO_COMPILER= 8 d31 1 a31 1 GO_COMPILER= 6 d34 1 a34 1 GO_COMPILER= 5 d37 1 a37 1 PLIST_SUBST+= GO_COMPILER=${GO_COMPILER:Q} @ 1.14 log @Update go to 1.3. One of our patches was accepted upstream. Note that this is a leaf package. schmonz says it is ok to update this now. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2014/06/14 16:20:45 joerg Exp $ d38 8 @ 1.13 log @Generalize the orig removal. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2014/05/31 13:06:47 bsiegert Exp $ d3 1 a3 1 VERSION= 1.2.2 a5 1 PKGREVISION= 2 d53 1 d55 4 a58 2 REPLACE_BASH+= misc/dist/darwin/scripts/postinstall REPLACE_BASH+= misc/dist/darwin/scripts/preinstall d65 2 a68 1 REPLACE_BASH+= src/pkg/syscall/mkerrors_windows.sh d80 1 a80 1 REPLACE_PERL+= src/pkg/syscall/mksyscall_windows.pl d91 1 @ 1.12 log @Remove go/pkg/obj from the PLIST once and for all, and delete the directory in do-install. The obj files are build artifacts. Fixes breakage reported by wiz in private mail (I hope). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2014/05/29 23:36:43 wiz Exp $ d99 1 a99 1 ${RM} -f ${DESTDIR}${PREFIX}/go/src/cmd/ld/elf.c.orig @ 1.11 log @Bump for perl-5.20.0. Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2014/05/27 18:56:53 bsiegert Exp $ d6 1 a6 1 PKGREVISION= 1 d97 1 a97 1 cd ${WRKSRC} && rm -f .hgignore .hgtags @ 1.10 log @Update Go to latest version 1.2.2. go1.2.2 (released 2014/05/05) includes a security fix that affects the tour binary included in the binary distributions (thanks to Guillaume T). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2014/05/24 09:44:39 bsiegert Exp $ d6 1 @ 1.9 log @Apply patch from PR pkg/48834: introduce a GO_COMPILER variable that contains the "arch character" (5, 6 or 8) and substitute it in PLIST. Fixes installation on i386 and possibly evbarm. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2014/05/16 11:53:10 wiz Exp $ d3 1 a3 2 VERSION= 1.2.1 PKGREVISION= 2 d7 1 a7 1 MASTER_SITES= https://go.googlecode.com/files/ @ 1.8 log @Fix packaging after patch was added. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2014/05/15 19:35:49 christos Exp $ d4 1 a4 1 PKGREVISION= 1 d28 1 d31 1 d34 1 d37 1 @ 1.7 log @fix elf note computation @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2014/03/03 15:41:12 bsiegert Exp $ d95 1 @ 1.6 log @Update go to 1.2.1, released today. It contains the following fixes: * runtime: fix crash in runtime.GoroutineProfile * runtime: if traceback sees a breakpoint, don't change the PC * runtime: fix data race in GC * net: ignore some errors in windows Accept * database/sql: Use all connections in pool @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2014/01/05 14:55:09 wiz Exp $ d4 1 @ 1.5 log @FETCH_USING should not be set in package Makefiles. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2014/01/04 11:35:48 bsiegert Exp $ d3 3 a5 3 DISTNAME= go1.2.src PKGNAME= go-1.2 PKGREVISION= 1 a14 4 # Fixes Unix domain socket handling under NetBSD/current PATCHFILES= issue46420044_60001.diff PATCH_DIST_STRIP=-p1 @ 1.4 log @Apply a distribution patch to fix the handling of Unix domain sockets on NetBSD/current. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2013/12/15 21:50:34 bsiegert Exp $ a8 1 FETCH_USING?= curl @ 1.3 log @Update go to 1.2. Follow the example of OpenBSD ports and do not run the tests while building. They are flaky under the Makefile harness for some reason. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2013/09/24 20:53:48 bsiegert Exp $ d5 1 d8 1 d16 4 @ 1.3.2.1 log @Pullup ticket #4286 - requested by bsiegert lang/go: functionality update Revisions pulled up: - lang/go/Makefile 1.4 - lang/go/PLIST 1.4 - lang/go/distinfo 1.4 ------------------------------------------------------------------- Module Name: pkgsrc Committed By: bsiegert Date: Sat Jan 4 11:35:48 UTC 2014 Modified Files: pkgsrc/lang/go: Makefile PLIST distinfo Log Message: Apply a distribution patch to fix the handling of Unix domain sockets on NetBSD/current. Bump PKGREVISION. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/go/Makefile pkgsrc/lang/go/PLIST \ pkgsrc/lang/go/distinfo @ text @d1 1 a1 1 # $NetBSD$ a4 1 PKGREVISION= 1 a6 1 PATCH_SITES= https://codereview.appspot.com/download/ a13 4 # Fixes Unix domain socket handling under NetBSD/current PATCHFILES= issue46420044_60001.diff PATCH_DIST_STRIP=-p1 @ 1.2 log @Update go to 1.1.2. go1.1.2 (released 2013/08/13) includes fixes to the gc compiler and cgo, and the bufio, runtime, syscall, and time packages. See the change history for details. If you use package syscall's Getrlimit and Setrlimit functions under Linux on the ARM or 386 architectures, please note change 55ac276af5a7 that fixes issue 5949. This is a leaf package, so it should be ok during the freeze. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2013/07/07 08:10:14 wiz Exp $ d3 2 a4 2 DISTNAME= go1.1.2.src PKGNAME= go-1.1.2 d20 2 d31 1 a31 1 PLIST_SUBST+= GO_PLATFORM=${LOWER_OPSYS:Q}_${GOARCH:Q} d44 1 d48 1 a55 1 REPLACE_BASH+= src/cmd/godoc/setup-godoc-app.bash a61 1 REPLACE_BASH+= src/run.bash.orig d74 1 d88 1 a88 1 cd ${WRKSRC}/src && env GOROOT_FINAL=${GOROOT_FINAL:Q} ${BASH} ./all.bash d93 1 a93 1 .for cmd in go godoc gofmt @ 1.1 log @Import go-1.1.1 as lang/go, packaged by Benny Siegert for wip. The Go programming language is an open source project to make programmers more productive. Go is expressive, concise, clean, and efficient. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel type system enables flexible and modular program construction. Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time reflection. It's a fast, statically typed, compiled language that feels like a dynamically typed, interpreted language. @ text @d1 1 a1 1 # $NetBSD$ d3 2 a4 2 DISTNAME= go1.1.1.src PKGNAME= go-1.1.1 d7 1 @