git: 6c7de795fd4f - main - devel/gitlab-runner: allow FreeBSD to be used with Docker builds

From: Matthias Fechner <mfechner_at_FreeBSD.org>
Date: Sun, 14 Jan 2024 14:13:16 UTC
The branch main has been updated by mfechner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6c7de795fd4f0ed192859941b399c523f4ade99d

commit 6c7de795fd4f0ed192859941b399c523f4ade99d
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2024-01-13 11:16:33 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2024-01-14 14:12:59 +0000

    devel/gitlab-runner: allow FreeBSD to be used with Docker builds
    
    Thanks to Tobias C. Berner <tcberner@gmail.com> for pointing to the MR.
    For more details, see MR:
    https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/4551
    
    Reported by:    Tobias C. Berner <tcberner@gmail.com>
---
 devel/gitlab-runner/Makefile | 4 ++++
 devel/gitlab-runner/distinfo | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/devel/gitlab-runner/Makefile b/devel/gitlab-runner/Makefile
index c45b28303553..c08e4e9a14d9 100644
--- a/devel/gitlab-runner/Makefile
+++ b/devel/gitlab-runner/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	gitlab-runner
 DISTVERSION=	16.7.0
+PORTREVISION=	1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	devel
 MASTER_SITES=	https://gitlab-runner-downloads.s3.amazonaws.com/master/docker/:dockerx64 \
@@ -7,6 +8,9 @@ MASTER_SITES=	https://gitlab-runner-downloads.s3.amazonaws.com/master/docker/:do
 DISTFILES=	prebuilt-x86_64.tar.xz:dockerx64 \
 		prebuilt-arm.tar.xz:dockerarm
 
+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
+
 MAINTAINER=	mfechner@FreeBSD.org
 COMMENT=	Official GitLab Runner written in Go
 WWW=		https://gitlab.com/gitlab-org/gitlab-runner
diff --git a/devel/gitlab-runner/distinfo b/devel/gitlab-runner/distinfo
index 64702f1b576f..d69c524eaf54 100644
--- a/devel/gitlab-runner/distinfo
+++ b/devel/gitlab-runner/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1704283890
+TIMESTAMP = 1705144234
 SHA256 (go/devel_gitlab-runner/gitlab-runner-v16.7.0/prebuilt-x86_64.tar.xz) = b0dccc53f415962dde3f5a7e6f1ab068b8da5484a7fefdae2c5e39d8bb6c637e
 SIZE (go/devel_gitlab-runner/gitlab-runner-v16.7.0/prebuilt-x86_64.tar.xz) = 9594352
 SHA256 (go/devel_gitlab-runner/gitlab-runner-v16.7.0/prebuilt-arm.tar.xz) = 5018c6b661ebf4b9c661593548e45394c553bbd4082b5ef744a39a1f7f1fee32
@@ -7,3 +7,5 @@ SHA256 (go/devel_gitlab-runner/gitlab-runner-v16.7.0/go.mod) = 9bb87e747b8298c6f
 SIZE (go/devel_gitlab-runner/gitlab-runner-v16.7.0/go.mod) = 10425
 SHA256 (go/devel_gitlab-runner/gitlab-runner-v16.7.0/gitlab-runner-v16.7.0.tar.bz2) = 64caa4aff7c86488690a100330d35a907b38e957ade079cdb05ccf0551a14e88
 SIZE (go/devel_gitlab-runner/gitlab-runner-v16.7.0/gitlab-runner-v16.7.0.tar.bz2) = 1349700
+SHA256 (go/devel_gitlab-runner/gitlab-runner-v16.7.0/4551.patch) = 39f1433f5863b23008fceeb948d2084f9127a36eb322e765b14b67680e2d75b8
+SIZE (go/devel_gitlab-runner/gitlab-runner-v16.7.0/4551.patch) = 3146