diff options
Diffstat (limited to 'net-fs/minio')
-rw-r--r-- | net-fs/minio/Manifest | 6 | ||||
-rw-r--r-- | net-fs/minio/minio-2019.04.18.01.15.57.ebuild | 172 | ||||
-rw-r--r-- | net-fs/minio/minio-2019.04.18.21.44.59.ebuild | 172 | ||||
-rw-r--r-- | net-fs/minio/minio-2019.04.23.23.50.36.ebuild | 172 |
4 files changed, 522 insertions, 0 deletions
diff --git a/net-fs/minio/Manifest b/net-fs/minio/Manifest index 0558212654f1..d301f4889f67 100644 --- a/net-fs/minio/Manifest +++ b/net-fs/minio/Manifest @@ -118,6 +118,9 @@ DIST minio-2019.03.20.22.38.47.tar.gz 9249505 BLAKE2B c3b5173575c266bf4a86276eaf DIST minio-2019.03.27.22.35.21.tar.gz 9261176 BLAKE2B 896162800b156d6cc04733fb80a4a0adf90b9bb5ff3561108e136e953dc60d4356c28fd6f28865977060d854f3887c23396139433e4a6c46fe9036a2b2e01336 SHA512 1fce454f0cbbb90bd8fff48c20a3a93cac464ea8dda1acb5687a566a5db641e912ff57a9b8e73192df5a7eb896f265945da734f89cf6c57dc9e2a0c8554f8d10 DIST minio-2019.04.04.18.31.46.tar.gz 4814395 BLAKE2B 0f8d4f73092f9d51cf49f3e085511f2005deb2df153d803b845cdf0ea25cdff3fa2e2acd480be59ebe1b83f5ca87b6c665dccd72e36a4ca98a1837bf4aef5996 SHA512 edd646be6bb24d5a1afd10417bdd75a4f1290099d9eda99c6b6303442c8badd3cb376ca1e78b0fea18f3cb2421c229d651fe4c9c756fe0376979517b1d7ba005 DIST minio-2019.04.09.01.22.30.tar.gz 4816060 BLAKE2B f70e60601523e2a9498a20afe3122a4bee3157070aae43d42e7d8a4036008de1fe4323be0852096a3d44317a6fa1dd8f4adedb769934f6029cde1fffbe3aa0aa SHA512 dd056bc5317911a49b6fcf1442c94fad0aca1b699605c0d4346aa164cb330b7cb3863f5d68197c453af8c6d3c8541ba92e0b382914dc5a4829ffd8e2db4e9c7d +DIST minio-2019.04.18.01.15.57.tar.gz 4823773 BLAKE2B c439f51843ef266227237a6b2d8cf46869559e1ac0a7365d1e221c2f2b784a54cb5af3f4d96b0adff06eb8761d12cd76f6e7c69cb476d954b888a1528406841b SHA512 45ce69a073b758710c5a5a8853857b3e7aada3fb536bb4e129b88eed8c43b77ab5d012e1299101d6b918c582030ea9bcb9170ac41135952cc628e461819c9574 +DIST minio-2019.04.18.21.44.59.tar.gz 4816682 BLAKE2B 63a43028f3f8af24674ff494907a81566c716b4bc7b41b2419d39df8dc1630b596037466b6efad1d8867bdbf43244af048c1b9b14b149fcd6182237f27beadb4 SHA512 a53856860189dae66ab970895db10ade8c1857e190bcb68060e4c403c060e91c2db659574329855dc16c49998407402981b7ab331bc93ec814ccdcfce6458d8d +DIST minio-2019.04.23.23.50.36.tar.gz 4816780 BLAKE2B 9591e8938d2f67a507d1b60dab0fd534d6770d37c3fa839b2da22b4d15c04335ce3c6fdeb22a76504072844d17ed7afca1826cb6e653398befaee67e0f9406f4 SHA512 a98e1a46443d9afa8ddc2a04273870440b2a5f4a04dd0fb7b21335471dbdfbe2a30c68da332e66a1d94bb9ad6326acfdd859e25f818ad8d84df869c93cf6ac05 EBUILD minio-2019.01.10.00.21.20.ebuild 1381 BLAKE2B 5ce76ea9331938f9e42cfbfcdfa12c57f5cd2e2a7c06282379bf6af2bf31886d0eebcf8a8f33bae7fc6e773061df0bd6f54697936eaa4ac7c446a104b84718c4 SHA512 2708fac173db7349246b4391510cefd625e68986609e5fea2a6b8caf08afd00a5ba251689895a05c468ebae4e9328e95cdb2d0cf279cb0d701e1a145934a7290 EBUILD minio-2019.01.16.21.44.08.ebuild 1381 BLAKE2B 5ce76ea9331938f9e42cfbfcdfa12c57f5cd2e2a7c06282379bf6af2bf31886d0eebcf8a8f33bae7fc6e773061df0bd6f54697936eaa4ac7c446a104b84718c4 SHA512 2708fac173db7349246b4391510cefd625e68986609e5fea2a6b8caf08afd00a5ba251689895a05c468ebae4e9328e95cdb2d0cf279cb0d701e1a145934a7290 EBUILD minio-2019.01.23.23.18.58.ebuild 1381 BLAKE2B 5ce76ea9331938f9e42cfbfcdfa12c57f5cd2e2a7c06282379bf6af2bf31886d0eebcf8a8f33bae7fc6e773061df0bd6f54697936eaa4ac7c446a104b84718c4 SHA512 2708fac173db7349246b4391510cefd625e68986609e5fea2a6b8caf08afd00a5ba251689895a05c468ebae4e9328e95cdb2d0cf279cb0d701e1a145934a7290 @@ -133,4 +136,7 @@ EBUILD minio-2019.03.20.22.38.47.ebuild 1381 BLAKE2B 5ce76ea9331938f9e42cfbfcdfa EBUILD minio-2019.03.27.22.35.21.ebuild 1371 BLAKE2B b65a6304901d076387fe16e3b69ac1f02ff626f1247c0ed71c58da3a18ecc050656e31ed0b8b598c5ded168496de375d8975ae40bd67e506312e341c951091dc SHA512 87cb94b18d44f3c1a07277d179b55b33cbbf09d56e59fd094970001156e667d45c804a581a7a23d4994f2b68d2a80c22b377927d096bb5b732752de84ee107a6 EBUILD minio-2019.04.04.18.31.46.ebuild 10304 BLAKE2B 0fcd367af6caf8d1137604ce8e2f61e0bd81f4054fbc59acb75c37b49a321766eb917382167a0cb1b940898c7ba308afceb8d01a3d730a0be032c7f746f5fe7d SHA512 df8bff9f3828695e512e84a7f35879d73dcfa72ccf49cad5ff9b1ffd62b96431964d772f3216540963b64d558e0065c00fa10f6550c2b5d3c4a99921c8687a7a EBUILD minio-2019.04.09.01.22.30.ebuild 10304 BLAKE2B 0fcd367af6caf8d1137604ce8e2f61e0bd81f4054fbc59acb75c37b49a321766eb917382167a0cb1b940898c7ba308afceb8d01a3d730a0be032c7f746f5fe7d SHA512 df8bff9f3828695e512e84a7f35879d73dcfa72ccf49cad5ff9b1ffd62b96431964d772f3216540963b64d558e0065c00fa10f6550c2b5d3c4a99921c8687a7a +EBUILD minio-2019.04.18.01.15.57.ebuild 10304 BLAKE2B 0fcd367af6caf8d1137604ce8e2f61e0bd81f4054fbc59acb75c37b49a321766eb917382167a0cb1b940898c7ba308afceb8d01a3d730a0be032c7f746f5fe7d SHA512 df8bff9f3828695e512e84a7f35879d73dcfa72ccf49cad5ff9b1ffd62b96431964d772f3216540963b64d558e0065c00fa10f6550c2b5d3c4a99921c8687a7a +EBUILD minio-2019.04.18.21.44.59.ebuild 10304 BLAKE2B 0fcd367af6caf8d1137604ce8e2f61e0bd81f4054fbc59acb75c37b49a321766eb917382167a0cb1b940898c7ba308afceb8d01a3d730a0be032c7f746f5fe7d SHA512 df8bff9f3828695e512e84a7f35879d73dcfa72ccf49cad5ff9b1ffd62b96431964d772f3216540963b64d558e0065c00fa10f6550c2b5d3c4a99921c8687a7a +EBUILD minio-2019.04.23.23.50.36.ebuild 10304 BLAKE2B 0fcd367af6caf8d1137604ce8e2f61e0bd81f4054fbc59acb75c37b49a321766eb917382167a0cb1b940898c7ba308afceb8d01a3d730a0be032c7f746f5fe7d SHA512 df8bff9f3828695e512e84a7f35879d73dcfa72ccf49cad5ff9b1ffd62b96431964d772f3216540963b64d558e0065c00fa10f6550c2b5d3c4a99921c8687a7a MISC metadata.xml 323 BLAKE2B 53e4aa74bfb7ce2ce83686b69238aa7d248c06dfdf61703b7e5d40a099d0c972492a2a6eaed91fe16914443e1dab70ebd421c4dbec06064ac72736dc381d6a7e SHA512 827c8163d2b096af06bee067f81fb16236681807b71e945427290ee9b077be0520a4d18f404a8c75eef1d49eeaa36850d2035fd1addaf42dfada0922f2eac3b4 diff --git a/net-fs/minio/minio-2019.04.18.01.15.57.ebuild b/net-fs/minio/minio-2019.04.18.01.15.57.ebuild new file mode 100644 index 000000000000..275580fb0ffb --- /dev/null +++ b/net-fs/minio/minio-2019.04.18.01.15.57.ebuild @@ -0,0 +1,172 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +EGO_VENDOR=( "gopkg.in/yaml.v2 51d6538a90f86fe93ac480b35f37b2be17fef232 github.com/go-yaml/yaml" + "gopkg.in/olivere/elastic.v5 f72acaba629a7ec879103d17b7426a31bc38e199 github.com/olivere/elastic" + "gopkg.in/Shopify/sarama.v1 879f631812a30a580659e8035e7cda9994bb99ac github.com/Shopify/sarama" + "google.golang.org/api/option bce707a4d0ea3488942724b3bcc1c8338f38f991 github.com/googleapis/google-api-go-client" + "google.golang.org/api/iterator bce707a4d0ea3488942724b3bcc1c8338f38f991 github.com/googleapis/google-api-go-client" + "google.golang.org/api/googleapi bce707a4d0ea3488942724b3bcc1c8338f38f991 github.com/googleapis/google-api-go-client" + "golang.org/x/time 9d24e82272b4f38b78bc8cff74fa936d31ccd8ef github.com/golang/time" + "golang.org/x/sys 81d4e9dc473e5e8c933f2aaeba2a3d81efb9aed2 github.com/golang/sys" + "golang.org/x/net eb5bcb51f2a31c7d5141d810b70815c05d9c9146 github.com/golang/net" + "golang.org/x/text e3703dcdd614d2d7488fff034c75c551ea25da95 github.com/golang/text" + "golang.org/x/crypto 38d8ce5564a5b71b2e3a00553993f1b9a7ae852f github.com/golang/crypto" + "go.uber.org/atomic 1ea20fb1cbb1cc08cbd0d913a96dead89aa18289 github.com/uber-go/atomic" + "github.com/valyala/tcplisten ceec8f93295a060cdb565ec25e4ccf17941dbd55" + "cloud.google.com/go/storage a4ed3b9f8c7419c692a60bbf780ab0f1c4af5ce4 github.com/googleapis/google-cloud-go" + "github.com/tidwall/sjson 25fb082a20e29e83fb7b7ef5f5919166aad1f084" + "github.com/tidwall/gjson eee0b6226f0d1db2675a176fdfaa8419bcad4ca8" + "github.com/tidwall/pretty 1166b9ac2b65e46a43d8618d30d1554f4652d49b" + "github.com/tidwall/match 33827db735fff6510490d69a8622612558a557ed" + "github.com/streadway/amqp 14f78b41ce6da3d698c2ef2cc8c0ea7ce9e26688" + "github.com/skyrings/skyring-common d1c0bb1cbd5ed8438be1385c85c4f494608cde1e" + "github.com/segmentio/go-prompt f0d19b6901ade831d5a3204edc0d6a7d6457fbb2" + "github.com/rs/cors 9a47f48565a795472d43519dd49aac781f3034fb" + "github.com/rjeczalik/notify 69d839f37b13a8cb7a78366f7633a4071cb43be7" + "github.com/rcrowley/go-metrics 3113b8401b8a98917cde58f8bbd42a1b1c03b1fd" + "github.com/prometheus/client_golang 505eaef017263e299324067d40ca2c48f6a2cf50" + "github.com/prometheus/procfs 55ae3d9d557340b5bc24cd8aa5f6fa2c2ab31352" + "github.com/prometheus/common 5df5c82edb7502fd6cbe093223a19b6e1231494f" + "github.com/prometheus/client_model fd36f4220a901265f90734c3183c5f0c91daa0b8" + "github.com/pkg/profile f6fe06335df110bcf1ed6d4e852b760bfc15beee" + "github.com/pkg/errors ba968bfe8b2f7e042a574c888954fccecfa385b4" + "github.com/pierrec/lz4 315a67e90e415bcdaff33057da191569bf4d8479" + "github.com/nsqio/go-nsq eee57a3ac4174c55924125bb15eeeda8cffb6e6f" + "github.com/nats-io/nats 70fe06cee50d4b6f98248d9675fb55f2a3aa7228" + "github.com/nats-io/nuid 3024a71c3cbe30667286099921591e6fcc328230" + "github.com/nats-io/nkeys 1546a3320a8f195a5b5c84aef8309377c2e411d5" + "github.com/nats-io/go-nats 70fe06cee50d4b6f98248d9675fb55f2a3aa7228" + "github.com/nats-io/go-nats-streaming 4366d43a0648b4997ed32080f937e8702ab86c48" + "github.com/Azure/azure-sdk-for-go d659f2a91175cac99aa5627d09b83026eacc978d" + "github.com/Azure/go-autorest 3b1641ed03046f2ee28d73f7a51e5b884d55b92a" + "github.com/DataDog/zstd c7161f8c63c045cbc7ca051dcc969dd0e4054de2" + "github.com/mailru/easyjson 1ea4449da9834f4d333f1cc461c374aea217d249" + "github.com/gorilla/mux a7962380ca08b5a188038c69871b8d3fbdf31e89" + "github.com/coredns/coredns 8dcc7fccd74454134b33c8bc9f780ed6d7f076cf" + "github.com/matttproud/golang_protobuf_extensions c182affec369e30f25d3eb8cd8a478dee585ae7d" + "github.com/eapache/go-resiliency 842e16ec2c98ef0c59eebfe60d2d3500a793ba19" + "github.com/minio/minio-go 5325257a208fc630aaaac31bc00789acbc998c14" + "github.com/alecthomas/participle 98cb121381c371cf1542c7ae145e485d703aec0b" + "github.com/aliyun/aliyun-oss-go-sdk 86c17b95fcd5db33628a61e492fb4a1a937d5906" + "github.com/bcicen/jstream 16c1f8af81c2a9967b30d365a29472126274f998" + "github.com/beorn7/perks 3a771d992973f24aa725d07868b467d1ddfceafb" + "github.com/cheggaaa/pb f907f6f5dd81f77c2bbc1cde92e4c5a04720cb11" + "github.com/gogo/protobuf 382325bbbb4d1c850eec1f3ec92a1a16f502d68b" + "github.com/davecgh/go-spew d8f796af33cc11cb798c1aaeb27a4ebc5099927d" + "github.com/inconshreveable/go-update 8152e7eb6ccf8679a64582a66b78519688d156ad" + "github.com/howeyc/gopass bf9dde6d0d2c004a008c27aaee91170c786f6db8" + "github.com/mitchellh/go-homedir af06845cf3004701891bf4fdb884bfe4920b3727" + "github.com/klauspost/pgzip 083b1c3f84dd6486588802e5ce295de3a7f41a8b" + "github.com/marstr/guid 8bd9a64bf37eb297b492a4101fb28e80ac0b290f" + "github.com/coreos/etcd d57e8b8d97adfc4a6c224fe116714bf1a1f3beb9" + "github.com/dgrijalva/jwt-go 06ea1031745cb8b3dab3f6a236daf2b0aa468b7e" + "github.com/gorilla/rpc bffcfa752ad4e523cc8f720afeb5b985ed41ae16" + "github.com/djherbis/atime 8e47e0e01d08df8b9f840d74299c8ab70a024a30" + "github.com/dustin/go-humanize 9f541cc9db5d55bce703bd99987c9d5cb8eea45e" + "github.com/eapache/go-xerial-snappy 776d5712da21bc4762676d614db1d8a64f4238b0" + "github.com/eapache/queue 093482f3f8ce946c05bcba64badd2c82369e084d" + "github.com/golang/protobuf d3c38a4eb4970272b87a425ae00ccc4548e2f9bb" + "github.com/fatih/structs 4966fc68f5b7593aafa6cbbba2d65ec6e1416047" + "github.com/minio/parquet-go 9d767baf16793cc4b7fd55d642474c36c077ef77" + "gopkg.in/ini.v1 c85607071cf08ca1adaf48319cd1aa322e81d8c1 github.com/go-ini/ini" + "google.golang.org/grpc 3507fb8e1a5ad030303c106fef3a47c9fdad16ad github.com/grpc/grpc-go" + "google.golang.org/genproto 64821d5d210748c883cd2b809589555ae4654203 github.com/google/go-genproto" + "go.opencensus.io 43463a80402d8447b7fce0d2c58edf1687ff0b58 github.com/census-instrumentation/opencensus-go" + "git.apache.org/thrift.git c9b1e29bc9e0702d7441383358d565e1e76ccea7 github.com/apache/thrift" + "github.com/elazarl/go-bindata-assetfs 30f82fa23fd844bd5bb1e5f216db87fd77b5eb43" + "github.com/eclipse/paho.mqtt.golang 20337d8c394721c308cc6ec096990ee451a7cd7f" + "github.com/klauspost/compress 30be6041bed523c18e269a700ebd9c2ea9328574" + "github.com/hashicorp/vault 36aa8c8dd1936e10ebd7a4c1d412ae0e6f7900bd" + "github.com/fatih/color 5b77d2a35fb0ede96d138fc9a99f5c9b6aef11b4" + "github.com/miekg/dns 73601d4aed9d844322611759d7f3619110b7c88e" + "github.com/klauspost/reedsolomon a9588190c00b0ccd742218388f6ff68bbad83e5c" + "github.com/gomodule/redigo 9c11da706d9b7902c6da69c592f75637793fe121" + "github.com/go-sql-driver/mysql 72cd26f257d44c1114970e19afddcd812016007e" + "github.com/gorilla/handlers 7e0847f9db758cdebd26c149d0ae9d5d0b9c98ce" + "github.com/mattn/go-isatty c2a7a6ca930a4cd0bc33a3f298eb71960732a3a7" + "github.com/satori/go.uuid f58768cc1a7a7e77a3bd49e98cdd21419399b6a3" + "github.com/golang/snappy 2a8bb927dd31d8daada140a5d09578521ce5c36a" + "github.com/klauspost/cpuid e7e905edc00ea8827e58662220139109efea09db" + "contrib.go.opencensus.io/exporter/ocagent 902c0ccba68df93f7fefbe7e7c6f16be33108b40 github.com/census-ecosystem/opencensus-go-exporter-ocagent" + "github.com/lib/pq 4ded0e9383f75c197b3a2aaa6d590ac52df6fd79" + "github.com/mattn/go-runewidth 3ee7d812e62a0804a7d0a324e0249ca2db3476d3" + "github.com/census-instrumentation/opencensus-proto a105b96453fe85139acc07b68de48f2cbdd71249" + "github.com/minio/cli 8683fa7fef37cc8cb092f47bdb6b403e0049f9ee" + "github.com/minio/mc a1355e50e2e8984d645cc7745230c42b27396341" + "google.golang.org/api bce707a4d0ea3488942724b3bcc1c8338f38f991 github.com/googleapis/google-api-go-client" + "github.com/grpc-ecosystem/grpc-gateway 20f268a412e5b342ebfb1a0eef7c3b7bd6c260ea" + "github.com/mattn/go-colorable 3a70a971f94a22f2fa562ffcc7a0eb45f5daf045" + "github.com/minio/blazer 2081f5bf046503f576d8712253724fbf2950fffe" + "github.com/minio/dsync fb604afd87b2a095432c17af2dda742960ef111e" + "github.com/minio/highwayhash 02ca4b43caa3297fbb615700d8800acc7933be98" + "github.com/minio/lsync a4e43e3d0887e88d151bb3f90f678178b4ec0c5f" + "github.com/minio/sha256-simd 05b4dd3047e5d6e86cb4e0477164b850cd896261" + "github.com/minio/sio 035b4ef8c449ba2ba21ec143c91964e76a1fb68c" + "golang.org/x/sync e225da77a7e68af35c70ccbf71af2b83e6acac3c github.com/golang/sync" + "golang.org/x/oauth2 9f3314589c9a9136388751d9adae6b0ed400978a github.com/golang/oauth2" + "cloud.google.com/go 458e1f376a2b44413160b5d301183b65debaa3f6 github.com/googleapis/google-cloud-go" + "github.com/googleapis/gax-go beaecbbdd8af86aa3acf14180d53828ce69400b2" + "github.com/hashicorp/golang-lru 7087cb70de9f7a8bc0a10c375cb0d2280a8edf9c" ) + +inherit user golang-build golang-vcs-snapshot + +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 + ${EGO_VENDOR_URI}" + +KEYWORDS="~amd64 ~amd64-linux" + +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 + + pushd src/${EGO_PN} || die + + rm go.mod || die + + sed -i -e "s/time.Now().UTC().Format(time.RFC3339)/\"${MY_PV}\"/"\ + -e "s/-s //"\ + -e "/time/d"\ + -e "s/+ commitID()/+ \"${EGIT_COMMIT}\"/"\ + buildscripts/gen-ldflags.go || die + + popd || die +} + +src_compile() { + unset XDG_CACHE_HOME + + 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} +} diff --git a/net-fs/minio/minio-2019.04.18.21.44.59.ebuild b/net-fs/minio/minio-2019.04.18.21.44.59.ebuild new file mode 100644 index 000000000000..275580fb0ffb --- /dev/null +++ b/net-fs/minio/minio-2019.04.18.21.44.59.ebuild @@ -0,0 +1,172 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +EGO_VENDOR=( "gopkg.in/yaml.v2 51d6538a90f86fe93ac480b35f37b2be17fef232 github.com/go-yaml/yaml" + "gopkg.in/olivere/elastic.v5 f72acaba629a7ec879103d17b7426a31bc38e199 github.com/olivere/elastic" + "gopkg.in/Shopify/sarama.v1 879f631812a30a580659e8035e7cda9994bb99ac github.com/Shopify/sarama" + "google.golang.org/api/option bce707a4d0ea3488942724b3bcc1c8338f38f991 github.com/googleapis/google-api-go-client" + "google.golang.org/api/iterator bce707a4d0ea3488942724b3bcc1c8338f38f991 github.com/googleapis/google-api-go-client" + "google.golang.org/api/googleapi bce707a4d0ea3488942724b3bcc1c8338f38f991 github.com/googleapis/google-api-go-client" + "golang.org/x/time 9d24e82272b4f38b78bc8cff74fa936d31ccd8ef github.com/golang/time" + "golang.org/x/sys 81d4e9dc473e5e8c933f2aaeba2a3d81efb9aed2 github.com/golang/sys" + "golang.org/x/net eb5bcb51f2a31c7d5141d810b70815c05d9c9146 github.com/golang/net" + "golang.org/x/text e3703dcdd614d2d7488fff034c75c551ea25da95 github.com/golang/text" + "golang.org/x/crypto 38d8ce5564a5b71b2e3a00553993f1b9a7ae852f github.com/golang/crypto" + "go.uber.org/atomic 1ea20fb1cbb1cc08cbd0d913a96dead89aa18289 github.com/uber-go/atomic" + "github.com/valyala/tcplisten ceec8f93295a060cdb565ec25e4ccf17941dbd55" + "cloud.google.com/go/storage a4ed3b9f8c7419c692a60bbf780ab0f1c4af5ce4 github.com/googleapis/google-cloud-go" + "github.com/tidwall/sjson 25fb082a20e29e83fb7b7ef5f5919166aad1f084" + "github.com/tidwall/gjson eee0b6226f0d1db2675a176fdfaa8419bcad4ca8" + "github.com/tidwall/pretty 1166b9ac2b65e46a43d8618d30d1554f4652d49b" + "github.com/tidwall/match 33827db735fff6510490d69a8622612558a557ed" + "github.com/streadway/amqp 14f78b41ce6da3d698c2ef2cc8c0ea7ce9e26688" + "github.com/skyrings/skyring-common d1c0bb1cbd5ed8438be1385c85c4f494608cde1e" + "github.com/segmentio/go-prompt f0d19b6901ade831d5a3204edc0d6a7d6457fbb2" + "github.com/rs/cors 9a47f48565a795472d43519dd49aac781f3034fb" + "github.com/rjeczalik/notify 69d839f37b13a8cb7a78366f7633a4071cb43be7" + "github.com/rcrowley/go-metrics 3113b8401b8a98917cde58f8bbd42a1b1c03b1fd" + "github.com/prometheus/client_golang 505eaef017263e299324067d40ca2c48f6a2cf50" + "github.com/prometheus/procfs 55ae3d9d557340b5bc24cd8aa5f6fa2c2ab31352" + "github.com/prometheus/common 5df5c82edb7502fd6cbe093223a19b6e1231494f" + "github.com/prometheus/client_model fd36f4220a901265f90734c3183c5f0c91daa0b8" + "github.com/pkg/profile f6fe06335df110bcf1ed6d4e852b760bfc15beee" + "github.com/pkg/errors ba968bfe8b2f7e042a574c888954fccecfa385b4" + "github.com/pierrec/lz4 315a67e90e415bcdaff33057da191569bf4d8479" + "github.com/nsqio/go-nsq eee57a3ac4174c55924125bb15eeeda8cffb6e6f" + "github.com/nats-io/nats 70fe06cee50d4b6f98248d9675fb55f2a3aa7228" + "github.com/nats-io/nuid 3024a71c3cbe30667286099921591e6fcc328230" + "github.com/nats-io/nkeys 1546a3320a8f195a5b5c84aef8309377c2e411d5" + "github.com/nats-io/go-nats 70fe06cee50d4b6f98248d9675fb55f2a3aa7228" + "github.com/nats-io/go-nats-streaming 4366d43a0648b4997ed32080f937e8702ab86c48" + "github.com/Azure/azure-sdk-for-go d659f2a91175cac99aa5627d09b83026eacc978d" + "github.com/Azure/go-autorest 3b1641ed03046f2ee28d73f7a51e5b884d55b92a" + "github.com/DataDog/zstd c7161f8c63c045cbc7ca051dcc969dd0e4054de2" + "github.com/mailru/easyjson 1ea4449da9834f4d333f1cc461c374aea217d249" + "github.com/gorilla/mux a7962380ca08b5a188038c69871b8d3fbdf31e89" + "github.com/coredns/coredns 8dcc7fccd74454134b33c8bc9f780ed6d7f076cf" + "github.com/matttproud/golang_protobuf_extensions c182affec369e30f25d3eb8cd8a478dee585ae7d" + "github.com/eapache/go-resiliency 842e16ec2c98ef0c59eebfe60d2d3500a793ba19" + "github.com/minio/minio-go 5325257a208fc630aaaac31bc00789acbc998c14" + "github.com/alecthomas/participle 98cb121381c371cf1542c7ae145e485d703aec0b" + "github.com/aliyun/aliyun-oss-go-sdk 86c17b95fcd5db33628a61e492fb4a1a937d5906" + "github.com/bcicen/jstream 16c1f8af81c2a9967b30d365a29472126274f998" + "github.com/beorn7/perks 3a771d992973f24aa725d07868b467d1ddfceafb" + "github.com/cheggaaa/pb f907f6f5dd81f77c2bbc1cde92e4c5a04720cb11" + "github.com/gogo/protobuf 382325bbbb4d1c850eec1f3ec92a1a16f502d68b" + "github.com/davecgh/go-spew d8f796af33cc11cb798c1aaeb27a4ebc5099927d" + "github.com/inconshreveable/go-update 8152e7eb6ccf8679a64582a66b78519688d156ad" + "github.com/howeyc/gopass bf9dde6d0d2c004a008c27aaee91170c786f6db8" + "github.com/mitchellh/go-homedir af06845cf3004701891bf4fdb884bfe4920b3727" + "github.com/klauspost/pgzip 083b1c3f84dd6486588802e5ce295de3a7f41a8b" + "github.com/marstr/guid 8bd9a64bf37eb297b492a4101fb28e80ac0b290f" + "github.com/coreos/etcd d57e8b8d97adfc4a6c224fe116714bf1a1f3beb9" + "github.com/dgrijalva/jwt-go 06ea1031745cb8b3dab3f6a236daf2b0aa468b7e" + "github.com/gorilla/rpc bffcfa752ad4e523cc8f720afeb5b985ed41ae16" + "github.com/djherbis/atime 8e47e0e01d08df8b9f840d74299c8ab70a024a30" + "github.com/dustin/go-humanize 9f541cc9db5d55bce703bd99987c9d5cb8eea45e" + "github.com/eapache/go-xerial-snappy 776d5712da21bc4762676d614db1d8a64f4238b0" + "github.com/eapache/queue 093482f3f8ce946c05bcba64badd2c82369e084d" + "github.com/golang/protobuf d3c38a4eb4970272b87a425ae00ccc4548e2f9bb" + "github.com/fatih/structs 4966fc68f5b7593aafa6cbbba2d65ec6e1416047" + "github.com/minio/parquet-go 9d767baf16793cc4b7fd55d642474c36c077ef77" + "gopkg.in/ini.v1 c85607071cf08ca1adaf48319cd1aa322e81d8c1 github.com/go-ini/ini" + "google.golang.org/grpc 3507fb8e1a5ad030303c106fef3a47c9fdad16ad github.com/grpc/grpc-go" + "google.golang.org/genproto 64821d5d210748c883cd2b809589555ae4654203 github.com/google/go-genproto" + "go.opencensus.io 43463a80402d8447b7fce0d2c58edf1687ff0b58 github.com/census-instrumentation/opencensus-go" + "git.apache.org/thrift.git c9b1e29bc9e0702d7441383358d565e1e76ccea7 github.com/apache/thrift" + "github.com/elazarl/go-bindata-assetfs 30f82fa23fd844bd5bb1e5f216db87fd77b5eb43" + "github.com/eclipse/paho.mqtt.golang 20337d8c394721c308cc6ec096990ee451a7cd7f" + "github.com/klauspost/compress 30be6041bed523c18e269a700ebd9c2ea9328574" + "github.com/hashicorp/vault 36aa8c8dd1936e10ebd7a4c1d412ae0e6f7900bd" + "github.com/fatih/color 5b77d2a35fb0ede96d138fc9a99f5c9b6aef11b4" + "github.com/miekg/dns 73601d4aed9d844322611759d7f3619110b7c88e" + "github.com/klauspost/reedsolomon a9588190c00b0ccd742218388f6ff68bbad83e5c" + "github.com/gomodule/redigo 9c11da706d9b7902c6da69c592f75637793fe121" + "github.com/go-sql-driver/mysql 72cd26f257d44c1114970e19afddcd812016007e" + "github.com/gorilla/handlers 7e0847f9db758cdebd26c149d0ae9d5d0b9c98ce" + "github.com/mattn/go-isatty c2a7a6ca930a4cd0bc33a3f298eb71960732a3a7" + "github.com/satori/go.uuid f58768cc1a7a7e77a3bd49e98cdd21419399b6a3" + "github.com/golang/snappy 2a8bb927dd31d8daada140a5d09578521ce5c36a" + "github.com/klauspost/cpuid e7e905edc00ea8827e58662220139109efea09db" + "contrib.go.opencensus.io/exporter/ocagent 902c0ccba68df93f7fefbe7e7c6f16be33108b40 github.com/census-ecosystem/opencensus-go-exporter-ocagent" + "github.com/lib/pq 4ded0e9383f75c197b3a2aaa6d590ac52df6fd79" + "github.com/mattn/go-runewidth 3ee7d812e62a0804a7d0a324e0249ca2db3476d3" + "github.com/census-instrumentation/opencensus-proto a105b96453fe85139acc07b68de48f2cbdd71249" + "github.com/minio/cli 8683fa7fef37cc8cb092f47bdb6b403e0049f9ee" + "github.com/minio/mc a1355e50e2e8984d645cc7745230c42b27396341" + "google.golang.org/api bce707a4d0ea3488942724b3bcc1c8338f38f991 github.com/googleapis/google-api-go-client" + "github.com/grpc-ecosystem/grpc-gateway 20f268a412e5b342ebfb1a0eef7c3b7bd6c260ea" + "github.com/mattn/go-colorable 3a70a971f94a22f2fa562ffcc7a0eb45f5daf045" + "github.com/minio/blazer 2081f5bf046503f576d8712253724fbf2950fffe" + "github.com/minio/dsync fb604afd87b2a095432c17af2dda742960ef111e" + "github.com/minio/highwayhash 02ca4b43caa3297fbb615700d8800acc7933be98" + "github.com/minio/lsync a4e43e3d0887e88d151bb3f90f678178b4ec0c5f" + "github.com/minio/sha256-simd 05b4dd3047e5d6e86cb4e0477164b850cd896261" + "github.com/minio/sio 035b4ef8c449ba2ba21ec143c91964e76a1fb68c" + "golang.org/x/sync e225da77a7e68af35c70ccbf71af2b83e6acac3c github.com/golang/sync" + "golang.org/x/oauth2 9f3314589c9a9136388751d9adae6b0ed400978a github.com/golang/oauth2" + "cloud.google.com/go 458e1f376a2b44413160b5d301183b65debaa3f6 github.com/googleapis/google-cloud-go" + "github.com/googleapis/gax-go beaecbbdd8af86aa3acf14180d53828ce69400b2" + "github.com/hashicorp/golang-lru 7087cb70de9f7a8bc0a10c375cb0d2280a8edf9c" ) + +inherit user golang-build golang-vcs-snapshot + +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 + ${EGO_VENDOR_URI}" + +KEYWORDS="~amd64 ~amd64-linux" + +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 + + pushd src/${EGO_PN} || die + + rm go.mod || die + + sed -i -e "s/time.Now().UTC().Format(time.RFC3339)/\"${MY_PV}\"/"\ + -e "s/-s //"\ + -e "/time/d"\ + -e "s/+ commitID()/+ \"${EGIT_COMMIT}\"/"\ + buildscripts/gen-ldflags.go || die + + popd || die +} + +src_compile() { + unset XDG_CACHE_HOME + + 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} +} diff --git a/net-fs/minio/minio-2019.04.23.23.50.36.ebuild b/net-fs/minio/minio-2019.04.23.23.50.36.ebuild new file mode 100644 index 000000000000..275580fb0ffb --- /dev/null +++ b/net-fs/minio/minio-2019.04.23.23.50.36.ebuild @@ -0,0 +1,172 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +EGO_VENDOR=( "gopkg.in/yaml.v2 51d6538a90f86fe93ac480b35f37b2be17fef232 github.com/go-yaml/yaml" + "gopkg.in/olivere/elastic.v5 f72acaba629a7ec879103d17b7426a31bc38e199 github.com/olivere/elastic" + "gopkg.in/Shopify/sarama.v1 879f631812a30a580659e8035e7cda9994bb99ac github.com/Shopify/sarama" + "google.golang.org/api/option bce707a4d0ea3488942724b3bcc1c8338f38f991 github.com/googleapis/google-api-go-client" + "google.golang.org/api/iterator bce707a4d0ea3488942724b3bcc1c8338f38f991 github.com/googleapis/google-api-go-client" + "google.golang.org/api/googleapi bce707a4d0ea3488942724b3bcc1c8338f38f991 github.com/googleapis/google-api-go-client" + "golang.org/x/time 9d24e82272b4f38b78bc8cff74fa936d31ccd8ef github.com/golang/time" + "golang.org/x/sys 81d4e9dc473e5e8c933f2aaeba2a3d81efb9aed2 github.com/golang/sys" + "golang.org/x/net eb5bcb51f2a31c7d5141d810b70815c05d9c9146 github.com/golang/net" + "golang.org/x/text e3703dcdd614d2d7488fff034c75c551ea25da95 github.com/golang/text" + "golang.org/x/crypto 38d8ce5564a5b71b2e3a00553993f1b9a7ae852f github.com/golang/crypto" + "go.uber.org/atomic 1ea20fb1cbb1cc08cbd0d913a96dead89aa18289 github.com/uber-go/atomic" + "github.com/valyala/tcplisten ceec8f93295a060cdb565ec25e4ccf17941dbd55" + "cloud.google.com/go/storage a4ed3b9f8c7419c692a60bbf780ab0f1c4af5ce4 github.com/googleapis/google-cloud-go" + "github.com/tidwall/sjson 25fb082a20e29e83fb7b7ef5f5919166aad1f084" + "github.com/tidwall/gjson eee0b6226f0d1db2675a176fdfaa8419bcad4ca8" + "github.com/tidwall/pretty 1166b9ac2b65e46a43d8618d30d1554f4652d49b" + "github.com/tidwall/match 33827db735fff6510490d69a8622612558a557ed" + "github.com/streadway/amqp 14f78b41ce6da3d698c2ef2cc8c0ea7ce9e26688" + "github.com/skyrings/skyring-common d1c0bb1cbd5ed8438be1385c85c4f494608cde1e" + "github.com/segmentio/go-prompt f0d19b6901ade831d5a3204edc0d6a7d6457fbb2" + "github.com/rs/cors 9a47f48565a795472d43519dd49aac781f3034fb" + "github.com/rjeczalik/notify 69d839f37b13a8cb7a78366f7633a4071cb43be7" + "github.com/rcrowley/go-metrics 3113b8401b8a98917cde58f8bbd42a1b1c03b1fd" + "github.com/prometheus/client_golang 505eaef017263e299324067d40ca2c48f6a2cf50" + "github.com/prometheus/procfs 55ae3d9d557340b5bc24cd8aa5f6fa2c2ab31352" + "github.com/prometheus/common 5df5c82edb7502fd6cbe093223a19b6e1231494f" + "github.com/prometheus/client_model fd36f4220a901265f90734c3183c5f0c91daa0b8" + "github.com/pkg/profile f6fe06335df110bcf1ed6d4e852b760bfc15beee" + "github.com/pkg/errors ba968bfe8b2f7e042a574c888954fccecfa385b4" + "github.com/pierrec/lz4 315a67e90e415bcdaff33057da191569bf4d8479" + "github.com/nsqio/go-nsq eee57a3ac4174c55924125bb15eeeda8cffb6e6f" + "github.com/nats-io/nats 70fe06cee50d4b6f98248d9675fb55f2a3aa7228" + "github.com/nats-io/nuid 3024a71c3cbe30667286099921591e6fcc328230" + "github.com/nats-io/nkeys 1546a3320a8f195a5b5c84aef8309377c2e411d5" + "github.com/nats-io/go-nats 70fe06cee50d4b6f98248d9675fb55f2a3aa7228" + "github.com/nats-io/go-nats-streaming 4366d43a0648b4997ed32080f937e8702ab86c48" + "github.com/Azure/azure-sdk-for-go d659f2a91175cac99aa5627d09b83026eacc978d" + "github.com/Azure/go-autorest 3b1641ed03046f2ee28d73f7a51e5b884d55b92a" + "github.com/DataDog/zstd c7161f8c63c045cbc7ca051dcc969dd0e4054de2" + "github.com/mailru/easyjson 1ea4449da9834f4d333f1cc461c374aea217d249" + "github.com/gorilla/mux a7962380ca08b5a188038c69871b8d3fbdf31e89" + "github.com/coredns/coredns 8dcc7fccd74454134b33c8bc9f780ed6d7f076cf" + "github.com/matttproud/golang_protobuf_extensions c182affec369e30f25d3eb8cd8a478dee585ae7d" + "github.com/eapache/go-resiliency 842e16ec2c98ef0c59eebfe60d2d3500a793ba19" + "github.com/minio/minio-go 5325257a208fc630aaaac31bc00789acbc998c14" + "github.com/alecthomas/participle 98cb121381c371cf1542c7ae145e485d703aec0b" + "github.com/aliyun/aliyun-oss-go-sdk 86c17b95fcd5db33628a61e492fb4a1a937d5906" + "github.com/bcicen/jstream 16c1f8af81c2a9967b30d365a29472126274f998" + "github.com/beorn7/perks 3a771d992973f24aa725d07868b467d1ddfceafb" + "github.com/cheggaaa/pb f907f6f5dd81f77c2bbc1cde92e4c5a04720cb11" + "github.com/gogo/protobuf 382325bbbb4d1c850eec1f3ec92a1a16f502d68b" + "github.com/davecgh/go-spew d8f796af33cc11cb798c1aaeb27a4ebc5099927d" + "github.com/inconshreveable/go-update 8152e7eb6ccf8679a64582a66b78519688d156ad" + "github.com/howeyc/gopass bf9dde6d0d2c004a008c27aaee91170c786f6db8" + "github.com/mitchellh/go-homedir af06845cf3004701891bf4fdb884bfe4920b3727" + "github.com/klauspost/pgzip 083b1c3f84dd6486588802e5ce295de3a7f41a8b" + "github.com/marstr/guid 8bd9a64bf37eb297b492a4101fb28e80ac0b290f" + "github.com/coreos/etcd d57e8b8d97adfc4a6c224fe116714bf1a1f3beb9" + "github.com/dgrijalva/jwt-go 06ea1031745cb8b3dab3f6a236daf2b0aa468b7e" + "github.com/gorilla/rpc bffcfa752ad4e523cc8f720afeb5b985ed41ae16" + "github.com/djherbis/atime 8e47e0e01d08df8b9f840d74299c8ab70a024a30" + "github.com/dustin/go-humanize 9f541cc9db5d55bce703bd99987c9d5cb8eea45e" + "github.com/eapache/go-xerial-snappy 776d5712da21bc4762676d614db1d8a64f4238b0" + "github.com/eapache/queue 093482f3f8ce946c05bcba64badd2c82369e084d" + "github.com/golang/protobuf d3c38a4eb4970272b87a425ae00ccc4548e2f9bb" + "github.com/fatih/structs 4966fc68f5b7593aafa6cbbba2d65ec6e1416047" + "github.com/minio/parquet-go 9d767baf16793cc4b7fd55d642474c36c077ef77" + "gopkg.in/ini.v1 c85607071cf08ca1adaf48319cd1aa322e81d8c1 github.com/go-ini/ini" + "google.golang.org/grpc 3507fb8e1a5ad030303c106fef3a47c9fdad16ad github.com/grpc/grpc-go" + "google.golang.org/genproto 64821d5d210748c883cd2b809589555ae4654203 github.com/google/go-genproto" + "go.opencensus.io 43463a80402d8447b7fce0d2c58edf1687ff0b58 github.com/census-instrumentation/opencensus-go" + "git.apache.org/thrift.git c9b1e29bc9e0702d7441383358d565e1e76ccea7 github.com/apache/thrift" + "github.com/elazarl/go-bindata-assetfs 30f82fa23fd844bd5bb1e5f216db87fd77b5eb43" + "github.com/eclipse/paho.mqtt.golang 20337d8c394721c308cc6ec096990ee451a7cd7f" + "github.com/klauspost/compress 30be6041bed523c18e269a700ebd9c2ea9328574" + "github.com/hashicorp/vault 36aa8c8dd1936e10ebd7a4c1d412ae0e6f7900bd" + "github.com/fatih/color 5b77d2a35fb0ede96d138fc9a99f5c9b6aef11b4" + "github.com/miekg/dns 73601d4aed9d844322611759d7f3619110b7c88e" + "github.com/klauspost/reedsolomon a9588190c00b0ccd742218388f6ff68bbad83e5c" + "github.com/gomodule/redigo 9c11da706d9b7902c6da69c592f75637793fe121" + "github.com/go-sql-driver/mysql 72cd26f257d44c1114970e19afddcd812016007e" + "github.com/gorilla/handlers 7e0847f9db758cdebd26c149d0ae9d5d0b9c98ce" + "github.com/mattn/go-isatty c2a7a6ca930a4cd0bc33a3f298eb71960732a3a7" + "github.com/satori/go.uuid f58768cc1a7a7e77a3bd49e98cdd21419399b6a3" + "github.com/golang/snappy 2a8bb927dd31d8daada140a5d09578521ce5c36a" + "github.com/klauspost/cpuid e7e905edc00ea8827e58662220139109efea09db" + "contrib.go.opencensus.io/exporter/ocagent 902c0ccba68df93f7fefbe7e7c6f16be33108b40 github.com/census-ecosystem/opencensus-go-exporter-ocagent" + "github.com/lib/pq 4ded0e9383f75c197b3a2aaa6d590ac52df6fd79" + "github.com/mattn/go-runewidth 3ee7d812e62a0804a7d0a324e0249ca2db3476d3" + "github.com/census-instrumentation/opencensus-proto a105b96453fe85139acc07b68de48f2cbdd71249" + "github.com/minio/cli 8683fa7fef37cc8cb092f47bdb6b403e0049f9ee" + "github.com/minio/mc a1355e50e2e8984d645cc7745230c42b27396341" + "google.golang.org/api bce707a4d0ea3488942724b3bcc1c8338f38f991 github.com/googleapis/google-api-go-client" + "github.com/grpc-ecosystem/grpc-gateway 20f268a412e5b342ebfb1a0eef7c3b7bd6c260ea" + "github.com/mattn/go-colorable 3a70a971f94a22f2fa562ffcc7a0eb45f5daf045" + "github.com/minio/blazer 2081f5bf046503f576d8712253724fbf2950fffe" + "github.com/minio/dsync fb604afd87b2a095432c17af2dda742960ef111e" + "github.com/minio/highwayhash 02ca4b43caa3297fbb615700d8800acc7933be98" + "github.com/minio/lsync a4e43e3d0887e88d151bb3f90f678178b4ec0c5f" + "github.com/minio/sha256-simd 05b4dd3047e5d6e86cb4e0477164b850cd896261" + "github.com/minio/sio 035b4ef8c449ba2ba21ec143c91964e76a1fb68c" + "golang.org/x/sync e225da77a7e68af35c70ccbf71af2b83e6acac3c github.com/golang/sync" + "golang.org/x/oauth2 9f3314589c9a9136388751d9adae6b0ed400978a github.com/golang/oauth2" + "cloud.google.com/go 458e1f376a2b44413160b5d301183b65debaa3f6 github.com/googleapis/google-cloud-go" + "github.com/googleapis/gax-go beaecbbdd8af86aa3acf14180d53828ce69400b2" + "github.com/hashicorp/golang-lru 7087cb70de9f7a8bc0a10c375cb0d2280a8edf9c" ) + +inherit user golang-build golang-vcs-snapshot + +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 + ${EGO_VENDOR_URI}" + +KEYWORDS="~amd64 ~amd64-linux" + +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 + + pushd src/${EGO_PN} || die + + rm go.mod || die + + sed -i -e "s/time.Now().UTC().Format(time.RFC3339)/\"${MY_PV}\"/"\ + -e "s/-s //"\ + -e "/time/d"\ + -e "s/+ commitID()/+ \"${EGIT_COMMIT}\"/"\ + buildscripts/gen-ldflags.go || die + + popd || die +} + +src_compile() { + unset XDG_CACHE_HOME + + 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} +} |