diff options
author | Matt Thode <prometheanfire@gentoo.org> | 2015-02-08 02:22:24 +0000 |
---|---|---|
committer | Matt Thode <prometheanfire@gentoo.org> | 2015-02-08 02:22:24 +0000 |
commit | 9f2665ab6c9ed17820973ba553baaf8c9c30e241 (patch) | |
tree | ebfcf73385eb0f1e4f52190d1106d22c1a689835 /sys-cluster | |
parent | bup (diff) | |
download | historical-9f2665ab6c9ed17820973ba553baaf8c9c30e241.tar.gz historical-9f2665ab6c9ed17820973ba553baaf8c9c30e241.tar.bz2 historical-9f2665ab6c9ed17820973ba553baaf8c9c30e241.zip |
bup
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Manifest-Sign-Key: 0x33ED3FD25AFC78BA
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-2.2.2.ebuild | 121 |
3 files changed, 143 insertions, 15 deletions
diff --git a/sys-cluster/swift/ChangeLog b/sys-cluster/swift/ChangeLog index d447df8e1dc2..d52631ff08b0 100644 --- a/sys-cluster/swift/ChangeLog +++ b/sys-cluster/swift/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-cluster/swift # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/swift/ChangeLog,v 1.36 2015/01/13 03:24:49 prometheanfire Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/swift/ChangeLog,v 1.37 2015/02/08 02:22:19 prometheanfire Exp $ + +*swift-2.2.2 (08 Feb 2015) + + 08 Feb 2015; Matthew Thode <prometheanfire@gentoo.org> +swift-2.2.2.ebuild: + bup 13 Jan 2015; Matthew Thode <prometheanfire@gentoo.org> -files/CVE-2013-2161.patch, -files/CVE-2014-0006-havana.diff, diff --git a/sys-cluster/swift/Manifest b/sys-cluster/swift/Manifest index 3d28fae7f8e3..a234dcf60a0f 100644 --- a/sys-cluster/swift/Manifest +++ b/sys-cluster/swift/Manifest @@ -6,24 +6,26 @@ AUX swift-container.initd 1007 SHA256 aba09a5e3396f79c5e49a258c283d37652e182ac62 AUX swift-object.initd 989 SHA256 19a252739dca026435b0a861eea10ff76c22a41ec71d94cc6ce3dddd70b5df58 SHA512 1982f2f76df5d279c51a0a2fd5619dd12a6899559761ac7c0013aa5e5098058430e1a8dcc7cf46d5081bd6dffa17e4223de9b6a85bea4cddaf495b3ca91bacc9 WHIRLPOOL d2a16db387e6d3ff3452854672b5a9c64f03f485d3ddf7e2e67aa51dcb4aa4ab80fd375158dac99943f6c52fefc233cce503be26617110765fc859d82d6b01ab AUX swift-proxy.initd 1505 SHA256 8e1ee2051116e869f5e51de426d640c7f57278f1fc2681bd80ec9393fa834c92 SHA512 a030a5b8ceedb69f89fca93abdd08d9f527d2789ed9983f7cca616b4a318176f84913e1d01ed09d5a1a9e55bd0d697d501f5698ea5b3f8ccce7f76b95984dff1 WHIRLPOOL e8653ceb1e19fead4b0941d158661fe6e81d66c71f032aa1be7aa56dd839d43a82adb090a7e509142bfa9a341c49fdf82c8f86e3a9159be63b538b588cca6e66 DIST swift-2.2.0.tar.gz 996021 SHA256 be3bc94faf57af64f689bbe65855624ea711ada1eaf55d234a0536d76b3065f7 SHA512 606eaa777dea842588d59b3e751e346d144fa82312c40d62e7158f148da364686d29524fc7f5f1b3b9b3aab88332fa4a0515bb2fba5bcd310a2a0aa8572beaf6 WHIRLPOOL 8922e70afc797664e1aa70b5d43493c92ca7c44c3143fe028474b796cb76724b502db3d95a885e7c3bf427e1313a32c14844c103d9a260a841cb21d7637ad355 +DIST swift-2.2.2.tar.gz 1038850 SHA256 d97ff8e3c1381611ca2f9cd3eb13000e3339166e06d67ec079ce9ec958d1a088 SHA512 5abe34679305df18dabf49e6e9a6ddf7b890718a4586b1a33cadf0eb47412861a4af53d6124d2a238e463603d11b134a5afa2867939cb3cea49774ae9601d8e6 WHIRLPOOL 57f7364c0e2fa9094837b7127d4380df52a263150be05d84142e1d1256911d0466e7098a7f2a0380b087fb5da313d5a65a973f42b1e39bc102be46f21000c8ef EBUILD swift-2.2.0.ebuild 4118 SHA256 1b8fff08bd913c6b75c9484cdf54549530d155d106b2c1c1577f17f95432e8e5 SHA512 def7126e0817d2445b3b68ed61a353db13656cff35a9893477d57613382a59fcf4cb618fcfe4b254c8dd6fe6ebce4e4ea87df00c90a907285b2c04a3da06315a WHIRLPOOL 42c139e41ffc6f6362a4753804fe48f0d1d57221d913723cffa7482c491e18a5bc1c350726d7af9400fb1d08ec881583b7f33e363f56c5a66be10a5e0221bcf1 +EBUILD swift-2.2.2.ebuild 4103 SHA256 1974dc128edfea7689181afdba7249ad70ab9c36b43a686e94b592993e53da6f SHA512 4f8c48b1081b4d6674be38fe617de46b7b794b4ce5bf748f772271ce66ff9ec1aa95b474dfa60d6e753fa469059a8363101299e474bcc0c951820bba94025f75 WHIRLPOOL f86c76898e5993b400f6e5f0ef96dea97b69ed3a997eb5b996803fe605d5b9ef0a0a9f96d2666d4381b74ec8a630e3b3603dd0d465fb0816f319fc0f59ebbef1 EBUILD swift-9999.ebuild 3995 SHA256 0e9b13e7327e541b2afd5cce0b25118452d2df36a0b00355b4a1bf78af07ea8f SHA512 b9dfadc3a915c5c24c6ed34415023f06ce0e736f5a892b8266311eb79a7c81f722750f5356aa7fbf2709594517df61fd1c78cb6816b98bc8f15efdfb16f73f61 WHIRLPOOL 9319a30f1c3320a81fb6c13770ca7852f2eda5f1d589a3c6d02d9c4154af6d35d6c5609a86affaf602f15774dcb4302b12ee29aa64420a114630b321ed9b194b -MISC ChangeLog 6734 SHA256 c2f4a2e3f37dfdce5e54485277fe7b0eb406bfc235f40eb75e9161fdd80d92f5 SHA512 83751e4da2b487df1fd4e5b2a0213a4c47325bcfe3d4eb34b746426c1125dd7f1606ec73e0f1a6c1264e99087a950464f04f4e08ecab7f944fd17449f1458704 WHIRLPOOL 4031458db03e811b82c82095078f93d1594d92804a383f65806a04ac3aebc86b2445453f2223e5068b0a8a995a2458d9542b3021c27b4205aa1cbea4bca5d7e3 +MISC ChangeLog 6847 SHA256 a32e6ccb34ea6c4ca94b22578006f3446d45fba7255793ca5bf5c42209999e23 SHA512 83576e9d9d6fcceb137b9377e3562a00ca65cbdeca0feeabc1f0ccd65849b96b9203de75c02fbeb6189e42530dd74b7c5cef9b651da6283dd42e62c3c27ebf1d WHIRLPOOL 088add2774b713846fc1114b34ae3c5c0929be514a6e672431194495ecd14d645230f65c9cb56aa0549dfcb0dbd18a1f546ebba721dd761c04a6491d20b5b6f8 MISC metadata.xml 718 SHA256 3b5950b308bb7bff9c0b1e1df0ec6d2616a42225c6a60f8d23f8774cf3dcb0d8 SHA512 e86d128b5c6ccacfcb8032d33cc1a7e00ecfaa1d0e1fe325ef067f0073a5d411e27e84f89e7f843a7d242d8aca2163978f08f71f91bef43675adb5156d4716df WHIRLPOOL 8fdfc74a8b54c32edc06618e7ac59227a79ab24b32ee8757f14cd2dbed49786422bed58b4dce1808397856604027d0a148f74bb0d0e97cbaa232030fb93e0454 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQIcBAEBCAAGBQJUtJAKAAoJEGSje+quGaTozWcP/jqULHHk+rPbdVcyeVwMfchg -4tRtlH/0bWKLIEZa/XVu4usiIXy/SgrGrNZNJl4LJc3U4CfEOuyQH3+czea4WIs+ -QhhxJLw47XHwyZcFFOg7tQUCn7x5/Ltjb2BgZpbwR6XShKciEdzQifZI2x6PZmgD -TtuSXfPF3Jw/yYgEJQvmo7UMXgyHnbH8/NpXgAfqjjT4qo8iuD+zFWEhqf1b4f/A -ha6S7L6pYg/z69HIf5hvV0V712PV85cBcdgtmhwe06SXBzqxbB7mqNeggiacNDr1 -gFU5tQkEOCfzdugipJs/5VZoGooWi+vLPEWfoyz5pm+DzqyjjcZdIdhBPfMlfJKV -n+MXlDnb41ZlYlCbarq/XBQ133YCJhO/H7z9029BZxxHWdkzngcfa3/qqEk6CBoC -xp5ZZYL39V6l0AModTTdt80sUqPf4vYpvBkDGePExwmoXIqmlpKDySvf29fAFvbF -7dVK/ZzzKrgxbz7tzJccch8MD0SnAdssq8Ky8XzeEe5lgpHcrfGT+fr2enHdfow/ -HTXMm/6kawqYJPptWpBjV9ociZhobuNz3T8bEdkb1/fuzVB2aSA+hUyEoe2DFDip -1xv4H1zM362rt8rXT10euEL4XwJjbr0F09y/o7dQNzZsxGUvwakdlZZcBtbRAOtd -Pg317aV76tWODjjxwRmb -=hNKt +iQIcBAEBCAAGBQJU1sh3AAoJEGSje+quGaTockkP/R7gNG5aNYCdsCsbW3QuEyXv +LxkRiHclmsreTD9/CZSzZCcXvZH/nXFc3SvU1UK8NdcZ2june6SrWBbNVTHmcKfj +o7cuMudW/n3a/nBCVChrRWY59xZ4HEEreuVuFoZRL3NHO8uQtD7QNFroH9ywxTi7 +x0QA6pm6qCoXgdu7R5xEbVUrlIM0OX+4usE/QmyfqPQGOU1bb7JcG0NJA0h1u2aq +2PVuOtgBAUKcGFochb/fNHoSGkTKAn+SAsMOteaR43/Ax+q42tPQJanSX+WbJzHB +muNXliv8ltnWupBPVh3pMtnET2sznYgEX/qhFVWViB0lLYEXeSNuHNYYQ3W5t6+J +a5eyrWXOm44NUCEH7g6T9tNOo+05CA3GC9WquY1/j/CH0ZBK8YHgwkMoY8MGk5T+ +7WHQdzDMPiFreQUdr9EQAsNa+4QTqPP0ky5AewQ5mmULQNv3EkX3NQb7zEUynXwa +c+TAd+7qqssl+LfV8nJcvxXkwDzjzaw9o5H4KLQ/f2S+wQptwbN1/bXeNK10TuaC +5N6p7OTkvkrIoOZhTkNohsl1yeIE2HKj/TxgSL48+lIYwyFk8O+4zY0h6r0ZR7Ea +Q6WCBkC6pQfUqZf0rDQPy0sF0WtK08uJqm0+UB7fuzrXZnzJpRz5w09Nc4O7Ie6y +2Rxs6Fl9jb+kWpeON9B9 +=lJVM -----END PGP SIGNATURE----- diff --git a/sys-cluster/swift/swift-2.2.2.ebuild b/sys-cluster/swift/swift-2.2.2.ebuild new file mode 100644 index 000000000000..b536d39ae886 --- /dev/null +++ b/sys-cluster/swift/swift-2.2.2.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/swift/swift-2.2.2.ebuild,v 1.1 2015/02/08 02:22:19 prometheanfire Exp $ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 eutils linux-info user + +DESCRIPTION="A highly available, distributed, eventually consistent object/blob store" +HOMEPAGE="https://launchpad.net/swift" +SRC_URI="http://launchpad.net/${PN}/kilo/${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.6.0[${PYTHON_USEDEP}] + <dev-python/pbr-1.0[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + >=dev-python/hacking-0.8.0[${PYTHON_USEDEP}] + <dev-python/hacking-0.9[${PYTHON_USEDEP}] + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/nosexcover[${PYTHON_USEDEP}] + dev-python/openstack-nose-plugin[${PYTHON_USEDEP}] + dev-python/nosehtmloutput[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] + <dev-python/sphinx-1.2[${PYTHON_USEDEP}] + dev-python/oslo-sphinx[${PYTHON_USEDEP}] + >=dev-python/mock-1.0[${PYTHON_USEDEP}] + dev-python/python-swiftclient[${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/netifaces-0.10.0[${PYTHON_USEDEP}] + !~dev-python/netifaces-0.10.1[${PYTHON_USEDEP}] + >=dev-python/pastedeploy-1.3.3[${PYTHON_USEDEP}] + >=dev-python/simplejson-2.0.9[${PYTHON_USEDEP}] + dev-python/pyxattr[${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" + +PATCHES=( +) + +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}/requirements.txt" + distutils-r1_python_prepare_all +} + +src_test () { + # https://bugs.launchpad.net/swift/+bug/1249727 + find . \( -name test_wsgi.py -o -name test_locale.py -o -name test_utils.py \) -delete || die + SKIP_PIP_INSTALL=1 PBR_VERSION=0.6.0 sh .unittests || die +} + +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" +} |