summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-10-20 14:13:06 +0200
committerManuel Rüger <mrueg@gentoo.org>2017-10-20 14:13:06 +0200
commit37884b7b35c1f5e1983a171940890068312c9376 (patch)
tree7323bfa1c5de548e27a3c992b104b14c977984b7 /net-fs
parentdev-util/cmake: Bump to version 3.10.0_rc3. Removed old. (diff)
downloadgentoo-37884b7b35c1f5e1983a171940890068312c9376.tar.gz
gentoo-37884b7b35c1f5e1983a171940890068312c9376.tar.bz2
gentoo-37884b7b35c1f5e1983a171940890068312c9376.zip
net-fs/minio: Version bump
Package-Manager: Portage-2.3.12, Repoman-2.3.3
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/minio/Manifest1
-rw-r--r--net-fs/minio/minio-0_pre20170929.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/net-fs/minio/Manifest b/net-fs/minio/Manifest
index c2ec0f5a0342..b8f768d6ded6 100644
--- a/net-fs/minio/Manifest
+++ b/net-fs/minio/Manifest
@@ -1,2 +1,3 @@
DIST minio-0_pre20170613.tar.gz 5037377 SHA256 a44ee8c0933e55c1c561d4ed154564af1d45571a2cd0b00b0788b59d9475c402 SHA512 3844ce71dc5b7736e9a1ecdc8771b863879b195f22546e74e5c29a8100c3102bced971f138f19fd7788d2cc6cf6c766f3b9727af8770ca59cc4d621e92dd22a7 WHIRLPOOL cf8809d03530468e5bff26e6afc3f031d78f979dd02f254d9f50faf515e94d87de2f45a39b9dace65f28928698a12f94891c9c0ef6d51b3e18bd0de41f06ef7f
DIST minio-0_pre20170805.tar.gz 6891365 SHA256 78d4cf72bca7e9c1e2b6c8afa2eec13139c3d246672737ad4b07be16f3f4d8a1 SHA512 318bbebf7cddc956e2ac5bb39e3316bb43b71c3a57bfe00fa868fe3ac94f7eabdcb8c62b1460105051b89014e6a2bb6eee7e6a5da7b17e512c9af8437aec75fa WHIRLPOOL 5f09f7f2e177dca8abf8cd61b556f3b5ca252ec365dfffc6f933d5967b423b2d5d023b8aece2f3c00f4388320b888676eab27def23e9f623f2ee959a9be06e27
+DIST minio-0_pre20170929.tar.gz 6976881 SHA256 6e78d07d272630f1cad4cd7950a19206bdadaa2b6721f74df65ec85dd88b36a0 SHA512 f22ab87f4fadbe332acd7db9155fff5fb79c55357071627397d51b3a2c26eaf7f80c53b9ed37822d72948610d3d1805e70abaca6f3e39b26c3c1e4e6770cae44 WHIRLPOOL bd43ae7b1dcd196e90db5ffac8aa6643435af76582147ac50890221ff964a1cf36d8fe8411ae47148bb5cd0929f09c541c11abbaa3eb54c2efb40f3368104894
diff --git a/net-fs/minio/minio-0_pre20170929.ebuild b/net-fs/minio/minio-0_pre20170929.ebuild
new file mode 100644
index 000000000000..af45e7bd5245
--- /dev/null
+++ b/net-fs/minio/minio-0_pre20170929.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit golang-build golang-vcs-snapshot
+
+EGO_PN="github.com/minio/minio"
+VERSION="2017-09-29T19-16-56Z"
+EGIT_COMMIT="60cc6184d253efee4a3120683517028342229e21"
+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"
+
+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
+}