summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2016-07-17 15:01:16 +0200
committerPatrick Lauer <patrick@gentoo.org>2016-07-17 15:52:19 +0200
commit92ccb05f1398ed8c6304dc55b02a4be9ba8a5751 (patch)
tree7681bec8e62413b1c91f49f076ebac0a8f0f5179 /dev-db
parentmedia-video/obs-studio: Version bump to 0.15.1. (diff)
downloadgentoo-92ccb05f1398ed8c6304dc55b02a4be9ba8a5751.tar.gz
gentoo-92ccb05f1398ed8c6304dc55b02a4be9ba8a5751.tar.bz2
gentoo-92ccb05f1398ed8c6304dc55b02a4be9ba8a5751.zip
dev-db/aerospike-server-community: Bump
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/aerospike-server-community/Manifest1
-rw-r--r--dev-db/aerospike-server-community/aerospike-server-community-3.9.0.ebuild69
2 files changed, 70 insertions, 0 deletions
diff --git a/dev-db/aerospike-server-community/Manifest b/dev-db/aerospike-server-community/Manifest
index 4e56c8c16209..cfe21f3f50b6 100644
--- a/dev-db/aerospike-server-community/Manifest
+++ b/dev-db/aerospike-server-community/Manifest
@@ -4,3 +4,4 @@ DIST aerospike-server-community-3.8.2.2-debian7.tgz 11011170 SHA256 0ac186e36889
DIST aerospike-server-community-3.8.2.4-debian7.tgz 11010893 SHA256 28f166dde56cab497bf2f3a962caa0f9b2ec43210ae5f6bf987c8f88d5dc38f7 SHA512 bbce8138c6c966881c87bd926e438dcff1f78824b319e66d6b78c0a1bcd50a980be259c4707fd0102647781f28fdab57b447ecaf19f5e809e4a924b3760f4177 WHIRLPOOL 66a37fecc92b1510548aa2cf31f619382c3d5b960fecff1e544ab3eff7421bb532d1df8bd60c92b8679347f680b3b0e25c116da5b4fd7da8aaf8e5bb74b816db
DIST aerospike-server-community-3.8.3-debian7.tgz 11204222 SHA256 1b2adeb889d855042b6129249375f17cc391f5803e3afb3db97dbaee5dbefffb SHA512 7dd2e058cb82f71d893e2d693f6058868cf2468eb2543494ce398d461f9d9df68e3c99263b2de7095f509c025d203da203f94b894278338b1840f11c314ae2da WHIRLPOOL d4d01f38b9eed2e8ed204a3294b6585462b8b805eca6b4d7ed141388b4ac253ab2916d41d35a91fcbd8e39351458e644f5a2ce29254c26868c62f16e35c5c40f
DIST aerospike-server-community-3.8.4-debian7.tgz 11204421 SHA256 6181d318428a8a46954f81502986f3a5508fce1a5182eb2aafb9c968384f73df SHA512 b592afbdb239c96448803edf909e10f4002f229303c74c1dd35a2c37091be76e639ee9ee9993ac4f68e80218467b34278eecfaf005e351ddc370f001fc5ca0ac WHIRLPOOL 0855d4877df96f58193403b3592231e2308c4a0bd7de25084262ec4ed03ed1c1e34760d13f7d2fe79a2610f345ec4d54aed8649f6e3e3f06e059f196b44c6b97
+DIST aerospike-server-community-3.9.0-debian7.tgz 9781116 SHA256 8598f9d1708727e3147d88f25c9f56f65268286da906789b2d2d7f3decf19f51 SHA512 22d0c61d9c7e90826fd8c04e5a6b2d36c89708b041ebc5c376100c7bed2465f52ad6fe1c6af55cd230aa65abc21ababc81f23bdfe7d8bcdede82a9d2cbf9312e WHIRLPOOL 3fb086d3551e3ba56556c4b292126900420ee4effbf1ab6b44db77693bb68daf04ee3d9ec3c8c992baee1251741ae0bae82326dfda4987c480a78d144ec2afef
diff --git a/dev-db/aerospike-server-community/aerospike-server-community-3.9.0.ebuild b/dev-db/aerospike-server-community/aerospike-server-community-3.9.0.ebuild
new file mode 100644
index 000000000000..d55730bb5442
--- /dev/null
+++ b/dev-db/aerospike-server-community/aerospike-server-community-3.9.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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="app-crypt/gcr"
+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.9.0.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
+}