diff options
Diffstat (limited to 'dev-db/aerospike-server-community')
-rw-r--r-- | dev-db/aerospike-server-community/Manifest | 2 | ||||
-rw-r--r-- | dev-db/aerospike-server-community/aerospike-server-community-3.15.0.2.ebuild | 71 |
2 files changed, 73 insertions, 0 deletions
diff --git a/dev-db/aerospike-server-community/Manifest b/dev-db/aerospike-server-community/Manifest index bf1a199cb1bd..0cc1a65d3517 100644 --- a/dev-db/aerospike-server-community/Manifest +++ b/dev-db/aerospike-server-community/Manifest @@ -7,9 +7,11 @@ AUX aerospike_ssd.conf 1341 SHA256 11dbbffdea382e30d606c4564a577e0657f3ff87f3715 DIST aerospike-server-community-3.13.0.7-debian7.tgz 10658707 SHA256 29715ff1698f69f29daeca80f0f70125aa2e8e1b798a34e8aa1ba23338552c66 SHA512 1dfe2fc52c7870f6c4bfbe26cb718cad7725c1362886c4ed30fed04ac40a692eedab47f03ce70fd2a4bc52a9df92ec08683eec24a1fa62a5674530272c705409 WHIRLPOOL 3780f47eecab4081359c2c41f3ec2fe28045bf55de0fb0889f15e0327522ff7ecdf401a8973a58d65efe575caaad6216e43dc8de695de21fbd71113cb2178a29 DIST aerospike-server-community-3.14.1.4-debian7.tgz 10451324 SHA256 a7189f7d802b5d805d5d6e432b58de86c4db97bde482be255e58e61ef688362c SHA512 737c8e2e64d4738d97f1abe4199c4fbc5c00f4c967da3cf6ebbe6e77e416d40ec4c431cf3aec1b9dd4d6388efc0268220b5717924c7083631582899a2d3b6402 WHIRLPOOL dd46cabb8c7b6a8b77085d702538c037cb446327be335cef1cacbfa542613341af84ea6acac6038eb2ce7aee822f31bb8dbe0afb8e223212bf77237c28040e1e DIST aerospike-server-community-3.15.0.1-debian7.tgz 10299283 SHA256 e4f3a8a08af075f8a5c61b0af735c4a136e6392caa80fb457c19fc459c94b926 SHA512 a68c6ce094176bf944baef551553a526581718757967f5f06a7bb02cb81eef923a86db6310f20a3380923ca65d8f31a6785251b7aaacca318c3dc9d6987eaaec WHIRLPOOL 47d1026a313d9a2f35da136181c985b1fd501814338b7574242d605a9ba1fd73b9844e6852f3de253e3773b5a00e9583eaf2d97bb7d981664c0b72ba261a6aaa +DIST aerospike-server-community-3.15.0.2-debian7.tgz 10299075 SHA256 2e3b914743ba787b7c9ae950bdb64986f2bb69d1798bc138cb159bdacfdb182d SHA512 6aae04d81ff9a56e2283186b8a38947b9a30cd2ed97ea4613a9eecd89912ec31695a959f25fc0b06b2cac13c1aaf1c46366cf3967f776a515196e2a2e5dbe431 WHIRLPOOL 2e77d3da6840275ff6ff309e11e2676eca0197d332f05e13140e23fa223f54a6f5e90bf902638c3d34bacd1f4e27e3b046d28cef057a799a8da0e8d81525ff41 EBUILD aerospike-server-community-3.13.0.7.ebuild 1634 SHA256 954a8f13463c378210c9e0f72b283db37de9826d66f7cc9389055bfbe4a4fb29 SHA512 2d2dcc4f31b77e9c47b8a55e3657907f5b45567d2f44724aad4d8ebec4650a1f8d5bd73cddb916c8fb05489ec4f630f984b5c9c9499cab9e855f4d43e7f47cfd WHIRLPOOL 7ec1c880dd21a8f10fb5b1d0291b59ba04330aa9443d0e447d4c0c24ea541b98af7125667fb4ee4ea24d78f310685b3e0efa220a3fd4ce69c0e8f40f8865cbab EBUILD aerospike-server-community-3.14.1.4.ebuild 1634 SHA256 954a8f13463c378210c9e0f72b283db37de9826d66f7cc9389055bfbe4a4fb29 SHA512 2d2dcc4f31b77e9c47b8a55e3657907f5b45567d2f44724aad4d8ebec4650a1f8d5bd73cddb916c8fb05489ec4f630f984b5c9c9499cab9e855f4d43e7f47cfd WHIRLPOOL 7ec1c880dd21a8f10fb5b1d0291b59ba04330aa9443d0e447d4c0c24ea541b98af7125667fb4ee4ea24d78f310685b3e0efa220a3fd4ce69c0e8f40f8865cbab EBUILD aerospike-server-community-3.15.0.1.ebuild 1634 SHA256 9e441e6889f926f41176e9e1f335471d49bede19ca57fb6094fc863393c88dbf SHA512 5c383a5f7c7a48a6662f527255bcad1b404466f17c7a7986bcb5d5c014537edada76a44add4c8c2121eb549f255a7e1c51258406a8b4e2e48262fd510e9391cb WHIRLPOOL c7aad4c205fb91c917c343bcef077c159f072b4e02d9924052a4ad354dbdf2742824f45b238560f910bbc91df4dbecdeade9b7edd2127ee7ea33eca561cafd23 +EBUILD aerospike-server-community-3.15.0.2.ebuild 1634 SHA256 9e441e6889f926f41176e9e1f335471d49bede19ca57fb6094fc863393c88dbf SHA512 5c383a5f7c7a48a6662f527255bcad1b404466f17c7a7986bcb5d5c014537edada76a44add4c8c2121eb549f255a7e1c51258406a8b4e2e48262fd510e9391cb WHIRLPOOL c7aad4c205fb91c917c343bcef077c159f072b4e02d9924052a4ad354dbdf2742824f45b238560f910bbc91df4dbecdeade9b7edd2127ee7ea33eca561cafd23 EBUILD aerospike-server-community-9999.ebuild 1948 SHA256 849b2a73933091c40e642c3874fb860a9d8d962f20a4e454b5afb131e852a679 SHA512 35a88f0e3a71ee4389604dfcab274de8a7659637fc04b6926e47a410252842b672924ef6775c0eb3329c23131513fbf1cf87a8555c5463d972d45ae965d51fb7 WHIRLPOOL a1c58ed03c7e98d8a2cd3e8e5ef4b7e85ccf74154a3ad505fa720cee0d3173e0b270b398801fd4133cee1906fd35c66be464f50b96c6a71289df61b4d1d64842 MISC ChangeLog 4364 SHA256 90bbf78c11449834a0fe0c74d0d2c993dae1effe4b6d400cf02a5a18fb8853e3 SHA512 74598ced1aefd88bb382e9baf8dc270fd29d64f6cbbfc822ef01cce878bad64811f46c279fa5f285ff7a3bba2f7c3cf396ece0ff6cf0bba7d929ed65d08c8992 WHIRLPOOL 521f423156fab6e666c27aebb4a38cd227e33d340e18dc9796b3dc4069d32636d0bfd7e33edc27f63bcf9ed09c08eba01828dc3a02282243aa9f35d45950cdf1 MISC metadata.xml 281 SHA256 c5f4069c93aa8e06d87ed6375692bcbef3e1bb5e4bdc51f781164f58d54ca4b4 SHA512 d3a33c339bb7409528ddca6187790b842150e273bd7630a610c0be08be50e26278ed7b4d42305bfd1a796544c6be251301c938b15d70e609b9d91bd22161aee6 WHIRLPOOL 171454c2084c7dd11595a8535b505410ef93f18f271de22db329b9ef24a567c13443c17359c72a17eb8ccabe7100091ecccf337c9817c3dd45af2f05fd9f73d5 diff --git a/dev-db/aerospike-server-community/aerospike-server-community-3.15.0.2.ebuild b/dev-db/aerospike-server-community/aerospike-server-community-3.15.0.2.ebuild new file mode 100644 index 000000000000..b4e85baa2e30 --- /dev/null +++ b/dev-db/aerospike-server-community/aerospike-server-community-3.15.0.2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils user + +DESCRIPTION="Flash-optimized, in-memory, nosql database" +HOMEPAGE="http://www.aerospike.com" +SRC_URI="http://www.aerospike.com/artifacts/${PN}/${PV}/${P}-debian7.tgz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="sys-libs/readline + sys-libs/zlib + dev-libs/openssl + " +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${P}-debian7" + +pkg_setup() { + enewgroup aerospike + enewuser aerospike -1 /bin/bash /opt/aerospike aerospike +} + +src_prepare() { + local server_deb="${P}.debian7.x86_64.deb" + local tools_deb="aerospike-tools-3.15.0.3.debian7.x86_64.deb" + + ar x "${server_deb}" || die + tar xzf data.tar.gz && rm data.tar.gz || die + + ar x "${tools_deb}" || die + tar xzf data.tar.gz && rm data.tar.gz || die + + rm *.deb asinstall control.tar.gz debian-binary LICENSE SHA256SUMS + rm usr/bin/{asfixownership,asmigrate2to3} +} + +src_install() { + insinto /opt/ + doins -r opt/aerospike + + fperms +x -R /opt/aerospike/bin/ + fperms +x -R /opt/aerospike/lib/python/ + + for dir in '/etc' '/var/log'; do + keepdir "${dir}/aerospike" + done + + insinto /etc/aerospike + for conf in 'aerospike.conf' 'aerospike_mesh.conf' 'aerospike_ssd.conf'; do + doins "${FILESDIR}/${conf}" + done + + insinto /usr/bin + doins usr/bin/* + fperms +x -R /usr/bin/asd + + insinto /etc/logrotate.d + newins "${FILESDIR}"/aerospike.logrotate aerospike + + newinitd "${FILESDIR}"/aerospike.init aerospike + + fowners -R aerospike:aerospike /opt/aerospike/ + fowners aerospike:aerospike /usr/bin/asd + fowners -R aerospike:aerospike /var/log/aerospike +} |