diff options
author | Patrick Lauer <patrick@gentoo.org> | 2018-03-10 16:06:04 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2018-03-10 16:06:18 +0000 |
commit | 41b9fd841998ca00fb47608074877f27498ea467 (patch) | |
tree | f2ea516347b6d31f989e0e937c6526a3f6f20303 | |
parent | net-misc/kafka-bin: Bump, fix init script, remove old (diff) | |
download | gentoo-41b9fd841998ca00fb47608074877f27498ea467.tar.gz gentoo-41b9fd841998ca00fb47608074877f27498ea467.tar.bz2 gentoo-41b9fd841998ca00fb47608074877f27498ea467.zip |
dev-db/aerospike-server-community: Bump
Package-Manager: Portage-2.3.24, Repoman-2.3.6
-rw-r--r-- | dev-db/aerospike-server-community/Manifest | 1 | ||||
-rw-r--r-- | dev-db/aerospike-server-community/aerospike-server-community-4.0.0.1.ebuild | 71 |
2 files changed, 72 insertions, 0 deletions
diff --git a/dev-db/aerospike-server-community/Manifest b/dev-db/aerospike-server-community/Manifest index a3c8792a8d98..c0744cb245cd 100644 --- a/dev-db/aerospike-server-community/Manifest +++ b/dev-db/aerospike-server-community/Manifest @@ -2,3 +2,4 @@ DIST aerospike-server-community-3.13.0.9-debian7.tgz 10657823 BLAKE2B a4f88eb24e DIST aerospike-server-community-3.14.1.8-debian7.tgz 14017262 BLAKE2B a02e516e690c84cd5df973bfc08ba019511f685fc20b303a9ff1548a92bf2dbf4b5be9f5bdd0bb94a5586e49eb368b02457dbf4ac40901fb2b601114f5e9b636 SHA512 867b3c90bd56b1eca0ed17ed97004130310ee74cf24d48e52d47fdd926aea536fad8781c43fe0ae37ea2e2dc1864ca64335fefa6b67d3d89b78393f4035b528b DIST aerospike-server-community-3.15.1.4-debian7.tgz 9775381 BLAKE2B 4f7fe86d99cb0cdc74d0bacdcdaea8112e105b6daa870fee12a0137447118ba73adc580b4e4a47f9e1338bc393aeb32787b067a75415bf5c1c6d76cf4ee94d7c SHA512 2b77622ea4eb35de9eb26b33f0cf47fc8d29a70fe75848b81245842b2f3c728d6b2d3ebe72369b91ef0d53be168cea04086ae469ad69124ab2010f48f3005fd5 DIST aerospike-server-community-3.16.0.6-debian7.tgz 11106496 BLAKE2B b4d9e4856e7d30f537685ed6f924bae8ba953e8aab363f0fa0ba1e5522719f4a521f757944693c46af2933f9ce4e7f10d60808ef76cb78523347cac38cd0608b SHA512 0e32c73881f29d634b67f1c46cdd608ad306fb164753ae3a113761adc806dba72fbd8d8022f7c5fb1b84171f145113b6659092a23e283e147d292931c5befde7 +DIST aerospike-server-community-4.0.0.1-debian7.tgz 16352955 BLAKE2B e6dd6295a71b4c6edf13a52c4f1be9e8fcea0c94078559b13be456ca714c9c38952a96385003391484bf7d24e3d52745806935c249f0f3cc96a154264a10c2a3 SHA512 896783c0cbe4b136605f17601317c6d62e8791adac6c6bebb8f80be1d33cf2f425a431af7e3fe8e5e7771a196bd4baa9db32dc11b030850c1eb3db755767934a diff --git a/dev-db/aerospike-server-community/aerospike-server-community-4.0.0.1.ebuild b/dev-db/aerospike-server-community/aerospike-server-community-4.0.0.1.ebuild new file mode 100644 index 000000000000..83946c562c0d --- /dev/null +++ b/dev-db/aerospike-server-community/aerospike-server-community-4.0.0.1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2018 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:0 + sys-libs/zlib + dev-libs/openssl:0 + " +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.3.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 +} |