diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-09-15 17:37:09 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-09-15 17:37:09 +0100 |
commit | 586819755b4dbfdffdc8a725ab7c0f86095b8489 (patch) | |
tree | d6790c838cfe9607c996e4913fdf11bad5fdd528 /net-fs/minio | |
parent | 3f71901f8c228f4de570abed1831ce3ee425343e (diff) |
gentoo resync : 15.09.2018
Diffstat (limited to 'net-fs/minio')
-rw-r--r-- | net-fs/minio/Manifest | 4 | ||||
-rw-r--r-- | net-fs/minio/minio-2018.09.01.00.38.25.ebuild | 53 | ||||
-rw-r--r-- | net-fs/minio/minio-2018.09.12.18.49.56.ebuild | 53 |
3 files changed, 110 insertions, 0 deletions
diff --git a/net-fs/minio/Manifest b/net-fs/minio/Manifest index 7d38b48e06df..35af3adf79b8 100644 --- a/net-fs/minio/Manifest +++ b/net-fs/minio/Manifest @@ -2,7 +2,11 @@ AUX minio.initd 410 BLAKE2B bedce560151142afc4961569f6fb803c9d7bb4263d56061191e3 DIST minio-0_pre20180516.tar.gz 7795495 BLAKE2B d14fcbcbf4fa3b9a85bfa1f42d1069b14d4eceb4b99c2e7619d463a1fcdb941183146102da7ac38351fdf332b4bf7a141ede5469b57fc2157be19ff7ecde3e73 SHA512 6f5811500010f6e309e3918883c2127a46ba003dc43ece2c6d8a5da9e8d5aa6c2e6e4ca9dfdb4128b11327e035dcdde607b5e4ace045df1fa073d674d8b97e5a DIST minio-2018.07.23.18.34.49.tar.gz 8390586 BLAKE2B 57eecb767e67bdfe52259ed9ee111548c0d41313e0bd0fd60676cb910f8ec7b5f22aaf54055147b440295384df96e0a709bb4c1e7bc6d65d07f3d7e633a444b5 SHA512 7d49fb8ece251eb8672d60ac69d0ba4b1ad61901fc5707a9d3c45736c89f5cb313255d7e5c006c5682fb88fcc61c7e638350b76f8b534655bd0a8af20ec51ea8 DIST minio-2018.08.02.23.11.36.tar.gz 8381976 BLAKE2B 4081dcb34af05e6643ac64648b2cf6dfeff7119441f79c0958b02ff7a9229ba0f46d63e3922afbb4286702a9f86dbcfb6bf1268d6a1bb4df651618ddbeb95f15 SHA512 edc1178825aa50d93dfccbeebf9370c54c61c10f0046b13ec5b25a2ae727f6520496dcfa3e42fd9b2fcaa767210db3138e0ac604ef9c87278be9e3aa4a1f78ff +DIST minio-2018.09.01.00.38.25.tar.gz 8731636 BLAKE2B 4332d97d63c0e113de6e88ff9a4b1fc2db9b3e9b23caff19651641fcf08b5fd86c04155a30e84228433fd76160b70fb6e774421ec85a03df6fc94bdbde545ac1 SHA512 f445153be70c7370d8c96c3d7504ab4cb067fe8d36e0e0a8c014a026cf96fb3bddc9fb9b312a954a1c505e0ee7a36e33f67f3a460f8db58105d9880ee4a8de05 +DIST minio-2018.09.12.18.49.56.tar.gz 8743369 BLAKE2B 8f7f2fdb75a0130348a6e06182a1d24d8e6463543fad8d21f2aeab0e1d550b257d124cb13d0012b9f2864f8743c4ee3791605eb1614d8adf5d6008c9d67de685 SHA512 2f33e406f8be22ccb74c7d90a76d6a48699c7e1c95c3adc10f26e6945b56b8648626ce0cfcd255ecb56985f9e849c81a0dcc4c79f772d33804774a5fe65ae4b3 EBUILD minio-0_pre20180516.ebuild 1319 BLAKE2B 192bc1fde1b2178b9c2d345de0e3ec8972af76d1cf0ae24e40b9d45de244b4bb25c39b73b93093a5fb4008ed3f2af875137fdbbbd882b159428c8171b5383699 SHA512 b0fc2c4bcad2cddc98dd0fa5a8142ed5a256fdadc53cd79234b636d8e0225ac3d67f55a7a5c74d755b9f8236e350711b1e97a029af01ba393a0958c4f4cbc593 EBUILD minio-2018.07.23.18.34.49.ebuild 1355 BLAKE2B 96d20da0ec42fa260e914184526c474a3fad01f8bebff80e83d67361ef43429c076b120a604ee40a5f0bb80dcd315f2cd8b2c6f12f8feadf7155fa6d953a68d9 SHA512 c76ecd7a552e916bce25cea4d3284e581f8ea02596a9c9949e4284b4638bba193d320ffc33ba529aeeba65b42bc5a6e9c8acc9a41f8777afb8422f403d4ee600 EBUILD minio-2018.08.02.23.11.36.ebuild 1355 BLAKE2B fc3585902532d8e1486ff3fea62d48946b3db44843a947dab27a1a77fee39830bad3d49e83996d9ca0c2c1c59fdac23d4ed7a5799d11056b588bc473f6e6524a SHA512 84f8839313af5a5a26043f9cac138e94442436e5207c94622f96aa4836ba8193bc72a096b84fd1308350014f356de92d0fd5bb7d535119e842eb147545e425ce +EBUILD minio-2018.09.01.00.38.25.ebuild 1355 BLAKE2B fc3585902532d8e1486ff3fea62d48946b3db44843a947dab27a1a77fee39830bad3d49e83996d9ca0c2c1c59fdac23d4ed7a5799d11056b588bc473f6e6524a SHA512 84f8839313af5a5a26043f9cac138e94442436e5207c94622f96aa4836ba8193bc72a096b84fd1308350014f356de92d0fd5bb7d535119e842eb147545e425ce +EBUILD minio-2018.09.12.18.49.56.ebuild 1348 BLAKE2B d27c700e8025bbacdb36bc4c0e42e273f4846312fa8320bfdcc0c5b4e85b92dd01608d124f7b32a4f1511ec48f3247dfaf864c53693a74782b26c471f8f3b282 SHA512 00be7fc9ec88e3bc36f0de276a924dc5e4b304830b75a5bae7c4f41bd96f4ecbf2512ea20a47388db44647d7c6f20d577953158f81db7a371383df79339cb7f8 MISC metadata.xml 323 BLAKE2B 53e4aa74bfb7ce2ce83686b69238aa7d248c06dfdf61703b7e5d40a099d0c972492a2a6eaed91fe16914443e1dab70ebd421c4dbec06064ac72736dc381d6a7e SHA512 827c8163d2b096af06bee067f81fb16236681807b71e945427290ee9b077be0520a4d18f404a8c75eef1d49eeaa36850d2035fd1addaf42dfada0922f2eac3b4 diff --git a/net-fs/minio/minio-2018.09.01.00.38.25.ebuild b/net-fs/minio/minio-2018.09.01.00.38.25.ebuild new file mode 100644 index 000000000000..0cc7045b5ef8 --- /dev/null +++ b/net-fs/minio/minio-2018.09.01.00.38.25.ebuild @@ -0,0 +1,53 @@ +# 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 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="a091b1a3eefbaea07499bef9a5462280ec9d2a7a" +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" +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)/\"${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} +} diff --git a/net-fs/minio/minio-2018.09.12.18.49.56.ebuild b/net-fs/minio/minio-2018.09.12.18.49.56.ebuild new file mode 100644 index 000000000000..6bc211da9bf3 --- /dev/null +++ b/net-fs/minio/minio-2018.09.12.18.49.56.ebuild @@ -0,0 +1,53 @@ +# 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 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} +} |