diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2010-03-02 15:52:22 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2010-03-02 15:52:22 +0000 |
commit | 67e296c7fd2bf43d2003c8039f6d9e941b31cdd1 (patch) | |
tree | d0e4b0869a1163a02d823dad9611d97de3c74f80 /net-misc/kumofs | |
parent | clean up (diff) | |
download | historical-67e296c7fd2bf43d2003c8039f6d9e941b31cdd1.tar.gz historical-67e296c7fd2bf43d2003c8039f6d9e941b31cdd1.tar.bz2 historical-67e296c7fd2bf43d2003c8039f6d9e941b31cdd1.zip |
Initial import.
Package-Manager: portage-2.1.7.17/cvs/Linux x86_64
Diffstat (limited to 'net-misc/kumofs')
-rw-r--r-- | net-misc/kumofs/ChangeLog | 12 | ||||
-rw-r--r-- | net-misc/kumofs/Manifest | 30 | ||||
-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.3.1.ebuild | 37 | ||||
-rw-r--r-- | net-misc/kumofs/metadata.xml | 9 |
10 files changed, 184 insertions, 0 deletions
diff --git a/net-misc/kumofs/ChangeLog b/net-misc/kumofs/ChangeLog new file mode 100644 index 000000000000..39504391863e --- /dev/null +++ b/net-misc/kumofs/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for net-misc/kumofs +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/kumofs/ChangeLog,v 1.1 2010/03/02 15:52:22 matsuu Exp $ + +*kumofs-0.3.1 (02 Mar 2010) + + 02 Mar 2010; MATSUU Takuto <matsuu@gentoo.org> +kumofs-0.3.1.ebuild, + +files/kumo-gateway.confd, +files/kumo-gateway.initd, + +files/kumo-manager.confd, +files/kumo-manager.initd, + +files/kumo-server.confd, +files/kumo-server.initd, +metadata.xml: + Initial import. + diff --git a/net-misc/kumofs/Manifest b/net-misc/kumofs/Manifest new file mode 100644 index 000000000000..c38ee6a73812 --- /dev/null +++ b/net-misc/kumofs/Manifest @@ -0,0 +1,30 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX kumo-gateway.confd 168 RMD160 504792a7080171ca1375ed9adcc6f6901d8d7dd8 SHA1 0a316f6d0fbfd3ca68eb8275c202607b3665eb45 SHA256 39c10abe072c63229d640738995ff597997c2df9c794272d3fc456918f79ad22 +AUX kumo-gateway.initd 773 RMD160 b5c0de5bdc67282f52b67cf182b94aaa88188e2e SHA1 346f62d545984b30bff32400f8c0c28584bd2263 SHA256 35f3ea019bc1292aedcdc4a182609463c1db7a388d7f4fa0ac517cb9f06c5165 +AUX kumo-manager.confd 162 RMD160 e3cf7b1eb370c218cf84f25e3dbe0466f21f3b60 SHA1 d4314ff15638808fa66f602d7a486c48abf152b3 SHA256 842ac979bd2c98aa781007f1a6857b95fbdfba6e8fd1f589a472c7445e3020fa +AUX kumo-manager.initd 837 RMD160 2a8f13aa4663a00858493f9b057b3af2bf4a281d SHA1 7d1dc66b98f7f36794a7e7c593afcb32d822a255 SHA256 4db3250359f19f12e065d79725e1cbe3ba354129adbaa4df86eb18a4c5183c3d +AUX kumo-server.confd 243 RMD160 25244c07d5a5a8965d0abde99158fcd5e5cbd942 SHA1 fa0793aa98aa84b118995b8d7acbd64a150be4be SHA256 7352e404b2d48e0cd424158f8f137c655e9dd05f719edd0f31bdb4b327e46e8f +AUX kumo-server.initd 834 RMD160 6a0c6e796a276932bd215c791986f3fe8cb0f8f9 SHA1 4655de44f5f40d15e6af1577009414b43fcaf9da SHA256 08e6a14d213ef3b26c87fe6c8c2307ad8ba9181a5c10e034eba3c5d55b24a594 +DIST kumofs-0.3.1.tar.gz 515902 RMD160 90842daec3740c35c2aae10b95a480eebe7cdf85 SHA1 342b3f77978d2015a8eb11ddaac85e644f04b19e SHA256 cfba3e487194da59744669b2b7ee12e4d6e94b0007be98ef1096c375ab93c070 +EBUILD kumofs-0.3.1.ebuild 1185 RMD160 793d053e937dd3fe7b443f94e8ed22e0120a33a3 SHA1 cb2b007945d77efdc3e430250c4d4679f4bd5490 SHA256 e98d2c496a61e56f203ed0cae6455f3d7cb7b0e100bd3c374224905439a0d210 +MISC ChangeLog 503 RMD160 8320fb59205a4fc063e521c9f925796912cfb9f6 SHA1 a8f379af8d495ba2ff3203662378d901181b950f SHA256 60d85d5a6d3a685322eed34aa52acac60b88554ccd272db1486309daa8653157 +MISC metadata.xml 221 RMD160 ca5e46f2e947fcae430e49859acaa4b25ab9d4b4 SHA1 b7f58eb04a9aceeb67104c0b81719e6e97da97f4 SHA256 138123f5d6199cbcc391346419b7b81d3ae9153c17670b18c540ff75a2287371 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.14 (GNU/Linux) + +iQIcBAEBAgAGBQJLjTRCAAoJECaGw+YFKA1paoYP/1urA8DfceWjn8Gt5qtJVYwS +7VkvWDjdYQncScc4rpKkeXFs9+FwhBRDLJgmH6Wn81q+tFZ+R4nLE9lHBMBdlJbY +JgDXzk4/zE0wMDitajXjI9yGWZCePLeptojnOFn8MS7OxT59WeT5x4sDy7rYw7eB +usZ+JdZrfcNb3fhdEkM4MeFoawDJl3h2JGWiI+7MqZ1G4iG9vHUZXsnS58O+GY7D +AclwIkOxg9f3B2yZSIKafoVppXQWZeDuZ6+myVxX4GY7oLpH8Xw+9/CnjdjaPzrT +VbtcDOpAr2pqh4hePiOp7Sa3WSOOAtEpnWo2cqoUMnVQ234sBmIqFm+aot2KhHqv +N/moPDVrY0Cdv8eMIKWRyrW4yU3n/YcVKzV2+Zk43WDbnVf2KIEgKvPjRuqrnW2N +mDSnBP8VLmHMswIutuGvvL2uyhxu3gBNQHzocPOoTwFhSILC6UygBQqy6qBsjMcE +Qr1T0TiSnErC09ax348HBisQHRtSbjDKKL5Cms0QWfJ0Ec+51GcnNpo5461HwaLv +wgzdNXrd5DExvu/myHdUgT90k5tfHaTSb4iB7qaO0QfOWi/vOS8q/GnjIXOGpPxy +KhnuCRD8DJgY0L/MDSbdcVrYy8VoBUCuck/uOZOcOJ/ZwHd+yYc6GUcBdVtHfjU8 +BEIYm0pv9K2qZmtN+/wy +=Qp0h +-----END PGP SIGNATURE----- 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..640e68ea516a --- /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 +# $Header: /var/cvsroot/gentoo-x86/net-misc/kumofs/files/kumo-gateway.initd,v 1.1 2010/03/02 15:52:20 matsuu Exp $ + +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..7d1987e8b9df --- /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 +# $Header: /var/cvsroot/gentoo-x86/net-misc/kumofs/files/kumo-manager.initd,v 1.1 2010/03/02 15:52:20 matsuu Exp $ + +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..ccae6ae73dee --- /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 +# $Header: /var/cvsroot/gentoo-x86/net-misc/kumofs/files/kumo-server.initd,v 1.1 2010/03/02 15:52:20 matsuu Exp $ + +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.3.1.ebuild b/net-misc/kumofs/kumofs-0.3.1.ebuild new file mode 100644 index 000000000000..d98c1689db4e --- /dev/null +++ b/net-misc/kumofs/kumofs-0.3.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/kumofs/kumofs-0.3.1.ebuild,v 1.1 2010/03/02 15:52:22 matsuu Exp $ + +EAPI="2" + +DESCRIPTION="a scalable and highly available distributed key-value store" +HOMEPAGE="http://github.com/etolabo/kumofs" +SRC_URI="http://cloud.github.com/downloads/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..5b14597b8ad0 --- /dev/null +++ b/net-misc/kumofs/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> +<email>matsuu@gentoo.org</email> +</maintainer> +</pkgmetadata> + |