git: d4351133bbb6 - main - www/gitlab-pages: correct path in sample config to gitlab installation

From: Matthias Fechner <mfechner_at_FreeBSD.org>
Date: Sun, 21 Apr 2024 18:06:57 UTC
The branch main has been updated by mfechner:

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

commit d4351133bbb6aae72ccea02b19223303fe02be56
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2024-04-21 16:55:15 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2024-04-21 18:06:49 +0000

    www/gitlab-pages: correct path in sample config to gitlab installation
---
 www/gitlab-pages/Makefile                             | 1 +
 www/gitlab-pages/files/patch-gitlab-pages.conf.sample | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/www/gitlab-pages/Makefile b/www/gitlab-pages/Makefile
index 44c25371aac5..3e2e381a9b8e 100644
--- a/www/gitlab-pages/Makefile
+++ b/www/gitlab-pages/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	gitlab-pages
 PORTVERSION=	16.11.0
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES+=	https://gitlab.com/gitlab-org/gitlab-pages/-/raw/v${DISTVERSION}/
 DISTFILES+=	go.mod
diff --git a/www/gitlab-pages/files/patch-gitlab-pages.conf.sample b/www/gitlab-pages/files/patch-gitlab-pages.conf.sample
index d73eae49370e..4921b5462ae6 100644
--- a/www/gitlab-pages/files/patch-gitlab-pages.conf.sample
+++ b/www/gitlab-pages/files/patch-gitlab-pages.conf.sample
@@ -2,8 +2,8 @@
 +++ gitlab-pages.conf.sample
 @@ -0,0 +1,6 @@
 +listen-http=:8090
-+pages-root=%%PREFIX%%/www/gitlab-ce/shared/pages
-+api-secret-key=%%PREFIX%%/www/gitlab-ce/.gitlab_pages_secret
++pages-root=%%PREFIX%%/www/gitlab/shared/pages
++api-secret-key=%%PREFIX%%/www/gitlab/.gitlab_pages_secret
 +pages-domain=pages.example.com
 +internal-gitlab-server=https://gitlab.example.com
 +