From a4e2a46beb5e4858ef27bdedbb0ff6d2ced430ad Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 28 Apr 2018 20:02:04 +0100 Subject: gentoo resync : 28.04.2018 --- net-fs/minio/Manifest | 2 ++ net-fs/minio/minio-0_pre20180419.ebuild | 52 +++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 net-fs/minio/minio-0_pre20180419.ebuild (limited to 'net-fs/minio') diff --git a/net-fs/minio/Manifest b/net-fs/minio/Manifest index fd36dc73bf67..ff35a4826018 100644 --- a/net-fs/minio/Manifest +++ b/net-fs/minio/Manifest @@ -2,7 +2,9 @@ AUX minio.initd 410 BLAKE2B bedce560151142afc4961569f6fb803c9d7bb4263d56061191e3 DIST minio-0_pre20180209.tar.gz 7521636 BLAKE2B af76c858c3afc97067b2f69025c3e3623179e80c93d537e1f90b27b078379c4e3485399f0d30a3b4c196629dd78fed969a3d0da150e79757d58fc6db74b9fce1 SHA512 1c654a40fc809ae010643451c504cc61f5343c9fa210d3e00ceeeeb0917865bed8e07759293853d195f414dbcbb99ed34dfb2f913a6e607659ab6646492598fe DIST minio-0_pre20180330.tar.gz 7542469 BLAKE2B 3aae4daab1357fa5ae7e42f12768c15de133c7ffa49568657c1f7b5d38e7881e948ccab9e9fdbd22e90269ded903345f3278d12b817be7fa2a92259ee1999ee6 SHA512 34b9e330e60e58099744f2216c677f2bdcff82741a926b8c1fbf93eabf654f806e7b8df89440a477f787726d909e82a1eefd5d9c8f9ed70560ca17832708f9c3 DIST minio-0_pre20180412.tar.gz 7638430 BLAKE2B 698e0d5f5fd176f6b1dbc520d52474ce3d0e44ce5caf1345f2c6afaad3766e88e77a1c6722afa073b7b5f7176e266d00cb88d1847152f3a20b991f7819918d42 SHA512 4ef4964ec5a4b228116995b660724d404e04a132c10094c0a62974c2febaa0db7e035d93e6db4f1978ef418cc331a80db8cf3d0c6a191c57295016f1016f79e8 +DIST minio-0_pre20180419.tar.gz 7761662 BLAKE2B 7ff62d0a04149a38dea6a361298f401f1ab479b90c342cb9386323f95da676eec73b34ddd098bed60e691db1920cb7b895ac5873b9ae625964e6de9bb82262a4 SHA512 a955e4177f605cf3bee5204c139de90162bb73df282c61d848004a0d8e2d7bc9ff192bf4b75694c9102c6f9df2f1553ada470993d6a2c46f5d6cc8beefa90526 EBUILD minio-0_pre20180209.ebuild 1319 BLAKE2B 71a1c48dc34cdd6f6c79cddd56566f476e4da211f3643ca0427671e2f0c1bbb36376cdc045956601e8513cb9a818bc52fe384843fc65df68732a5d30c619187a SHA512 213ad23adfbe038d28c0158cd05787c087034ff698624bfa0b507e753b24f1613635211f3790196bd23411d24f6e0efad43c54a1ffffbbe60826d6b50d64ac5a EBUILD minio-0_pre20180330.ebuild 1319 BLAKE2B 8908a732710a0fb77892aa5dafa22b251a1563420997be660d88bbcfbfa901e6a10db192a855ffcfbca189ba26ba08bfaeb3b1277a5de7d3cbea0092a04ce3c5 SHA512 a8f507f1987bc30adcfaf4d5b70c0bf5687c1abde9ccd54bb02c3a7fc8992874c89d51f754d93401783840a0e5241fd2e55219377f42482e160a30d73b9d55db EBUILD minio-0_pre20180412.ebuild 1319 BLAKE2B 108ec3fef90b317a748fb6e3159cfbc8b235ad205fb500840042524fce0a6d108cc93ef00fbe52e2e6375a2df0085103b9d890b197615a7ad7822828ee0c680f SHA512 dbcbb2731e79bec28d85cf8b265c730fbba67cf28c59f48540782c88236d80bc4d4c14b81307b8a89b7be1345e01380a6bcafd690844e2a35f808d07eca284ee +EBUILD minio-0_pre20180419.ebuild 1319 BLAKE2B 707f0da5dfacd955186455b019375e9a9e0d987739d411a09a1f69a9fcd7b040de833917b757bedbdc6513cfc94877f37ddde6acde53e2d5a070eb14e2ea4ff4 SHA512 7cc553a42ed1bb73f4e745717414820612d519a92c8e53a324a839ddfe377c7e0338a01b5a49d177a56b885610a939193590c469b1c14837cb9d44b4610aaf3c MISC metadata.xml 321 BLAKE2B 7e012bd9c28f71a0c8ccecc85f4ba3a18e5d4d20f7ad6d0f493d228118ecef3412886a8adbf5585aee9e22c8141a9065b06f980d40588e1db408e9d0f7ac715c SHA512 b44c2fe36086faa97355cc6d55571ceca91836e6874530529d13d909974795a553bf1701eadd85a461da1f2f53c885230cce33589d1527117d7232ff959171b0 diff --git a/net-fs/minio/minio-0_pre20180419.ebuild b/net-fs/minio/minio-0_pre20180419.ebuild new file mode 100644 index 000000000000..53c259b5e9bc --- /dev/null +++ b/net-fs/minio/minio-0_pre20180419.ebuild @@ -0,0 +1,52 @@ +# 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 + +EGO_PN="github.com/minio/minio" +VERSION="2018-04-19T22-54-58Z" +EGIT_COMMIT="5a16671f721f4e8f320bc25f60ce4e601ab544e3" +ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.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)/\"${VERSION}\"/"\ + -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="${VERSION}" + 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} +} -- cgit v1.2.3