From: YASUOKA Masahiko Subject: Re: [patch (kind of)] sysutils/gitlab-cli: terminal input doesn't work properly on OpenBSD To: pascal@stumpf.co Cc: kn@openbsd.org, misha@freebsd.org, ports@openbsd.org Date: Tue, 03 Mar 2026 00:32:19 +0900 On Sun, 01 Mar 2026 13:09:53 +0100 Pascal Stumpf wrote: > On Sat, 28 Feb 2026 13:48:15 +0000, Klemens Nanni wrote: >> 28.02.2026 12:55, Stuart Henderson пишет: >> > On 2026/02/28 15:52, YASUOKA Masahiko wrote: >> >> I created a patch which makes the program use >> >> https://github.com/bsdmp/survey . >> >> >> >> If this way is ok, I'll create a diff for gitlab-cli. >> > >> > Here's a simplified version, tested and ok with me. >> >> Yes, please! >> >> Could you add a brief comment above SURVEY_V what it's for? >> >> Either way, OK kn >> >> >> Could this be applied to sysutils/gitlab-cli as well? > > gitlab-cli does not use survey any more. You're right. I didn't aware that..., thanks. Let me revert the previous. Index: Makefile =================================================================== RCS file: /cvs/ports/sysutils/gitlab-cli/Makefile,v diff -u -p -r1.46 Makefile --- Makefile 28 Feb 2026 16:12:42 -0000 1.46 +++ Makefile 2 Mar 2026 15:30:19 -0000 @@ -6,11 +6,7 @@ MODGO_VERSION = v${V} DISTNAME = cli-${MODGO_VERSION} PKGNAME = gitlab-cli-${V} -REVISION = 0 - -SURVEY_V = vv2.3.8 -DIST_TUPLE = github bsdmp survey ${SURVEY_V} ../survey -EXTRACT_ONLY = bsdmp-survey-${SURVEY_V}.tar.gz +REVISION = 1 CATEGORIES = sysutils HOMEPAGE = https://docs.gitlab.com/ee/integration/glab/ @@ -27,10 +23,6 @@ BUILD_DEPENDS = lang/go>=1.24.2 MODGO_LDFLAGS = -X main.version=${V} TEST_TARGET = ./... - -pre-build: - cd ${WRKSRC}; ${MODGO_CMD} mod edit -replace \ - github.com/AlecAivazis/survey/v2=${WRKDIR}/survey post-install: ${WRKDIR}/go/bin/gen-docs --path ${PREFIX}/man/man1 --manpage Index: distinfo =================================================================== RCS file: /cvs/ports/sysutils/gitlab-cli/distinfo,v diff -u -p -r1.45 distinfo --- distinfo 28 Feb 2026 16:12:42 -0000 1.45 +++ distinfo 2 Mar 2026 15:30:20 -0000 @@ -1,4 +1,3 @@ -SHA256 (bsdmp-survey-vv2.3.8.tar.gz) = fPcSUSZ4Kkovs52dRmmAtg+lX8R/EDkhLaLMZJCphMU= SHA256 (cli-v1.85.0.zip) = hYO7yC6gzqViGUIqOagtPLhCJWQGsgmB1VK1urUh+CM= SHA256 (go_modules/al.essio.dev/pkg/shellescape/@v/v1.5.1.mod) = fW3oKR7t4TYCgXcER8PoYsrLbEot39+WoKs40YzeHLw= SHA256 (go_modules/al.essio.dev/pkg/shellescape/@v/v1.6.0.mod) = fW3oKR7t4TYCgXcER8PoYsrLbEot39+WoKs40YzeHLw= @@ -694,7 +693,6 @@ SHA256 (go_modules/sigs.k8s.io/structure SHA256 (go_modules/sigs.k8s.io/yaml/@v/v1.4.0.mod) = CZ2G+OBNET1A9KFSzf4AFxFtfv6mjkF6nGRthgJj174= SHA256 (go_modules/sigs.k8s.io/yaml/@v/v1.6.0.mod) = Tjw8HUmmZSRA/3D7R15Urka+LKtjzEZyGzwC/ZzKmF4= SHA256 (go_modules/sigs.k8s.io/yaml/@v/v1.6.0.zip) = z4hkikcVgYF7AKQu6NJP1z6w41A5mM9G2OY3h+EeUFI= -SIZE (bsdmp-survey-vv2.3.8.tar.gz) = 125803 SIZE (cli-v1.85.0.zip) = 17703196 SIZE (go_modules/al.essio.dev/pkg/shellescape/@v/v1.5.1.mod) = 113 SIZE (go_modules/al.essio.dev/pkg/shellescape/@v/v1.6.0.mod) = 113