diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-02 15:59:12 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-02 15:59:12 +0000 |
commit | 06a7b5647e11a8ddf69b1c3d3ded6a8ba28b923e (patch) | |
tree | 8d58c1f4b049da677b33209b072f2b3057268fe0 /net-fs/minio | |
parent | 99abbc5e5a6ecd3fc981b45646fd8cb5d320377b (diff) |
gentoo resync : 02.03.2018
Diffstat (limited to 'net-fs/minio')
-rw-r--r-- | net-fs/minio/Manifest | 2 | ||||
-rw-r--r-- | net-fs/minio/minio-0_pre20180209.ebuild | 52 |
2 files changed, 54 insertions, 0 deletions
diff --git a/net-fs/minio/Manifest b/net-fs/minio/Manifest index 1a505771b9e3..6b939fa7d29e 100644 --- a/net-fs/minio/Manifest +++ b/net-fs/minio/Manifest @@ -1,6 +1,8 @@ AUX minio.initd 410 BLAKE2B bedce560151142afc4961569f6fb803c9d7bb4263d56061191e3dc7e867dccd62fa1a363d41c16afa931d0ad138bd8cd858d7dc636851c6a0130bb1405396e3b SHA512 01610c5dd7e5887f85b1246d475e5b5c23cf3fbaa0de21e9579bfa929f3634cccbab1b7a7b8e66fa9bec41ed3feaae033c4380cc3911a7af6f64286c4ed0cf78 DIST minio-0_pre20171027.tar.gz 6904926 BLAKE2B 442f57d77d3634f269dbcba36333e2116fb189efbe63d50d387511d23e6edb98b0d9089f7742e717afee69a38dcfcaa7dc43ffac6ba2fff3d24a307ea8efc6e5 SHA512 15be3adf502efb9eecf2ef83a8339a1c965ee9ff6507e4a61e13faa187a3592cd88f9868716ce2834e54dde03f3bec12337a68e72fbaddf103c880ce3c4554f2 DIST minio-0_pre20171122.tar.gz 7030932 BLAKE2B a06b81bcc16c9880a13a615f894d04f55e6824feed603bb466e0d95c6ed1b1e9c28b639e5ef6240e0d33ac17791465def51bf7b92f7a9c836c0a20541d2b422c SHA512 06f404381c33a053c402b90b1353b4a5284923bb5b5264eef5b6a59fa94e6f85f4bf8306a865bba2eeccdf4b484e92c1d353a7a15d8dacc1a5d8c11d108dc8fe +DIST minio-0_pre20180209.tar.gz 7521636 BLAKE2B af76c858c3afc97067b2f69025c3e3623179e80c93d537e1f90b27b078379c4e3485399f0d30a3b4c196629dd78fed969a3d0da150e79757d58fc6db74b9fce1 SHA512 1c654a40fc809ae010643451c504cc61f5343c9fa210d3e00ceeeeb0917865bed8e07759293853d195f414dbcbb99ed34dfb2f913a6e607659ab6646492598fe EBUILD minio-0_pre20171027.ebuild 1123 BLAKE2B 05579a962c082fb5413fd6f55e0415be0a9de26d822aa02e1312c163f7dc07ff814d177e305d75ca667740fa105ffd678530002ca2332922f4be7a7a36e8b06f SHA512 3eff3cd68c1d444955219b0d7459fb73c5eec45324dfc5b64518d77ecf6e7bfc142d1fe44ecde2a9de0e9540735ff5fad513649cc9695fc6c710541bcc4a5aba EBUILD minio-0_pre20171122.ebuild 1319 BLAKE2B a53af7254afcb9d727fbcc82cfcf7732860178f48515cfe547fea72d2f53c9fce2cd19f60ed9d1b2a66ebe1c61c60d2632006d34c7455a76cfe6ff86c3a65893 SHA512 33216262eeaaf391616610004fceee8c5699a16c64b7db31b7a46b91eec298f1a1e9d64c1c43af0d908786d013d7e21ff7e9afcfc86fac9c3180793a76eb65a3 +EBUILD minio-0_pre20180209.ebuild 1319 BLAKE2B 71a1c48dc34cdd6f6c79cddd56566f476e4da211f3643ca0427671e2f0c1bbb36376cdc045956601e8513cb9a818bc52fe384843fc65df68732a5d30c619187a SHA512 213ad23adfbe038d28c0158cd05787c087034ff698624bfa0b507e753b24f1613635211f3790196bd23411d24f6e0efad43c54a1ffffbbe60826d6b50d64ac5a MISC metadata.xml 321 BLAKE2B 7e012bd9c28f71a0c8ccecc85f4ba3a18e5d4d20f7ad6d0f493d228118ecef3412886a8adbf5585aee9e22c8141a9065b06f980d40588e1db408e9d0f7ac715c SHA512 b44c2fe36086faa97355cc6d55571ceca91836e6874530529d13d909974795a553bf1701eadd85a461da1f2f53c885230cce33589d1527117d7232ff959171b0 diff --git a/net-fs/minio/minio-0_pre20180209.ebuild b/net-fs/minio/minio-0_pre20180209.ebuild new file mode 100644 index 000000000000..121c8905500a --- /dev/null +++ b/net-fs/minio/minio-0_pre20180209.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-02-09T22-40-05Z" +EGIT_COMMIT="289457568c2c812604484ae9b4efeca0f33aac2c" +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} +} |