diff options
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/swift/ChangeLog | 7 | ||||
-rw-r--r-- | sys-cluster/swift/Manifest | 29 | ||||
-rw-r--r-- | sys-cluster/swift/swift-9999.ebuild | 117 |
3 files changed, 138 insertions, 15 deletions
diff --git a/sys-cluster/swift/ChangeLog b/sys-cluster/swift/ChangeLog index 8a50e4741275..f0e780a4a188 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.5 2013/04/10 16:24:16 prometheanfire Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/swift/ChangeLog,v 1.6 2013/04/11 07:20:00 prometheanfire Exp $ + +*swift-9999 (11 Apr 2013) + + 11 Apr 2013; Matthew Thode <prometheanfire@gentoo.org> +swift-9999.ebuild: + adding a 9999 version of swift *swift-1.8.0 (10 Apr 2013) diff --git a/sys-cluster/swift/Manifest b/sys-cluster/swift/Manifest index 86ef8f4b42ff..87afbd248b03 100644 --- a/sys-cluster/swift/Manifest +++ b/sys-cluster/swift/Manifest @@ -9,22 +9,23 @@ DIST swift-1.7.6.tar.gz 503775 SHA256 cf108786ecd0fbf1d2b7e422824d78210e17e93ec4 DIST swift-1.8.0.tar.gz 556736 SHA256 613185473e0c6f11c77bdc6b65efee195303268117afd9024fee82ebde6ed8a3 SHA512 c7eb92b7b6c952633ccc519f0b9125d1f95db548885c3ccdeaf872f1729797dde1525bcd6f87a8b094cf54c256e472d8d2b11e52954391b1636dc3c966152d37 WHIRLPOOL af4a841829e1d3c2ba85fae97cd2364bb16697f7bccc32a5c419a15946950dc32c95fb86fab40b35ae96f8b3203e450e93c9b8806df265522ac67667ebf5a75a EBUILD swift-1.7.6-r1.ebuild 3490 SHA256 ca008bcf74287cfb8e51399cff409f6984a6a9345f5d886f273f07617853d773 SHA512 5f07e6bcb9a30d2ab0010238c30ae9d7768c647f821ba8bd7a6c98a04375a03be2ee84df0973fb6e134a19e7d2b7a8e2e42ebe0692f4e07545db1c570289a2a8 WHIRLPOOL 59170a265dd285d49f0afd76b019899aa4891ec344c555270acf018d473277b0577891a36394e7f1e008dcce012a7865e7590b0f781a87625d76e3a64a826cff EBUILD swift-1.8.0.ebuild 3774 SHA256 23568ef0fbd3542e40f8d9eda96fdffb581c5b156789814659743871dba950b2 SHA512 72705f49e3d6c4cb753a65c873353a6550bd7602da265eaf6af90ed649faf85341ccbeb7d0f63d0c04c046af7a033e39b0a51cf1da3c5ea394e845e5be49b1b0 WHIRLPOOL e62b60b791d471ab2c2acafaf695224fe23f2c68d5aecce9d90385f8a0d18fcb0dc31de30e2827217ebd3d3cb861dd360c5c9c946301e6097b58089e06d919f9 -MISC ChangeLog 1066 SHA256 1eabb097600624e4a26df834640814194628807634e448ffa0c221e06e014d77 SHA512 5dac1a3f84fa3d5b03195b163b59988ed9f2cebf92b1f5a06d8fc8bde63929e8489281064d5bbe82af5456db6886dac28787ddd3ae23bfde9fa27e9aa1e0fab0 WHIRLPOOL fbc8dafc60d4e13618f9b2f88e4fcb41b8cf9b23a75fd539a7029637fa4d9d825f5b9ab4e1ddb7c75555291f5b4839b9f4e4223a5467a538f8bf94baf7e800bf +EBUILD swift-9999.ebuild 3750 SHA256 dc099fb18614d2f5cdc175b1116cca6f2ec5724d0ada67cb5f4676d993dc8f9b SHA512 99da95ed5736a9fcd31926905fd8f328687d17b1171f9d5223c768cfe540e392ae2c5fa08beb3996bee2827783c9c3723374049153815c22ce23855951a0ad39 WHIRLPOOL de65e9693634278da7f0ecf1481c4673c9fce74706bfa87a3f8ebcffee76e9bc898f9485b8e361bbd01d5c643111aa0d9098b6a5756328ae5ab31b9842f34a53 +MISC ChangeLog 1204 SHA256 42394ca287cc7a36acaaac57c940aa1d0495d7a8fd6e21a14aeadf081b7249c5 SHA512 4bab2e63aa5c8bccbd27042761afedfbfdcacd12654e6410c4be7095268e9f5eaaeb568f3816127b5dadf73fb8d8b29f43298aebc474066d10aee658bd8dc03b WHIRLPOOL 4e1279a2f56ce6aa917b16bda8067be1f64707fd0bc551ebe295f332d5132501e0f9e299e8f79259b73ab41d2fe0585df67af3a34ee5b74df372cdceb5994a4e MISC metadata.xml 694 SHA256 556c5cbba5f35997a06f1fb8225937b4d10d6c42540ea6263a58e8bdc27df514 SHA512 c23f67ab88832263600ee73a99ea4298043b11d397ea3375cd99e057af1d4d3dff397f510da1d5d6abb9b16cf6bca53c3fca0ea28c80627970a3da8f7076360d WHIRLPOOL f75febd6cc17191e3dab0dbe9a05f02c5bed3999549ae268968b39fc1fe0ccb62a47d881cd412bc14e67f5320a9fabb6d177359b936a62e219fe8362a18805c6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBCAAGBQJRZZJRAAoJECRx6z5ArFrDMoAQANIE1l5fMutfOFZWfFAV+R8G -k5anZjVJxFPl2w04NnZZsT3wYbh/FX+VZDvY6slSuFRJan+va710y+BBjXPF1TTa -DdgMICmDNzn7DsNG7T4K9iMuslp9efOLsWOSktYz87zUl35SHIU/zjFuvBWcROrU -/pjGWCS98yEP3fh6KqTcs9XZCqFo3xxZ+DYqlSJxbkuRwzFhG41HPEDKAdBpQFew -cpx4dygQApEKtHKWFGXfGc7sTd5pD3uvJs8xqFKMcZ57zjf6f+726HoK3wlmjCrn -BnlXZ4MG5hGj0kbfT2QQjMhlJnfLC9sv4iJWHX7/YoBf5pn8Mpr0q+R77C2YJoJp -/iE3YM5AqQPP2AUAn5c0F0WUaY/QN1Gz+7TmmB0pnfDYPJpBGED1wuzNnoL5R56Z -XACuJJCR/y9toD/81aEtVA5Wq98jvy2wnqwhDnpaP4rbeorXobOWz59ZP3U3FL5r -q5VdZN311TH1mfcheZirQRoUTG5Vo9HkGl9+6fXe4B6O2r3szpxDLU7ZTu4wk0GB -xdiBUDxFOk5zuKDDFJ8NbTjIl07D/Qv3MUI208WuU03TnaZq/vpcU0pwSFQ3lQA9 -vdk/UX5oRP/v+I1S2pLJdFtiDbLYqcYcNi9fv11RN82clMS1we22zKALQqqYu+Q3 -z4QFGZJBVHLHrvPJrY1B -=Lc3i +iQIcBAEBCAAGBQJRZmRIAAoJECRx6z5ArFrDlnUQALsW70vQTZKIyl0Fg2zEITLz +IWhZSJC5+DTk/vtzVshaTGfSpvg26yy4adECn3+oXavtTWyox3yjNzsSAXFRDAYL +L4bjaYznAdwub5DsCKnP0tKJ/pub2uLsAaGmCQLPLS5Z0Qsomw1r7HXdR4KWqzks +Sh8l3ANHMlSixtMUKG7OYbrBMEYi9wPebdK1SZ0SDvVsE1jdJysinc/TZWXHW7pW +NHHRl/XijxIFgYohXdfDRe6A/4IWqtkaAaAtCecOROBvzmcaF2e8RKeadQ+fbArZ +qJyGRTVEUGSBulaI7NBp2Fn4yNx/+eJ+2HXCCH32LwLXbkZ6cI34A/4MI7B84OK+ +VNApfTRpEcoOD7rI9knLy3ZxTngz+GOzjXmYaTdOnyDpe1Vrpkzw109OeNC6D/I1 +nTi80DeXpniyBPDEncTLa4xsLQuFnyNvYNc/nVoiF43TiFAIcTMEpfgYVjZXWcBA +rbgo3KizfhMII0n6CHU84VVYkxqguyCCJLTZHLkoR4VqHNZeP+JyO3nOpxmPb/dR +fAnNz4r5mwjMsAIIeYlmd2k/vOcpAR5GDOFRnYLhOXJXStyFmAGUu4Yap7kaP6uu +GKoJE+mqngRV09ksNUxkakNb5uhHubdfJVP6XsYPqwnqU3OFe4WqNc8UVaDa9oNN +r3YgchEva/mlKAW/9bLr +=l49S -----END PGP SIGNATURE----- diff --git a/sys-cluster/swift/swift-9999.ebuild b/sys-cluster/swift/swift-9999.ebuild new file mode 100644 index 000000000000..cd5fd35228bb --- /dev/null +++ b/sys-cluster/swift/swift-9999.ebuild @@ -0,0 +1,117 @@ +# 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-9999.ebuild,v 1.1 2013/04/11 07:20:00 prometheanfire Exp $ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 eutils git-2 linux-info + +DESCRIPTION="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="" +IUSE="proxy account container object test +memcache" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/nose[${PYTHON_USEDEP}] + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/nosexcover + dev-python/openstack-nose-plugin[${PYTHON_USEDEP}] + dev-python/nosehtmloutput[${PYTHON_USEDEP}] + =dev-python/pep8-1.3.3 + >=dev-python/mock-0.8.0[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] )" + +RDEPEND="dev-python/eventlet[${PYTHON_USEDEP}] + dev-python/greenlet[${PYTHON_USEDEP}] + dev-python/netifaces + dev-python/pastedeploy[${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_USEDEP}] + dev-python/pyxattr[${PYTHON_USEDEP}] + dev-python/configobj[${PYTHON_USEDEP}] + >=dev-python/webob-1.0.8[${PYTHON_USEDEP}] + <dev-python/webob-1.3[${PYTHON_USEDEP}] + dev-python/python-swiftclient[${PYTHON_USEDEP}] + memcache? ( net-misc/memcached ) + net-misc/rsync" + +REQUIRED_USE="|| ( proxy account container object )" + +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 +} + +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 +#} |