summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/gitlab-pages/Makefile1
-rw-r--r--www/gitlab-pages/files/patch-gitlab-pages.conf.sample4
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
+