From nobody Sat Mar 18 05:23:10 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PdqCL4D4Zz3y6vb; Sat, 18 Mar 2023 05:23:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PdqCL36Zrz4lGt; Sat, 18 Mar 2023 05:23:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679116990; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WIXaCrkAfXC8nW272piihuLW7sStctiWd326kHGxZcY=; b=qNzxYABlac30u424urt6Ob1YbZlZERHUpI6PygVVoIinaZjrebi+BUkpKo9yNET0H/dY1Z /lz1hXMY9MXwTj85AWnyIKeB+aRlfMxS0c10R5hCcVbRSR4UsD3UzThLT1EbE6E2OPOUtu kleGubtEu7gHBjXlNFJihuzLsKwE2ufnxLDPtHYaQlpIWKac0QCCKbsaloZoHC9NWdqxxQ VYkFIqBJzrLe7TQ1LWZDhcE13EaJl5BivtLJxm9VorchezKXabUQoTJ8GG5SbbAnS++G59 XXDZLsfiBtzJ8a6pENRkJxLwWco0bWNoyzto4sRhPvALJiG/zr2vEO9tkUJccg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679116990; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WIXaCrkAfXC8nW272piihuLW7sStctiWd326kHGxZcY=; b=YIPhSQkvt2CQWGc1m+sHRHu0eN7WxRF+xeT/GsNbuQKNj/4tZq4cIRgR/FGQDBhF+czeyr vxpPka8rw6cDqRM7IsG8RxvSdIQtWjzBEgc3vi5wuQqxNKJ/LbzjlTd1TyLqDEH2CkWZEv Lph3xCyJhJXq4aOubZDzKexgzkYqRKolJkJUf3PjcgxcrASrpH/zH2rgerLkAb8ZII4bk3 bYdR50N85F+rsA94fq8mhruASgqhwa7hk8VPwaP6Gario2YekBhDWzF68RyB4E8OilHzuU jUtBdeubtl5ceHIoKIvQIZEPO4VpAy03oKEBO9H2vNIRaFhy9VhN5qxK0bXigw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679116990; a=rsa-sha256; cv=none; b=cmyOxf/3lZsMdf0sxNq8fm9r/RxqvO7cC8+hBPc6nb61fjXUGYzeO+i6zVsv+wX5PVtzcf ehPRgp5/5W2lZkTK1bpBFxjzTDbXmlZZ96jCCh5H8K37nIG6qTxZMEFUmhSh+UkRdMGuQB uMiZab0A496B57p23bxAmu56k6lgVvKWe70682RXJhjrfaO50A2y7Z2ZOzl27PahtvjIpF b1PWsI8pd803J9PWCPK1msTUhOoTs0NJMWwQwJ3Z8jv+4ejzT4BLZMOQnd4S6Ik+dqExye hb3Ylt16RDIdaL9eA4mKqvakjYIPC5iFukwBipFeV/MFNoOvnPfWB9NpPSKKfA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PdqCL26xvzvs6; Sat, 18 Mar 2023 05:23:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32I5NA7G039481; Sat, 18 Mar 2023 05:23:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32I5NATK039480; Sat, 18 Mar 2023 05:23:10 GMT (envelope-from git) Date: Sat, 18 Mar 2023 05:23:10 GMT Message-Id: <202303180523.32I5NATK039480@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Lewis Cook Subject: git: 3003914d0101 - main - devel/git-bug: Update to 0.8.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: lcook X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3003914d010161e27be2406debdd3b4408f02821 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by lcook: URL: https://cgit.FreeBSD.org/ports/commit/?id=3003914d010161e27be2406debdd3b4408f02821 commit 3003914d010161e27be2406debdd3b4408f02821 Author: Lewis Cook AuthorDate: 2023-03-18 04:25:14 +0000 Commit: Lewis Cook CommitDate: 2023-03-18 05:22:49 +0000 devel/git-bug: Update to 0.8.0 Changes: https://github.com/MichaelMure/git-bug/releases/tag/v0.8.0 --- devel/git-bug/Makefile | 29 ++++---- devel/git-bug/distinfo | 10 +-- ...ndor_github.com_awesome-gocui_termbox-go_api.go | 14 ---- devel/git-bug/pkg-plist | 77 +++++++++++----------- 4 files changed, 60 insertions(+), 70 deletions(-) diff --git a/devel/git-bug/Makefile b/devel/git-bug/Makefile index c57bbf5d0d4e..6ad6b98fdf4d 100644 --- a/devel/git-bug/Makefile +++ b/devel/git-bug/Makefile @@ -1,7 +1,6 @@ PORTNAME= git-bug DISTVERSIONPREFIX= v -DISTVERSION= 0.7.2 -PORTREVISION= 12 +DISTVERSION= 0.8.0 CATEGORIES= devel MAINTAINER= lcook@FreeBSD.org @@ -15,7 +14,7 @@ RUN_DEPENDS= git:devel/git USES= go:modules -_BUILD_COMMIT= cc4a93c8ce931b1390c61035b888ad17110b7bd6 +_BUILD_COMMIT= a3fa445 GO_MODULE= github.com/MichaelMure/${PORTNAME} GO_BUILDFLAGS= -ldflags "\ @@ -24,16 +23,22 @@ GO_BUILDFLAGS= -ldflags "\ -X ${GO_MODULE}/commands.GitLastTag=${DISTVERSION} \ -X ${GO_MODULE}/commands.GitExactTag=${DISTVERSION}" -post-install: - ${INSTALL_MAN} ${WRKSRC}/doc/man/*.1 \ - ${STAGEDIR}${MAN1PREFIX}/man/man1 +OPTIONS_DEFINE= COMPLETIONS MANPAGES +OPTIONS_DEFAULT= COMPLETIONS MANPAGES +OPTIONS_SUB= yes - @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d \ - ${STAGEDIR}${PREFIX}/share/zsh/site-functions +COMPLETIONS_DESC= Build and install bash, fish and zsh shell completions +COMPLETIONS_PLIST_FILES= share/bash-completion/completions/${PORTNAME} \ + share/fish/vendor_completions.d/${PORTNAME}.fish \ + share/zsh/site-functions/_${PORTNAME} - ${INSTALL_DATA} ${WRKSRC}/misc/bash_completion/${PORTNAME} \ - ${STAGEDIR}${PREFIX}/etc/bash_completion.d - ${INSTALL_DATA} ${WRKSRC}/misc/zsh_completion/${PORTNAME} \ - ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_${PORTNAME} +post-install-COMPLETIONS-on: +.for _shell in bash fish zsh + ${GO_WRKDIR_BIN}/${PORTNAME} completion ${_shell} \ + >${STAGEDIR}${PREFIX}/${COMPLETIONS_PLIST_FILES:M*${_shell}*} +.endfor + +post-install-MANPAGES-on: + ${INSTALL_MAN} ${WRKSRC}/doc/man/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .include diff --git a/devel/git-bug/distinfo b/devel/git-bug/distinfo index 18ceef0fefac..cc3982b9e5a3 100644 --- a/devel/git-bug/distinfo +++ b/devel/git-bug/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1620926667 -SHA256 (go/devel_git-bug/git-bug-v0.7.2/v0.7.2.mod) = b5a70b8cadecb68dadcdd196bc9dbeca6d0c56ddfbed6830db710b3c4b094930 -SIZE (go/devel_git-bug/git-bug-v0.7.2/v0.7.2.mod) = 1482 -SHA256 (go/devel_git-bug/git-bug-v0.7.2/v0.7.2.zip) = 2bc31dbf19bebd4d4f6d24496ef2b05a94df0485aec49f830a4239bf08454fba -SIZE (go/devel_git-bug/git-bug-v0.7.2/v0.7.2.zip) = 2088123 +TIMESTAMP = 1679112317 +SHA256 (go/devel_git-bug/git-bug-v0.8.0/v0.8.0.mod) = d8df1effd620aef664daa371b0285d2a901b8214bf609c04f53957f17ef6db6b +SIZE (go/devel_git-bug/git-bug-v0.8.0/v0.8.0.mod) = 5579 +SHA256 (go/devel_git-bug/git-bug-v0.8.0/v0.8.0.zip) = e8b9646fd3e8ccf60b06c571e2535c7699b87fc238b8b4cdf7a1fa9ef99254f9 +SIZE (go/devel_git-bug/git-bug-v0.8.0/v0.8.0.zip) = 2759478 diff --git a/devel/git-bug/files/patch-vendor_github.com_awesome-gocui_termbox-go_api.go b/devel/git-bug/files/patch-vendor_github.com_awesome-gocui_termbox-go_api.go deleted file mode 100644 index 664956f91615..000000000000 --- a/devel/git-bug/files/patch-vendor_github.com_awesome-gocui_termbox-go_api.go +++ /dev/null @@ -1,14 +0,0 @@ -Import https://github.com/nsf/termbox-go/commit/58d4fcbce2a7e6a3a48afbc6b7ec2a916ac33ee0 -from upstream, this fixes an issue where it would hang in termui on FreeBSD. - ---- vendor/github.com/awesome-gocui/termbox-go/api.go.orig 2020-05-15 14:00:27 UTC -+++ vendor/github.com/awesome-gocui/termbox-go/api.go -@@ -24,7 +24,7 @@ import "time" - func Init() error { - var err error - -- if runtime.GOOS == "openbsd" { -+ if runtime.GOOS == "openbsd" || runtime.GOOS == "freebsd" { - out, err = os.OpenFile("/dev/tty", os.O_RDWR, 0) - if err != nil { - return err diff --git a/devel/git-bug/pkg-plist b/devel/git-bug/pkg-plist index 649b2415d7ad..4fd906259686 100644 --- a/devel/git-bug/pkg-plist +++ b/devel/git-bug/pkg-plist @@ -1,40 +1,39 @@ +%%MANPAGES%%man/man1/git-bug-add.1.gz +%%MANPAGES%%man/man1/git-bug-bridge-auth-add-token.1.gz +%%MANPAGES%%man/man1/git-bug-bridge-auth-rm.1.gz +%%MANPAGES%%man/man1/git-bug-bridge-auth-show.1.gz +%%MANPAGES%%man/man1/git-bug-bridge-auth.1.gz +%%MANPAGES%%man/man1/git-bug-bridge-configure.1.gz +%%MANPAGES%%man/man1/git-bug-bridge-pull.1.gz +%%MANPAGES%%man/man1/git-bug-bridge-push.1.gz +%%MANPAGES%%man/man1/git-bug-bridge-rm.1.gz +%%MANPAGES%%man/man1/git-bug-bridge.1.gz +%%MANPAGES%%man/man1/git-bug-commands.1.gz +%%MANPAGES%%man/man1/git-bug-comment-add.1.gz +%%MANPAGES%%man/man1/git-bug-comment-edit.1.gz +%%MANPAGES%%man/man1/git-bug-comment.1.gz +%%MANPAGES%%man/man1/git-bug-deselect.1.gz +%%MANPAGES%%man/man1/git-bug-label-add.1.gz +%%MANPAGES%%man/man1/git-bug-label-ls.1.gz +%%MANPAGES%%man/man1/git-bug-label-rm.1.gz +%%MANPAGES%%man/man1/git-bug-label.1.gz +%%MANPAGES%%man/man1/git-bug-ls.1.gz +%%MANPAGES%%man/man1/git-bug-pull.1.gz +%%MANPAGES%%man/man1/git-bug-push.1.gz +%%MANPAGES%%man/man1/git-bug-rm.1.gz +%%MANPAGES%%man/man1/git-bug-select.1.gz +%%MANPAGES%%man/man1/git-bug-show.1.gz +%%MANPAGES%%man/man1/git-bug-status-close.1.gz +%%MANPAGES%%man/man1/git-bug-status-open.1.gz +%%MANPAGES%%man/man1/git-bug-status.1.gz +%%MANPAGES%%man/man1/git-bug-termui.1.gz +%%MANPAGES%%man/man1/git-bug-title-edit.1.gz +%%MANPAGES%%man/man1/git-bug-title.1.gz +%%MANPAGES%%man/man1/git-bug-user-adopt.1.gz +%%MANPAGES%%man/man1/git-bug-user-create.1.gz +%%MANPAGES%%man/man1/git-bug-user-ls.1.gz +%%MANPAGES%%man/man1/git-bug-user.1.gz +%%MANPAGES%%man/man1/git-bug-version.1.gz +%%MANPAGES%%man/man1/git-bug-webui.1.gz +%%MANPAGES%%man/man1/git-bug.1.gz bin/git-bug -etc/bash_completion.d/git-bug -man/man1/git-bug-add.1.gz -man/man1/git-bug-bridge-auth-add-token.1.gz -man/man1/git-bug-bridge-auth-rm.1.gz -man/man1/git-bug-bridge-auth-show.1.gz -man/man1/git-bug-bridge-auth.1.gz -man/man1/git-bug-bridge-configure.1.gz -man/man1/git-bug-bridge-pull.1.gz -man/man1/git-bug-bridge-push.1.gz -man/man1/git-bug-bridge-rm.1.gz -man/man1/git-bug-bridge.1.gz -man/man1/git-bug-commands.1.gz -man/man1/git-bug-comment-add.1.gz -man/man1/git-bug-comment.1.gz -man/man1/git-bug-deselect.1.gz -man/man1/git-bug-label-add.1.gz -man/man1/git-bug-label-rm.1.gz -man/man1/git-bug-label.1.gz -man/man1/git-bug-ls-id.1.gz -man/man1/git-bug-ls-label.1.gz -man/man1/git-bug-ls.1.gz -man/man1/git-bug-pull.1.gz -man/man1/git-bug-push.1.gz -man/man1/git-bug-select.1.gz -man/man1/git-bug-show.1.gz -man/man1/git-bug-status-close.1.gz -man/man1/git-bug-status-open.1.gz -man/man1/git-bug-status.1.gz -man/man1/git-bug-termui.1.gz -man/man1/git-bug-title-edit.1.gz -man/man1/git-bug-title.1.gz -man/man1/git-bug-user-adopt.1.gz -man/man1/git-bug-user-create.1.gz -man/man1/git-bug-user-ls.1.gz -man/man1/git-bug-user.1.gz -man/man1/git-bug-version.1.gz -man/man1/git-bug-webui.1.gz -man/man1/git-bug.1.gz -share/zsh/site-functions/_git-bug