summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2017-11-15 07:11:23 +0000
committerPatrick Lauer <patrick@gentoo.org>2017-11-15 07:11:40 +0000
commit6d100bb59f0bdaf3f37ccc10d4d18ddade32f775 (patch)
tree5b6e94aee45fa1e8d99ad17efd0f8199926e8df3 /dev-db/aerospike-server-community
parentros-meta/ros_comm: Bump to 1.13.5. (diff)
downloadgentoo-6d100bb59f0bdaf3f37ccc10d4d18ddade32f775.tar.gz
gentoo-6d100bb59f0bdaf3f37ccc10d4d18ddade32f775.tar.bz2
gentoo-6d100bb59f0bdaf3f37ccc10d4d18ddade32f775.zip
dev-db/aerospike-server-community: Bump
Package-Manager: Portage-2.3.14, Repoman-2.3.5
Diffstat (limited to 'dev-db/aerospike-server-community')
-rw-r--r--dev-db/aerospike-server-community/Manifest1
-rw-r--r--dev-db/aerospike-server-community/aerospike-server-community-3.15.0.2.ebuild71
2 files changed, 72 insertions, 0 deletions
diff --git a/dev-db/aerospike-server-community/Manifest b/dev-db/aerospike-server-community/Manifest
index 83af14e48f71..230238687ac8 100644
--- a/dev-db/aerospike-server-community/Manifest
+++ b/dev-db/aerospike-server-community/Manifest
@@ -1,3 +1,4 @@
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
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
+}