summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster/swift')
-rw-r--r--sys-cluster/swift/Manifest15
-rw-r--r--sys-cluster/swift/files/swift-1.5.0-client-authv2.patch22
-rwxr-xr-xsys-cluster/swift/files/swift-proxy-server.initd64
-rw-r--r--sys-cluster/swift/files/swift-storage-server.confd5
-rwxr-xr-xsys-cluster/swift/files/swift-storage-server.initd60
-rw-r--r--sys-cluster/swift/swift-1.5.0.ebuild52
-rw-r--r--sys-cluster/swift/swift-9999.ebuild48
7 files changed, 0 insertions, 266 deletions
diff --git a/sys-cluster/swift/Manifest b/sys-cluster/swift/Manifest
deleted file mode 100644
index ceb8496..0000000
--- a/sys-cluster/swift/Manifest
+++ /dev/null
@@ -1,15 +0,0 @@
-AUX swift-1.5.0-client-authv2.patch 866 RMD160 60577406c1dc2f44cfddd0a1d7f86039c732a746 SHA1 081e4cf2243a68110c9bfbfec3653caaedcca78b SHA256 e7d422ccc5cbfcd19acf65727b62a8e5a4295ca081abfd0bae1893ff8bee4742
-AUX swift-proxy-server.initd 1491 RMD160 3e7869beb28f32106385cfff211e494a6dffd0d3 SHA1 54059efecf34bda8acb9ceb01f0c3ee20b109fa3 SHA256 6c6de4c0f320ad23f337b2df57db3f457f4ad90731f4f458ad37861baa3a34fd
-AUX swift-storage-server.confd 182 RMD160 6b0a6c3c539c06af077932cfc5ca4d33640413ec SHA1 90cf5c560e7e1a3b6c5c3ebd0bccbef74de939f5 SHA256 4a6d5cecadcf3e915ff88266b99b3d9c008daf88d0a940753be590eb4271c4d1
-AUX swift-storage-server.initd 1497 RMD160 c0ae10d9946413ab6ec9eed75339c60032d22092 SHA1 64ea41e023d188b5fa4c9739689953c9d4ace191 SHA256 1026950280b5e9894a8b81f81a8b3ecc09aeaec79a61fb3a228cc10a58eeba41
-DIST swift-1.4.3.tar.gz 355583 RMD160 5eeedc56647596baa07866c00e2c63f9f5b656d7 SHA1 1a1e7b49568251fbb4f45bee9f58b60c52e03caf SHA256 1638e8c0806b54aabfe58a3a618c5af33a9830ada7c2e820e9abdbbcda0e4da2
-DIST swift-1.4.5.tar.gz 391111 RMD160 09f74ff6afbb88bd1aed2888c5e40cf0b0eb6291 SHA1 cb74a1dffd49d3fb49861cce6fdab531f9e2ed19 SHA256 d6b1501f7ab6c53a361823211d576f1a7d4c81f14069919e3a33f581707c6451
-DIST swift-1.4.7.tar.gz 416927 RMD160 0607287549fd0a05e1b6eb5cd78f1c40daa74239 SHA1 00ef158427c35c7e2541e60b74fe4360c8c18e3f SHA256 7c72be0e0ae3e6db44764120b9e03eb0b5769a2ecd5c8bd79b216ca591c80360
-DIST swift-1.4.8.tar.gz 421496 RMD160 d4eab57d851c18ecfa8e016b64ceb82ff7a03823 SHA1 44d8d9cd96b94d80097eab34da6d1ed7268bb693 SHA256 9663dcf984725d31684291339c42892ab727aff83bfd8eb05169bb881806e7e4
-DIST swift-1.5.0.tar.gz 458825 RMD160 47c2daa47498732efc6f771c8587b21b674f11f1 SHA1 c77a12368b6be34752228db0f658aba02de8a1d5 SHA256 7edcc240609df677c9763867a2ec40711114190688e338b1a2b2dab4caca3844
-EBUILD swift-1.4.3.ebuild 650 RMD160 ddc210e288decd3180a64b2b0f313cc95b1c5405 SHA1 393eb54c73a872dbba87578327ee192fc5c176c3 SHA256 b6968a3c33be6bea6f9df464f992d982face1468fd73f4ea2b79baeb5ecb2443
-EBUILD swift-1.4.5.ebuild 1129 RMD160 b9e7240a3b85fe0dc2879beda1c30f75cd48da77 SHA1 87893f36cb7142301352f88429ae480725f2fba6 SHA256 391aa1bcf7b3aaeb54a0f164eaa8e01ae6a0d310ad7d682a468560de0a4e3bfa
-EBUILD swift-1.4.7.ebuild 1129 RMD160 b9e7240a3b85fe0dc2879beda1c30f75cd48da77 SHA1 87893f36cb7142301352f88429ae480725f2fba6 SHA256 391aa1bcf7b3aaeb54a0f164eaa8e01ae6a0d310ad7d682a468560de0a4e3bfa
-EBUILD swift-1.4.8.ebuild 1129 RMD160 b9e7240a3b85fe0dc2879beda1c30f75cd48da77 SHA1 87893f36cb7142301352f88429ae480725f2fba6 SHA256 391aa1bcf7b3aaeb54a0f164eaa8e01ae6a0d310ad7d682a468560de0a4e3bfa
-EBUILD swift-1.5.0.ebuild 1203 RMD160 74fa282bfc101f21bc6400f8b1e7c2898a77b516 SHA1 891e51570eec0df48d58533ff114c156c350e2c2 SHA256 7ac2a656d9bc9456d424bba2169ebdd723792938982e10c298a3de35e96bf9b9
-EBUILD swift-9999.ebuild 1149 RMD160 cd93c0c9c1c090fb9af8eecc881a7d676e46fd44 SHA1 fe21cf775640efaa6366649615ac874ab7697816 SHA256 6c64e83916d13a710fac48b74ae69af165d510477a2a80034c30520b7aff4b75
diff --git a/sys-cluster/swift/files/swift-1.5.0-client-authv2.patch b/sys-cluster/swift/files/swift-1.5.0-client-authv2.patch
deleted file mode 100644
index 5fd7072..0000000
--- a/sys-cluster/swift/files/swift-1.5.0-client-authv2.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- swift-1.5.0.org/swift/common/client.py 2012-06-19 12:40:25.000000000 +0200
-+++ swift-1.5.0/swift/common/client.py 2012-06-19 12:39:51.000000000 +0200
-@@ -187,6 +187,10 @@
-
-
- def _get_auth_v2_0(url, user, tenant_name, key, snet):
-+ if not tenant_name and ':' in user:
-+ tenant_name, user = user.split(':', 1)
-+ if not tenant_name:
-+ raise ClientException('No tenant specified')
- body = {'auth': {'passwordCredentials':
- {'password': key, 'username': user},
- 'tenantName': tenant_name}}
-@@ -238,8 +242,6 @@
- if auth_version in ["1.0", "1"]:
- return _get_auth_v1_0(url, user, key, snet)
- elif auth_version in ["2.0", "2"]:
-- if not tenant_name:
-- raise ClientException('No tenant specified')
- return _get_auth_v2_0(url, user, tenant_name, key, snet)
-
-
diff --git a/sys-cluster/swift/files/swift-proxy-server.initd b/sys-cluster/swift/files/swift-proxy-server.initd
deleted file mode 100755
index 705d1e5..0000000
--- a/sys-cluster/swift/files/swift-proxy-server.initd
+++ /dev/null
@@ -1,64 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-#
-# Author: Cor Cornelisse <corcornelisse@gmail.com>
-
-depend() {
- need net
-}
-
-opts="reload"
-
-BASENAME=$(echo $SVCNAME | cut -d '-' -f 1)
-SERVERNAME=$(echo $SVCNAME | cut -c 7-)
-
-checkconfig() {
- if [ ! -r /etc/${BASENAME}/${SERVICENAME} ]; then
- eerror "No config file found: /etc/${BASENAME}/${SERVICENAME}"
- return 1
- fi
- return 0
-}
-
-
-start() {
- checkconfig || return $?
-
- ebegin "Starting ${SVCNAME}"
- start-stop-daemon --start --pidfile "/var/run/${BASENAME}/${SERVERNAME}.pid" \
- --exec /usr/bin/${BASENAME}-init -- ${SERVERNAME} start
- eend $? "Failed to start ${SVCNAME}"
-}
-
-stop() {
- checkconfig || return $?
-
- ebegin "Stopping ${SVCNAME}"
- start-stop-daemon --stop --pidfile "/var/run/${BASENAME}/${SERVERNAME}.pid" \
- --exec /usr/bin/${BASENAME}-init -- ${SERVERNAME} stop
- eend $? "Failed to stop ${SVCNAME}"
-}
-
-reload() {
- checkconfig || return $?
-
- ebegin "Reloading ${SVCNAME}"
- start-stop-daemon --exec /usr/bin/${BASENAME}-init -- ${SERVERNAME} reload
- eend $? "Failed to reload ${SVCNAME}"
-}
-
-restart() {
- checkconfig || return $?
-
- ebegin "Restarting ${SVCNAME}"
- start-stop-daemon --exec /usr/bin/${BASENAME}-init -- ${SERVERNAME} restart
- eend $? "Failed to restart ${SVCNAME}"
-}
-
-status() {
- start-stop-daemon --exec /usr/bin/${BASENAME}-init -- ${SERVERNAME} status
- eend $? "Failed to get status for ${SVCNAME}"
-}
-
diff --git a/sys-cluster/swift/files/swift-storage-server.confd b/sys-cluster/swift/files/swift-storage-server.confd
deleted file mode 100644
index 8735b99..0000000
--- a/sys-cluster/swift/files/swift-storage-server.confd
+++ /dev/null
@@ -1,5 +0,0 @@
-SERVERS="account container object"
-
-ACCOUNTSERVICE="server replicator auditor"
-CONTAINERSERVICE="server replicator updater auditor"
-OBJECTSERVICE="server replicator updater auditor"
diff --git a/sys-cluster/swift/files/swift-storage-server.initd b/sys-cluster/swift/files/swift-storage-server.initd
deleted file mode 100755
index 58d1251..0000000
--- a/sys-cluster/swift/files/swift-storage-server.initd
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-#
-# Author: Cor Cornelisse <corcornelisse@gmail.com>
-
-depend() {
- need net
-}
-
-BASENAME=$(echo $SVCNAME | cut -d '-' -f 1)
-
-checkconfig() {
- if [ ! -r /etc/${BASENAME}/${BASENAME}.conf ]; then
- eerror "Missing required config file: /etc/${BASENAME}/${BASENAME}.conf"
- return 1
- fi
- for server in ${SERVERS}; do
- if [ ! -r /etc/${BASENAME}/${server}-server.conf ]; then
- eerror "Missing required config file: /etc/${BASENAME}/${SERVER}-server.conf"
- return 1
- fi
- done
- return 0
-}
-
-start() {
- checkconfig || return $?
-
- einfo "Starting all ${BASENAME} services:"
-
- for server in ${SERVERS}; do
- for service in $(eval "echo \$${server^^}SERVICE"); do
- ebegin "Starting $server-$service"
- start-stop-daemon --start --pidfile \
- "/var/run/${BASENAME}/$server-$service.pid" \
- --exec /usr/bin/${BASENAME}-init \
- -- $server-$service start
- eend $? "Failed to start $server-$service"
- done
- done
-}
-
-stop() {
- checkconfig || return $?
-
- einfo "Stopping all ${BASENAME} services:"
-
- for server in ${SERVERS}; do
- for service in $(eval "echo \$${server^^}SERVICE"); do
- ebegin "Stopping $server-$service"
- start-stop-daemon --stop --pidfile \
- "/var/run/${BASENAME}/$server-$service.pid" \
- --exec /usr/bin/${BASENAME}-init \
- -- $server-$service stop
- eend $? "Failed to stop $server-$service"
- done
- done
-}
diff --git a/sys-cluster/swift/swift-1.5.0.ebuild b/sys-cluster/swift/swift-1.5.0.ebuild
deleted file mode 100644
index 374639b..0000000
--- a/sys-cluster/swift/swift-1.5.0.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=3
-
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.*"
-
-inherit distutils eutils
-
-DESCRIPTION="Swift is a highly available, distributed, eventually consistent
-object/blob store"
-HOMEPAGE="https://launchpad.net/swift"
-SRC_URI="http://launchpad.net/${PN}/folsom/${PV}/+download/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="storage-server proxy-server"
-
-DEPEND="dev-python/setuptools"
-RDEPEND="${DEPEND}
- dev-python/netifaces
- dev-python/eventlet
- dev-python/webob
- dev-python/pastedeploy
- dev-python/pyxattr"
-
-# Can only use this when python.eclass is using EAPI4
-#REQUIRED_USE="|| ( storage-server proxy-server )"
-
-src_prepare() {
- epatch "${FILESDIR}/${P}-client-authv2.patch"
-}
-
-src_install()
-{
- distutils_src_install
-
- dodir "/var/run/swift"
-
- if use proxy-server; then
- newinitd "${FILESDIR}/swift-proxy-server.initd" swift-proxy-server
- fi
-
- if use storage-server; then
- newinitd "${FILESDIR}/swift-storage-server.initd" swift-storage-server
- newconfd "${FILESDIR}/swift-storage-server.confd" swift-storage-server
- fi
-}
diff --git a/sys-cluster/swift/swift-9999.ebuild b/sys-cluster/swift/swift-9999.ebuild
deleted file mode 100644
index 9b78a76..0000000
--- a/sys-cluster/swift/swift-9999.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=3
-
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.*"
-
-inherit git-2 distutils
-
-DESCRIPTION="Swift is a highly available, distributed, eventually consistent
-object/blob store"
-HOMEPAGE="https://launchpad.net/swift"
-EGIT_REPO_URI="https://github.com/openstack/swift.git"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="storage-server proxy-server"
-
-DEPEND="dev-python/setuptools"
-RDEPEND="${DEPEND}
- dev-python/netifaces
- dev-python/eventlet
- dev-python/webob
- dev-python/pastedeploy
- dev-python/pyxattr"
-
-# Can only use this when python.eclass is using EAPI4
-#REQUIRED_USE="|| ( storage-server proxy-server )"
-
-src_install()
-{
- distutils_src_install
-
- dodir "/var/run/swift"
-
- if use proxy-server; then
- newinitd "${FILESDIR}/swift-proxy-server.initd" swift-proxy-server
- fi
-
- if use storage-server; then
- newinitd "${FILESDIR}/swift-storage-server.initd" swift-storage-server
- newconfd "${FILESDIR}/swift-storage-server.confd" swift-storage-server
- fi
-}