aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormfechner <mfechner@FreeBSD.org>2018-04-05 00:23:03 +0800
committermfechner <mfechner@FreeBSD.org>2018-04-05 00:23:03 +0800
commitc2808d0735981cb30aa442f740087ab944a97e33 (patch)
tree23b02a3fe51b6323c9a5f1eac960c7ace08b115e /www
parent0ce2ef66abfb2feae9eaf468f701218e7f0532c2 (diff)
downloadfreebsd-ports-gnome-c2808d0735981cb30aa442f740087ab944a97e33.tar.gz
freebsd-ports-gnome-c2808d0735981cb30aa442f740087ab944a97e33.tar.zst
freebsd-ports-gnome-c2808d0735981cb30aa442f740087ab944a97e33.zip
Update www/gitlab-workhorse to 3.6.0 which is required for gitlab 10.5.x.
Reviewed by: mat, swills (mentor) Approved by: swills (mentor) Differential Revision: https://reviews.freebsd.org/D14949
Diffstat (limited to 'www')
-rw-r--r--www/gitlab-workhorse/Makefile13
-rw-r--r--www/gitlab-workhorse/distinfo6
2 files changed, 9 insertions, 10 deletions
diff --git a/www/gitlab-workhorse/Makefile b/www/gitlab-workhorse/Makefile
index 4f2acd8564ce..63484af43975 100644
--- a/www/gitlab-workhorse/Makefile
+++ b/www/gitlab-workhorse/Makefile
@@ -2,10 +2,8 @@
# $FreeBSD$
PORTNAME= gitlab-workhorse
-PORTVERSION= 3.3.1
-DISTVERSIONPREFIX= v
+PORTVERSION= 3.6.0
CATEGORIES= www
-MASTER_SITES= https://gitlab.com/gitlab-org/${PORTNAME}/repository/archive.tar.gz?ref=${DISTVERSIONPREFIX}${PORTVERSION}&dummy=/
MAINTAINER= idefix@fechner.net
COMMENT= Smart reverse proxy for GitLab
@@ -17,14 +15,15 @@ BUILD_DEPENDS= go>=1.5.3:lang/go
MAKE_JOBS_UNSAFE=yes
USES= gmake
+USE_GITLAB= yes
+GL_ACCOUNT= gitlab-org
+# Find the commit hash here: https://gitlab.com/gitlab-org/gitlab-workhorse/tags
+GL_COMMIT= 51fe78e3acd65292b15402db17179e362e88a65e
PLIST_FILES= bin/gitlab-workhorse \
bin/gitlab-zip-cat \
bin/gitlab-zip-metadata
-PLIST_DIRS= %%WWWDIR%%
-
-post-extract:
- @${MV} ${WRKDIR}/${DISTNAME}-* ${WRKDIR}/${DISTNAME}
+PLIST_DIRS= ${WWWDIR}
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/www/${PORTNAME}
diff --git a/www/gitlab-workhorse/distinfo b/www/gitlab-workhorse/distinfo
index f17011a140ed..639215cb46ae 100644
--- a/www/gitlab-workhorse/distinfo
+++ b/www/gitlab-workhorse/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1516803285
-SHA256 (gitlab-workhorse-v3.3.1.tar.gz) = de8165d271b5c87f0cc4d879d5422fd443f0d32c0224e9c6e5801c2758fe78cf
-SIZE (gitlab-workhorse-v3.3.1.tar.gz) = 911861
+TIMESTAMP = 1522771766
+SHA256 (gitlab-org-gitlab-workhorse-51fe78e3acd65292b15402db17179e362e88a65e_GL0.tar.gz) = bfe9c2441cefa29350a411f48263a4d3e9bc16ddf9c7bbdc2ee0734701306760
+SIZE (gitlab-org-gitlab-workhorse-51fe78e3acd65292b15402db17179e362e88a65e_GL0.tar.gz) = 944116