1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00

- Update to 1.0.2

- Use GO_* variables to simplify the Makefile
This commit is contained in:
Danilo Egea Gondolfo 2018-09-07 21:08:37 +00:00
parent ca48e1f9e5
commit 923af672b2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=479207
3 changed files with 10 additions and 17 deletions

View File

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

View File

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

View File

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