1 |
prometheanfire 13/07/02 14:34:42 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: swift-1.9.0.ebuild |
5 |
Log: |
6 |
version bump for swift for havana |
7 |
|
8 |
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3) |
9 |
|
10 |
Revision Changes Path |
11 |
1.10 sys-cluster/swift/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/swift/ChangeLog?rev=1.10&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/swift/ChangeLog?rev=1.10&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/swift/ChangeLog?r1=1.9&r2=1.10 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/swift/ChangeLog,v |
20 |
retrieving revision 1.9 |
21 |
retrieving revision 1.10 |
22 |
diff -u -r1.9 -r1.10 |
23 |
--- ChangeLog 14 Jun 2013 22:11:19 -0000 1.9 |
24 |
+++ ChangeLog 2 Jul 2013 14:34:42 -0000 1.10 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for sys-cluster/swift |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/swift/ChangeLog,v 1.9 2013/06/14 22:11:19 prometheanfire Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/swift/ChangeLog,v 1.10 2013/07/02 14:34:42 prometheanfire Exp $ |
30 |
+ |
31 |
+*swift-1.9.0 (02 Jul 2013) |
32 |
+ |
33 |
+ 02 Jul 2013; Matthew Thode <prometheanfire@g.o> +swift-1.9.0.ebuild, |
34 |
+ swift-1.7.6-r2.ebuild, swift-1.7.6-r3.ebuild, swift-1.8.0-r2.ebuild: |
35 |
+ version bump for swift for havana |
36 |
|
37 |
*swift-1.7.6-r3 (14 Jun 2013) |
38 |
*swift-1.8.0-r2 (14 Jun 2013) |
39 |
|
40 |
|
41 |
|
42 |
1.1 sys-cluster/swift/swift-1.9.0.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/swift/swift-1.9.0.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/swift/swift-1.9.0.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: swift-1.9.0.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2013 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/swift/swift-1.9.0.ebuild,v 1.1 2013/07/02 14:34:42 prometheanfire Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
PYTHON_COMPAT=( python2_7 ) |
55 |
|
56 |
inherit distutils-r1 eutils linux-info |
57 |
|
58 |
DESCRIPTION="A highly available, distributed, eventually consistent object/blob store" |
59 |
HOMEPAGE="https://launchpad.net/swift" |
60 |
SRC_URI="http://launchpad.net/${PN}/havana/${PV}/+download/${P}.tar.gz" |
61 |
|
62 |
LICENSE="Apache-2.0" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~x86" |
65 |
IUSE="proxy account container object test +memcache" |
66 |
|
67 |
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
68 |
test? ( dev-python/nose[${PYTHON_USEDEP}] |
69 |
dev-python/coverage[${PYTHON_USEDEP}] |
70 |
dev-python/nosexcover[${PYTHON_USEDEP}] |
71 |
dev-python/openstack-nose-plugin[${PYTHON_USEDEP}] |
72 |
dev-python/nosehtmloutput[${PYTHON_USEDEP}] |
73 |
=dev-python/pep8-1.4.5[${PYTHON_USEDEP}] |
74 |
>=dev-python/pyflakes-0.7.2[${PYTHON_USEDEP}] |
75 |
>=dev-python/flake8-2.0[${PYTHON_USEDEP}] |
76 |
>=dev-python/mock-0.8.0[${PYTHON_USEDEP}] |
77 |
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] )" |
78 |
|
79 |
RDEPEND=">=dev-python/eventlet-0.9.15[${PYTHON_USEDEP}] |
80 |
>=dev-python/greenlet-0.3.1[${PYTHON_USEDEP}] |
81 |
>=dev-python/netifaces-0.5[${PYTHON_USEDEP}] |
82 |
>=dev-python/pastedeploy-1.3.3[${PYTHON_USEDEP}] |
83 |
>=dev-python/simplejson-2.0.9[${PYTHON_USEDEP}] |
84 |
dev-python/pyxattr[${PYTHON_USEDEP}] |
85 |
>=dev-python/dnspython-1.10.0-r1[${PYTHON_USEDEP}] |
86 |
dev-python/python-swiftclient[${PYTHON_USEDEP}] |
87 |
memcache? ( net-misc/memcached ) |
88 |
net-misc/rsync[xattr]" |
89 |
# dev-python/configobj[${PYTHON_USEDEP}] |
90 |
# >=dev-python/webob-1.0.8[${PYTHON_USEDEP}] |
91 |
# <dev-python/webob-1.3[${PYTHON_USEDEP}] |
92 |
|
93 |
REQUIRED_USE="|| ( proxy account container object )" |
94 |
|
95 |
CONFIG_CHECK="~EXT3_FS_XATTR ~SQUASHFS_XATTR ~CIFS_XATTR ~JFFS2_FS_XATTR |
96 |
~TMPFS_XATTR ~UBIFS_FS_XATTR ~EXT2_FS_XATTR ~REISERFS_FS_XATTR ~EXT4_FS_XATTR |
97 |
~ZFS" |
98 |
|
99 |
PATCHES=( |
100 |
) |
101 |
# "${FILESDIR}/CVE-2013-2161.patch" |
102 |
|
103 |
src_test () { |
104 |
sh .unittests || die |
105 |
} |
106 |
|
107 |
pkg_setup() { |
108 |
enewuser swift |
109 |
enewgroup swift |
110 |
} |
111 |
|
112 |
src_prepare() { |
113 |
sed -i 's/xattr/pyxattr/g' "${S}/swift.egg-info/requires.txt" |
114 |
sed -i 's/xattr/pyxattr/g' "${S}/tools/pip-requires" |
115 |
distutils-r1_python_prepare_all |
116 |
} |
117 |
|
118 |
python_install() { |
119 |
distutils-r1_python_install |
120 |
keepdir /etc/swift |
121 |
insinto /etc/swift |
122 |
|
123 |
newins "etc/swift.conf-sample" "swift.conf" |
124 |
newins "etc/swift-bench.conf-sample" "swift-bench.conf-sample" |
125 |
newins "etc/rsyncd.conf-sample" "rsyncd.conf" |
126 |
newins "etc/mime.types-sample" "mime.types-sample" |
127 |
newins "etc/memcache.conf-sample" "memcache.conf-sample" |
128 |
newins "etc/drive-audit.conf-sample" "drive-audit.conf-sample" |
129 |
newins "etc/dispersion.conf-sample" "dispersion.conf-sample" |
130 |
|
131 |
if use proxy; then |
132 |
newinitd "${FILESDIR}/swift-proxy.initd" "swift-proxy" |
133 |
newins "etc/proxy-server.conf-sample" "proxy-server.conf" |
134 |
if use memcache; then |
135 |
sed -i '/depend/a\ |
136 |
need memcached' "${D}/etc/init.d/swift-proxy" |
137 |
fi |
138 |
fi |
139 |
if use account; then |
140 |
newinitd "${FILESDIR}/swift-account.initd" "swift-account" |
141 |
newins "etc/account-server.conf-sample" "account-server.conf" |
142 |
fi |
143 |
if use container; then |
144 |
newinitd "${FILESDIR}/swift-container.initd" "swift-container" |
145 |
newins "etc/container-server.conf-sample" "container-server.conf" |
146 |
fi |
147 |
if use object; then |
148 |
newinitd "${FILESDIR}/swift-object.initd" "swift-object" |
149 |
newins "etc/object-server.conf-sample" "object-server.conf" |
150 |
newins "etc/object-expirer.conf-sample" "object-expirer.conf" |
151 |
fi |
152 |
|
153 |
fowners swift:swift "/etc/swift" || die "fowners failed" |
154 |
} |
155 |
|
156 |
pkg_postinst() { |
157 |
elog "Openstack swift will default to using insecure http unless a" |
158 |
elog "certificate is created in /etc/swift/cert.crt and the associated key" |
159 |
elog "in /etc/swift/cert.key. These can be created with the following:" |
160 |
elog " * cd /etc/swift" |
161 |
elog " * openssl req -new -x509 -nodes -out cert.crt -keyout cert.key" |
162 |
} |
163 |
|
164 |
#src_install() |
165 |
#{ |
166 |
# distutils_src_install |
167 |
# |
168 |
# dodir "/var/run/swift" |
169 |
# |
170 |
# if use proxy-server; then |
171 |
# newinitd "${FILESDIR}/swift-proxy-server.initd" swift-proxy-server |
172 |
# fi |
173 |
# |
174 |
# if use storage-server; then |
175 |
# newinitd "${FILESDIR}/swift-storage-server.initd" swift-storage-server |
176 |
# newconfd "${FILESDIR}/swift-storage-server.confd" swift-storage-server |
177 |
# fi |
178 |
#} |