diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-admin/aerospike-amc-community |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-admin/aerospike-amc-community')
12 files changed, 577 insertions, 0 deletions
diff --git a/app-admin/aerospike-amc-community/Manifest b/app-admin/aerospike-amc-community/Manifest new file mode 100644 index 000000000000..4f47c84ddee3 --- /dev/null +++ b/app-admin/aerospike-amc-community/Manifest @@ -0,0 +1,19 @@ +AUX amc.init 562 SHA256 3a0c1f1c5a26103a546fd236fbd360b3c0f3130925bb994db5987fd5ae6cb2dd SHA512 4f50237b23ec1d2257791266ee5ee4c8b963bb0429c7386d50e4ba74ee8a451cd99a8dde277ed92b490a9b40bf33f5f6920e66c777e388bae43cfe402d255094 WHIRLPOOL e00b3c69ca94aabbb1b7c843655b303feac2cb28919b2938c7a25eac02af638a96b2ed1f7a59d6feff64007d269e03fbc50286f2bfd6c405224728c5418e02ad +AUX amc.init2 583 SHA256 e0a93635e9647b99591fa888f60d3d160f0c9635fd8e8d4b5cf9d2de2b120af4 SHA512 c91d1e66a6bcd286efec425295fc168c7d277f0d4886c9e0cd43f49e58b9c9ae0b0c2c453d278404d4d07935c55baf91bffe272699de095df13028316cc0d317 WHIRLPOOL 7ff0a802a024a896dbeb9856f5849b2466aa97ff7b9e7b3adb48803b25219c9384a7f08f4b3d4f0b9794688523fe3b262e6fbd76bd77e9b6d90a4661f6798b1c +DIST aerospike-amc-community-3.6.10.1.all.x86_64.deb 1434334 SHA256 1f8424f64d2d3a609ec1a4ad30569ccbf13ac411eddb96f3e855efc396523b02 SHA512 2f9d208c501800d7a73d419347883ff9b4f8d65e76238c8676f1f04ad6c38aae2c9746ea65ed0d4ef36bcc9419a3a70b4d95f42aea72556935cdb3e82d943f05 WHIRLPOOL 5062770392f4ebe62ab616bb67b9848591cdaed334dc94476b88ede7691b6734c2fe0d91b2a7e1ca7f69c48931c194cbec630eee58281d3e8414ebf5072499e9 +DIST aerospike-amc-community-3.6.11.all.x86_64.deb 1434296 SHA256 435d68f20f9a98d2569c294d850bfac5d00eaca680dbe5c697955d6b6df82c9c SHA512 e6396d8328f1021bbe4505bd63d4b4835857f151d58e0bb089f18ad7b3115d4893e9b3aaac18321f26150e6d1d2f15eadcd39d2f361af145426dee0c8fd9e90d WHIRLPOOL 99fee74cf99ba081f7ad61fc839a3ddc150fe9580325cc5ab40f2aeb254348856bde554240c2f39ec49dd4979cae7f03fe2d9d5ad3c6af4d181caeaefb627ddf +DIST aerospike-amc-community-3.6.12.all.x86_64.deb 1436482 SHA256 9120e3b3ed144f19ce84a3d7b36a3fa1a61dff82e1e318efa81c834bb6cdb339 SHA512 d02e02db2c041bdb4ed8392dc2703840fc7eec5a7de8f5bbb24db61538631302c94f0bcffe8e31c8e03ec2ca35b8ea82f49d713cdfe2c1e14d0a078b53fb9695 WHIRLPOOL 4147051729ce90b61e29db031f879ee740c53c55a3da39504ca78931a3a859ed31376b177b2fd00ad6269961c44623a7664e8126e63281b9bec34f53f7272237 +DIST aerospike-amc-community-3.6.13.all.x86_64.deb 1436414 SHA256 f55f5ef3108e7da7c112fb12ceb1dca017e567c6ba1d311f604948ae347da3f0 SHA512 8077f8c51aab39ca701eb1ada633a3a378e02fed39ef2e565fed57fa57cf12da6c69a2b3d93e179110c29043a0a5a114512d30752eab6356e1b819ae490d23bb WHIRLPOOL 7cdaf5a99c8049681282ea673374a5e6e1baddde765933d5b4c0596cf766d83381bf847beff4f9d9f43b5a16355d57c34ecf02c61e3235714773b31210b63824 +DIST aerospike-amc-community-3.6.8.2.all.x86_64.deb 1429424 SHA256 6509c10fa4af2c41aa9f2a17ad75e2f1383010bb9d12586e19858aa990b127d5 SHA512 ed1b82f825888ce2985b77d75e2e9988f87a241159fc0452af12892f66c37ec0d88f7edd2be6fce6d06184a5c09305f5e9727af48774e55b6290402fa406abc3 WHIRLPOOL 7c98bf26f9cd32461a015572fb3f7c9f6d17dff8fa28a13adbac47267db0f83d3d2139faceb1ebb89a259df20dbdd6f9b81c8cdd9f305597835e84c3f985805c +DIST aerospike-amc-community-3.6.8.all.x86_64.deb 1429404 SHA256 7c29269746a806f04c3828188a249af6407135ebcf151fe55550d84d2e8dc464 SHA512 de44333471307410461bd53266b84fdc9fa92f7115012eb4b29b3ad415dd471ca3d9bf1a7c52bec7063df02a7e600dce9366910a089751dd19163cc212574d28 WHIRLPOOL 134a8f6dbd006b9918be787f090ca762b45b4c9083f43b6f039b3f33ab1a43ef38be30e3fa31c137185e35672620eace1a2cff7615091f9a9bfab955dfa1f914 +DIST aerospike-amc-community-3.6.9.all.x86_64.deb 1431182 SHA256 fb3a21ed712b134ae0fbe41bcc60ee3b62fddb1a08af660b7197528cb978d827 SHA512 67059ef2b96c4cf69b8a2edacb3edc711a18889b7eee16a038c63e8176d80e4b5ff23f126c0c16113a529e181b9c6f16601cbfa0251b0b12231ad7a23b8bc65e WHIRLPOOL c04a136ed27029503fd58c08a872fd86c9f3530b161183cb74a86db9f66150b817df05492f697214ecf8bbde3951d3b5091eea5c53787faf79888606670ddba5 +EBUILD aerospike-amc-community-3.6.10.1.ebuild 1403 SHA256 aaa0412f0fa48222b292c7138bed20b2e620cea0a19b2cb66f756728df0c908b SHA512 2de0eae1ff0ae5ecf6d9b5ee5c2215c980c857ad5155219fc578730e315e69c952eee2fa1aa34a0a74beec6f73b5554cceb2e7c7655e1727c8e2447d4e309798 WHIRLPOOL 2411ce715b3b66d540673b9a0434626d5f14ac68ce12860337614f326ae315452376120f7c164a1ca56e319d0431de6a61e54ed9d8651789e38c5e2c563a5b0c +EBUILD aerospike-amc-community-3.6.11.ebuild 1403 SHA256 aaa0412f0fa48222b292c7138bed20b2e620cea0a19b2cb66f756728df0c908b SHA512 2de0eae1ff0ae5ecf6d9b5ee5c2215c980c857ad5155219fc578730e315e69c952eee2fa1aa34a0a74beec6f73b5554cceb2e7c7655e1727c8e2447d4e309798 WHIRLPOOL 2411ce715b3b66d540673b9a0434626d5f14ac68ce12860337614f326ae315452376120f7c164a1ca56e319d0431de6a61e54ed9d8651789e38c5e2c563a5b0c +EBUILD aerospike-amc-community-3.6.12.ebuild 1403 SHA256 aaa0412f0fa48222b292c7138bed20b2e620cea0a19b2cb66f756728df0c908b SHA512 2de0eae1ff0ae5ecf6d9b5ee5c2215c980c857ad5155219fc578730e315e69c952eee2fa1aa34a0a74beec6f73b5554cceb2e7c7655e1727c8e2447d4e309798 WHIRLPOOL 2411ce715b3b66d540673b9a0434626d5f14ac68ce12860337614f326ae315452376120f7c164a1ca56e319d0431de6a61e54ed9d8651789e38c5e2c563a5b0c +EBUILD aerospike-amc-community-3.6.13-r1.ebuild 1404 SHA256 222e56d9a9bf07abc0c9926150de0f5d84ce0e23fee764990d1c57d8ec62e083 SHA512 b359adddaf57972b90436bf09edac8081ee5113636f427f69e94e57eae15da8ad1a93c0e1c97ee2ddd590a98ff22290a360fe2ff54da292a16d4ed009fbbf77d WHIRLPOOL 1ec9ff8a96588f7a0258c61f091bb7b1f359a86b4ca2c4fec0461155b087526f98f7ce6838ffabe358354f63ca5f8bf23f5945f1c9d873d08cc44f126f4f8d61 +EBUILD aerospike-amc-community-3.6.13.ebuild 1403 SHA256 aaa0412f0fa48222b292c7138bed20b2e620cea0a19b2cb66f756728df0c908b SHA512 2de0eae1ff0ae5ecf6d9b5ee5c2215c980c857ad5155219fc578730e315e69c952eee2fa1aa34a0a74beec6f73b5554cceb2e7c7655e1727c8e2447d4e309798 WHIRLPOOL 2411ce715b3b66d540673b9a0434626d5f14ac68ce12860337614f326ae315452376120f7c164a1ca56e319d0431de6a61e54ed9d8651789e38c5e2c563a5b0c +EBUILD aerospike-amc-community-3.6.8.2.ebuild 1403 SHA256 aaa0412f0fa48222b292c7138bed20b2e620cea0a19b2cb66f756728df0c908b SHA512 2de0eae1ff0ae5ecf6d9b5ee5c2215c980c857ad5155219fc578730e315e69c952eee2fa1aa34a0a74beec6f73b5554cceb2e7c7655e1727c8e2447d4e309798 WHIRLPOOL 2411ce715b3b66d540673b9a0434626d5f14ac68ce12860337614f326ae315452376120f7c164a1ca56e319d0431de6a61e54ed9d8651789e38c5e2c563a5b0c +EBUILD aerospike-amc-community-3.6.8.ebuild 1403 SHA256 aaa0412f0fa48222b292c7138bed20b2e620cea0a19b2cb66f756728df0c908b SHA512 2de0eae1ff0ae5ecf6d9b5ee5c2215c980c857ad5155219fc578730e315e69c952eee2fa1aa34a0a74beec6f73b5554cceb2e7c7655e1727c8e2447d4e309798 WHIRLPOOL 2411ce715b3b66d540673b9a0434626d5f14ac68ce12860337614f326ae315452376120f7c164a1ca56e319d0431de6a61e54ed9d8651789e38c5e2c563a5b0c +EBUILD aerospike-amc-community-3.6.9.ebuild 1403 SHA256 aaa0412f0fa48222b292c7138bed20b2e620cea0a19b2cb66f756728df0c908b SHA512 2de0eae1ff0ae5ecf6d9b5ee5c2215c980c857ad5155219fc578730e315e69c952eee2fa1aa34a0a74beec6f73b5554cceb2e7c7655e1727c8e2447d4e309798 WHIRLPOOL 2411ce715b3b66d540673b9a0434626d5f14ac68ce12860337614f326ae315452376120f7c164a1ca56e319d0431de6a61e54ed9d8651789e38c5e2c563a5b0c +MISC ChangeLog 1757 SHA256 31dd163535280266608376e7482fb64fdb670f75d44f82e5653446345bc619bb SHA512 fced25b81c5b12fe6f48323536c0bcdffc827bc98497cfe61ff62a9ac26870b0fb4484fd26ef7d9f592b24f068648b8195430761f7bafeff73e7ca741232894d WHIRLPOOL 81d8cae5a7fdba134a9bba8df4d273ab06928df5cbb57394e07f9b79b71f2665c6618869d60ae19c3f2a054234d54080eb86ce2f845ad15389a7e41ec1cb5575 +MISC metadata.xml 218 SHA256 eb70897907d0514564c84c9039d280e84e39daa2e26df509aadb12de34c79949 SHA512 882f7787b97aa780dd3ba4112b9e1dcc84986e2a17704cba9a557ec3a3f9211bcf93532b92d42f60157b56b457ee9ee17e5409066230e54d48931b91bd6786cd WHIRLPOOL 8587c6e7906d0284b2ab0fc799e790371b07acd33f712c2c5625ede6d8b63892d991a9036788eab77d2afc8b37dbcd5d1194a9f5686777132e304628038d043d diff --git a/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.10.1.ebuild b/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.10.1.ebuild new file mode 100644 index 000000000000..5e04b68567fe --- /dev/null +++ b/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.10.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils user + +DESCRIPTION="Web UI based monitoring tool for Aerospike Community Edition Server" +HOMEPAGE="http://www.aerospike.com" +SRC_URI="http://www.aerospike.com/artifacts/${PN}/${PV}/${P}.all.x86_64.deb" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="app-crypt/gcr + dev-python/eventlet + dev-python/flask + dev-python/greenlet + dev-python/setproctitle + www-servers/gunicorn" +DEPEND="${RDEPEND}" + +src_unpack() { + default + mkdir "${P}" + tar -xf data.tar.xz -C "${S}" || die + tar -xzf "${S}"/opt/amc.tar.gz -C "${S}"/opt/ || die +} + +src_install() { + mv opt/amc/amc/* opt/amc/ + rm -rf opt/amc/amc + rm -f opt/amc/install + rm -f opt/amc/bin/uninstall + rm -f opt/amc/bin/amc_*.sh + rm -f opt/amc/bin/gunicorn + rm -rf opt/amc/server/site-packages/ + rm -rf opt/amc/server/setups/ + + insinto /etc/logrotate.d + newins opt/amc/config/logrotate amc + rm -f opt/amc/config/logrotate + + insinto /etc/cron.daily + newins opt/amc/config/logcron amc + rm -f opt/amc/config/logcron + + sed -e 's@/tmp/amc.pid@/run/amc.pid@g' -i opt/amc/config/gunicorn_config.py || die + + insinto /etc/amc/config + doins -r opt/amc/config/* + rm -rf opt/amc/config/ + + echo "${PV}" > opt/amc/amc_version + + insinto /opt/amc/ + doins -r opt/amc/* + + keepdir /var/log/amc + + newinitd "${FILESDIR}"/amc.init amc +} diff --git a/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.11.ebuild b/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.11.ebuild new file mode 100644 index 000000000000..5e04b68567fe --- /dev/null +++ b/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.11.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils user + +DESCRIPTION="Web UI based monitoring tool for Aerospike Community Edition Server" +HOMEPAGE="http://www.aerospike.com" +SRC_URI="http://www.aerospike.com/artifacts/${PN}/${PV}/${P}.all.x86_64.deb" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="app-crypt/gcr + dev-python/eventlet + dev-python/flask + dev-python/greenlet + dev-python/setproctitle + www-servers/gunicorn" +DEPEND="${RDEPEND}" + +src_unpack() { + default + mkdir "${P}" + tar -xf data.tar.xz -C "${S}" || die + tar -xzf "${S}"/opt/amc.tar.gz -C "${S}"/opt/ || die +} + +src_install() { + mv opt/amc/amc/* opt/amc/ + rm -rf opt/amc/amc + rm -f opt/amc/install + rm -f opt/amc/bin/uninstall + rm -f opt/amc/bin/amc_*.sh + rm -f opt/amc/bin/gunicorn + rm -rf opt/amc/server/site-packages/ + rm -rf opt/amc/server/setups/ + + insinto /etc/logrotate.d + newins opt/amc/config/logrotate amc + rm -f opt/amc/config/logrotate + + insinto /etc/cron.daily + newins opt/amc/config/logcron amc + rm -f opt/amc/config/logcron + + sed -e 's@/tmp/amc.pid@/run/amc.pid@g' -i opt/amc/config/gunicorn_config.py || die + + insinto /etc/amc/config + doins -r opt/amc/config/* + rm -rf opt/amc/config/ + + echo "${PV}" > opt/amc/amc_version + + insinto /opt/amc/ + doins -r opt/amc/* + + keepdir /var/log/amc + + newinitd "${FILESDIR}"/amc.init amc +} diff --git a/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.12.ebuild b/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.12.ebuild new file mode 100644 index 000000000000..5e04b68567fe --- /dev/null +++ b/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.12.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils user + +DESCRIPTION="Web UI based monitoring tool for Aerospike Community Edition Server" +HOMEPAGE="http://www.aerospike.com" +SRC_URI="http://www.aerospike.com/artifacts/${PN}/${PV}/${P}.all.x86_64.deb" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="app-crypt/gcr + dev-python/eventlet + dev-python/flask + dev-python/greenlet + dev-python/setproctitle + www-servers/gunicorn" +DEPEND="${RDEPEND}" + +src_unpack() { + default + mkdir "${P}" + tar -xf data.tar.xz -C "${S}" || die + tar -xzf "${S}"/opt/amc.tar.gz -C "${S}"/opt/ || die +} + +src_install() { + mv opt/amc/amc/* opt/amc/ + rm -rf opt/amc/amc + rm -f opt/amc/install + rm -f opt/amc/bin/uninstall + rm -f opt/amc/bin/amc_*.sh + rm -f opt/amc/bin/gunicorn + rm -rf opt/amc/server/site-packages/ + rm -rf opt/amc/server/setups/ + + insinto /etc/logrotate.d + newins opt/amc/config/logrotate amc + rm -f opt/amc/config/logrotate + + insinto /etc/cron.daily + newins opt/amc/config/logcron amc + rm -f opt/amc/config/logcron + + sed -e 's@/tmp/amc.pid@/run/amc.pid@g' -i opt/amc/config/gunicorn_config.py || die + + insinto /etc/amc/config + doins -r opt/amc/config/* + rm -rf opt/amc/config/ + + echo "${PV}" > opt/amc/amc_version + + insinto /opt/amc/ + doins -r opt/amc/* + + keepdir /var/log/amc + + newinitd "${FILESDIR}"/amc.init amc +} diff --git a/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.13-r1.ebuild b/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.13-r1.ebuild new file mode 100644 index 000000000000..aeea28831d00 --- /dev/null +++ b/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.13-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils user + +DESCRIPTION="Web UI based monitoring tool for Aerospike Community Edition Server" +HOMEPAGE="http://www.aerospike.com" +SRC_URI="http://www.aerospike.com/artifacts/${PN}/${PV}/${P}.all.x86_64.deb" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="app-crypt/gcr + dev-python/eventlet + dev-python/flask + dev-python/greenlet + dev-python/setproctitle + www-servers/gunicorn" +DEPEND="${RDEPEND}" + +src_unpack() { + default + mkdir "${P}" + tar -xf data.tar.xz -C "${S}" || die + tar -xzf "${S}"/opt/amc.tar.gz -C "${S}"/opt/ || die +} + +src_install() { + mv opt/amc/amc/* opt/amc/ + rm -rf opt/amc/amc + rm -f opt/amc/install + rm -f opt/amc/bin/uninstall + rm -f opt/amc/bin/amc_*.sh + rm -f opt/amc/bin/gunicorn + rm -rf opt/amc/server/site-packages/ + rm -rf opt/amc/server/setups/ + + insinto /etc/logrotate.d + newins opt/amc/config/logrotate amc + rm -f opt/amc/config/logrotate + + insinto /etc/cron.daily + newins opt/amc/config/logcron amc + rm -f opt/amc/config/logcron + + sed -e 's@/tmp/amc.pid@/run/amc.pid@g' -i opt/amc/config/gunicorn_config.py || die + + insinto /etc/amc/config + doins -r opt/amc/config/* + rm -rf opt/amc/config/ + + echo "${PV}" > opt/amc/amc_version + + insinto /opt/amc/ + doins -r opt/amc/* + + keepdir /var/log/amc + + newinitd "${FILESDIR}"/amc.init2 amc +} diff --git a/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.13.ebuild b/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.13.ebuild new file mode 100644 index 000000000000..5e04b68567fe --- /dev/null +++ b/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.13.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils user + +DESCRIPTION="Web UI based monitoring tool for Aerospike Community Edition Server" +HOMEPAGE="http://www.aerospike.com" +SRC_URI="http://www.aerospike.com/artifacts/${PN}/${PV}/${P}.all.x86_64.deb" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="app-crypt/gcr + dev-python/eventlet + dev-python/flask + dev-python/greenlet + dev-python/setproctitle + www-servers/gunicorn" +DEPEND="${RDEPEND}" + +src_unpack() { + default + mkdir "${P}" + tar -xf data.tar.xz -C "${S}" || die + tar -xzf "${S}"/opt/amc.tar.gz -C "${S}"/opt/ || die +} + +src_install() { + mv opt/amc/amc/* opt/amc/ + rm -rf opt/amc/amc + rm -f opt/amc/install + rm -f opt/amc/bin/uninstall + rm -f opt/amc/bin/amc_*.sh + rm -f opt/amc/bin/gunicorn + rm -rf opt/amc/server/site-packages/ + rm -rf opt/amc/server/setups/ + + insinto /etc/logrotate.d + newins opt/amc/config/logrotate amc + rm -f opt/amc/config/logrotate + + insinto /etc/cron.daily + newins opt/amc/config/logcron amc + rm -f opt/amc/config/logcron + + sed -e 's@/tmp/amc.pid@/run/amc.pid@g' -i opt/amc/config/gunicorn_config.py || die + + insinto /etc/amc/config + doins -r opt/amc/config/* + rm -rf opt/amc/config/ + + echo "${PV}" > opt/amc/amc_version + + insinto /opt/amc/ + doins -r opt/amc/* + + keepdir /var/log/amc + + newinitd "${FILESDIR}"/amc.init amc +} diff --git a/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.8.2.ebuild b/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.8.2.ebuild new file mode 100644 index 000000000000..5e04b68567fe --- /dev/null +++ b/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.8.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils user + +DESCRIPTION="Web UI based monitoring tool for Aerospike Community Edition Server" +HOMEPAGE="http://www.aerospike.com" +SRC_URI="http://www.aerospike.com/artifacts/${PN}/${PV}/${P}.all.x86_64.deb" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="app-crypt/gcr + dev-python/eventlet + dev-python/flask + dev-python/greenlet + dev-python/setproctitle + www-servers/gunicorn" +DEPEND="${RDEPEND}" + +src_unpack() { + default + mkdir "${P}" + tar -xf data.tar.xz -C "${S}" || die + tar -xzf "${S}"/opt/amc.tar.gz -C "${S}"/opt/ || die +} + +src_install() { + mv opt/amc/amc/* opt/amc/ + rm -rf opt/amc/amc + rm -f opt/amc/install + rm -f opt/amc/bin/uninstall + rm -f opt/amc/bin/amc_*.sh + rm -f opt/amc/bin/gunicorn + rm -rf opt/amc/server/site-packages/ + rm -rf opt/amc/server/setups/ + + insinto /etc/logrotate.d + newins opt/amc/config/logrotate amc + rm -f opt/amc/config/logrotate + + insinto /etc/cron.daily + newins opt/amc/config/logcron amc + rm -f opt/amc/config/logcron + + sed -e 's@/tmp/amc.pid@/run/amc.pid@g' -i opt/amc/config/gunicorn_config.py || die + + insinto /etc/amc/config + doins -r opt/amc/config/* + rm -rf opt/amc/config/ + + echo "${PV}" > opt/amc/amc_version + + insinto /opt/amc/ + doins -r opt/amc/* + + keepdir /var/log/amc + + newinitd "${FILESDIR}"/amc.init amc +} diff --git a/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.8.ebuild b/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.8.ebuild new file mode 100644 index 000000000000..5e04b68567fe --- /dev/null +++ b/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.8.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils user + +DESCRIPTION="Web UI based monitoring tool for Aerospike Community Edition Server" +HOMEPAGE="http://www.aerospike.com" +SRC_URI="http://www.aerospike.com/artifacts/${PN}/${PV}/${P}.all.x86_64.deb" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="app-crypt/gcr + dev-python/eventlet + dev-python/flask + dev-python/greenlet + dev-python/setproctitle + www-servers/gunicorn" +DEPEND="${RDEPEND}" + +src_unpack() { + default + mkdir "${P}" + tar -xf data.tar.xz -C "${S}" || die + tar -xzf "${S}"/opt/amc.tar.gz -C "${S}"/opt/ || die +} + +src_install() { + mv opt/amc/amc/* opt/amc/ + rm -rf opt/amc/amc + rm -f opt/amc/install + rm -f opt/amc/bin/uninstall + rm -f opt/amc/bin/amc_*.sh + rm -f opt/amc/bin/gunicorn + rm -rf opt/amc/server/site-packages/ + rm -rf opt/amc/server/setups/ + + insinto /etc/logrotate.d + newins opt/amc/config/logrotate amc + rm -f opt/amc/config/logrotate + + insinto /etc/cron.daily + newins opt/amc/config/logcron amc + rm -f opt/amc/config/logcron + + sed -e 's@/tmp/amc.pid@/run/amc.pid@g' -i opt/amc/config/gunicorn_config.py || die + + insinto /etc/amc/config + doins -r opt/amc/config/* + rm -rf opt/amc/config/ + + echo "${PV}" > opt/amc/amc_version + + insinto /opt/amc/ + doins -r opt/amc/* + + keepdir /var/log/amc + + newinitd "${FILESDIR}"/amc.init amc +} diff --git a/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.9.ebuild b/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.9.ebuild new file mode 100644 index 000000000000..5e04b68567fe --- /dev/null +++ b/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.9.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils user + +DESCRIPTION="Web UI based monitoring tool for Aerospike Community Edition Server" +HOMEPAGE="http://www.aerospike.com" +SRC_URI="http://www.aerospike.com/artifacts/${PN}/${PV}/${P}.all.x86_64.deb" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="app-crypt/gcr + dev-python/eventlet + dev-python/flask + dev-python/greenlet + dev-python/setproctitle + www-servers/gunicorn" +DEPEND="${RDEPEND}" + +src_unpack() { + default + mkdir "${P}" + tar -xf data.tar.xz -C "${S}" || die + tar -xzf "${S}"/opt/amc.tar.gz -C "${S}"/opt/ || die +} + +src_install() { + mv opt/amc/amc/* opt/amc/ + rm -rf opt/amc/amc + rm -f opt/amc/install + rm -f opt/amc/bin/uninstall + rm -f opt/amc/bin/amc_*.sh + rm -f opt/amc/bin/gunicorn + rm -rf opt/amc/server/site-packages/ + rm -rf opt/amc/server/setups/ + + insinto /etc/logrotate.d + newins opt/amc/config/logrotate amc + rm -f opt/amc/config/logrotate + + insinto /etc/cron.daily + newins opt/amc/config/logcron amc + rm -f opt/amc/config/logcron + + sed -e 's@/tmp/amc.pid@/run/amc.pid@g' -i opt/amc/config/gunicorn_config.py || die + + insinto /etc/amc/config + doins -r opt/amc/config/* + rm -rf opt/amc/config/ + + echo "${PV}" > opt/amc/amc_version + + insinto /opt/amc/ + doins -r opt/amc/* + + keepdir /var/log/amc + + newinitd "${FILESDIR}"/amc.init amc +} diff --git a/app-admin/aerospike-amc-community/files/amc.init b/app-admin/aerospike-amc-community/files/amc.init new file mode 100644 index 000000000000..06c14001f5d6 --- /dev/null +++ b/app-admin/aerospike-amc-community/files/amc.init @@ -0,0 +1,23 @@ +#!/sbin/openrc-run +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +config_file=${config_file:-/etc/amc/config/gunicorn_config.py} +run_dir=${run_dir:-/run} + +command="/usr/bin/gunicorn" +command_args="--daemon --config ${config_file} flaskapp:app" +command_background="true" +pidfile=${run_dir}/${SVCNAME}.pid +user=${user:-root} +group=${group:-root} +start_stop_daemon_args="--user ${user} --group ${group}" +required_files="${config_file}" + +depend() { + use net +} + +start_post() { + ewaitfile 60 "${pidfile}" +} diff --git a/app-admin/aerospike-amc-community/files/amc.init2 b/app-admin/aerospike-amc-community/files/amc.init2 new file mode 100644 index 000000000000..3e3bdd9920a3 --- /dev/null +++ b/app-admin/aerospike-amc-community/files/amc.init2 @@ -0,0 +1,24 @@ +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +config_file=${config_file:-/etc/amc/config/gunicorn_config.py} +run_dir=${run_dir:-/run} + +command="/usr/bin/gunicorn" +command_args="--daemon --config ${config_file} flaskapp:app" +command_progress="true" +retry='TERM/30/KILL/5' +pidfile=${run_dir}/${SVCNAME}.pid +user=${user:-root} +group=${group:-root} +start_stop_daemon_args="--user ${user} --group ${group}" +required_files="${config_file}" + +depend() { + use net +} + +start_post() { + ewaitfile 60 "${pidfile}" +} diff --git a/app-admin/aerospike-amc-community/metadata.xml b/app-admin/aerospike-amc-community/metadata.xml new file mode 100644 index 000000000000..8c5a5301197b --- /dev/null +++ b/app-admin/aerospike-amc-community/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>patrick@gentoo.org</email> + </maintainer> +</pkgmetadata> |