head	1.31;
access;
symbols
	pkgsrc-2026Q1:1.31.0.2
	pkgsrc-2026Q1-base:1.31
	pkgsrc-2025Q4:1.29.0.20
	pkgsrc-2025Q4-base:1.29
	pkgsrc-2025Q3:1.29.0.18
	pkgsrc-2025Q3-base:1.29
	pkgsrc-2025Q2:1.29.0.16
	pkgsrc-2025Q2-base:1.29
	pkgsrc-2025Q1:1.29.0.14
	pkgsrc-2025Q1-base:1.29
	pkgsrc-2024Q4:1.29.0.12
	pkgsrc-2024Q4-base:1.29
	pkgsrc-2024Q3:1.29.0.10
	pkgsrc-2024Q3-base:1.29
	pkgsrc-2024Q2:1.29.0.8
	pkgsrc-2024Q2-base:1.29
	pkgsrc-2024Q1:1.29.0.6
	pkgsrc-2024Q1-base:1.29
	pkgsrc-2023Q4:1.29.0.4
	pkgsrc-2023Q4-base:1.29
	pkgsrc-2023Q3:1.29.0.2
	pkgsrc-2023Q3-base:1.29
	pkgsrc-2023Q2:1.28.0.2
	pkgsrc-2023Q2-base:1.28
	pkgsrc-2023Q1:1.27.0.6
	pkgsrc-2023Q1-base:1.27
	pkgsrc-2022Q4:1.27.0.4
	pkgsrc-2022Q4-base:1.27
	pkgsrc-2022Q3:1.27.0.2
	pkgsrc-2022Q3-base:1.27
	pkgsrc-2022Q2:1.26.0.8
	pkgsrc-2022Q2-base:1.26
	pkgsrc-2022Q1:1.26.0.6
	pkgsrc-2022Q1-base:1.26
	pkgsrc-2021Q4:1.26.0.4
	pkgsrc-2021Q4-base:1.26
	pkgsrc-2021Q3:1.26.0.2
	pkgsrc-2021Q3-base:1.26
	pkgsrc-2021Q2:1.25.0.2
	pkgsrc-2021Q2-base:1.25
	pkgsrc-2021Q1:1.24.0.2
	pkgsrc-2021Q1-base:1.24
	pkgsrc-2020Q4:1.23.0.2
	pkgsrc-2020Q4-base:1.23
	pkgsrc-2020Q3:1.22.0.2
	pkgsrc-2020Q3-base:1.22
	pkgsrc-2020Q2:1.21.0.4
	pkgsrc-2020Q2-base:1.21
	pkgsrc-2020Q1:1.21.0.2
	pkgsrc-2020Q1-base:1.21
	pkgsrc-2019Q4:1.20.0.4
	pkgsrc-2019Q4-base:1.20
	pkgsrc-2019Q3:1.19.0.2
	pkgsrc-2019Q3-base:1.19
	pkgsrc-2019Q2:1.18.0.2
	pkgsrc-2019Q2-base:1.18
	pkgsrc-2019Q1:1.17.0.6
	pkgsrc-2019Q1-base:1.17
	pkgsrc-2018Q4:1.17.0.4
	pkgsrc-2018Q4-base:1.17
	pkgsrc-2018Q3:1.17.0.2
	pkgsrc-2018Q3-base:1.17
	pkgsrc-2018Q2:1.16.0.4
	pkgsrc-2018Q2-base:1.16
	pkgsrc-2018Q1:1.16.0.2
	pkgsrc-2018Q1-base:1.16
	pkgsrc-2017Q4:1.14.0.2
	pkgsrc-2017Q4-base:1.14
	pkgsrc-2017Q3:1.13.0.4
	pkgsrc-2017Q3-base:1.13
	pkgsrc-2017Q2:1.10.0.4
	pkgsrc-2017Q2-base:1.10
	pkgsrc-2017Q1:1.10.0.2
	pkgsrc-2017Q1-base:1.10
	pkgsrc-2016Q4:1.9.0.2
	pkgsrc-2016Q4-base:1.9
	pkgsrc-2016Q3:1.8.0.2
	pkgsrc-2016Q3-base:1.8
	pkgsrc-2016Q2:1.7.0.4
	pkgsrc-2016Q2-base:1.7
	pkgsrc-2016Q1:1.7.0.2
	pkgsrc-2016Q1-base:1.7
	pkgsrc-2015Q4:1.6.0.2
	pkgsrc-2015Q4-base:1.6
	pkgsrc-2015Q3:1.3.0.2
	pkgsrc-2015Q3-base:1.3;
locks; strict;
comment	@# @;


1.31
date	2026.02.16.18.28.28;	author maya;	state Exp;
branches;
next	1.30;
commitid	LpfBWAYNb7PNbDuG;

1.30
date	2026.02.16.17.51.58;	author maya;	state Exp;
branches;
next	1.29;
commitid	sA1lXtHiziSXYCuG;

1.29
date	2023.07.15.10.52.59;	author bsiegert;	state Exp;
branches;
next	1.28;
commitid	AvpTGe7iqymJ6TwE;

1.28
date	2023.06.06.12.41.44;	author riastradh;	state Exp;
branches;
next	1.27;
commitid	xhspr6Z8JLQOWSrE;

1.27
date	2022.06.28.11.34.13;	author wiz;	state Exp;
branches;
next	1.26;
commitid	D2UoJrTHpoHEANJD;

1.26
date	2021.07.03.10.29.26;	author thor;	state Exp;
branches;
next	1.25;
commitid	0K5SdtGHqAvuPwZC;

1.25
date	2021.05.24.19.52.33;	author wiz;	state Exp;
branches;
next	1.24;
commitid	qokaiStTApGMcrUC;

1.24
date	2021.02.20.13.54.46;	author bsiegert;	state Exp;
branches;
next	1.23;
commitid	DfdXd8XxfspZdsIC;

1.23
date	2020.10.20.11.22.27;	author nia;	state Exp;
branches;
next	1.22;
commitid	PkjamWBBkXuRlDsC;

1.22
date	2020.08.31.18.09.50;	author wiz;	state Exp;
branches;
next	1.21;
commitid	7zxRbfOkDOoxbfmC;

1.21
date	2020.01.26.17.31.28;	author rillig;	state Exp;
branches;
next	1.20;
commitid	4fBBvoSLJaGd0eUB;

1.20
date	2019.11.03.19.04.01;	author rillig;	state Exp;
branches;
next	1.19;
commitid	puQpdVbj8afCdrJB;

1.19
date	2019.08.11.13.21.21;	author wiz;	state Exp;
branches;
next	1.18;
commitid	Ifet9Pg6Qt99ZByB;

1.18
date	2019.04.13.23.09.40;	author maya;	state Exp;
branches;
next	1.17;
commitid	KjhEBtyN2Fo88fjB;

1.17
date	2018.08.22.09.45.20;	author wiz;	state Exp;
branches;
next	1.16;
commitid	YLub8g3ofvFGb6PA;

1.16
date	2018.01.30.17.05.22;	author jperkin;	state Exp;
branches;
next	1.15;
commitid	a4huZlg0u5facVoA;

1.15
date	2018.01.20.16.55.25;	author christos;	state Exp;
branches;
next	1.14;
commitid	eadVJ533n83UsDnA;

1.14
date	2017.10.04.10.03.53;	author jperkin;	state Exp;
branches;
next	1.13;
commitid	yNpCFYvcqTfUEI9A;

1.13
date	2017.09.02.17.15.00;	author bsiegert;	state Exp;
branches;
next	1.12;
commitid	ThvCN3wuLC3F3E5A;

1.12
date	2017.07.22.19.32.41;	author wiz;	state Exp;
branches;
next	1.11;
commitid	WRuiFrybV0Pdbg0A;

1.11
date	2017.07.22.10.00.21;	author wiz;	state Exp;
branches;
next	1.10;
commitid	nRnFgeGhXAig1d0A;

1.10
date	2017.03.16.18.55.09;	author tron;	state Exp;
branches;
next	1.9;
commitid	lkfRodBdZ5Ey5OJz;

1.9
date	2016.10.04.18.45.22;	author bsiegert;	state Exp;
branches;
next	1.8;
commitid	w4hDisvngVOUgRoz;

1.8
date	2016.07.09.06.38.25;	author wiz;	state Exp;
branches;
next	1.7;
commitid	dlqnocGpOoXV2Cdz;

1.7
date	2016.02.21.14.32.24;	author bsiegert;	state Exp;
branches;
next	1.6;
commitid	HtF68WivX4eS8NVy;

1.6
date	2015.12.21.20.20.02;	author bsiegert;	state Exp;
branches;
next	1.5;
commitid	sdWj353ZvmOq3RNy;

1.5
date	2015.09.27.00.36.02;	author tnn;	state Exp;
branches;
next	1.4;
commitid	XBfLWvEgpaTWePCy;

1.4
date	2015.09.26.17.37.01;	author bsiegert;	state Exp;
branches;
next	1.3;
commitid	Nr9QoVSSAQfMUMCy;

1.3
date	2015.08.22.23.32.40;	author wiz;	state Exp;
branches
	1.3.2.1;
next	1.2;
commitid	qz8FbSnobBTN0kyy;

1.2
date	2015.08.22.10.46.33;	author bsiegert;	state Exp;
branches;
next	1.1;
commitid	lKIT5pA35Ez0Mfyy;

1.1
date	2015.07.31.14.46.25;	author bsiegert;	state Exp;
branches;
next	;
commitid	pTJGchcUDbWQNrvy;

1.3.2.1
date	2015.10.06.16.37.05;	author spz;	state Exp;
branches;
next	;
commitid	yuODntV7ViWIg4Ey;


desc
@@


1.31
log
@go14: document why we force gnu99
@
text
@# $NetBSD: Makefile,v 1.30 2026/02/16 17:51:58 maya Exp $

.include "../../lang/go/version.mk"

DISTNAME=	go${GO14_VERSION}.src
PKGNAME=	go14-${GO14_VERSION}
PKGREVISION=	15
CATEGORIES=	lang
MASTER_SITES=	https://storage.googleapis.com/golang/
PATCH_SITES=	https://codereview.appspot.com/download/

MAINTAINER=	bsiegert@@NetBSD.org
HOMEPAGE=	https://golang.org/
COMMENT=	The Go programming language
LICENSE=	modified-bsd

WRKSRC=		${WRKDIR}/go
USE_TOOLS+=	bash:run perl:run pax touch awk

# Doesn't build with C23 - "bool" is a keyword.
FORCE_C_STD=	gnu99

# uses ulimit -T
TOOL_DEPENDS+=	bash>=4.2nb3:../../shells/bash

# cgo compiles under TMPDIR
TMPDIR?=	/tmp
BUILDLINK_PASSTHRU_DIRS+= ${TMPDIR}

GOROOT_FINAL=		${PREFIX}/go14
INSTALLATION_DIRS=	go14

MAKE_ENV+=	GOROOT_FINAL=${GOROOT_FINAL:Q}
MAKE_ENV+=	CGO_ENABLED=0

REPLACE_BASH+=	doc/articles/wiki/test.bash
REPLACE_BASH+=	doc/codewalk/run
REPLACE_BASH+=	doc/progs/run
REPLACE_BASH+=	doc/progs/update.bash
REPLACE_BASH+=	lib/codereview/test.sh
REPLACE_BASH+=	lib/time/update.bash
REPLACE_BASH+=	misc/arm/a
REPLACE_BASH+=	misc/benchcmp
REPLACE_BASH+=	misc/cgo/errors/test.bash
REPLACE_BASH+=	misc/cgo/testcdefs/test.bash
REPLACE_BASH+=	misc/cgo/testgodefs/test.bash
REPLACE_BASH+=	misc/cgo/testso/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/clean.bash
REPLACE_BASH+=	src/cmd/go/mkdoc.sh
REPLACE_BASH+=	src/cmd/go/test.bash
REPLACE_BASH+=	src/make.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/sudo.bash
REPLACE_BASH+=	src/syscall/mkall.sh
REPLACE_BASH+=	src/syscall/mkerrors.sh
REPLACE_BASH+=	src/syscall/mksysnum_plan9.sh
REPLACE_BASH+=	test/bench/shootout/timing.sh
REPLACE_BASH+=	test/run

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

REPLACE_AWK+=	src/cmd/gc/bisonerrors

NOT_FOR_PLATFORM+=	*-*-aarch64
NOT_FOR_PLATFORM+=	*-*-aarch64eb

# uses its own linker which does not support relro in 1.4.x
CHECK_RELRO_SKIP=	go14/bin/go
CHECK_RELRO_SKIP+=	go14/bin/gofmt

# uses /bin/rc (for Plan 9)
CHECK_INTERPRETER_SKIP+=	go14/include/plan9/mklibc.rc
CHECK_INTERPRETER_SKIP+=	go14/src/all.rc
CHECK_INTERPRETER_SKIP+=	go14/src/clean.rc
CHECK_INTERPRETER_SKIP+=	go14/src/make.rc
CHECK_INTERPRETER_SKIP+=	go14/src/run.rc

do-build:
	cd ${WRKSRC}/src && ${PKGSRC_SETENV} ${MAKE_ENV}  ${GOOPT} ${BASH} ./make.bash

do-install:
	cd ${WRKSRC} && rm -rf .hgignore .hgtags pkg/obj
	cd ${WRKDIR}/go && pax -rw * ${DESTDIR}${GOROOT_FINAL}
	find ${DESTDIR}${GOROOT_FINAL} -name \*.orig -exec rm {} \;
	find ${DESTDIR}${GOROOT_FINAL} -type f -exec ${TOUCH} -r ${DESTDIR}${GOROOT_FINAL} {} \;


.include "../../mk/bsd.pkg.mk"
@


1.30
log
@go14: Force use of gnu99 C standard

This package attempts to typedef bool, but it's a keyword in C23.
The default compiler on Fedora 43 defaults to C23, so this fixes the build
there.

Maybe we shouldn't have -Werror, but it was easier to do this than figure
where -Werror is coming from.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2023/07/15 10:52:59 bsiegert Exp $
d19 2
@


1.29
log
@Revbump all Go packages after go120 update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2023/06/06 12:41:44 riastradh Exp $
d19 1
@


1.28
log
@Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.

Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).

No change to BUILD_DEPENDS as used correctly inside buildlink3.

As proposed on tech-pkg:
https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2022/06/28 11:34:13 wiz Exp $
d7 1
a7 1
PKGREVISION=	14
@


1.27
log
@*: recursive bump for perl 5.36
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2021/07/03 10:29:26 thor Exp $
d21 1
a21 1
BUILD_DEPENDS+=	bash>=4.2nb3:../../shells/bash
@


1.26
log
@lang/go14: use awk and fix a script for it
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2021/05/24 19:52:33 wiz Exp $
d7 1
a7 1
PKGREVISION=	13
@


1.25
log
@*: recursive bump for perl 5.34
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2021/02/20 13:54:46 bsiegert Exp $
d18 1
a18 1
USE_TOOLS+=	bash:run perl:run pax touch
d70 2
@


1.24
log
@go14: prevent spurious recompiles of standard library packages

This touches all compiled std library files after installation, to avoid
extra recompilations when a dependent package (most likely a newer Go
release) is being built.

Patch from mlelstv@@ in PR pkg/55900.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2020/10/20 11:22:27 nia Exp $
d7 1
a7 1
PKGREVISION=	12
@


1.23
log
@go14: Not for aarch64
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2020/08/31 18:09:50 wiz Exp $
d7 1
a7 1
PKGREVISION=	11
d18 1
a18 1
USE_TOOLS+=	bash:run perl:run pax
d91 2
@


1.22
log
@*: bump PKGREVISION for perl-5.32.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2020/01/26 17:31:28 rillig Exp $
d70 3
@


1.21
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
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2019/11/03 19:04:01 rillig Exp $
d7 1
a7 1
PKGREVISION=	10
@


1.20
log
@lang: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2019/08/11 13:21:21 wiz Exp $
d13 1
a13 1
HOMEPAGE=	http://golang.org/
@


1.19
log
@Bump PKGREVISIONs for perl 5.30.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2019/04/13 23:09:40 maya Exp $
d27 2
a28 2
GOROOT_FINAL=	${PREFIX}/go14
INSTALLATION_DIRS= go14
@


1.18
log
@go14: fix bootstrap for newer openbsd.

openbsd requires mapping the stack with MAP_STACK. binaries not doing this
will not run. patch taken from openbsd ports, via sjmulder.

I modified it to use GOOS_openbsd, because other OSes are not provided
an implementation of sysMarkStack.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2018/08/22 09:45:20 wiz Exp $
d7 1
a7 1
PKGREVISION=	9
@


1.17
log
@Recursive bump for perl5-5.28.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2018/01/30 17:05:22 jperkin Exp $
d7 1
a7 1
PKGREVISION=	7
@


1.16
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.15 2018/01/20 16:55:25 christos Exp $
d7 1
a7 1
PKGREVISION=	6
@


1.15
log
@Add Yasushi Oshima patches for arm from:
    https://github.com/oshimaya/pkgsrc/tree/master/lang/go14
@
text
@d1 1
a1 1
# $NetBSD$
a72 2
# also does not support SSP at this time
CHECK_SSP_SKIP=		${CHECK_RELRO_SKIP}
@


1.14
log
@go*: Disable SSP checks for similar reasons as RELRO.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2017/09/02 17:15:00 bsiegert Exp $
d7 1
a7 1
PKGREVISION=	5
d84 1
a84 1
	cd ${WRKSRC}/src && ${PKGSRC_SETENV} ${MAKE_ENV} ${BASH} ./make.bash
@


1.13
log
@Disable cgo, bump PKGREVISION.

"The bitrot will continue until morale improves."

Go 1.4 is only used as a bootstrap helper to compile a more recent Go.
However, cgo in 1.4 no longer works with current binutils.

Prodded by Thomas Orgis on the mailing list.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2017/07/22 19:32:41 wiz Exp $
d73 2
@


1.12
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.11 2017/07/22 10:00:21 wiz Exp $
d7 1
a7 1
PKGREVISION=	4
d30 3
d82 1
a82 1
	cd ${WRKSRC}/src && env GOROOT_FINAL=${GOROOT_FINAL:Q} ${BASH} ./make.bash
@


1.11
log
@Remove references to non-existing files.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2017/03/16 18:55:09 tron Exp $
d67 4
@


1.10
log
@As this package doesn't install anything into "bin" we don't need to
create that directory.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2016/10/04 18:45:22 bsiegert Exp $
a41 2
REPLACE_BASH+=	misc/makerelease/darwin/scripts/postinstall
REPLACE_BASH+=	misc/makerelease/darwin/scripts/preinstall
@


1.9
log
@Backport fixes for compiling under macOS Sierra from
https://github.com/golang/go/issues/16352.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2016/07/09 06:38:25 wiz Exp $
d28 1
a28 1
INSTALLATION_DIRS= bin go14
@


1.8
log
@Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2016/02/21 14:32:24 bsiegert Exp $
d7 1
a7 1
PKGREVISION=	3
@


1.7
log
@Backport fix for new binutils to make go14 compile under NetBSD-current.
Patch from Ryo Onodera in PR pkg/50777.

The upstream bug report is https://github.com/golang/go/issues/13114.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2015/12/21 20:20:02 bsiegert Exp $
d7 1
a7 1
PKGREVISION=	2
@


1.6
log
@Pull in http://golang.org/cl/8261 to fix build on OpenIndiana,
PR pkg/50565.

ok wiz@@
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2015/09/27 00:36:02 tnn Exp $
d7 1
a7 1
PKGREVISION=	1
@


1.5
log
@more REPLACE_BASH
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2015/09/26 17:37:01 bsiegert Exp $
d7 1
@


1.4
log
@Update go14 to 1.4.3. It fixes four security-related issues.

The issues were reported in Go's net/http package. They affect programs using
that package to proxy HTTP requests. We recommend that all users upgrade to Go
1.5, which fixes these issues. For users unable to upgrade to Go 1.5, we have
released version 1.4.3, which is based on Go 1.4.2 plus fixes for these issues.
Affected Go programs—those that use the net/http package as a proxy server—must
be recompiled with Go 1.5 or Go 1.4.3 to receive the fixes.

The CVE issue descriptions and fixes are linked below.

CVE-2015-5739
"Content Length" treated as valid header:
https://go-review.googlesource.com/#/c/11772/

CVE-2015-5740
Double content-length headers does not return 400 error:
https://go-review.googlesource.com/#/c/11810/

CVE-2015-5741
Additional hardening, not sending Content-Length w/Transfer-Encoding,
Closing connections:
https://go-review.googlesource.com/#/c/11810/
https://go-review.googlesource.com/#/c/12865/
https://go-review.googlesource.com/#/c/13148/

The Go team would like to thank Jed Denlea and Régis Leroy for their
contributions to this release. They have been awarded 1337 USD under the Google
Security Bounty program.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2015/08/22 23:32:40 wiz Exp $
a25 3
# bash script may use unportable bash constructs
CHECK_PORTABILITY_SKIP=	lib/time/update.bash

d33 1
@


1.3
log
@Fix CHECK_FILES_SKIP patterns for new PREFIX.

No change to binary package, so no PKGREVISION bump.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2015/08/22 10:46:33 bsiegert Exp $
a6 1
PKGREVISION=	2
@


1.3.2.1
log
@Pullup ticket #4819 - requested by bsiegert
lang/go14: security update

Revisions pulled up:
- lang/go/version.mk                                            1.9
- lang/go14/Makefile                                            1.5
- lang/go14/PLIST                                               1.2
- lang/go14/distinfo                                            1.3

-------------------------------------------------------------------
   Module Name:    pkgsrc
   Committed By:   tnn
   Date:           Sun Sep 27 00:36:02 UTC 2015

   Modified Files:
           pkgsrc/lang/go14: Makefile

   Log Message:
   more REPLACE_BASH


   To generate a diff of this commit:
   cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/go14/Makefile

-------------------------------------------------------------------
   Module Name:    pkgsrc
   Committed By:   bsiegert
   Date:           Sat Sep 26 17:37:01 UTC 2015

   Modified Files:
           pkgsrc/lang/go: version.mk
           pkgsrc/lang/go14: Makefile PLIST distinfo

   Log Message:
   Update go14 to 1.4.3. It fixes four security-related issues.

   The issues were reported in Go's net/http package. They affect programs usi=
   ng
   that package to proxy HTTP requests. We recommend that all users upgrade to=
    Go
   1.5, which fixes these issues. For users unable to upgrade to Go 1.5, we ha=
   ve
   released version 1.4.3, which is based on Go 1.4.2 plus fixes for these iss=
   ues.
   Affected Go programs=E2=80=94those that use the net/http package as a proxy=
    server=E2=80=94must
   be recompiled with Go 1.5 or Go 1.4.3 to receive the fixes.

   The CVE issue descriptions and fixes are linked below.

   CVE-2015-5739
   "Content Length" treated as valid header:
   https://go-review.googlesource.com/#/c/11772/

   CVE-2015-5740
   Double content-length headers does not return 400 error:
   https://go-review.googlesource.com/#/c/11810/

   CVE-2015-5741
   Additional hardening, not sending Content-Length w/Transfer-Encoding,
   Closing connections:
   https://go-review.googlesource.com/#/c/11810/
   https://go-review.googlesource.com/#/c/12865/
   https://go-review.googlesource.com/#/c/13148/

   The Go team would like to thank Jed Denlea and R=C3=A9gis Leroy for their
   contributions to this release. They have been awarded 1337 USD under the Go=
   ogle
   Security Bounty program.


   To generate a diff of this commit:
   cvs rdiff -u -r1.8 -r1.9 pkgsrc/lang/go/version.mk
   cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/go14/Makefile
   cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/go14/PLIST
   cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/go14/distinfo
@
text
@d1 1
a1 1
# $NetBSD$
d7 1
d27 3
a36 1
REPLACE_BASH+=	lib/codereview/test.sh
@


1.2
log
@Fix build on Darwin by adding go14 to INSTALLATION_DIRS. Darwin's pax
does not create the directory itself.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2015/07/31 14:46:25 bsiegert Exp $
d72 5
a76 5
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
@


1.1
log
@Create lang/go14 as a copy of lang/go but which installs under
$PREFIX/go14.

Go 1.5 is going to be released soon, and it will depend on an existing
installation of Go 1.4 to compile. So let's provide one.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2015/06/12 10:50:15 wiz Exp $
d31 1
a31 1
INSTALLATION_DIRS= bin
@

