svn commit: r451712 - head/www/minio
Steve Wills
swills at FreeBSD.org
Tue Oct 10 18:03:41 UTC 2017
Author: swills
Date: Tue Oct 10 18:03:40 2017
New Revision: 451712
URL: https://svnweb.freebsd.org/changeset/ports/451712
Log:
www/minio: update to RELEASE.2017-09-29T19-16-56Z
While here, disable CGO since it's not needed and this gives a static binary
like upstream ships. And remove CC=clang check since we don't use CC any more.
Also, shorten the install command for readability.
PR: 222886
Submitted by: jhixson at gmail.com (inspired by)
Modified:
head/www/minio/Makefile
head/www/minio/distinfo
Modified: head/www/minio/Makefile
==============================================================================
--- head/www/minio/Makefile Tue Oct 10 17:45:57 2017 (r451711)
+++ head/www/minio/Makefile Tue Oct 10 18:03:40 2017 (r451712)
@@ -14,9 +14,9 @@ BUILD_DEPENDS= go>=1.7:lang/go
USES= compiler
USE_GITHUB= yes
-GH_TAGNAME= RELEASE.2017-05-05T01-14-51Z
+GH_TAGNAME= RELEASE.2017-09-29T19-16-56Z
GH_SUBDIR= src/github.com/${PORTNAME}/${PORTNAME}
-COMMIT_ID= 40985cc4e3eec06b7ea82dc34c8d907fd2e7aa12
+COMMIT_ID= 60cc6184d253efee4a3120683517028342229e21
PLIST_FILES= bin/minio
@@ -29,15 +29,11 @@ SUB_LIST= USER="${USERS}" \
GROUP="${GROUPS}"
do-build:
- cd ${WRKSRC}/${GH_SUBDIR} ; GOPATH=${WRKSRC} go build --ldflags '-X github.com/minio/minio/cmd.Version=${GH_TAGNAME:C/RELEASE\.//:C|(..)-(..)-(..)Z|\1:\2:\3Z|} -X github.com/minio/minio/cmd.ReleaseTag=${GH_TAGNAME} -X github.com/minio/minio/cmd.CommitID=${COMMIT_ID} -X github.com/minio/minio/cmd.GOPATH=${WRKSRC} -s -w' -o ${WRKSRC}/bin/minio
+ @cd ${WRKSRC}/${GH_SUBDIR} ; \
+ ${SETENV} GOPATH=${WRKSRC} CGO_ENABLED=0 go build \
+ --ldflags '-X github.com/minio/minio/cmd.Version=${GH_TAGNAME:C/RELEASE\.//:C|(..)-(..)-(..)Z|\1:\2:\3Z|} -X github.com/minio/minio/cmd.ReleaseTag=${GH_TAGNAME} -X github.com/minio/minio/cmd.CommitID=${COMMIT_ID} -X github.com/minio/minio/cmd.GOPATH=${WRKSRC} -s -w' -o ${WRKSRC}/bin/minio
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-.include <bsd.port.pre.mk>
-
-.if ${COMPILER_TYPE} == clang
-BUILD_ENV= CC=clang
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: head/www/minio/distinfo
==============================================================================
--- head/www/minio/distinfo Tue Oct 10 17:45:57 2017 (r451711)
+++ head/www/minio/distinfo Tue Oct 10 18:03:40 2017 (r451712)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1493952231
-SHA256 (minio-minio-2017.05.05.01.14.51-RELEASE.2017-05-05T01-14-51Z_GH0.tar.gz) = 6f36a82f075ffbaf2a69b0e3f42820d9576a871160aa4484d6323945a6bc84a1
-SIZE (minio-minio-2017.05.05.01.14.51-RELEASE.2017-05-05T01-14-51Z_GH0.tar.gz) = 4576742
+TIMESTAMP = 1507655373
+SHA256 (minio-minio-2017.09.29.19.16.56-RELEASE.2017-09-29T19-16-56Z_GH0.tar.gz) = 9d8bdb8c7cf177bb8ed07b1a4b9f3c1effa789d1446a47a6e905faedfc4302c0
+SIZE (minio-minio-2017.09.29.19.16.56-RELEASE.2017-09-29T19-16-56Z_GH0.tar.gz) = 6977013
More information about the svn-ports-head
mailing list