summaryrefslogtreecommitdiff
path: root/devel/glab
diff options
context:
space:
mode:
Diffstat (limited to 'devel/glab')
-rw-r--r--devel/glab/Makefile25
-rw-r--r--devel/glab/distinfo10
-rw-r--r--devel/glab/pkg-plist63
3 files changed, 83 insertions, 15 deletions
diff --git a/devel/glab/Makefile b/devel/glab/Makefile
index 6dbbde828b51..47f4d9542aec 100644
--- a/devel/glab/Makefile
+++ b/devel/glab/Makefile
@@ -1,31 +1,32 @@
PORTNAME= glab
DISTVERSIONPREFIX= v
-DISTVERSION= 1.38.0
-PORTREVISION= 7
+DISTVERSION= 1.67.0
CATEGORIES= devel
-MAINTAINER= lcook@FreeBSD.org
+MAINTAINER= mfechner@FreeBSD.org
COMMENT= GitLab CLI tool bringing GitLab to your command line
WWW= https://gitlab.com/gitlab-org/cli
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= git:devel/git
RUN_DEPENDS= git:devel/git
-USES= go:1.21,modules
+USES= go:1.24,modules
_BUILD_VERSION= ${DISTVERSION}
_BUILD_PLATFORM= ${OPSYS:tl}
_BUILD_DATE= $$(date +%Y-%m-%d)
+_TAG= fe60bcf75bfb58801f5a429a52a3461ef62b0f6e
GO_MODULE= gitlab.com/gitlab-org/cli
GO_TARGET= ./cmd/${PORTNAME}
GO_BUILDFLAGS= -ldflags "\
-s -w \
- -X main.buildDate=${_BUILD_DATE} \
- -X main.version=${_BUILD_VERSION} \
- -X main.platform=${_BUILD_PLATFORM}"
+ -X 'main.commit=${_TAG}' \
+ -X 'main.version=${_BUILD_VERSION}' \
+ -X 'main.platform=${_BUILD_PLATFORM}'"
PORTDOCS= CONTRIBUTING.md README.md SECURITY.md
@@ -38,6 +39,16 @@ COMPLETIONS_PLIST_FILES= share/bash-completion/completions/${PORTNAME} \
share/fish/vendor_completions.d/${PORTNAME}.fish \
share/zsh/site-functions/_${PORTNAME}
+# add a git tag, as that is required to build the manpages
+pre-build:
+ cd ${WRKSRC} && \
+ git init && \
+ git config user.email "${MAINTAINER}" && \
+ git config user.name "FreeBSD Port" && \
+ git add . && \
+ git commit -m "tag" && \
+ git tag v${PORTVERSION}
+
post-install-COMPLETIONS-on:
.for _shell in bash fish zsh
${GO_WRKDIR_BIN}/${PORTNAME} completion -s ${_shell} \
diff --git a/devel/glab/distinfo b/devel/glab/distinfo
index f165484dfee3..a4cc068a071c 100644
--- a/devel/glab/distinfo
+++ b/devel/glab/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1712440763
-SHA256 (go/devel_glab/glab-v1.38.0/v1.38.0.mod) = ca0d8130fd4a3eb3033eba19f0efbdb3c9f1ff87dd08c777945e1f399f825256
-SIZE (go/devel_glab/glab-v1.38.0/v1.38.0.mod) = 4249
-SHA256 (go/devel_glab/glab-v1.38.0/v1.38.0.zip) = 9cba64d5625d335f94898c429974fd576247c986c2455590138d8e25a33c543e
-SIZE (go/devel_glab/glab-v1.38.0/v1.38.0.zip) = 17103966
+TIMESTAMP = 1756013036
+SHA256 (go/devel_glab/glab-v1.67.0/v1.67.0.mod) = 00450940d7201f6d43c3b4a778e8adc3ce2562df559939eb1573c548f547a4fe
+SIZE (go/devel_glab/glab-v1.67.0/v1.67.0.mod) = 5996
+SHA256 (go/devel_glab/glab-v1.67.0/v1.67.0.zip) = 64a312863a2ae7d1b3443595e83d6d1464673b4cbadd42a38ad7716e840d2b8d
+SIZE (go/devel_glab/glab-v1.67.0/v1.67.0.zip) = 17446681
diff --git a/devel/glab/pkg-plist b/devel/glab/pkg-plist
index 216338f7a090..5263aea2b43b 100644
--- a/devel/glab/pkg-plist
+++ b/devel/glab/pkg-plist
@@ -3,15 +3,19 @@
%%MANPAGES%%share/man/man1/glab-alias-set.1.gz
%%MANPAGES%%share/man/man1/glab-alias.1.gz
%%MANPAGES%%share/man/man1/glab-api.1.gz
-%%MANPAGES%%share/man/man1/glab-ask-git.1.gz
-%%MANPAGES%%share/man/man1/glab-ask.1.gz
+%%MANPAGES%%share/man/man1/glab-auth-configure-docker.1.gz
+%%MANPAGES%%share/man/man1/glab-auth-docker-helper.1.gz
+%%MANPAGES%%share/man/man1/glab-auth-dpop-gen.1.gz
%%MANPAGES%%share/man/man1/glab-auth-login.1.gz
+%%MANPAGES%%share/man/man1/glab-auth-logout.1.gz
%%MANPAGES%%share/man/man1/glab-auth-status.1.gz
%%MANPAGES%%share/man/man1/glab-auth.1.gz
%%MANPAGES%%share/man/man1/glab-changelog-generate.1.gz
%%MANPAGES%%share/man/man1/glab-changelog.1.gz
%%MANPAGES%%share/man/man1/glab-check-update.1.gz
-%%MANPAGES%%share/man/man1/glab-ci-artifact.1.gz
+%%MANPAGES%%share/man/man1/glab-ci-cancel-job.1.gz
+%%MANPAGES%%share/man/man1/glab-ci-cancel-pipeline.1.gz
+%%MANPAGES%%share/man/man1/glab-ci-cancel.1.gz
%%MANPAGES%%share/man/man1/glab-ci-config-compile.1.gz
%%MANPAGES%%share/man/man1/glab-ci-config.1.gz
%%MANPAGES%%share/man/man1/glab-ci-delete.1.gz
@@ -20,20 +24,32 @@
%%MANPAGES%%share/man/man1/glab-ci-list.1.gz
%%MANPAGES%%share/man/man1/glab-ci-retry.1.gz
%%MANPAGES%%share/man/man1/glab-ci-run.1.gz
+%%MANPAGES%%share/man/man1/glab-ci-run-trig.1.gz
%%MANPAGES%%share/man/man1/glab-ci-status.1.gz
%%MANPAGES%%share/man/man1/glab-ci-trace.1.gz
%%MANPAGES%%share/man/man1/glab-ci-trigger.1.gz
%%MANPAGES%%share/man/man1/glab-ci-view.1.gz
%%MANPAGES%%share/man/man1/glab-ci.1.gz
+%%MANPAGES%%share/man/man1/glab-cluster-agent-bootstrap.1.gz
+%%MANPAGES%%share/man/man1/glab-cluster-agent-check_manifest_usage.1.gz
%%MANPAGES%%share/man/man1/glab-cluster-agent-get-token.1.gz
%%MANPAGES%%share/man/man1/glab-cluster-agent-list.1.gz
%%MANPAGES%%share/man/man1/glab-cluster-agent-update-kubeconfig.1.gz
%%MANPAGES%%share/man/man1/glab-cluster-agent.1.gz
%%MANPAGES%%share/man/man1/glab-cluster.1.gz
+%%MANPAGES%%share/man/man1/glab-cluster-graph.1.gz
%%MANPAGES%%share/man/man1/glab-completion.1.gz
+%%MANPAGES%%share/man/man1/glab-config-edit.1.gz
%%MANPAGES%%share/man/man1/glab-config-get.1.gz
%%MANPAGES%%share/man/man1/glab-config-set.1.gz
%%MANPAGES%%share/man/man1/glab-config.1.gz
+%%MANPAGES%%share/man/man1/glab-deploy-key-add.1.gz
+%%MANPAGES%%share/man/man1/glab-deploy-key-delete.1.gz
+%%MANPAGES%%share/man/man1/glab-deploy-key-get.1.gz
+%%MANPAGES%%share/man/man1/glab-deploy-key-list.1.gz
+%%MANPAGES%%share/man/man1/glab-deploy-key.1.gz
+%%MANPAGES%%share/man/man1/glab-duo-ask.1.gz
+%%MANPAGES%%share/man/man1/glab-duo.1.gz
%%MANPAGES%%share/man/man1/glab-incident-close.1.gz
%%MANPAGES%%share/man/man1/glab-incident-list.1.gz
%%MANPAGES%%share/man/man1/glab-incident-note.1.gz
@@ -56,7 +72,12 @@
%%MANPAGES%%share/man/man1/glab-issue-update.1.gz
%%MANPAGES%%share/man/man1/glab-issue-view.1.gz
%%MANPAGES%%share/man/man1/glab-issue.1.gz
+%%MANPAGES%%share/man/man1/glab-iteration-list.1.gz
+%%MANPAGES%%share/man/man1/glab-iteration.1.gz
+%%MANPAGES%%share/man/man1/glab-job-artifact.1.gz
+%%MANPAGES%%share/man/man1/glab-job.1.gz
%%MANPAGES%%share/man/man1/glab-label-create.1.gz
+%%MANPAGES%%share/man/man1/glab-label-delete.1.gz
%%MANPAGES%%share/man/man1/glab-label-list.1.gz
%%MANPAGES%%share/man/man1/glab-label.1.gz
%%MANPAGES%%share/man/man1/glab-mr-approve.1.gz
@@ -79,6 +100,14 @@
%%MANPAGES%%share/man/man1/glab-mr-update.1.gz
%%MANPAGES%%share/man/man1/glab-mr-view.1.gz
%%MANPAGES%%share/man/man1/glab-mr.1.gz
+%%MANPAGES%%share/man/man1/glab-opentofu-init.1.gz
+%%MANPAGES%%share/man/man1/glab-opentofu-state-delete.1.gz
+%%MANPAGES%%share/man/man1/glab-opentofu-state-download.1.gz
+%%MANPAGES%%share/man/man1/glab-opentofu-state-list.1.gz
+%%MANPAGES%%share/man/man1/glab-opentofu-state-lock.1.gz
+%%MANPAGES%%share/man/man1/glab-opentofu-state-unlock.1.gz
+%%MANPAGES%%share/man/man1/glab-opentofu-state.1.gz
+%%MANPAGES%%share/man/man1/glab-opentofu.1.gz
%%MANPAGES%%share/man/man1/glab-release-create.1.gz
%%MANPAGES%%share/man/man1/glab-release-delete.1.gz
%%MANPAGES%%share/man/man1/glab-release-download.1.gz
@@ -94,15 +123,25 @@
%%MANPAGES%%share/man/man1/glab-repo-fork.1.gz
%%MANPAGES%%share/man/man1/glab-repo-list.1.gz
%%MANPAGES%%share/man/man1/glab-repo-mirror.1.gz
+%%MANPAGES%%share/man/man1/glab-repo-publish-catalog.1.gz
+%%MANPAGES%%share/man/man1/glab-repo-publish.1.gz
%%MANPAGES%%share/man/man1/glab-repo-search.1.gz
%%MANPAGES%%share/man/man1/glab-repo-transfer.1.gz
+%%MANPAGES%%share/man/man1/glab-repo-update.1.gz
%%MANPAGES%%share/man/man1/glab-repo-view.1.gz
%%MANPAGES%%share/man/man1/glab-repo.1.gz
%%MANPAGES%%share/man/man1/glab-schedule-create.1.gz
%%MANPAGES%%share/man/man1/glab-schedule-delete.1.gz
%%MANPAGES%%share/man/man1/glab-schedule-list.1.gz
%%MANPAGES%%share/man/man1/glab-schedule-run.1.gz
+%%MANPAGES%%share/man/man1/glab-schedule-update.1.gz
%%MANPAGES%%share/man/man1/glab-schedule.1.gz
+%%MANPAGES%%share/man/man1/glab-securefile-create.1.gz
+%%MANPAGES%%share/man/man1/glab-securefile-download.1.gz
+%%MANPAGES%%share/man/man1/glab-securefile-get.1.gz
+%%MANPAGES%%share/man/man1/glab-securefile-list.1.gz
+%%MANPAGES%%share/man/man1/glab-securefile-remove.1.gz
+%%MANPAGES%%share/man/man1/glab-securefile.1.gz
%%MANPAGES%%share/man/man1/glab-snippet-create.1.gz
%%MANPAGES%%share/man/man1/glab-snippet.1.gz
%%MANPAGES%%share/man/man1/glab-ssh-key-add.1.gz
@@ -110,6 +149,24 @@
%%MANPAGES%%share/man/man1/glab-ssh-key-get.1.gz
%%MANPAGES%%share/man/man1/glab-ssh-key-list.1.gz
%%MANPAGES%%share/man/man1/glab-ssh-key.1.gz
+%%MANPAGES%%share/man/man1/glab-stack-amend.1.gz
+%%MANPAGES%%share/man/man1/glab-stack-create.1.gz
+%%MANPAGES%%share/man/man1/glab-stack-first.1.gz
+%%MANPAGES%%share/man/man1/glab-stack-last.1.gz
+%%MANPAGES%%share/man/man1/glab-stack-list.1.gz
+%%MANPAGES%%share/man/man1/glab-stack-move.1.gz
+%%MANPAGES%%share/man/man1/glab-stack-next.1.gz
+%%MANPAGES%%share/man/man1/glab-stack-prev.1.gz
+%%MANPAGES%%share/man/man1/glab-stack-reorder.1.gz
+%%MANPAGES%%share/man/man1/glab-stack-save.1.gz
+%%MANPAGES%%share/man/man1/glab-stack-switch.1.gz
+%%MANPAGES%%share/man/man1/glab-stack-sync.1.gz
+%%MANPAGES%%share/man/man1/glab-stack.1.gz
+%%MANPAGES%%share/man/man1/glab-token-create.1.gz
+%%MANPAGES%%share/man/man1/glab-token-list.1.gz
+%%MANPAGES%%share/man/man1/glab-token-revoke.1.gz
+%%MANPAGES%%share/man/man1/glab-token-rotate.1.gz
+%%MANPAGES%%share/man/man1/glab-token.1.gz
%%MANPAGES%%share/man/man1/glab-user-events.1.gz
%%MANPAGES%%share/man/man1/glab-user.1.gz
%%MANPAGES%%share/man/man1/glab-variable-delete.1.gz