diff options
author | Matt Thode <prometheanfire@gentoo.org> | 2013-10-29 05:30:05 +0000 |
---|---|---|
committer | Matt Thode <prometheanfire@gentoo.org> | 2013-10-29 05:30:05 +0000 |
commit | 333f987bf6a30028c8e047872883e1dd2598fa93 (patch) | |
tree | 1c2a4e46688296dc1cd5b73234104ab17225d25d /sys-cluster | |
parent | new keystone packages (diff) | |
download | historical-333f987bf6a30028c8e047872883e1dd2598fa93.tar.gz historical-333f987bf6a30028c8e047872883e1dd2598fa93.tar.bz2 historical-333f987bf6a30028c8e047872883e1dd2598fa93.zip |
adding swift-1.10.0
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0x2471EB3E40AC5AC3
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/swift/ChangeLog | 7 | ||||
-rw-r--r-- | sys-cluster/swift/Manifest | 30 | ||||
-rw-r--r-- | sys-cluster/swift/swift-1.10.0.ebuild | 126 |
3 files changed, 148 insertions, 15 deletions
diff --git a/sys-cluster/swift/ChangeLog b/sys-cluster/swift/ChangeLog index f71d705659fb..ded1a2a1bc2a 100644 --- a/sys-cluster/swift/ChangeLog +++ b/sys-cluster/swift/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-cluster/swift # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/swift/ChangeLog,v 1.16 2013/10/22 18:05:46 prometheanfire Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/swift/ChangeLog,v 1.17 2013/10/29 05:29:57 prometheanfire Exp $ + +*swift-1.10.0 (29 Oct 2013) + + 29 Oct 2013; Matthew Thode <prometheanfire@gentoo.org> +swift-1.10.0.ebuild: + adding swift-1.10.0 22 Oct 2013; Matthew Thode <prometheanfire@gentoo.org> swift-2013.2.9999.ebuild: diff --git a/sys-cluster/swift/Manifest b/sys-cluster/swift/Manifest index ee326a0319ab..73f8604fa761 100644 --- a/sys-cluster/swift/Manifest +++ b/sys-cluster/swift/Manifest @@ -7,29 +7,31 @@ AUX swift-account.initd 995 SHA256 f1d4594504b53de480abc69ccb72d37e002ad85118b9d AUX swift-container.initd 1007 SHA256 aba09a5e3396f79c5e49a258c283d37652e182ac62ef8952618ad32b4df1db86 SHA512 1202212955a6a0836abee2c8a2190e359c910037c2f38dbf6874253b21c0739548d9f48c75e3333d0d73376e35c43866b8d0dc38990d4d3b99c04efaab2407c2 WHIRLPOOL d1dc6e468fdd3ab616a53b5357dad09ef089927347a59b95961e7e6b395eec43dedef059fed8eed06f8f324ff0ec7121023953156dcf2266e00dc947aeb8da98 AUX swift-object.initd 989 SHA256 19a252739dca026435b0a861eea10ff76c22a41ec71d94cc6ce3dddd70b5df58 SHA512 1982f2f76df5d279c51a0a2fd5619dd12a6899559761ac7c0013aa5e5098058430e1a8dcc7cf46d5081bd6dffa17e4223de9b6a85bea4cddaf495b3ca91bacc9 WHIRLPOOL d2a16db387e6d3ff3452854672b5a9c64f03f485d3ddf7e2e67aa51dcb4aa4ab80fd375158dac99943f6c52fefc233cce503be26617110765fc859d82d6b01ab AUX swift-proxy.initd 1505 SHA256 8e1ee2051116e869f5e51de426d640c7f57278f1fc2681bd80ec9393fa834c92 SHA512 a030a5b8ceedb69f89fca93abdd08d9f527d2789ed9983f7cca616b4a318176f84913e1d01ed09d5a1a9e55bd0d697d501f5698ea5b3f8ccce7f76b95984dff1 WHIRLPOOL e8653ceb1e19fead4b0941d158661fe6e81d66c71f032aa1be7aa56dd839d43a82adb090a7e509142bfa9a341c49fdf82c8f86e3a9159be63b538b588cca6e66 +DIST swift-1.10.0.tar.gz 660633 SHA256 9a841225c3a00a93a15a160102d3f7116f2f1ba98ebffedfe641747844e14889 SHA512 7531f0c6c06be9a4cc2242a75140845474e176994667b60adb356945c78dfae4993f65dea55789735ac6e5a940353fd5188dab855a0fb91a844c5d26352efa68 WHIRLPOOL 63e7876a61010b3d14ad3b0703a8e1e8601b9824deca1745ac45e840fa9ca212269f5b7f24f2285bd65e2069f09be410d11d71eeac6df4d0204612f8c0f3d6e3 DIST swift-1.8.0.tar.gz 556736 SHA256 613185473e0c6f11c77bdc6b65efee195303268117afd9024fee82ebde6ed8a3 SHA512 c7eb92b7b6c952633ccc519f0b9125d1f95db548885c3ccdeaf872f1729797dde1525bcd6f87a8b094cf54c256e472d8d2b11e52954391b1636dc3c966152d37 WHIRLPOOL af4a841829e1d3c2ba85fae97cd2364bb16697f7bccc32a5c419a15946950dc32c95fb86fab40b35ae96f8b3203e450e93c9b8806df265522ac67667ebf5a75a DIST swift-1.9.1.tar.gz 631902 SHA256 d95a8a158cc0dce4780ab462efca13b63be2485ee93a9dc70788b3372f264537 SHA512 ffc06ab87d2696360ded346aff0d29191b6921ab7d3eed35107dc6d8a9bb163b87eebbce4f2521a31df318b0d38e19ceaa2b25f2f066dffb601f9507121b6382 WHIRLPOOL 6fe37fe01589e6c1c82f1e743c001511c2fff402c7731070515d05a3a59192e0069938857752d441b2729e04db3f0cbe9147c32393d33f6dd6583e49b732cdb9 +EBUILD swift-1.10.0.ebuild 4248 SHA256 933cf5d458c9c2d1b0ab55e3d6e16e1c645d9e855bbde23d9960c5ec2490d3ed SHA512 026a0d1b52e420d190562682e01f944d328716af4209492925bbea41eecc7b822606bfe2af058eb89d558d90e1ae4a3fcb7d3eabd6a740d717555d45d080b70c WHIRLPOOL 3e02b1375bfd6a0e7ecfe33d15c77e51fe9688a4f478644ca1c2a2a81db885e421ffd5221169f376b170be20b4e46bfc97051b5c6c2a39df852edd926395a551 EBUILD swift-1.8.0-r4.ebuild 4097 SHA256 0b93f2d969c5cc0ec68e5b6fba5823dcdf10b1224c3895c05a5f34fbb79f57da SHA512 eb9aa8db870848d0a6907354c4957d1ad12c1b587c915c067db1c246562ef2c5668b25ee44409ca38bf221d21b50f0459bb48a5e1fd7a222474c43f427937932 WHIRLPOOL 7e174225acda245670b80c072d32668d56a7b87c40e9af9631b8b96f7b2790027cd18a6c309b09c86eab38f93d1ba46a47bc03fd1385a1ad2f48ff0e4bafc5bd EBUILD swift-1.9.1.ebuild 4205 SHA256 8ad365cf33cc55416bc886764d1515de93935495abf71d83e5140f5eb8c3b398 SHA512 fa81f338a530ce6b4d2cfe4cf0dce366770ead58b54fb1dee8d49ce6fa55d0d91800ed72919f89d4359ed55628058a09f73e8a2b42d6804aa14112318c9772fe WHIRLPOOL 468d34660d706362550e8ce04715bf15d676d5823a3cb0afaf0ff21123c09423686a8d54c5679e70b8f2a98f95ca578fbca97ef905fed7810ef4d98dfbbdf21a EBUILD swift-2013.1.9999.ebuild 3982 SHA256 546ce682e57ae30d441cdd4185ff55b86a104f0d7c5fa192c12014180ecb8f22 SHA512 72bf81629a46e27a42703148ea16cb2791e8714a8e6f23955fc8a1921fb97255508758316e23ab7b6fdd3df1a572b8e4a7c37403ea8c9aaf783994764ae64f2b WHIRLPOOL c3c8942434d230d2f2815643024e6fdfc52044922225ed5c66bfa40e10b8d1872ea26a464e3ef45348fe2da97774dc4c6d07a1fb3c5a9f8b7c9f41a10124628b EBUILD swift-2013.2.9999.ebuild 4259 SHA256 4585d4819bc0eeffdd21b8172cbe7c4fa03c0e91aa9aaff0edfc6900f13ab299 SHA512 030c8af7d51367e498e3fba2edeebde828cd5be015892044649374c0d3e0e0eca72c56dfa170a332064e9323b7c57895317f9dfd89b12f00a884d3e9c2588cf1 WHIRLPOOL 6e3932b4715b02f0404dcad89c2a3d6486b9926b3dea87914c375f7012b79341aff2e7a2508117ea85747dd2df662e97d16529cccd34037338f8c0832ce6c4fd EBUILD swift-9999.ebuild 4027 SHA256 8354df3a77e2ef4af78d94eb787ae26d3af8627d42c4786338fbba229dc4d3aa SHA512 07d046b71410b3855aef2b26f201b5d3c40f7d64069670de206ff5d7fae418f3028b06a9dba02e05aae1615c5c57d9099b32b7e127c78341772f2eabfa30f427 WHIRLPOOL c916ddcea459a41fa2f80fe4a96ab467f25b11ba200fce74acd1c5ce1e6fa8ed92a7ef52cb1a546a498dd9e9407687bdb6d5f0e648d9d2cd732ab6450ac1daf3 -MISC ChangeLog 3385 SHA256 14a36cce2ee3766fe13fdf67064c5e53a7926ad9eb4dd0fc939c3f61191f92e7 SHA512 5d7738832f8474a6a1a4fa2d0db244363bf29f769153c835fcce7c48645065c1207f823017a33f8350a4d8e1f6112aa91eefb03588548f3a6141aa235c14ce69 WHIRLPOOL 19d704c73752c178c81912aea9d11cc07c35b06a10f3807a5616eebe60bb861654fce0c3c734ad1af12ce3ac83b82e0eae2f81ddbbc9cbebe941f0140de984a2 +MISC ChangeLog 3516 SHA256 d5c13301b937567f3a68df83847e748605a44cf7d7ff5f3679572107fed14030 SHA512 839d78505460980cc7c312eb95be7782564ab7cd71bd2614194b8a46b0a3cf43ecdc054fe4d444c6d9073c1322d19414e9e0a6e7aa70d0c68f9d710f5de840f2 WHIRLPOOL ed7e302da607012712ba3e6f50743cd973296134c9674da0dddc8e345ad4a81894f1ee650eb7ba39f079b83d9637cd4216d78ec10249a5b157d16732f1dd27cd MISC metadata.xml 694 SHA256 556c5cbba5f35997a06f1fb8225937b4d10d6c42540ea6263a58e8bdc27df514 SHA512 c23f67ab88832263600ee73a99ea4298043b11d397ea3375cd99e057af1d4d3dff397f510da1d5d6abb9b16cf6bca53c3fca0ea28c80627970a3da8f7076360d WHIRLPOOL f75febd6cc17191e3dab0dbe9a05f02c5bed3999549ae268968b39fc1fe0ccb62a47d881cd412bc14e67f5320a9fabb6d177359b936a62e219fe8362a18805c6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iQIcBAEBCAAGBQJSZr71AAoJECRx6z5ArFrDPbIP/RtigIDpfo11OhzBclYVD/OW -uH3QDbjS/d2Ecn2xNXLERALYA0B+KZY0rH5Za5mRF8so742AiDGqv73j+AuLzd8/ -/PGqAP1Ae4twDUEf7l1k6Xzn3NitENm3S1GTgH/LRe+SVzRJoPz3bENa6Xp+5tPj -UuJJLhakTyudeXzsZXuOhJPGSxPlU3b/KIApBQTuEVOyfp4YNZdtpLP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bAIgpBQkm +Ue+XAhcQe61XalxUrND7H34LmqcHAP2krJsH6f616YcfDJkM/Osl9L2pJ9l+pR6z +zEKTLe6mcDoG7C3kzGM8llWuGYfpCxQoFpltxAb3rDYZ+AqZ+TRpZAfxjePdkDSx +45njrd10VmAoDpm6x0Pq +=tO15 -----END PGP SIGNATURE----- diff --git a/sys-cluster/swift/swift-1.10.0.ebuild b/sys-cluster/swift/swift-1.10.0.ebuild new file mode 100644 index 000000000000..fbee073f8548 --- /dev/null +++ b/sys-cluster/swift/swift-1.10.0.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/swift/swift-1.10.0.ebuild,v 1.1 2013/10/29 05:29:57 prometheanfire Exp $ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 eutils linux-info + +DESCRIPTION="A highly available, distributed, eventually consistent object/blob store" +HOMEPAGE="https://launchpad.net/swift" +SRC_URI="http://launchpad.net/${PN}/havana/${PV}/+download/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="proxy account container object test +memcache" +REQUIRED_USE="|| ( proxy account container object )" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/pbr-0.5.21[${PYTHON_USEDEP}] + <dev-python/pbr-1.0[${PYTHON_USEDEP}] + test? ( ~dev-python/pep8-1.4.5[${PYTHON_USEDEP}] + ~dev-python/pyflakes-0.7.2[${PYTHON_USEDEP}] + ~dev-python/flake8-2.0[${PYTHON_USEDEP}] + >=dev-python/hacking-0.5.6[${PYTHON_USEDEP}] + <dev-python/hacking-0.6[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/nosexcover[${PYTHON_USEDEP}] + dev-python/openstack-nose-plugin[${PYTHON_USEDEP}] + dev-python/nosehtmloutput[${PYTHON_USEDEP}] + ~dev-python/pep8-1.4.5[${PYTHON_USEDEP}] + >=dev-python/mock-0.8.0[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] )" + +RDEPEND=">=dev-python/dnspython-1.9.4[${PYTHON_USEDEP}] + >=dev-python/eventlet-0.9.15[${PYTHON_USEDEP}] + >=dev-python/greenlet-0.3.1[${PYTHON_USEDEP}] + >=dev-python/netifaces-0.5[${PYTHON_USEDEP}] + >=dev-python/pastedeploy-1.3.3[${PYTHON_USEDEP}] + >=dev-python/simplejson-2.0.9[${PYTHON_USEDEP}] + dev-python/pyxattr[${PYTHON_USEDEP}] + dev-python/python-swiftclient[${PYTHON_USEDEP}] + memcache? ( net-misc/memcached ) + net-misc/rsync[xattr]" + +CONFIG_CHECK="~EXT3_FS_XATTR ~SQUASHFS_XATTR ~CIFS_XATTR ~JFFS2_FS_XATTR +~TMPFS_XATTR ~UBIFS_FS_XATTR ~EXT2_FS_XATTR ~REISERFS_FS_XATTR ~EXT4_FS_XATTR +~ZFS" + +src_test () { + sh .unittests || die +} + +pkg_setup() { + enewuser swift + enewgroup swift +} + +src_prepare() { + sed -i 's/xattr/pyxattr/g' "${S}/swift.egg-info/requires.txt" + sed -i 's/xattr/pyxattr/g' "${S}/tools/pip-requires" +} + +python_install() { + distutils-r1_python_install + keepdir /etc/swift + insinto /etc/swift + + newins "etc/swift.conf-sample" "swift.conf" + newins "etc/swift-bench.conf-sample" "swift-bench.conf-sample" + newins "etc/rsyncd.conf-sample" "rsyncd.conf" + newins "etc/mime.types-sample" "mime.types-sample" + newins "etc/memcache.conf-sample" "memcache.conf-sample" + newins "etc/drive-audit.conf-sample" "drive-audit.conf-sample" + newins "etc/dispersion.conf-sample" "dispersion.conf-sample" + + if use proxy; then + newinitd "${FILESDIR}/swift-proxy.initd" "swift-proxy" + newins "etc/proxy-server.conf-sample" "proxy-server.conf" + if use memcache; then + sed -i '/depend/a\ + need memcached' "${D}/etc/init.d/swift-proxy" + fi + fi + if use account; then + newinitd "${FILESDIR}/swift-account.initd" "swift-account" + newins "etc/account-server.conf-sample" "account-server.conf" + fi + if use container; then + newinitd "${FILESDIR}/swift-container.initd" "swift-container" + newins "etc/container-server.conf-sample" "container-server.conf" + fi + if use object; then + newinitd "${FILESDIR}/swift-object.initd" "swift-object" + newins "etc/object-server.conf-sample" "object-server.conf" + newins "etc/object-expirer.conf-sample" "object-expirer.conf" + fi + + fowners swift:swift "/etc/swift" || die "fowners failed" +} + +pkg_postinst() { + elog "Openstack swift will default to using insecure http unless a" + elog "certificate is created in /etc/swift/cert.crt and the associated key" + elog "in /etc/swift/cert.key. These can be created with the following:" + elog " * cd /etc/swift" + elog " * openssl req -new -x509 -nodes -out cert.crt -keyout cert.key" +} + +#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 +#} |