Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Apr 2018 16:23:03 +0000 (UTC)
From:      Matthias Fechner <mfechner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r466441 - head/www/gitlab-workhorse
Message-ID:  <201804041623.w34GN37J079503@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mfechner
Date: Wed Apr  4 16:23:03 2018
New Revision: 466441
URL: https://svnweb.freebsd.org/changeset/ports/466441

Log:
  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

Modified:
  head/www/gitlab-workhorse/Makefile
  head/www/gitlab-workhorse/distinfo

Modified: head/www/gitlab-workhorse/Makefile
==============================================================================
--- head/www/gitlab-workhorse/Makefile	Wed Apr  4 16:19:00 2018	(r466440)
+++ head/www/gitlab-workhorse/Makefile	Wed Apr  4 16:23:03 2018	(r466441)
@@ -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}

Modified: head/www/gitlab-workhorse/distinfo
==============================================================================
--- head/www/gitlab-workhorse/distinfo	Wed Apr  4 16:19:00 2018	(r466440)
+++ head/www/gitlab-workhorse/distinfo	Wed Apr  4 16:23:03 2018	(r466441)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804041623.w34GN37J079503>