diff options
Diffstat (limited to 'dev-db/aerospike-server-community')
10 files changed, 0 insertions, 512 deletions
diff --git a/dev-db/aerospike-server-community/Manifest b/dev-db/aerospike-server-community/Manifest deleted file mode 100644 index 6f362159c727..000000000000 --- a/dev-db/aerospike-server-community/Manifest +++ /dev/null @@ -1,10 +0,0 @@ -AUX 3.5.8-use-system-libs.patch 1755 BLAKE2B fd16e094db29fcce9ed327cc02c730bef8bca486500c80b956d2e2d8e708053982fc39d2ba5e5b9fad141a042bd4eb5b2559a80d1bd59f3f497176afce56374e SHA512 9124fc14481bc1390a743d2365aa51723445e90db428607aa76d7d59e2c73bc4236da4d1a57c765d4484895147f06254bb269f80b0ff9f7029fcb2f782a418a4 -AUX aerospike.conf 1265 BLAKE2B 2851f1a2dcec6b9514ce82b68c832aff55a9d06e4b1127505c377cf18ba118fafaa6b7edea75997142b1c3919d8c55db2edb8b180ded90ca3d1ceeedfef30ff9 SHA512 5d2b2a368bb31e8230d2f88073befbf5f1aa33aecc628b669e5714cfde71e83d53143b28c0ee95b52f13e84027283413927abd97470a97e36946cc05605b15ed -AUX aerospike.init 1194 BLAKE2B d21f481882027c748de84a01f599a0f3e17f7a14c14c1b7b5e9427399d1e01b9339f6061a77ca2eaba71c2950db1fb92af09e49dfa7b20a0a9f40d85f6c3603c SHA512 c8d5db18225aa031d152337981430bef413fc30592d162776fab6c1d1c8ea2876233feba7c73f103fc35091255ef7f31da602c6dcb302d9dcac2ce9a67c97837 -AUX aerospike.logrotate 196 BLAKE2B e52b68100c48c2ea47d28583a80fbc8da44d866884ef159520315641f8e5261f0e8561cf53460a23fe0daa12133023a5a2c8bc4a8efa81bf89f2b17735ff4bc3 SHA512 2810df72e5a570be0d3118b0c3244fb13ae7bb98684219d681f02a1ec1499191e1f7e3455da818a8ca36d36a7d194cf85ee1985930bf6fe63b1723060af05cba -AUX aerospike_mesh.conf 1476 BLAKE2B 76dd16b34f024faec1cbbad526b72dfc389f5ba875928a71147e2a21e1f5cec3754c2bd821d2a329cea475ec5f12b6f4c355d15e0a6092733959a4f6131b5a12 SHA512 a7d5e52738a3153b649cc81d8a9b635b70fe21335802f5c2f348fe71f3b7087ea85aaf926c4ad3ce71514fa1b479f98bc27aadb95995a5bbb8808219bcbe28c4 -AUX aerospike_ssd.conf 1341 BLAKE2B 70720ac3bf9c7b41eb595a4ef2ff16d559abbd2f8c64b09159ea6ad7068513040ac0b036eb4dcd77252b454002935b7e8255c79e6a4ebf06850d3acc325100df SHA512 0382842d4e7b20caaa4c39d999da0cd2b67c24bdd9fad6e5d2d393758b6f788decf0039ae9a262a4db7e89b358cbb9954efd082a15549d12e3e244b2c51675c9 -DIST aerospike-server-community-4.1.0.1-debian7.tgz 16538371 BLAKE2B b879fa134d932dd5c5f3432abd6902e3a1bfd071b7753a78b4d2fdd1cc58e6b875c6793285dbfa18612f9ccd98af4f8ae3a16e7178a30d03715a4d38dc369b1c SHA512 f3954f209a3aab446c193b07fe6c045de89af115f29815a886c99b5648da1e3ff1b348cb1ec4299ce772d7619918e2340de6c25393e04c3bf4b9f1760646625d -EBUILD aerospike-server-community-4.1.0.1.ebuild 1638 BLAKE2B 751741ae79b6700d6233106c6d47daab9ed2d998fafa1162ad19612a4e2ad6865d7a06f698d56aaf52f61ad06203bd6551657a68c0c6d7dd6c027f3a8cd0fd96 SHA512 44c44e9aa4781b43d74d2a2e397c724916ee02da62899525436d6b8eb0b2ac20a9507f3cb2b24cadcf4168859a3b61b6e1dc78ed2c9b9c3bf104f17f10c359c3 -EBUILD aerospike-server-community-9999.ebuild 1921 BLAKE2B 7ee8da5034709fe63c47aa0f6caaf426be2184d68b6f5403261173e4f56fe87ded940b35a65e6994154da9a2ba2c7f023c4c65789a5e12ad1238cce2d3950572 SHA512 3c034f9f0498c74317d8996fca9f022b3eb7d9bca05bea1903e10596a632165a4f1e7ca516cbbf97e24cd8d1b6b89812ae48ec0ee5e448b1436384e3c18fe3fa -MISC metadata.xml 281 BLAKE2B c83365afa5d87cf5b8d65ed299e16797d54a0c5f8632ad69c7449edcd52b32f150bc7f933a9e3662d45c37fc64dfcd97b09b3d265a328cdc3ca6cc609a2311f2 SHA512 d3a33c339bb7409528ddca6187790b842150e273bd7630a610c0be08be50e26278ed7b4d42305bfd1a796544c6be251301c938b15d70e609b9d91bd22161aee6 diff --git a/dev-db/aerospike-server-community/aerospike-server-community-4.1.0.1.ebuild b/dev-db/aerospike-server-community/aerospike-server-community-4.1.0.1.ebuild deleted file mode 100644 index a69846b1bc8b..000000000000 --- a/dev-db/aerospike-server-community/aerospike-server-community-4.1.0.1.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# 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.6.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 -} diff --git a/dev-db/aerospike-server-community/aerospike-server-community-9999.ebuild b/dev-db/aerospike-server-community/aerospike-server-community-9999.ebuild deleted file mode 100644 index 0ff1b892d746..000000000000 --- a/dev-db/aerospike-server-community/aerospike-server-community-9999.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit git-r3 systemd user - -DESCRIPTION="Flash-optimized, in-memory, nosql database" -HOMEPAGE="http://www.aerospike.com" -EGIT_REPO_URI="https://github.com/aerospike/aerospike-server.git" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="" -IUSE="+tools" - -RDEPEND=" - dev-libs/jansson - dev-libs/jemalloc" -DEPEND="${RDEPEND}" - -DOCS=( - README.md -) - -PATCHES=( - "${FILESDIR}"/3.5.8-use-system-libs.patch -) - -pkg_setup() { - enewgroup aerospike - enewuser aerospike -1 /bin/bash /opt/aerospike aerospike -} - -src_prepare() { - base_src_prepare - - git submodule update --init - - sed \ - -e 's/USE_SYSTEM_JEM = 0/USE_SYSTEM_JEM = 1/g' \ - -e 's/USE_SYSTEM_JANSSON = 0/USE_SYSTEM_JANSSON = 1/g' \ - -e 's/LD_CRYPTO = static/LD_CRYPTO = dynamic/g' \ - -e 's/LD_JANSSON = static/LD_JANSSON = dynamic/g' \ - -e 's/LD_JEM = static/LD_JEM = dynamic/g' \ - -i make_in/Makefile.vars || die - - rm -rf modules/jansson - rm -rf modules/jemalloc -} - -src_install() { - base_src_install_docs - - dobin target/Linux-x86_64/bin/asd - - insinto /opt/aerospike/sys/udf/lua - doins -r modules/lua-core/src/* - - if use tools; then - insinto /opt/aerospike/bin - doins tools/afterburner/afterburner.sh - fperms +x /opt/aerospike/bin/afterburner.sh - fi - - keepdir /opt/aerospike/usr/udf/lua - keepdir /var/log/aerospike - - insinto /etc/aerospike - for conf in aerospike.conf aerospike_mesh.conf aerospike_ssd.conf; do - sed -e "s@/var/run/aerospike/asd.pid@/run/aerospike/aerospike.pid@g" -i as/etc/"${conf}" || die - doins as/etc/"${conf}" - done - - insinto /etc/logrotate.d - newins as/etc/logrotate_asd aerospike - - newinitd "${FILESDIR}"/aerospike.init aerospike - systemd_newunit as/etc/aerospike-server.service aerospike.service - - fowners -R aerospike:aerospike /opt/aerospike/ - fowners aerospike:aerospike /usr/bin/asd - fowners -R aerospike:aerospike /var/log/aerospike -} diff --git a/dev-db/aerospike-server-community/files/3.5.8-use-system-libs.patch b/dev-db/aerospike-server-community/files/3.5.8-use-system-libs.patch deleted file mode 100644 index eb69f5ff2e51..000000000000 --- a/dev-db/aerospike-server-community/files/3.5.8-use-system-libs.patch +++ /dev/null @@ -1,63 +0,0 @@ -diff --git a/Makefile b/Makefile -index d4ce8ac..26271fd 100644 ---- a/Makefile -+++ b/Makefile -@@ -54,12 +54,16 @@ ifeq ($(USE_ASM),1) - $(MAKE) -C $(ASMALLOC) jem SRCDIR=src - endif - ifeq ($(USE_JEM),1) -+ifeq ($(USE_SYSTEM_JEM),0) - $(MAKE) -C $(JEMALLOC) - endif -+endif - ifeq ($(USE_LUAJIT),1) - $(MAKE) -C $(LUAJIT) Q= TARGET_SONAME=libluajit.so CCDEBUG=-g - endif -+ifeq ($(USE_SYSTEM_JANSSON),0) - $(MAKE) -C $(JANSSON) -+endif - $(MAKE) -C $(COMMON) CF=$(CF) EXT_CFLAGS="$(EXT_CFLAGS)" - $(MAKE) -C $(CF) - $(MAKE) -C $(MOD_LUA) CF=$(CF) COMMON=$(COMMON) LUA_CORE=$(LUA_CORE) EXT_CFLAGS="$(EXT_CFLAGS)" USE_LUAJIT=$(USE_LUAJIT) LUAJIT=$(LUAJIT) -@@ -174,16 +178,24 @@ mexp2: mexp1 - $(MAKE) MEXP_PHASE=2 SRCDIR=$(realpath $(MEXP_DIR))/ - - $(JANSSON)/configure: -+ifeq ($(USE_SYSTEM_JANSSON),0) - cd $(JANSSON) && autoreconf -i -+endif - - $(JANSSON)/Makefile: $(JANSSON)/configure -+ifeq ($(USE_SYSTEM_JANSSON),0) - cd $(JANSSON) && ./configure $(JANSSON_CONFIG_OPT) -+endif - - $(JEMALLOC)/configure: -+ifeq ($(USE_SYSTEM_JEM),0) - cd $(JEMALLOC) && autoconf -+endif - - $(JEMALLOC)/Makefile: $(JEMALLOC)/configure -+ifeq ($(USE_SYSTEM_JEM),0) - cd $(JEMALLOC) && ./configure $(JEM_CONFIG_OPT) -+endif - - $(LUAJIT)/src/luaconf.h: $(LUAJIT)/src/luaconf.h.orig - ln -s $(notdir $<) $@ -diff --git a/make_in/Makefile.vars b/make_in/Makefile.vars -index efe3226..0b54701 100644 ---- a/make_in/Makefile.vars -+++ b/make_in/Makefile.vars -@@ -31,6 +31,12 @@ ifeq ($(USE_ASM),1) - EXT_CFLAGS += -DUSE_ASM - endif - -+# Use the system provided JEMalloc memory allocator? [By default, no.] -+USE_SYSTEM_JEM = 0 -+ -+# Use the system provided Jansson JSON API Library? [By default, no.] -+USE_SYSTEM_JANSSON = 0 -+ - # Use the JEMalloc memory allocator? [By default, yes.] - USE_JEM = 1 - diff --git a/dev-db/aerospike-server-community/files/aerospike.conf b/dev-db/aerospike-server-community/files/aerospike.conf deleted file mode 100644 index 842873bd3e8e..000000000000 --- a/dev-db/aerospike-server-community/files/aerospike.conf +++ /dev/null @@ -1,70 +0,0 @@ -# Aerospike database configuration file. - -service { - user root - group root - paxos-single-replica-limit 1 # Number of nodes where the replica count is automatically reduced to 1. - pidfile /run/aerospike/aerospike.pid - service-threads 4 - transaction-queues 4 - transaction-threads-per-queue 4 - proto-fd-max 15000 -} - -logging { - # Log file must be an absolute path. - file /var/log/aerospike/aerospike.log { - context any info - } -} - -network { - service { - address any - port 3000 - } - - heartbeat { - mode multicast - address 239.1.99.222 - port 9918 - - # To use unicast-mesh heartbeats, remove the 3 lines above, and see - # aerospike_mesh.conf for alternative. - - interval 150 - timeout 10 - } - - fabric { - port 3001 - } - - info { - port 3003 - } -} - -namespace test { - replication-factor 2 - memory-size 4G - default-ttl 30d # 30 days, use 0 to never expire/evict. - - storage-engine memory -} - -namespace bar { - replication-factor 2 - memory-size 4G - default-ttl 30d # 30 days, use 0 to never expire/evict. - - storage-engine memory - - # To use file storage backing, comment out the line above and use the - # following lines instead. -# storage-engine device { -# file /opt/aerospike/data/bar.dat -# filesize 16G -# data-in-memory true # Store data in memory in addition to file. -# } -} diff --git a/dev-db/aerospike-server-community/files/aerospike.init b/dev-db/aerospike-server-community/files/aerospike.init deleted file mode 100644 index b1dac8078d6d..000000000000 --- a/dev-db/aerospike-server-community/files/aerospike.init +++ /dev/null @@ -1,53 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -config_file=${config_file:-/etc/aerospike/${SVCNAME}.conf} -run_dir=${run_dir:-/run/aerospike} - -command="/usr/bin/asd" -command_args="--config-file ${config_file}" -command_background="false" -pidfile=${run_dir}/${SVCNAME}.pid -user=${user:-aerospike} -group=${group:-aerospike} -start_stop_daemon_args="--user ${user} --group ${group}" -required_files="${config_file}" - -depend() { - use net -} - -set_shmall() { - mem=`/sbin/sysctl -n kernel.shmall` - min=4294967296 - if [ ${#mem} -le ${#min} ]; then - if [ $mem -lt $min ]; then - ewarn "kernel.shmall too low, setting to 4G pages = 16TB" - /sbin/sysctl -w kernel.shmall=$min - fi - fi -} - -set_shmmax() { - mem=`/sbin/sysctl -n kernel.shmmax` - min=1073741824 - if [ ${#mem} -le ${#min} ]; then - if [ $mem -lt $min ]; then - ewarn "kernel.shmmax too low, setting to 1GB" - /sbin/sysctl -w kernel.shmmax=$min - fi - fi -} - -start_pre() { - checkpath -d -m 0755 -o "${user}":"${group}" "${run_dir}" - set_shmall - set_shmmax - ulimit -n 100000 - if [ -n $LD_PRELOAD ]; then export LD_PRELOAD; fi -} - -start_post() { - ewaitfile 60 "${pidfile}" -} diff --git a/dev-db/aerospike-server-community/files/aerospike.logrotate b/dev-db/aerospike-server-community/files/aerospike.logrotate deleted file mode 100644 index 04aabc4a6017..000000000000 --- a/dev-db/aerospike-server-community/files/aerospike.logrotate +++ /dev/null @@ -1,10 +0,0 @@ -/var/log/aerospike/aerospike.log { - daily - rotate 90 - dateext - compress - olddir /var/log/aerospike/ - postrotate - kill -HUP `cat /var/run/aerospike/aerospike.pid` - endscript -} diff --git a/dev-db/aerospike-server-community/files/aerospike_mesh.conf b/dev-db/aerospike-server-community/files/aerospike_mesh.conf deleted file mode 100644 index 26274f310ed0..000000000000 --- a/dev-db/aerospike-server-community/files/aerospike_mesh.conf +++ /dev/null @@ -1,73 +0,0 @@ -# Aerospike database configuration file for deployments using mesh heartbeats. - -service { - user root - group root - paxos-single-replica-limit 1 # Number of nodes where the replica count is automatically reduced to 1. - pidfile /run/aerospike/aerospike.pid - service-threads 4 - transaction-queues 4 - transaction-threads-per-queue 4 - proto-fd-max 15000 -} - -logging { - # Log file must be an absolute path. - file /var/log/aerospike/aerospike.log { - context any info - } -} - -network { - service { - address any - port 3000 - } - - heartbeat { - mode mesh - port 3002 # Heartbeat port for this node. - - # List one or more other nodes, one ip-address & port per line: - mesh-seed-address-port 10.10.10.10 3002 -# mesh-seed-address-port 10.10.10.11 3002 -# mesh-seed-address-port 10.10.10.12 3002 -# mesh-seed-address-port 10.10.10.13 3002 -# mesh-seed-address-port 10.10.10.14 3002 - - interval 250 - timeout 10 - } - - fabric { - port 3001 - } - - info { - port 3003 - } -} - -namespace test { - replication-factor 2 - memory-size 4G - default-ttl 30d # 30 days, use 0 to never expire/evict. - - storage-engine memory -} - -namespace bar { - replication-factor 2 - memory-size 4G - default-ttl 30d # 30 days, use 0 to never expire/evict. - - storage-engine memory - - # To use file storage backing, comment out the line above and use the - # following lines instead. -# storage-engine device { -# file /opt/aerospike/data/bar.dat -# filesize 16G -# data-in-memory true # Store data in memory in addition to file. -# } -} diff --git a/dev-db/aerospike-server-community/files/aerospike_ssd.conf b/dev-db/aerospike-server-community/files/aerospike_ssd.conf deleted file mode 100644 index 3d75bd6f7d91..000000000000 --- a/dev-db/aerospike-server-community/files/aerospike_ssd.conf +++ /dev/null @@ -1,68 +0,0 @@ -# Aerospike database configuration file for deployments using raw storage. - -service { - user root - group root - paxos-single-replica-limit 1 # Number of nodes where the replica count is automatically reduced to 1. - pidfile /run/aerospike/aerospike.pid - service-threads 8 - transaction-queues 8 - transaction-threads-per-queue 8 - proto-fd-max 15000 -} - -logging { - # Log file must be an absolute path. - file /var/log/aerospike/aerospike.log { - context any info - } -} - -network { - service { - address any - port 3000 - } - - heartbeat { - mode multicast - address 239.1.99.222 - port 9918 - - # To use unicast-mesh heartbeats, remove the 3 lines above, and see - # aerospike_mesh.conf for alternative. - - interval 150 - timeout 10 - } - - fabric { - port 3001 - } - - info { - port 3003 - } -} - -namespace test { - replication-factor 2 - memory-size 4G - default-ttl 30d # 30 days, use 0 to never expire/evict. - - # Warning - legacy data in defined raw partition devices will be erased. - # These partitions must not be mounted by the file system. - storage-engine device { - # Use one or more lines like those below with actual device paths. -# device /dev/sdb -# device /dev/sdc - - # The 2 lines below optimize for SSD. - scheduler-mode noop - write-block-size 128K - - # Use the line below to store data in memory in addition to devices. -# data-in-memory true - } -} - diff --git a/dev-db/aerospike-server-community/metadata.xml b/dev-db/aerospike-server-community/metadata.xml deleted file mode 100644 index 647069390b01..000000000000 --- a/dev-db/aerospike-server-community/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>patrick@gentoo.org</email> - </maintainer> - <use> - <flag name="tools">Install extra tools</flag> - </use> -</pkgmetadata> |