summaryrefslogtreecommitdiff
path: root/net-fs/minio
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-12-31 13:43:35 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-12-31 13:43:35 +0000
commit2891d29af8907ce881662f4a02844926d7a293c7 (patch)
tree56979d96839d0827aa52008b81b746b4934d88df /net-fs/minio
parentde49812990871e1705b64051c35161d5e6400269 (diff)
gentoo resync : 31.12.2018
Diffstat (limited to 'net-fs/minio')
-rw-r--r--net-fs/minio/Manifest2
-rw-r--r--net-fs/minio/minio-2018.12.27.18.33.08.ebuild53
2 files changed, 55 insertions, 0 deletions
diff --git a/net-fs/minio/Manifest b/net-fs/minio/Manifest
index f6eecbac268c..fd0c9498203f 100644
--- a/net-fs/minio/Manifest
+++ b/net-fs/minio/Manifest
@@ -9,6 +9,7 @@ DIST minio-2018.11.30.03.56.59.tar.gz 9085930 BLAKE2B 445ad82c4c3829fa62554d5ee1
DIST minio-2018.12.06.01.27.43.tar.gz 9087439 BLAKE2B fbbde99442ce0b1573251ca93a5ad4323c1ce68263d2f5c3c0fd6631868dc5110b7179aabdb5ded260def669fdddbd0f9eae6a543ecf1a74d9fb9825ebdd8bd2 SHA512 1ac070f9358acee7d51895965aedeb85b79080842d7dc4012c48ad5cdb6d73bb4cd53d60edcac0fe7d0571ef7a2276d055a5505c73fd3ffa82cac4508df999c9
DIST minio-2018.12.13.02.04.19.tar.gz 9091219 BLAKE2B 7d4619cb3d88c4c115e0361edecf73df7d7d6b5ed86487653aa8ee30c75bf1fbb026011b25d8a5270616b89d1c3a9df3ca1aedb6d4339914e48744982c79991a SHA512 4d4542644738ffd8541ad118f74957aee272afa47c82469cda85994aa4c228dcf08126606c4cf3684c5a2a0ca9a55c1841230dfd0983dc17c4873e8ecceb7176
DIST minio-2018.12.19.23.46.24.tar.gz 9096254 BLAKE2B 252c8e84e9df0f5e2f85f5f5a0930a53f960b25c03a381961adeb338f70d7ec3e172c369fb52c4aa14c039e48c0611f90f627ede797b3469ed08d2a4ffd0653c SHA512 c1acfca6fdba3490fcd89e0c910b0b9da0c2ca04fe8e5d17acf6001f313fa7ba64a548921a35c531e9998f7bef1535fc239e95382f78e2ee0a9fd40bc87bb2bc
+DIST minio-2018.12.27.18.33.08.tar.gz 9102593 BLAKE2B 40e1a014edcfe84f9310bd09b0d4e5853b3ef8e1cc7e1a0805aaf83f55320a516df0c930c78d5b7726625d9f2d521dbee534b949f31b63438ac19971f75e493c SHA512 92ec8b8d1094d3b125f3522063895274e9aa0144063c4ac64a3919dfc65a6ee26e7a1bc03063f61acdb6b5b14681448f3451598939a8f17d107205091049279c
EBUILD minio-2018.10.18.00.28.58.ebuild 1345 BLAKE2B 479e6235850893767ed313cff9d6d618f9cda277497be39403a251b0fe0a009e0d6a7e5588d5850eb8f0323bef576eaecde13bcc090dc27cfa5cf1c3d0bddaaf SHA512 90fe7448636aef31c6f577e2c3f3f4258dc438bc516b62a09c15944dd9d440a4e4857258725650ca99f7216b5105ed4dbbb77155c6fd5f2c7985dbf40bead83d
EBUILD minio-2018.10.25.01.27.03.ebuild 1345 BLAKE2B 479e6235850893767ed313cff9d6d618f9cda277497be39403a251b0fe0a009e0d6a7e5588d5850eb8f0323bef576eaecde13bcc090dc27cfa5cf1c3d0bddaaf SHA512 90fe7448636aef31c6f577e2c3f3f4258dc438bc516b62a09c15944dd9d440a4e4857258725650ca99f7216b5105ed4dbbb77155c6fd5f2c7985dbf40bead83d
EBUILD minio-2018.11.06.01.01.02.ebuild 1345 BLAKE2B 479e6235850893767ed313cff9d6d618f9cda277497be39403a251b0fe0a009e0d6a7e5588d5850eb8f0323bef576eaecde13bcc090dc27cfa5cf1c3d0bddaaf SHA512 90fe7448636aef31c6f577e2c3f3f4258dc438bc516b62a09c15944dd9d440a4e4857258725650ca99f7216b5105ed4dbbb77155c6fd5f2c7985dbf40bead83d
@@ -19,4 +20,5 @@ EBUILD minio-2018.11.30.03.56.59.ebuild 1345 BLAKE2B 479e6235850893767ed313cff9d
EBUILD minio-2018.12.06.01.27.43.ebuild 1345 BLAKE2B 479e6235850893767ed313cff9d6d618f9cda277497be39403a251b0fe0a009e0d6a7e5588d5850eb8f0323bef576eaecde13bcc090dc27cfa5cf1c3d0bddaaf SHA512 90fe7448636aef31c6f577e2c3f3f4258dc438bc516b62a09c15944dd9d440a4e4857258725650ca99f7216b5105ed4dbbb77155c6fd5f2c7985dbf40bead83d
EBUILD minio-2018.12.13.02.04.19.ebuild 1345 BLAKE2B 479e6235850893767ed313cff9d6d618f9cda277497be39403a251b0fe0a009e0d6a7e5588d5850eb8f0323bef576eaecde13bcc090dc27cfa5cf1c3d0bddaaf SHA512 90fe7448636aef31c6f577e2c3f3f4258dc438bc516b62a09c15944dd9d440a4e4857258725650ca99f7216b5105ed4dbbb77155c6fd5f2c7985dbf40bead83d
EBUILD minio-2018.12.19.23.46.24.ebuild 1345 BLAKE2B 479e6235850893767ed313cff9d6d618f9cda277497be39403a251b0fe0a009e0d6a7e5588d5850eb8f0323bef576eaecde13bcc090dc27cfa5cf1c3d0bddaaf SHA512 90fe7448636aef31c6f577e2c3f3f4258dc438bc516b62a09c15944dd9d440a4e4857258725650ca99f7216b5105ed4dbbb77155c6fd5f2c7985dbf40bead83d
+EBUILD minio-2018.12.27.18.33.08.ebuild 1345 BLAKE2B 479e6235850893767ed313cff9d6d618f9cda277497be39403a251b0fe0a009e0d6a7e5588d5850eb8f0323bef576eaecde13bcc090dc27cfa5cf1c3d0bddaaf SHA512 90fe7448636aef31c6f577e2c3f3f4258dc438bc516b62a09c15944dd9d440a4e4857258725650ca99f7216b5105ed4dbbb77155c6fd5f2c7985dbf40bead83d
MISC metadata.xml 323 BLAKE2B 53e4aa74bfb7ce2ce83686b69238aa7d248c06dfdf61703b7e5d40a099d0c972492a2a6eaed91fe16914443e1dab70ebd421c4dbec06064ac72736dc381d6a7e SHA512 827c8163d2b096af06bee067f81fb16236681807b71e945427290ee9b077be0520a4d18f404a8c75eef1d49eeaa36850d2035fd1addaf42dfada0922f2eac3b4
diff --git a/net-fs/minio/minio-2018.12.27.18.33.08.ebuild b/net-fs/minio/minio-2018.12.27.18.33.08.ebuild
new file mode 100644
index 000000000000..9adcc45356de
--- /dev/null
+++ b/net-fs/minio/minio-2018.12.27.18.33.08.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}
+}