From owner-svn-ports-head@freebsd.org Sat Feb 18 10:30:54 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 55ADBCE3AAD; Sat, 18 Feb 2017 10:30:54 +0000 (UTC) (envelope-from krion@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2DE0C1637; Sat, 18 Feb 2017 10:30:54 +0000 (UTC) (envelope-from krion@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v1IAUrA4042427; Sat, 18 Feb 2017 10:30:53 GMT (envelope-from krion@FreeBSD.org) Received: (from krion@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1IAUqhd042423; Sat, 18 Feb 2017 10:30:52 GMT (envelope-from krion@FreeBSD.org) Message-Id: <201702181030.v1IAUqhd042423@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: krion set sender to krion@FreeBSD.org using -f From: Kirill Ponomarew Date: Sat, 18 Feb 2017 10:30:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r434341 - in head/www: . minio-client X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Feb 2017 10:30:54 -0000 Author: krion Date: Sat Feb 18 10:30:52 2017 New Revision: 434341 URL: https://svnweb.freebsd.org/changeset/ports/434341 Log: Add port: www/minio-client Minio Client is a replacement for ls, cp, mkdir, diff and rsync commands for filesystems and object storage. WWW: https://minio.io/downloads/#minio-client PR: 217124 Submitted by: jhixson@gmail.com Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D9642 Added: head/www/minio-client/ head/www/minio-client/Makefile (contents, props changed) head/www/minio-client/distinfo (contents, props changed) head/www/minio-client/pkg-descr (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Sat Feb 18 10:28:47 2017 (r434340) +++ head/www/Makefile Sat Feb 18 10:30:52 2017 (r434341) @@ -412,6 +412,7 @@ SUBDIR += mini_httpd SUBDIR += miniminiweb SUBDIR += minio + SUBDIR += minio-client SUBDIR += mitmproxy SUBDIR += mkapachepw SUBDIR += mknmz-wwwoffle Added: head/www/minio-client/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/minio-client/Makefile Sat Feb 18 10:30:52 2017 (r434341) @@ -0,0 +1,34 @@ +# $FreeBSD$ + +PORTNAME= minio-client +PORTVERSION= ${GH_TAGNAME:S/RELEASE.//:S/Z//:S/T/-/:S/-/./g} +CATEGORIES= www + +MAINTAINER= jhixson@gmail.com +COMMENT= Replacement for ls, cp, mkdir, diff and rsync commands for filesystems + +LICENSE= APACHE20 + +BUILD_DEPENDS= go>=1.7:lang/go \ + bash:shells/bash + +USE_GITHUB= yes +GH_ACCOUNT= minio +GH_PROJECT= mc +GH_TAGNAME= RELEASE.2017-02-06T20-16-19Z +GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${GH_PROJECT} +MAKE_ENV= GOPATH=${WRKSRC} GOROOT=${LOCALBASE}/go + +STRIP= # stripping can break go binaries +PLIST_FILES= bin/${PORTNAME} + +do-build: + @cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}; \ + ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -v -x \ + -ldflags "-X main.GitDescribe=v${PORTVERSION}" -o bin/${PORTNAME} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/bin/${PORTNAME} \ + ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +.include Added: head/www/minio-client/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/minio-client/distinfo Sat Feb 18 10:30:52 2017 (r434341) @@ -0,0 +1,3 @@ +TIMESTAMP = 1487205021 +SHA256 (minio-mc-2017.02.06.20.16.19-RELEASE.2017-02-06T20-16-19Z_GH0.tar.gz) = 2ee46a826ff961683d8ed25e18598576a68bdebe79dcce9adf3219d34f9ec64c +SIZE (minio-mc-2017.02.06.20.16.19-RELEASE.2017-02-06T20-16-19Z_GH0.tar.gz) = 1009728 Added: head/www/minio-client/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/minio-client/pkg-descr Sat Feb 18 10:30:52 2017 (r434341) @@ -0,0 +1,4 @@ +Minio Client is a replacement for ls, cp, mkdir, diff and rsync commands for +filesystems and object storage. + +WWW: https://minio.io/downloads/#minio-client