Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Mar 2018 22:28:59 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r464093 - head/net/traefik
Message-ID:  <201803102228.w2AMSx3n003837@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: riggs
Date: Sat Mar 10 22:28:59 2018
New Revision: 464093
URL: https://svnweb.freebsd.org/changeset/ports/464093

Log:
  Include web UI; bump PORTREVISION
  
  Submitted by:	swills (via e-mail)

Modified:
  head/net/traefik/Makefile
  head/net/traefik/distinfo

Modified: head/net/traefik/Makefile
==============================================================================
--- head/net/traefik/Makefile	Sat Mar 10 22:17:58 2018	(r464092)
+++ head/net/traefik/Makefile	Sat Mar 10 22:28:59 2018	(r464093)
@@ -3,7 +3,10 @@
 PORTNAME=	traefik
 PORTVERSION=	1.5.3
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	net
+MASTER_SITES=	LOCAL/riggs/${PORTNAME}:webui
+DISTFILES=	${PORTNAME}-webui-static-${PORTVERSION}${EXTRACT_SUFX}:webui
 
 MAINTAINER=	riggs@FreeBSD.org
 COMMENT=	High availability reverse proxy and load balancer
@@ -33,6 +36,21 @@ TRAEFIK_BUILD_ENV=	${MAKE_ENV} \
 TRAEFIK_LDARGS=	-ldflags "-s -w \
 		-X github.com/containous/traefik/version.Version=${DISTVERSION} \
 		-X github.com/containous/traefik/version.BuildDate=`date -u '+%Y-%m-%d_%I:%M:%S%p'`"
+
+# Recipe for building the web UI
+# Note this is not done during a standard port build as
+# it downloads node modules from the internet during build.
+# Instead, we use the pre-generated from LOCAL.
+# BUILD_DEPENDS+=	npm:www/npm \
+#		yarnpkg:www/yarn
+#USES+=		python:2.7,build
+#pre-build:
+#	@cd ${WRKSRC}/webui; \
+#	yarn install && \
+#	yarn run build
+
+post-extract:
+	@${MV} ${WRKDIR}/static ${WRKSRC}
 
 do-build:
 	@cd ${WRKSRC}/src/github.com/containous/traefik; \

Modified: head/net/traefik/distinfo
==============================================================================
--- head/net/traefik/distinfo	Sat Mar 10 22:17:58 2018	(r464092)
+++ head/net/traefik/distinfo	Sat Mar 10 22:28:59 2018	(r464093)
@@ -1,5 +1,5 @@
-TIMESTAMP = 1520063170
+TIMESTAMP = 1520701876
+SHA256 (traefik-webui-static-1.5.3.tar.gz) = ddc0d6311b892e4dee6342068181a3365ef46e0cff1c804b26f18ebb6a271167
+SIZE (traefik-webui-static-1.5.3.tar.gz) = 647897
 SHA256 (containous-traefik-v1.5.3_GH0.tar.gz) = b6876834290dd3f916c78f6810597d40dbbd461e1d1d25fd30d31cd99b9c062b
 SIZE (containous-traefik-v1.5.3_GH0.tar.gz) = 7828055
-SHA256 (jteeuwen-go-bindata-a0ff256_GH0.tar.gz) = 06c7bb64ab428a28eb3633ae19fafb6b7b241d384ef45ac0728b1c5fbec64961
-SIZE (jteeuwen-go-bindata-a0ff256_GH0.tar.gz) = 17868



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