Sun Mar 12 14:54:43 2023 UTC ()
syncthing: mark as not-for-go-1.20


(wiz)
diff -r1.168 -r1.169 pkgsrc/net/syncthing/Makefile

cvs diff -r1.168 -r1.169 pkgsrc/net/syncthing/Makefile (expand / switch to unified diff)

--- pkgsrc/net/syncthing/Makefile 2023/03/08 13:38:44 1.168
+++ pkgsrc/net/syncthing/Makefile 2023/03/12 14:54:43 1.169
@@ -1,28 +1,32 @@ @@ -1,28 +1,32 @@
1# $NetBSD: Makefile,v 1.168 2023/03/08 13:38:44 bsiegert Exp $ 1# $NetBSD: Makefile,v 1.169 2023/03/12 14:54:43 wiz Exp $
2 2
3# Protocol breaks require tech-pkg@ discussion and MAINTAINER approval. 3# Protocol breaks require tech-pkg@ discussion and MAINTAINER approval.
4DISTNAME= syncthing-source-v1.23.1 4DISTNAME= syncthing-source-v1.23.1
5PKGNAME= ${DISTNAME:S,source-v,,} 5PKGNAME= ${DISTNAME:S,source-v,,}
6PKGREVISION= 1 6PKGREVISION= 1
7CATEGORIES= net 7CATEGORIES= net
8MASTER_SITES= ${MASTER_SITE_GITHUB:=syncthing/} 8MASTER_SITES= ${MASTER_SITE_GITHUB:=syncthing/}
9GITHUB_RELEASE= v${PKGVERSION_NOREV} 9GITHUB_RELEASE= v${PKGVERSION_NOREV}
10 10
11COMMENT= Keeps directories in sync across hosts 11COMMENT= Keeps directories in sync across hosts
12HOMEPAGE= https://syncthing.net/ 12HOMEPAGE= https://syncthing.net/
13MAINTAINER= gdt@NetBSD.org 13MAINTAINER= gdt@NetBSD.org
14LICENSE= mpl-2.0 14LICENSE= mpl-2.0
15 15
 16# does not support go 1.20 yet (as of 1.23.1)
 17# vendor/github.com/lucas-clemente/quic-go/internal/qtls/go120.go:5:13: cannot use "The version of quic-go you're using can't be built on Go 1.20 yet. For more details, please see https://github.com/lucas-clemente/quic-go/wiki/quic-go-and-Go-versions." (untyped string constant "The version of quic-go you're using can't be built on Go 1.20 yet. F...) as int value in variable declaration
 18GO_VERSION_DEFAULT= 119
 19
16# The 'zillode' dependency calls the compiler on certain archs. 20# The 'zillode' dependency calls the compiler on certain archs.
17USE_LANGUAGES= c 21USE_LANGUAGES= c
18WRKSRC= ${WRKDIR}/syncthing 22WRKSRC= ${WRKDIR}/syncthing
19NO_CONFIGURE= yes 23NO_CONFIGURE= yes
20INSTALLATION_DIRS= bin share/applications 24INSTALLATION_DIRS= bin share/applications
21 25
22CHECK_RELRO_SKIP+= bin/syncthing 26CHECK_RELRO_SKIP+= bin/syncthing
23 27
24SUBST_CLASSES+= version 28SUBST_CLASSES+= version
25SUBST_STAGE.version= pre-build 29SUBST_STAGE.version= pre-build
26SUBST_MESSAGE.version= Fixing version string 30SUBST_MESSAGE.version= Fixing version string
27SUBST_FILES.version= build.go 31SUBST_FILES.version= build.go
28SUBST_SED.version= -e 's|runError("git", "describe", "--always", "--dirty")|runError("echo","v${PKGVERSION_NOREV}")|' 32SUBST_SED.version= -e 's|runError("git", "describe", "--always", "--dirty")|runError("echo","v${PKGVERSION_NOREV}")|'