summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2018-11-10 15:40:12 +0300
committerMikle Kolyada <zlogene@gentoo.org>2018-11-10 15:40:12 +0300
commitb089f33c7caa0dfc3071adfc36917bc9a6ba8299 (patch)
tree41be1afcd321663aa1ab60ed195f2064952624f8 /net-fs/minio
parentapp-office/gnucash: amd64 stable wrt bug #670800 (diff)
downloadgentoo-b089f33c7caa0dfc3071adfc36917bc9a6ba8299.tar.gz
gentoo-b089f33c7caa0dfc3071adfc36917bc9a6ba8299.tar.bz2
gentoo-b089f33c7caa0dfc3071adfc36917bc9a6ba8299.zip
net-fs/minio: Version bump
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'net-fs/minio')
-rw-r--r--net-fs/minio/Manifest1
-rw-r--r--net-fs/minio/minio-2018.11.06.01.01.02.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/net-fs/minio/Manifest b/net-fs/minio/Manifest
index 7547eac68e80..2d322a65ee14 100644
--- a/net-fs/minio/Manifest
+++ b/net-fs/minio/Manifest
@@ -5,3 +5,4 @@ DIST minio-2018.09.12.18.49.56.tar.gz 8743369 BLAKE2B 8f7f2fdb75a0130348a6e06182
DIST minio-2018.09.25.21.34.43.tar.gz 9187452 BLAKE2B d60567a90b95c86293cd34533cf65ced42ca11219963e2f6c843ed7d6988a9df160be3afda9cdbac4f5158f46b7daddb8c79e47e6a8ff54530725ada8fb14226 SHA512 2e70e09455ba56fc4230fbc836d2eb988315f0a43109cfdbaf49c57ef2ff126db4ba836473df3c9b6e7f3e69852fa44b894bcb8a7b49b688b0df73f2e7499fe8
DIST minio-2018.10.18.00.28.58.tar.gz 9153624 BLAKE2B be2b9db53f0256bb7db1a1917003051ec0484d876702a54ea81ed38ae2853de296129a0ac1e5fbbf6e056bc5ac82e7ba389008001195f4b20daa8545275c9215 SHA512 64abcd10ade42f9bcecf498b2855426b8fbd2be428aa5aaa134295709849f8ebb57aede1d67a7302c7d05b8a861d5076a04ad126bc66d1fc9d4c45368e5e9cf1
DIST minio-2018.10.25.01.27.03.tar.gz 9083869 BLAKE2B 8adc52a4557bde234c367b1a0d3a3ca5651700cdaca4c0cd3c1ff55d64ef7bb6f5dbb48eee9867eb7677293abdcd34e9469bd3980f7046934db17d1fa72229ea SHA512 8227a0b320877131b5822e077f3ee2cc03268de2c1f9a13dbc34f8ade8828b20afda964f1d389f311547750b8a7a613037042fe2a10f30610972a8d6eb4f40fd
+DIST minio-2018.11.06.01.01.02.tar.gz 9090585 BLAKE2B e7cfcdd0eb89fe1c65ceaa7893c2f2c5c4667bea689c2e42ec1f09969590ed06b2a5977015206ee18bb7a5481c9e82b4311c2719cae6df1fd2c3b5da87f9f1fb SHA512 f3d51f5a2c15b2c7cad0679fcb6c72647e090e64efb5e29ad04519fb8870809044f3ae6c2f95a36ad2f0ffb7401e602ea8f5d2f4e5b61c8b60082339b9b91c68
diff --git a/net-fs/minio/minio-2018.11.06.01.01.02.ebuild b/net-fs/minio/minio-2018.11.06.01.01.02.ebuild
new file mode 100644
index 000000000000..9adcc45356de
--- /dev/null
+++ b/net-fs/minio/minio-2018.11.06.01.01.02.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2018 Gentoo Authors
+# 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="ce419c98352324caa4c79b159a9f840ca714c3d5"
+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"
+
+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}
+}