Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Sep 2018 21:08:37 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r479207 - head/sysutils/istio
Message-ID:  <201809072108.w87L8bag063044@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Fri Sep  7 21:08:37 2018
New Revision: 479207
URL: https://svnweb.freebsd.org/changeset/ports/479207

Log:
  - Update to 1.0.2
  - Use GO_* variables to simplify the Makefile

Modified:
  head/sysutils/istio/Makefile
  head/sysutils/istio/distinfo
  head/sysutils/istio/pkg-plist

Modified: head/sysutils/istio/Makefile
==============================================================================
--- head/sysutils/istio/Makefile	Fri Sep  7 18:35:17 2018	(r479206)
+++ head/sysutils/istio/Makefile	Fri Sep  7 21:08:37 2018	(r479207)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	istio
-PORTVERSION=	1.0.1
+PORTVERSION=	1.0.2
 CATEGORIES=	sysutils
 
 MAINTAINER=	danilo@FreeBSD.org
@@ -15,21 +15,13 @@ RUN_DEPENDS=	kubectl:sysutils/kubectl
 USES=		go
 
 USE_GITHUB=	yes
-GH_ACCOUNT=	istio
-GH_SUBDIR=	src/istio.io/istio
 
-do-build:
-	cd ${WRKSRC}/${GH_SUBDIR} && \
-		GOPATH=${WRKSRC} go build -o ${WRKSRC}/bin/istioctl \
-		-ldflags="-X istio.io/istio/pkg/version.buildVersion=${PORTVERSION} \
-		-X istio.io/istio/pkg/version.buildGitRevision=unknown \
-		-X istio.io/istio/pkg/version.buildDockerHub=docker.io/istio" \
-		./istioctl/cmd/istioctl/
+GO_PKGNAME=	istio.io/istio
+GO_TARGET=	${GO_PKGNAME}/istioctl/cmd/istioctl
+GO_BUILDFLAGS=	-ldflags="-X istio.io/istio/pkg/version.buildVersion=${PORTVERSION} \
+		-X istio.io/istio/pkg/version.buildDockerHub=docker.io/istio"
 
-do-install:
-	${INSTALL_PROGRAM} \
-		${WRKSRC}/bin/istioctl \
-		${STAGEDIR}${PREFIX}/bin/istioctl
+post-install:
 .for data in consul gcp kubernetes
 	(cd ${WRKSRC}/install \
 		&& ${COPYTREE_SHARE} ${data} ${STAGEDIR}${DATADIR})

Modified: head/sysutils/istio/distinfo
==============================================================================
--- head/sysutils/istio/distinfo	Fri Sep  7 18:35:17 2018	(r479206)
+++ head/sysutils/istio/distinfo	Fri Sep  7 21:08:37 2018	(r479207)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1535213591
-SHA256 (istio-istio-1.0.1_GH0.tar.gz) = 836cef03b35aadfa55337ae650f77a2b01790bc9ada17cf82932aed04f07b7dc
-SIZE (istio-istio-1.0.1_GH0.tar.gz) = 18829093
+TIMESTAMP = 1536352609
+SHA256 (istio-istio-1.0.2_GH0.tar.gz) = d9dc56408d4140309be653207da39449d191dade14b9b8811cc7431646248175
+SIZE (istio-istio-1.0.2_GH0.tar.gz) = 18828091

Modified: head/sysutils/istio/pkg-plist
==============================================================================
--- head/sysutils/istio/pkg-plist	Fri Sep  7 18:35:17 2018	(r479206)
+++ head/sysutils/istio/pkg-plist	Fri Sep  7 21:08:37 2018	(r479207)
@@ -104,6 +104,7 @@ bin/istioctl
 %%DATADIR%%/kubernetes/helm/istio/charts/grafana/templates/create-custom-resources-job.yaml
 %%DATADIR%%/kubernetes/helm/istio/charts/grafana/templates/deployment.yaml
 %%DATADIR%%/kubernetes/helm/istio/charts/grafana/templates/grafana-ports-mtls.yaml
+%%DATADIR%%/kubernetes/helm/istio/charts/grafana/templates/pvc.yaml
 %%DATADIR%%/kubernetes/helm/istio/charts/grafana/templates/secret.yaml
 %%DATADIR%%/kubernetes/helm/istio/charts/grafana/templates/service.yaml
 %%DATADIR%%/kubernetes/helm/istio/charts/ingress/Chart.yaml



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