diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-misc/kumofs | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-misc/kumofs')
-rw-r--r-- | net-misc/kumofs/Manifest | 1 | ||||
-rw-r--r-- | net-misc/kumofs/files/kumo-gateway.confd | 4 | ||||
-rw-r--r-- | net-misc/kumofs/files/kumo-gateway.initd | 26 | ||||
-rw-r--r-- | net-misc/kumofs/files/kumo-manager.confd | 6 | ||||
-rw-r--r-- | net-misc/kumofs/files/kumo-manager.initd | 27 | ||||
-rw-r--r-- | net-misc/kumofs/files/kumo-server.confd | 6 | ||||
-rw-r--r-- | net-misc/kumofs/files/kumo-server.initd | 27 | ||||
-rw-r--r-- | net-misc/kumofs/kumofs-0.4.13.ebuild | 37 | ||||
-rw-r--r-- | net-misc/kumofs/metadata.xml | 10 |
9 files changed, 144 insertions, 0 deletions
diff --git a/net-misc/kumofs/Manifest b/net-misc/kumofs/Manifest new file mode 100644 index 000000000000..762645e62c7e --- /dev/null +++ b/net-misc/kumofs/Manifest @@ -0,0 +1 @@ +DIST kumofs-0.4.13.tar.gz 534413 SHA256 18080ef4e3194b08a0370cfb66375bb8bcc0a8983ffacbe989310abe7fad68c3 diff --git a/net-misc/kumofs/files/kumo-gateway.confd b/net-misc/kumofs/files/kumo-gateway.confd new file mode 100644 index 000000000000..8df9c177616b --- /dev/null +++ b/net-misc/kumofs/files/kumo-gateway.confd @@ -0,0 +1,4 @@ +# /etc/conf.d/kumo-gateway: config file for /etc/init.d/kumo-gateway + +#KUMO_GATEWAY_OPTS="-m manager1 -p manager2 -t 11211" +KUMO_GATEWAY_OPTS="-m ${HOSTNAME} -t 11211" diff --git a/net-misc/kumofs/files/kumo-gateway.initd b/net-misc/kumofs/files/kumo-gateway.initd new file mode 100644 index 000000000000..8978be6ce569 --- /dev/null +++ b/net-misc/kumofs/files/kumo-gateway.initd @@ -0,0 +1,26 @@ +#!/sbin/runscript +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +KUMO_GATEWAY_EXEC="${KUMO_GATEWAY_EXEC:-/usr/bin/kumo-gateway}" +KUMO_GATEWAY_PID="${KUMO_GATEWAY_PID:-/var/run/kumo-gateway.pid}" + +depend() { + use net kumo-manager + after ntp-client ntpd rdate openrdate adjtimex hwclock + provide memcached +} + +start() { + ebegin "Starting kumo-gateway" + start-stop-daemon --start --quiet --exec "${KUMO_GATEWAY_EXEC}" \ + -- -d "${KUMO_GATEWAY_PID}" ${KUMO_GATEWAY_OPTS} + eend $? +} + +stop() { + ebegin "Stopping kumo-gateway" + start-stop-daemon --stop --quiet --pidfile "${KUMO_GATEWAY_PID}" + eend $? +} diff --git a/net-misc/kumofs/files/kumo-manager.confd b/net-misc/kumofs/files/kumo-manager.confd new file mode 100644 index 000000000000..fc2b6f344300 --- /dev/null +++ b/net-misc/kumofs/files/kumo-manager.confd @@ -0,0 +1,6 @@ +# /etc/conf.d/kumo-manager: config file for /etc/init.d/kumo-manager + +#KUMO_MANAGER_HOSTNAME="${HOSTNAME}" + +#KUMO_MANAGER_OPTS="-p manager2" +KUMO_MANAGER_OPTS="" diff --git a/net-misc/kumofs/files/kumo-manager.initd b/net-misc/kumofs/files/kumo-manager.initd new file mode 100644 index 000000000000..7f86b079fccc --- /dev/null +++ b/net-misc/kumofs/files/kumo-manager.initd @@ -0,0 +1,27 @@ +#!/sbin/runscript +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +KUMO_MANAGER_HOSTNAME="${KUMO_MANAGER_HOSTNAME:-${HOSTNAME}}" +KUMO_MANAGER_EXEC="${KUMO_MANAGER_EXEC:-/usr/bin/kumo-manager}" +KUMO_MANAGER_PID="${KUMO_MANAGER_PID:-/var/run/kumo-manager.pid}" + +depend() { + use net + after ntp-client ntpd rdate openrdate adjtimex hwclock +} + +start() { + ebegin "Starting kumo-manager" + start-stop-daemon --start --quiet --exec "${KUMO_MANAGER_EXEC}" \ + -- -l "${KUMO_MANAGER_HOSTNAME}" -d "${KUMO_MANAGER_PID}" \ + ${KUMO_MANAGER_OPTS} + eend $? +} + +stop() { + ebegin "Stopping kumo-manager" + start-stop-daemon --stop --quiet --pidfile "${KUMO_MANAGER_PID}" + eend $? +} diff --git a/net-misc/kumofs/files/kumo-server.confd b/net-misc/kumofs/files/kumo-server.confd new file mode 100644 index 000000000000..fccaf0812317 --- /dev/null +++ b/net-misc/kumofs/files/kumo-server.confd @@ -0,0 +1,6 @@ +# /etc/conf.d/kumo-server: config file for /etc/init.d/kumo-server + +#KUMO_SERVER_HOSTNAME="${HOSTNAME}" + +#KUMO_SERVER_OPTS="-m manager1 -p manager2 -s /var/lib/kumofs/kumodb.tch" +KUMO_SERVER_OPTS="-m ${HOSTNAME} -s /var/lib/kumofs/kumodb.tch" diff --git a/net-misc/kumofs/files/kumo-server.initd b/net-misc/kumofs/files/kumo-server.initd new file mode 100644 index 000000000000..117d0ec84d2b --- /dev/null +++ b/net-misc/kumofs/files/kumo-server.initd @@ -0,0 +1,27 @@ +#!/sbin/runscript +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +KUMO_SERVER_HOSTNAME="${KUMO_SERVER_HOSTNAME:-${HOSTNAME}}" +KUMO_SERVER_EXEC="${KUMO_SERVER_EXEC:-/usr/bin/kumo-server}" +KUMO_SERVER_PID="${KUMO_SERVER_PID:-/var/run/kumo-server.pid}" + +depend() { + use net kumo-manager + after ntp-client ntpd rdate openrdate adjtimex hwclock +} + +start() { + ebegin "Starting kumo-server" + start-stop-daemon --start --quiet --exec "${KUMO_SERVER_EXEC}" \ + -- -l "${KUMO_SERVER_HOSTNAME}" -d "${KUMO_SERVER_PID}" \ + ${KUMO_SERVER_OPTS} + eend $? +} + +stop() { + ebegin "Stopping kumo-server" + start-stop-daemon --stop --quiet --pidfile "${KUMO_SERVER_PID}" + eend $? +} diff --git a/net-misc/kumofs/kumofs-0.4.13.ebuild b/net-misc/kumofs/kumofs-0.4.13.ebuild new file mode 100644 index 000000000000..a94c816469d0 --- /dev/null +++ b/net-misc/kumofs/kumofs-0.4.13.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +DESCRIPTION="a scalable and highly available distributed key-value store" +HOMEPAGE="http://github.com/etolabo/kumofs" +SRC_URI="mirror://github/etolabo/kumofs/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=dev-db/tokyocabinet-1.4.10 + >=dev-libs/msgpack-0.3.1 + dev-libs/openssl + >=dev-ruby/msgpack-0.3.1 + >=dev-lang/ruby-1.8.6 + sys-libs/zlib" +RDEPEND="${DEPEND}" + +src_install() { + emake DESTDIR="${D}" install || die + + newinitd "${FILESDIR}/kumo-gateway.initd" kumo-gateway || die + newconfd "${FILESDIR}/kumo-gateway.confd" kumo-gateway || die + newinitd "${FILESDIR}/kumo-manager.initd" kumo-manager || die + newconfd "${FILESDIR}/kumo-manager.confd" kumo-manager || die + newinitd "${FILESDIR}/kumo-server.initd" kumo-server || die + newconfd "${FILESDIR}/kumo-server.confd" kumo-server || die + + keepdir /var/lib/kumofs || die + + dodoc AUTHORS ChangeLog NEWS NOTICE README README.md doc/doc.*.md || die +} diff --git a/net-misc/kumofs/metadata.xml b/net-misc/kumofs/metadata.xml new file mode 100644 index 000000000000..7221ae7341e6 --- /dev/null +++ b/net-misc/kumofs/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>maintainer-needed@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">etolabo/kumofs</remote-id> + </upstream> +</pkgmetadata> |