Gentoo Archives: gentoo-commits

From: Michael Weber <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/xmw:master commit in: sys-cluster/ceph/
Date: Wed, 04 Mar 2015 14:35:24
Message-Id: 1425479470.84fdff7c61d9575098d3ba52d9ab798ea96c00b8.xmw@gentoo
1 commit: 84fdff7c61d9575098d3ba52d9ab798ea96c00b8
2 Author: Michael Weber <michael <AT> xmw <DOT> de>
3 AuthorDate: Wed Mar 4 14:31:10 2015 +0000
4 Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 4 14:31:10 2015 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=dev/xmw.git;a=commit;h=84fdff7c
7
8 Ebuilds moved to tree
9
10 Package-Manager: portage-2.2.17
11 Manifest-Sign-Key: 62EEF090
12
13 sys-cluster/ceph/ChangeLog | 4 +
14 sys-cluster/ceph/Manifest | 8 +-
15 sys-cluster/ceph/ceph-0.80.8.ebuild | 137 --------------------------------
16 sys-cluster/ceph/ceph-0.87.1.ebuild | 152 ------------------------------------
17 4 files changed, 7 insertions(+), 294 deletions(-)
18
19 diff --git a/sys-cluster/ceph/ChangeLog b/sys-cluster/ceph/ChangeLog
20 index aa3e7ec..f33d759 100644
21 --- a/sys-cluster/ceph/ChangeLog
22 +++ b/sys-cluster/ceph/ChangeLog
23 @@ -1,3 +1,7 @@
24 + 04 Mar 2015; Michael Weber <xmw@g.o> -ceph-0.80.8.ebuild,
25 + -ceph-0.87.1.ebuild:
26 + Ebuilds moved to tree
27 +
28 *ceph-0.80.8 (03 Mar 2015)
29 *ceph-0.93 (03 Mar 2015)
30
31
32 diff --git a/sys-cluster/ceph/Manifest b/sys-cluster/ceph/Manifest
33 index f1e2801..ebf2cf9 100644
34 --- a/sys-cluster/ceph/Manifest
35 +++ b/sys-cluster/ceph/Manifest
36 @@ -1,13 +1,11 @@
37 -----BEGIN PGP SIGNED MESSAGE-----
38 Hash: SHA256
39
40 -DIST ceph-0.80.8.tar.bz2 4042112 SHA256 f0dbeada16333c50cd7f56f51eac87e7ba8cd22c42edccbd40576a23f813f725 SHA512 cb002a81a99462a05ef4db4bb5a8e09ec19b84c8041cab88c36e46d77fe512e57e1636f1aaa5aeb9fe03c4449816961cf9f82a183603fae99213e06dd519be6f WHIRLPOOL b6ee10a22e27ad7262ca0fc75ed1625a1f31218040411e723ef6872e5c13a5e0495eb179d8ff606305e8c04dafb4233cf5562e285427cd15200aac9d5ee8801f
41 -DIST ceph-0.87.1.tar.bz2 5834385 SHA256 a9a68ed58571af20fbbd7be4227dc71f5176eeb0713707ba3d8fddc00972b007 SHA512 d032f257506049cadd583c8c8b516667bc5a271060641d307cfd22b923e8038ff506ad06f38d84ce01dfdc877498322033cd08310927e60665d03b05119aeb1a WHIRLPOOL 0408a0d9aa5c78808568b09e505375d2ebd32e1ae307e1292c1389fc5e70a9a769ed9c54abebce96cb21b4e5cd828674268c8de6cecae72e20934b6d7ec5e8f1
42 DIST ceph-0.93.tar.bz2 7008770 SHA256 36174c47f52b0db1f0ee081a72040349052b07f477f2d97a2f5a2bf1727c0fe4 SHA512 3587deb4c38717d933f91ac4219317f0f36b71f08a0cb9698b2452a8427d7ace2b4a82a0883728d4c4990ccab1dd60cb911c4e1f380cb6241a1228ba89c7dfa3 WHIRLPOOL 5df04619f949674fad921c06dc401cbbfbcc5deb126c0f0b36f5e70a55dc4c7cb6384622c57327e4346c081f8648935d6b08840cb87cb3ac453731459f7ea60f
43 -----BEGIN PGP SIGNATURE-----
44 Version: GnuPG v2
45
46 -iF4EAREIAAYFAlT1bY4ACgkQknrdDGLu8JAevAD+OE2Cox1f6adqYVdm4UoZHc6v
47 -9M6tjUZ95v8eNPozE1sA/119vb+MLwEtYxiCrdCAQAESV0FGow98LPrWDOJ5cDGq
48 -=fZ3h
49 +iF4EAREIAAYFAlT3Fy4ACgkQknrdDGLu8JBkGQD5AVBGzzfVMQaXL2f8tgLskrM0
50 +v9GxP7vo3KEjSfsJ9iwA/i3UgkxGQmkhtm4B/omMnvMXO4Hox/OaaQGkuqBzSjNK
51 +=Tt1f
52 -----END PGP SIGNATURE-----
53
54 diff --git a/sys-cluster/ceph/ceph-0.80.8.ebuild b/sys-cluster/ceph/ceph-0.80.8.ebuild
55 deleted file mode 100644
56 index 087f2e6..0000000
57 --- a/sys-cluster/ceph/ceph-0.80.8.ebuild
58 +++ /dev/null
59 @@ -1,137 +0,0 @@
60 -# Copyright 1999-2015 Gentoo Foundation
61 -# Distributed under the terms of the GNU General Public License v2
62 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ceph/ceph-0.80.7.ebuild,v 1.1 2014/11/05 07:04:12 dlan Exp $
63 -
64 -EAPI=5
65 -PYTHON_COMPAT=( python{2_6,2_7} )
66 -
67 -if [[ $PV = *9999* ]]; then
68 - scm_eclass=git-r3
69 - EGIT_REPO_URI="
70 - git://github.com/ceph/ceph.git
71 - https://github.com/ceph/ceph.git"
72 - SRC_URI=""
73 - KEYWORDS=""
74 -else
75 - SRC_URI="http://ceph.com/download/${P}.tar.bz2"
76 - KEYWORDS="~amd64 ~x86"
77 -fi
78 -
79 -inherit autotools eutils multilib python-any-r1 udev readme.gentoo ${scm_eclass}
80 -
81 -DESCRIPTION="Ceph distributed filesystem"
82 -HOMEPAGE="http://ceph.com/"
83 -
84 -LICENSE="LGPL-2.1"
85 -SLOT="0"
86 -IUSE="cryptopp debug fuse gtk libatomic +libaio +nss radosgw static-libs tcmalloc xfs zfs"
87 -
88 -CDEPEND="
89 - app-arch/snappy
90 - <dev-libs/boost-1.56.0:=[threads]
91 - dev-libs/fcgi
92 - dev-libs/libaio
93 - dev-libs/libedit
94 - dev-libs/leveldb[snappy]
95 - nss? ( dev-libs/nss )
96 - cryptopp? ( dev-libs/crypto++ )
97 - sys-apps/keyutils
98 - sys-apps/util-linux
99 - dev-libs/libxml2
100 - fuse? ( sys-fs/fuse )
101 - libatomic? ( dev-libs/libatomic_ops )
102 - xfs? ( sys-fs/xfsprogs )
103 - zfs? ( sys-fs/zfs )
104 - gtk? (
105 - x11-libs/gtk+:2
106 - dev-cpp/gtkmm:2.4
107 - gnome-base/librsvg
108 - )
109 - radosgw? (
110 - dev-libs/fcgi
111 - dev-libs/expat
112 - net-misc/curl
113 - )
114 - tcmalloc? ( dev-util/google-perftools )
115 - $(python_gen_any_dep '
116 - ' )
117 - ${PYTHON_DEPS}
118 - "
119 -DEPEND="${CDEPEND}
120 - virtual/pkgconfig"
121 -RDEPEND="${CDEPEND}
122 - sys-apps/hdparm
123 - $(python_gen_any_dep '
124 - dev-python/flask[${PYTHON_USEDEP}]
125 - dev-python/requests[${PYTHON_USEDEP}]
126 - ' )"
127 -REQUIRED_USE="
128 - ^^ ( nss cryptopp )
129 - "
130 -
131 -STRIP_MASK="/usr/lib*/rados-classes/*"
132 -
133 -PATCHES=(
134 - "${FILESDIR}"/${PN}-0.79-libzfs.patch
135 -)
136 -
137 -pkg_setup() {
138 - python-any-r1_pkg_setup
139 -}
140 -
141 -src_prepare() {
142 - [[ ${PATCHES[@]} ]] && epatch "${PATCHES[@]}"
143 -
144 - epatch_user
145 - eautoreconf
146 -}
147 -
148 -src_configure() {
149 - econf \
150 - --without-hadoop \
151 - --docdir="${EPREFIX}/usr/share/doc/${PF}" \
152 - --includedir=/usr/include \
153 - $(use_with debug) \
154 - $(use_with fuse) \
155 - $(use_with libaio) \
156 - $(use_with libatomic libatomic-ops) \
157 - $(use_with nss) \
158 - $(use_with cryptopp) \
159 - $(use_with radosgw) \
160 - $(use_with gtk gtk2) \
161 - $(use_enable static-libs static) \
162 - $(use_with tcmalloc) \
163 - $(use_with xfs libxfs) \
164 - $(use_with zfs libzfs)
165 -}
166 -
167 -src_install() {
168 - default
169 -
170 - prune_libtool_files --all
171 -
172 - exeinto /usr/$(get_libdir)/ceph
173 - newexe src/init-ceph ceph_init.sh
174 -
175 - insinto /etc/logrotate.d/
176 - newins "${FILESDIR}"/ceph.logrotate ${PN}
177 -
178 - chmod 644 "${ED}"/usr/share/doc/${PF}/sample.*
179 -
180 - keepdir /var/lib/${PN}
181 - keepdir /var/lib/${PN}/tmp
182 - keepdir /var/log/${PN}/stat
183 -
184 - newinitd "${FILESDIR}/${PN}.initd-r1" ${PN}
185 - newconfd "${FILESDIR}/${PN}.confd-r1" ${PN}
186 -
187 - python_fix_shebang \
188 - "${ED}"/usr/sbin/{ceph-disk,ceph-create-keys} \
189 - "${ED}"/usr/bin/{ceph,ceph-rest-api}
190 -
191 - #install udev rules
192 - udev_dorules udev/50-rbd.rules
193 - udev_dorules udev/95-ceph-osd.rules
194 -
195 - readme.gentoo_create_doc
196 -}
197
198 diff --git a/sys-cluster/ceph/ceph-0.87.1.ebuild b/sys-cluster/ceph/ceph-0.87.1.ebuild
199 deleted file mode 100644
200 index acc33cf..0000000
201 --- a/sys-cluster/ceph/ceph-0.87.1.ebuild
202 +++ /dev/null
203 @@ -1,152 +0,0 @@
204 -# Copyright 1999-2015 Gentoo Foundation
205 -# Distributed under the terms of the GNU General Public License v2
206 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ceph/ceph-0.80.7.ebuild,v 1.1 2014/11/05 07:04:12 dlan Exp $
207 -
208 -EAPI=5
209 -PYTHON_COMPAT=( python{2_6,2_7} )
210 -
211 -if [[ $PV = *9999* ]]; then
212 - scm_eclass=git-r3
213 - EGIT_REPO_URI="
214 - git://github.com/ceph/ceph.git
215 - https://github.com/ceph/ceph.git"
216 - SRC_URI=""
217 - KEYWORDS=""
218 -else
219 - SRC_URI="http://ceph.com/download/${P}.tar.bz2"
220 - KEYWORDS="~amd64 ~x86"
221 -fi
222 -
223 -inherit autotools eutils multilib python-any-r1 udev readme.gentoo ${scm_eclass}
224 -
225 -DESCRIPTION="Ceph distributed filesystem"
226 -HOMEPAGE="http://ceph.com/"
227 -
228 -LICENSE="LGPL-2.1"
229 -SLOT="0"
230 -IUSE="babeltrace cryptopp debug fuse gtk libatomic +libaio lttng +nss radosgw static-libs tcmalloc xfs zfs"
231 -
232 -# packages not in gentoo:
233 -# --with-kinetic requires Seagate kinetic API
234 -# --with-rocksdb requires http://rocksdb.org/
235 -CDEPEND="
236 - app-arch/snappy
237 - dev-libs/boost:=[threads]
238 - dev-libs/fcgi
239 - dev-libs/libaio
240 - dev-libs/libedit
241 - dev-libs/leveldb[snappy]
242 - nss? ( dev-libs/nss )
243 - cryptopp? ( dev-libs/crypto++ )
244 - sys-apps/keyutils
245 - sys-apps/util-linux
246 - dev-libs/libxml2
247 - babeltrace? ( dev-util/babeltrace )
248 - fuse? ( sys-fs/fuse )
249 - libatomic? ( dev-libs/libatomic_ops )
250 - xfs? ( sys-fs/xfsprogs )
251 - zfs? ( sys-fs/zfs )
252 - gtk? (
253 - x11-libs/gtk+:2
254 - dev-cpp/gtkmm:2.4
255 - gnome-base/librsvg
256 - )
257 - radosgw? (
258 - dev-libs/fcgi
259 - dev-libs/expat
260 - net-misc/curl
261 - )
262 - tcmalloc? ( dev-util/google-perftools )
263 - lttng? ( dev-util/lttng-ust )
264 - $(python_gen_any_dep '
265 - ' )
266 - ${PYTHON_DEPS}
267 - "
268 -DEPEND="${CDEPEND}
269 - virtual/pkgconfig"
270 -RDEPEND="${CDEPEND}
271 - sys-apps/hdparm
272 - $(python_gen_any_dep '
273 - dev-python/flask[${PYTHON_USEDEP}]
274 - dev-python/requests[${PYTHON_USEDEP}]
275 - ' )"
276 -REQUIRED_USE="
277 - ^^ ( nss cryptopp )
278 - "
279 -
280 -STRIP_MASK="/usr/lib*/rados-classes/*"
281 -
282 -PATCHES=(
283 - "${FILESDIR}"/${PN}-0.79-libzfs.patch
284 -)
285 -
286 -pkg_setup() {
287 - python-any-r1_pkg_setup
288 -}
289 -
290 -src_prepare() {
291 - [[ ${PATCHES[@]} ]] && epatch "${PATCHES[@]}"
292 -
293 - sed -e '1i#include <stdint.h>' \
294 - -i src/tracing/{objectstore,oprequest,osd,pg}.tp || die
295 -
296 - epatch_user
297 - eautoreconf
298 -}
299 -
300 -src_configure() {
301 - econf \
302 - --without-hadoop \
303 - --docdir="${EPREFIX}/usr/share/doc/${PF}" \
304 - --includedir=/usr/include \
305 - $(use_with debug) \
306 - $(use_with fuse) \
307 - $(use_with libaio) \
308 - $(use_with libatomic libatomic-ops) \
309 - $(use_with nss) \
310 - $(use_with cryptopp) \
311 - $(use_with radosgw) \
312 - $(use_with gtk gtk2) \
313 - $(use_enable static-libs static) \
314 - $(use_with tcmalloc) \
315 - $(use_with xfs libxfs) \
316 - $(use_with zfs libzfs) \
317 - --without-kinetic \
318 - --without-librocksdb \
319 - $(use_with lttng ) \
320 - $(use_with babeltrace)
321 -
322 - # patch files generated by lttng-gen-lp
323 - #epatch "${FILESDIR}"/${P}-stdint.patch
324 -}
325 -
326 -src_install() {
327 - default
328 -
329 - prune_libtool_files --all
330 -
331 - exeinto /usr/$(get_libdir)/ceph
332 - newexe src/init-ceph ceph_init.sh
333 -
334 - insinto /etc/logrotate.d/
335 - newins "${FILESDIR}"/ceph.logrotate ${PN}
336 -
337 - chmod 644 "${ED}"/usr/share/doc/${PF}/sample.*
338 -
339 - keepdir /var/lib/${PN}
340 - keepdir /var/lib/${PN}/tmp
341 - keepdir /var/log/${PN}/stat
342 -
343 - newinitd "${FILESDIR}/${PN}.initd-r1" ${PN}
344 - newconfd "${FILESDIR}/${PN}.confd-r1" ${PN}
345 -
346 - python_fix_shebang \
347 - "${ED}"/usr/sbin/{ceph-disk,ceph-create-keys} \
348 - "${ED}"/usr/bin/{ceph,ceph-rest-api}
349 -
350 - #install udev rules
351 - udev_dorules udev/50-rbd.rules
352 - udev_dorules udev/95-ceph-osd.rules
353 -
354 - readme.gentoo_create_doc
355 -}