From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7ABFC138334 for ; Sun, 5 Aug 2018 13:08:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4040CE070D; Sun, 5 Aug 2018 13:08:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 00018E070D for ; Sun, 5 Aug 2018 13:08:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A0A81335CD6 for ; Sun, 5 Aug 2018 13:08:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C350A375 for ; Sun, 5 Aug 2018 13:08:35 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1533474466.25349eb412fbf63f4f4e2a11a55888eb3aa5a183.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/minio/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-fs/minio/Manifest net-fs/minio/minio-2018.08.02.23.11.36.ebuild X-VCS-Directories: net-fs/minio/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 25349eb412fbf63f4f4e2a11a55888eb3aa5a183 X-VCS-Branch: master Date: Sun, 5 Aug 2018 13:08:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a6fc8da9-0524-4aff-b4bf-d835d33851c7 X-Archives-Hash: cc63d2505961cbb9abc334d76754a629 commit: 25349eb412fbf63f4f4e2a11a55888eb3aa5a183 Author: Manuel Rüger gentoo org> AuthorDate: Sun Aug 5 11:11:41 2018 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Sun Aug 5 13:07:46 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25349eb4 net-fs/minio: Update snapshot Package-Manager: Portage-2.3.43, Repoman-2.3.10 net-fs/minio/Manifest | 1 + net-fs/minio/minio-2018.08.02.23.11.36.ebuild | 53 +++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/net-fs/minio/Manifest b/net-fs/minio/Manifest index a78a48895e2..b330c2f31b6 100644 --- a/net-fs/minio/Manifest +++ b/net-fs/minio/Manifest @@ -1,2 +1,3 @@ DIST minio-0_pre20180516.tar.gz 7795495 BLAKE2B d14fcbcbf4fa3b9a85bfa1f42d1069b14d4eceb4b99c2e7619d463a1fcdb941183146102da7ac38351fdf332b4bf7a141ede5469b57fc2157be19ff7ecde3e73 SHA512 6f5811500010f6e309e3918883c2127a46ba003dc43ece2c6d8a5da9e8d5aa6c2e6e4ca9dfdb4128b11327e035dcdde607b5e4ace045df1fa073d674d8b97e5a DIST minio-2018.07.23.18.34.49.tar.gz 8390586 BLAKE2B 57eecb767e67bdfe52259ed9ee111548c0d41313e0bd0fd60676cb910f8ec7b5f22aaf54055147b440295384df96e0a709bb4c1e7bc6d65d07f3d7e633a444b5 SHA512 7d49fb8ece251eb8672d60ac69d0ba4b1ad61901fc5707a9d3c45736c89f5cb313255d7e5c006c5682fb88fcc61c7e638350b76f8b534655bd0a8af20ec51ea8 +DIST minio-2018.08.02.23.11.36.tar.gz 8381976 BLAKE2B 4081dcb34af05e6643ac64648b2cf6dfeff7119441f79c0958b02ff7a9229ba0f46d63e3922afbb4286702a9f86dbcfb6bf1268d6a1bb4df651618ddbeb95f15 SHA512 edc1178825aa50d93dfccbeebf9370c54c61c10f0046b13ec5b25a2ae727f6520496dcfa3e42fd9b2fcaa767210db3138e0ac604ef9c87278be9e3aa4a1f78ff diff --git a/net-fs/minio/minio-2018.08.02.23.11.36.ebuild b/net-fs/minio/minio-2018.08.02.23.11.36.ebuild new file mode 100644 index 00000000000..0cc7045b5ef --- /dev/null +++ b/net-fs/minio/minio-2018.08.02.23.11.36.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit user golang-build golang-vcs-snapshot eapi7-ver + +EGO_PN="github.com/minio/minio" +MY_PV="$(ver_cut 1-3)T$(ver_cut 4-7)Z" +MY_PV=${MY_PV//./-} +EGIT_COMMIT="a091b1a3eefbaea07499bef9a5462280ec9d2a7a" +ARCHIVE_URI="https://${EGO_PN}/archive/RELEASE.${MY_PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" + +DESCRIPTION="An Amazon S3 compatible object storage server" +HOMEPAGE="https://github.com/minio/minio" +SRC_URI="${ARCHIVE_URI}" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" + +RESTRICT="test" + +pkg_setup() { + enewgroup ${PN} + enewuser ${PN} -1 -1 /var/lib/${PN} ${PN} +} + +src_prepare() { + default + sed -i -e "s/time.Now().UTC().Format(time.RFC3339)/\"${MY_PV}\"/"\ + -e "s/-s //"\ + -e "/time/d"\ + -e "s/+ commitID()/+ \"${EGIT_COMMIT}\"/"\ + src/${EGO_PN}/buildscripts/gen-ldflags.go || die +} + +src_compile() { + pushd src/${EGO_PN} || die + MINIO_RELEASE="${MY_PV}" + go run buildscripts/gen-ldflags.go + GOPATH="${S}" go build --ldflags "$(go run buildscripts/gen-ldflags.go)" -o ${PN} || die + popd || die +} + +src_install() { + pushd src/${EGO_PN} || die + dodoc -r README.md CONTRIBUTING.md MAINTAINERS.md docs + dobin minio + popd || die + newinitd "${FILESDIR}"/${PN}.initd ${PN} + keepdir /var/{lib,log}/${PN} + fowners ${PN}:${PN} /var/{lib,log}/${PN} +}