aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2018-05-31 01:55:19 +0800
committerswills <swills@FreeBSD.org>2018-05-31 01:55:19 +0800
commite90fc710f4bc357d78aac20d0c2a37df211ddddf (patch)
tree284bf06bca4c62145270555bd4d5b3cc0fd61678
parentf3b6e8c7998fe66011c15759b7cc98dbef3ddb06 (diff)
downloadfreebsd-ports-gnome-e90fc710f4bc357d78aac20d0c2a37df211ddddf.tar.gz
freebsd-ports-gnome-e90fc710f4bc357d78aac20d0c2a37df211ddddf.tar.zst
freebsd-ports-gnome-e90fc710f4bc357d78aac20d0c2a37df211ddddf.zip
www/minio-client: update to 2018.05.25.20.20.15
PR: 228595 Submitted by: jhixson@gmail.com (maintainer)
-rw-r--r--www/minio-client/Makefile7
-rw-r--r--www/minio-client/distinfo6
2 files changed, 7 insertions, 6 deletions
diff --git a/www/minio-client/Makefile b/www/minio-client/Makefile
index 463bb0ea234a..d64572f05a1f 100644
--- a/www/minio-client/Makefile
+++ b/www/minio-client/Makefile
@@ -27,16 +27,17 @@ MC= ${PORTNAME}
USE_GITHUB= yes
GH_ACCOUNT= minio
GH_PROJECT= mc
-GH_TAGNAME= RELEASE.2018-04-28T00-08-20Z
+GH_TAGNAME= RELEASE.2018-05-25T20-20-15Z
GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${GH_PROJECT}
MAKE_ENV= GOPATH=${WRKSRC} GOROOT=${LOCALBASE}/go
+COMMIT_ID= 961c4b5daebe0f5f8ac2930f087a14a597e95f5b
PLIST_FILES= bin/${MC}
do-build:
@cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}; \
- ${SETENV} ${MAKE_ENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -v -x \
- -ldflags "-X main.GitDescribe=v${PORTVERSION}" -o bin/${MC}
+ ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} CGO_ENABLED=0 go build -v -x \
+ --ldflags '-X github.com/minio/mc/cmd.Version=${GH_TAGNAME:C/RELEASE\.//:C|(..)-(..)-(..)Z|\1:\2:\3Z|} -X github.com/minio/mc/cmd.ReleaseTag=${GH_TAGNAME} -X github.com/minio/mc/cmd.CommitID=${COMMIT_ID} -X github.com/minio/mc/cmd.GOPATH=${WRKSRC} -s -w' -o ${WRKSRC}/bin/${MC}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/bin/${MC} \
diff --git a/www/minio-client/distinfo b/www/minio-client/distinfo
index 654c643fcd73..1a505df0580f 100644
--- a/www/minio-client/distinfo
+++ b/www/minio-client/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1525828873
-SHA256 (minio-mc-2018.04.28.00.08.20-RELEASE.2018-04-28T00-08-20Z_GH0.tar.gz) = 37ef1e1ebd2583a56ac6e4e752231fbc39ad757e4560388e9cc978140371c3a4
-SIZE (minio-mc-2018.04.28.00.08.20-RELEASE.2018-04-28T00-08-20Z_GH0.tar.gz) = 1367649
+TIMESTAMP = 1527616086
+SHA256 (minio-mc-2018.05.25.20.20.15-RELEASE.2018-05-25T20-20-15Z_GH0.tar.gz) = 89fc6b92dfd67684bf00eb2a84b0e7e294ca09ac1b84ee4c2d97d5807c38d452
+SIZE (minio-mc-2018.05.25.20.20.15-RELEASE.2018-05-25T20-20-15Z_GH0.tar.gz) = 1367326