1 |
prometheanfire 14/04/28 01:22:27 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: swift-1.13.1.ebuild swift-2014.1.9999.ebuild |
5 |
Log: |
6 |
icehouse swift |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3) |
9 |
|
10 |
Revision Changes Path |
11 |
1.27 sys-cluster/swift/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/swift/ChangeLog?rev=1.27&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/swift/ChangeLog?rev=1.27&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/swift/ChangeLog?r1=1.26&r2=1.27 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/swift/ChangeLog,v |
20 |
retrieving revision 1.26 |
21 |
retrieving revision 1.27 |
22 |
diff -u -r1.26 -r1.27 |
23 |
--- ChangeLog 6 Apr 2014 05:30:17 -0000 1.26 |
24 |
+++ ChangeLog 28 Apr 2014 01:22:27 -0000 1.27 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for sys-cluster/swift |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/swift/ChangeLog,v 1.26 2014/04/06 05:30:17 prometheanfire Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/swift/ChangeLog,v 1.27 2014/04/28 01:22:27 prometheanfire Exp $ |
30 |
+ |
31 |
+*swift-1.13.1 (28 Apr 2014) |
32 |
+*swift-2014.1.9999 (28 Apr 2014) |
33 |
+ |
34 |
+ 28 Apr 2014; Matthew Thode <prometheanfire@g.o> +swift-1.13.1.ebuild, |
35 |
+ +swift-2014.1.9999.ebuild: |
36 |
+ icehouse swift |
37 |
|
38 |
*swift-1.13.0 (06 Apr 2014) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 sys-cluster/swift/swift-1.13.1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/swift/swift-1.13.1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/swift/swift-1.13.1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: swift-1.13.1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2014 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/swift/swift-1.13.1.ebuild,v 1.1 2014/04/28 01:22:27 prometheanfire Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
PYTHON_COMPAT=( python2_7 ) |
56 |
|
57 |
inherit distutils-r1 eutils linux-info user |
58 |
|
59 |
DESCRIPTION="A highly available, distributed, eventually consistent object/blob store" |
60 |
HOMEPAGE="https://launchpad.net/swift" |
61 |
SRC_URI="http://launchpad.net/${PN}/icehouse/${PV}/+download/${P}.tar.gz" |
62 |
|
63 |
LICENSE="Apache-2.0" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~x86" |
66 |
IUSE="proxy account container object test +memcache" |
67 |
REQUIRED_USE="|| ( proxy account container object )" |
68 |
|
69 |
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
70 |
>=dev-python/pbr-0.6.0[${PYTHON_USEDEP}] |
71 |
<dev-python/pbr-1.0[${PYTHON_USEDEP}] |
72 |
test? ( >=dev-python/hacking-0.8.0[${PYTHON_USEDEP}] |
73 |
<dev-python/hacking-0.9[${PYTHON_USEDEP}] |
74 |
dev-python/coverage[${PYTHON_USEDEP}] |
75 |
dev-python/nose[${PYTHON_USEDEP}] |
76 |
dev-python/nosexcover[${PYTHON_USEDEP}] |
77 |
dev-python/openstack-nose-plugin[${PYTHON_USEDEP}] |
78 |
dev-python/nosehtmloutput[${PYTHON_USEDEP}] |
79 |
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] |
80 |
<dev-python/sphinx-1.2[${PYTHON_USEDEP}] |
81 |
>=dev-python/mock-0.8.0[${PYTHON_USEDEP}] |
82 |
dev-python/python-swiftclient[${PYTHON_USEDEP}] )" |
83 |
|
84 |
RDEPEND=">=dev-python/dnspython-1.9.4[${PYTHON_USEDEP}] |
85 |
>=dev-python/eventlet-0.9.15[${PYTHON_USEDEP}] |
86 |
>=dev-python/greenlet-0.3.1[${PYTHON_USEDEP}] |
87 |
>=dev-python/netifaces-0.5[${PYTHON_USEDEP}] |
88 |
>=dev-python/pastedeploy-1.3.3[${PYTHON_USEDEP}] |
89 |
>=dev-python/simplejson-2.0.9[${PYTHON_USEDEP}] |
90 |
dev-python/pyxattr[${PYTHON_USEDEP}] |
91 |
memcache? ( net-misc/memcached ) |
92 |
net-misc/rsync[xattr]" |
93 |
|
94 |
CONFIG_CHECK="~EXT3_FS_XATTR ~SQUASHFS_XATTR ~CIFS_XATTR ~JFFS2_FS_XATTR |
95 |
~TMPFS_XATTR ~UBIFS_FS_XATTR ~EXT2_FS_XATTR ~REISERFS_FS_XATTR ~EXT4_FS_XATTR |
96 |
~ZFS" |
97 |
|
98 |
#PATCHES=( "${FILESDIR}/CVE-2014-0006-master.diff" ) |
99 |
|
100 |
pkg_setup() { |
101 |
enewuser swift |
102 |
enewgroup swift |
103 |
} |
104 |
|
105 |
src_prepare() { |
106 |
sed -i 's/xattr/pyxattr/g' "${S}/swift.egg-info/requires.txt" |
107 |
sed -i 's/xattr/pyxattr/g' "${S}/requirements.txt" |
108 |
distutils-r1_python_prepare_all |
109 |
} |
110 |
|
111 |
src_test () { |
112 |
# https://bugs.launchpad.net/swift/+bug/1249727 |
113 |
find . \( -name test_wsgi.py -o -name test_locale.py -o -name test_utils.py \) -delete || die |
114 |
SKIP_PIP_INSTALL=1 PBR_VERSION=0.6.0 sh .unittests || die |
115 |
} |
116 |
|
117 |
python_install() { |
118 |
distutils-r1_python_install |
119 |
keepdir /etc/swift |
120 |
insinto /etc/swift |
121 |
|
122 |
newins "etc/swift.conf-sample" "swift.conf" |
123 |
# newins "etc/swift-bench.conf-sample" "swift-bench.conf-sample" |
124 |
newins "etc/rsyncd.conf-sample" "rsyncd.conf" |
125 |
newins "etc/mime.types-sample" "mime.types-sample" |
126 |
newins "etc/memcache.conf-sample" "memcache.conf-sample" |
127 |
newins "etc/drive-audit.conf-sample" "drive-audit.conf-sample" |
128 |
newins "etc/dispersion.conf-sample" "dispersion.conf-sample" |
129 |
|
130 |
if use proxy; then |
131 |
newinitd "${FILESDIR}/swift-proxy.initd" "swift-proxy" |
132 |
newins "etc/proxy-server.conf-sample" "proxy-server.conf" |
133 |
if use memcache; then |
134 |
sed -i '/depend/a\ |
135 |
need memcached' "${D}/etc/init.d/swift-proxy" |
136 |
fi |
137 |
fi |
138 |
if use account; then |
139 |
newinitd "${FILESDIR}/swift-account.initd" "swift-account" |
140 |
newins "etc/account-server.conf-sample" "account-server.conf" |
141 |
fi |
142 |
if use container; then |
143 |
newinitd "${FILESDIR}/swift-container.initd" "swift-container" |
144 |
newins "etc/container-server.conf-sample" "container-server.conf" |
145 |
fi |
146 |
if use object; then |
147 |
newinitd "${FILESDIR}/swift-object.initd" "swift-object" |
148 |
newins "etc/object-server.conf-sample" "object-server.conf" |
149 |
newins "etc/object-expirer.conf-sample" "object-expirer.conf" |
150 |
fi |
151 |
|
152 |
fowners swift:swift "/etc/swift" || die "fowners failed" |
153 |
} |
154 |
|
155 |
pkg_postinst() { |
156 |
elog "Openstack swift will default to using insecure http unless a" |
157 |
elog "certificate is created in /etc/swift/cert.crt and the associated key" |
158 |
elog "in /etc/swift/cert.key. These can be created with the following:" |
159 |
elog " * cd /etc/swift" |
160 |
elog " * openssl req -new -x509 -nodes -out cert.crt -keyout cert.key" |
161 |
} |
162 |
|
163 |
|
164 |
|
165 |
1.1 sys-cluster/swift/swift-2014.1.9999.ebuild |
166 |
|
167 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/swift/swift-2014.1.9999.ebuild?rev=1.1&view=markup |
168 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/swift/swift-2014.1.9999.ebuild?rev=1.1&content-type=text/plain |
169 |
|
170 |
Index: swift-2014.1.9999.ebuild |
171 |
=================================================================== |
172 |
# Copyright 1999-2014 Gentoo Foundation |
173 |
# Distributed under the terms of the GNU General Public License v2 |
174 |
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/swift/swift-2014.1.9999.ebuild,v 1.1 2014/04/28 01:22:27 prometheanfire Exp $ |
175 |
|
176 |
EAPI=5 |
177 |
PYTHON_COMPAT=( python2_7 ) |
178 |
|
179 |
inherit distutils-r1 eutils git-2 linux-info user |
180 |
|
181 |
DESCRIPTION="A highly available, distributed, eventually consistent object/blob store" |
182 |
HOMEPAGE="https://launchpad.net/swift" |
183 |
EGIT_REPO_URI="https://github.com/openstack/swift.git" |
184 |
EGIT_BRANCH="stable/icehouse" |
185 |
|
186 |
LICENSE="Apache-2.0" |
187 |
SLOT="0" |
188 |
KEYWORDS="" |
189 |
IUSE="proxy account container object test +memcache" |
190 |
REQUIRED_USE="|| ( proxy account container object )" |
191 |
|
192 |
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
193 |
>=dev-python/pbr-0.6.0[${PYTHON_USEDEP}] |
194 |
<dev-python/pbr-1.0[${PYTHON_USEDEP}] |
195 |
test? ( >=dev-python/hacking-0.8.0[${PYTHON_USEDEP}] |
196 |
<dev-python/hacking-0.9[${PYTHON_USEDEP}] |
197 |
dev-python/coverage[${PYTHON_USEDEP}] |
198 |
dev-python/nose[${PYTHON_USEDEP}] |
199 |
dev-python/nosexcover[${PYTHON_USEDEP}] |
200 |
dev-python/openstack-nose-plugin[${PYTHON_USEDEP}] |
201 |
dev-python/nosehtmloutput[${PYTHON_USEDEP}] |
202 |
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] |
203 |
<dev-python/sphinx-1.2[${PYTHON_USEDEP}] |
204 |
>=dev-python/mock-0.8.0[${PYTHON_USEDEP}] |
205 |
dev-python/python-swiftclient[${PYTHON_USEDEP}] )" |
206 |
|
207 |
RDEPEND=">=dev-python/dnspython-1.9.4[${PYTHON_USEDEP}] |
208 |
>=dev-python/eventlet-0.9.15[${PYTHON_USEDEP}] |
209 |
>=dev-python/greenlet-0.3.1[${PYTHON_USEDEP}] |
210 |
>=dev-python/netifaces-0.5[${PYTHON_USEDEP}] |
211 |
>=dev-python/pastedeploy-1.3.3[${PYTHON_USEDEP}] |
212 |
>=dev-python/simplejson-2.0.9[${PYTHON_USEDEP}] |
213 |
dev-python/pyxattr[${PYTHON_USEDEP}] |
214 |
memcache? ( net-misc/memcached ) |
215 |
net-misc/rsync[xattr]" |
216 |
|
217 |
CONFIG_CHECK="~EXT3_FS_XATTR ~SQUASHFS_XATTR ~CIFS_XATTR ~JFFS2_FS_XATTR |
218 |
~TMPFS_XATTR ~UBIFS_FS_XATTR ~EXT2_FS_XATTR ~REISERFS_FS_XATTR ~EXT4_FS_XATTR |
219 |
~ZFS" |
220 |
|
221 |
#PATCHES=( "${FILESDIR}/CVE-2014-0006-master.diff" ) |
222 |
|
223 |
pkg_setup() { |
224 |
enewuser swift |
225 |
enewgroup swift |
226 |
} |
227 |
|
228 |
src_prepare() { |
229 |
sed -i 's/xattr/pyxattr/g' "${S}/swift.egg-info/requires.txt" |
230 |
sed -i 's/xattr/pyxattr/g' "${S}/requirements.txt" |
231 |
distutils-r1_python_prepare_all |
232 |
} |
233 |
|
234 |
src_test () { |
235 |
# https://bugs.launchpad.net/swift/+bug/1249727 |
236 |
find . \( -name test_wsgi.py -o -name test_locale.py -o -name test_utils.py \) -delete || die |
237 |
SKIP_PIP_INSTALL=1 PBR_VERSION=0.6.0 sh .unittests || die |
238 |
} |
239 |
|
240 |
python_install() { |
241 |
distutils-r1_python_install |
242 |
keepdir /etc/swift |
243 |
insinto /etc/swift |
244 |
|
245 |
newins "etc/swift.conf-sample" "swift.conf" |
246 |
# newins "etc/swift-bench.conf-sample" "swift-bench.conf-sample" |
247 |
newins "etc/rsyncd.conf-sample" "rsyncd.conf" |
248 |
newins "etc/mime.types-sample" "mime.types-sample" |
249 |
newins "etc/memcache.conf-sample" "memcache.conf-sample" |
250 |
newins "etc/drive-audit.conf-sample" "drive-audit.conf-sample" |
251 |
newins "etc/dispersion.conf-sample" "dispersion.conf-sample" |
252 |
|
253 |
if use proxy; then |
254 |
newinitd "${FILESDIR}/swift-proxy.initd" "swift-proxy" |
255 |
newins "etc/proxy-server.conf-sample" "proxy-server.conf" |
256 |
if use memcache; then |
257 |
sed -i '/depend/a\ |
258 |
need memcached' "${D}/etc/init.d/swift-proxy" |
259 |
fi |
260 |
fi |
261 |
if use account; then |
262 |
newinitd "${FILESDIR}/swift-account.initd" "swift-account" |
263 |
newins "etc/account-server.conf-sample" "account-server.conf" |
264 |
fi |
265 |
if use container; then |
266 |
newinitd "${FILESDIR}/swift-container.initd" "swift-container" |
267 |
newins "etc/container-server.conf-sample" "container-server.conf" |
268 |
fi |
269 |
if use object; then |
270 |
newinitd "${FILESDIR}/swift-object.initd" "swift-object" |
271 |
newins "etc/object-server.conf-sample" "object-server.conf" |
272 |
newins "etc/object-expirer.conf-sample" "object-expirer.conf" |
273 |
fi |
274 |
|
275 |
fowners swift:swift "/etc/swift" || die "fowners failed" |
276 |
} |
277 |
|
278 |
pkg_postinst() { |
279 |
elog "Openstack swift will default to using insecure http unless a" |
280 |
elog "certificate is created in /etc/swift/cert.crt and the associated key" |
281 |
elog "in /etc/swift/cert.key. These can be created with the following:" |
282 |
elog " * cd /etc/swift" |
283 |
elog " * openssl req -new -x509 -nodes -out cert.crt -keyout cert.key" |
284 |
} |