Include web UI; bump PORTREVISION

Submitted by:	swills (via e-mail)
This commit is contained in:
Thomas Zander 2018-03-10 22:28:59 +00:00
parent cf90ac5879
commit b727cbe3aa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=464093
2 changed files with 21 additions and 3 deletions

View File

@ -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
@ -34,6 +37,21 @@ 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; \
${SETENV} ${BUILD_ENV} ${TRAEFIK_BUILD_ENV} GOPATH=${WRKSRC} go generate && \

View File

@ -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