summaryrefslogtreecommitdiff
path: root/devel/gitlab-runner/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gitlab-runner/Makefile')
-rw-r--r--devel/gitlab-runner/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/devel/gitlab-runner/Makefile b/devel/gitlab-runner/Makefile
index f4706a4c2bf5..14a068a9d861 100644
--- a/devel/gitlab-runner/Makefile
+++ b/devel/gitlab-runner/Makefile
@@ -1,7 +1,6 @@
PORTNAME= gitlab-runner
DISTVERSIONPREFIX= v
-DISTVERSION= 17.9.0
-PORTREVISION= 2
+DISTVERSION= 18.0.0
CATEGORIES= devel
MASTER_SITES= https://gitlab-runner-downloads.s3.amazonaws.com/master/docker/:dockerx64 \
https://gitlab-runner-downloads.s3.amazonaws.com/master/docker/:dockerarm
@@ -10,6 +9,8 @@ DISTFILES= prebuilt-x86_64.tar.xz:dockerx64 \
#PATCH_SITES= https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/
#PATCHFILES+= 4551.patch:-p1 # https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/4551, Allow FreeBSD to be used with Docker builds
+#PATCH_SITES= https://gitlab.com/mfechner/gitlab-runner/-/commit/
+#PATCHFILES+= 2f12af03ccd5fe875d583ddc8b976329b635fd22.patch:-p1
MAINTAINER= mfechner@FreeBSD.org
COMMENT= Official GitLab Runner written in Go
@@ -27,8 +28,10 @@ USES= go:modules,1.23
USE_GITLAB= yes
GL_ACCOUNT= gitlab-org
USE_RC_SUBR= gitlab_runner
+# this branch removes the replace line in go.mod which breaks the way FreeBSD ports build go packages
+GO_MOD_DIST= https://gitlab.com/mfechner/gitlab-runner/-/raw/18-0-stable/
-GITBRANCH= 17-9-stable
+GITBRANCH= 18-0-stable
GO_MODULE= gitlab.com/gitlab-org/gitlab-runner
_BUILD_DATE= $$(date -u +%Y-%m-%dT%H:%M:%S%z)
@@ -45,8 +48,8 @@ GO_BUILDFLAGS= -ldflags=" \
# so we download the required go.mod file from gitlab
# lines are taken from go.mk
# ---------------------------
-MASTER_SITES+= https://gitlab.com/gitlab-org/gitlab-runner/-/raw/v${DISTVERSION}/
-DISTFILES+= go.mod
+#MASTER_SITES+= https://gitlab.com/gitlab-org/gitlab-runner/-/raw/v${DISTVERSION}/
+#DISTFILES+= go.mod
EXTRACT_ONLY+= ${DISTFILES:N*.mod\:*:N*.mod:C/:.*//:Nprebuilt*:}
# ---------------------------