commit:     c19fc66c121741cf20d51a51e0141fd62f2e84e5
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 16 19:23:28 2016 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Fri Sep 16 19:27:01 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c19fc66c

dev-db/aerospike-server-community: Bump

Package-Manager: portage-2.3.0

 dev-db/aerospike-server-community/Manifest         |  1 +
 .../aerospike-server-community-3.9.1.1.ebuild      | 69 ++++++++++++++++++++++
 2 files changed, 70 insertions(+)

diff --git a/dev-db/aerospike-server-community/Manifest 
b/dev-db/aerospike-server-community/Manifest
index 3f2d095..d0de050 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.4-debian7.tgz 11204421 
SHA256 6181d318428a8a
 DIST aerospike-server-community-3.9.0.2-debian7.tgz 9783416 SHA256 
d822e3e0b1766484f2f5c8568db8169c58bc4db92deb92d52c8883dda44ae739 SHA512 
f2c39b45f498ce5566234945987cfddf9dfb3a43afec42d735e1a6f8707dfa53f00bd40b98f59430dc63b35a05fa94b98ec5ccae767061a382b6cc4ddbd0f089
 WHIRLPOOL 
f526fa7090912f042ec9808ba972d598269f6e2365baa68bb9777cfc0b5502b419364ac0828146bc34dffadde64f6a97fd5f722a5630b2743d3175c5e86cf9ce
 DIST aerospike-server-community-3.9.0.3-debian7.tgz 9783678 SHA256 
ec09d7f12c1001b8341892bff50f15a75a7e8f312b510c3627066befb9fc5612 SHA512 
82b826fdb6bfdbb8508346accb2b0bf34f55a601b95e214d8b7fd108790a889e64dd5b76b4351285baa3f1c4f9d6a98945737c8ca42f26229364030674a2623b
 WHIRLPOOL 
f7bac66a56ad8b9ee47b3eedc16337b13d8674f42dba40f445876fe9c46ec3620dad73a9324f4a33daef98c740643c6361b86733ac6c741a68757b332101eefb
 DIST aerospike-server-community-3.9.1-debian7.tgz 9888658 SHA256 
accf3685e148c56295f8bf9498f2aec1c405390dbb4fcb7c338df1d42290e917 SHA512 
c6a9304d0a328c0bf3c5908be1d897af4c0579ce0bdb710c90c2c70fd5b364ebf518dcaee27f985f6275e5a03ab0bcf15b8fe5340d7e6129adf28eaf369e8de4
 WHIRLPOOL 
e1d70db94906064cd4e3ba1a25f52996b2399993591d65b0f94d9b5bdd83aa0898432745cd4b89edf106eeace63c2ca9637bbb5cebf4b25a5db516e21f52325c
+DIST aerospike-server-community-3.9.1.1-debian7.tgz 9900121 SHA256 
62526770c2881b17b928d4d0828f1b8bb5c434f37b0337863f167793f9393258 SHA512 
a4ac583220eb15f976cf70a7b57ca3b2f9a0ed5a5fdc4689745b3df45c042a3e43010dda4ff16007455e32b9307474ed24114465c26cfd14be14800cd7b78332
 WHIRLPOOL 
de08f3c057bc06380fd31928b002e611d9a3f0369d071de7bebbf3c079aaed1bc5672fe150f94c11dacfd318545b1d2529ece5eaa9bd584c5e5009192d276234

diff --git 
a/dev-db/aerospike-server-community/aerospike-server-community-3.9.1.1.ebuild 
b/dev-db/aerospike-server-community/aerospike-server-community-3.9.1.1.ebuild
new file mode 100644
index 00000000..43739af
--- /dev/null
+++ 
b/dev-db/aerospike-server-community/aerospike-server-community-3.9.1.1.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.1.2.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
+}

Reply via email to