Gentoo Archives: gentoo-commits

From: "Yixun Lan (dlan)" <dlan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-cluster/ceph: ceph-9999.ebuild ceph-0.72.2-r2.ebuild ChangeLog ceph-0.75.ebuild ceph-0.67.5-r2.ebuild metadata.xml
Date: Thu, 23 Jan 2014 16:12:14
Message-Id: 20140123161210.4BF832004C@flycatcher.gentoo.org
1 dlan 14/01/23 16:12:10
2
3 Modified: ceph-9999.ebuild ChangeLog metadata.xml
4 Added: ceph-0.72.2-r2.ebuild ceph-0.75.ebuild
5 ceph-0.67.5-r2.ebuild
6 Log:
7 use subslot, adjust deps, update to python-any-r1
8
9 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xAABEFD55)
10
11 Revision Changes Path
12 1.7 sys-cluster/ceph/ceph-9999.ebuild
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ceph/ceph-9999.ebuild?rev=1.7&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ceph/ceph-9999.ebuild?rev=1.7&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ceph/ceph-9999.ebuild?r1=1.6&r2=1.7
17
18 Index: ceph-9999.ebuild
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-cluster/ceph/ceph-9999.ebuild,v
21 retrieving revision 1.6
22 retrieving revision 1.7
23 diff -u -r1.6 -r1.7
24 --- ceph-9999.ebuild 15 Jan 2014 13:45:32 -0000 1.6
25 +++ ceph-9999.ebuild 23 Jan 2014 16:12:10 -0000 1.7
26 @@ -1,6 +1,6 @@
27 # Copyright 1999-2014 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ceph/ceph-9999.ebuild,v 1.6 2014/01/15 13:45:32 dlan Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ceph/ceph-9999.ebuild,v 1.7 2014/01/23 16:12:10 dlan Exp $
31
32 EAPI=5
33 PYTHON_COMPAT=( python{2_6,2_7} )
34 @@ -17,30 +17,26 @@
35 KEYWORDS="~amd64 ~x86"
36 fi
37
38 -inherit autotools eutils multilib python-r1 udev ${scm_eclass}
39 +inherit autotools eutils multilib python-any-r1 udev ${scm_eclass}
40
41 DESCRIPTION="Ceph distributed filesystem"
42 HOMEPAGE="http://ceph.com/"
43
44 LICENSE="LGPL-2.1"
45 SLOT="0"
46 -IUSE="debug fuse gtk libatomic +libaio radosgw static-libs tcmalloc"
47 +IUSE="cryptopp debug fuse gtk libatomic +libaio +nss radosgw static-libs tcmalloc"
48
49 CDEPEND="
50 app-arch/snappy
51 - dev-libs/boost[threads]
52 + dev-libs/boost:=[threads]
53 dev-libs/fcgi
54 dev-libs/libaio
55 dev-libs/libedit
56 dev-libs/leveldb[snappy]
57 - dev-libs/crypto++
58 - dev-python/flask[${PYTHON_USEDEP}]
59 - dev-python/requests[${PYTHON_USEDEP}]
60 + nss? ( dev-libs/nss )
61 + cryptopp? ( dev-libs/crypto++ )
62 sys-apps/keyutils
63 - sys-apps/hdparm
64 sys-apps/util-linux
65 - sys-block/parted
66 - sys-fs/cryptsetup
67 dev-libs/libxml2
68 fuse? ( sys-fs/fuse )
69 libatomic? ( dev-libs/libatomic_ops )
70 @@ -55,17 +51,33 @@
71 net-misc/curl
72 )
73 tcmalloc? ( dev-util/google-perftools )
74 + $(python_gen_any_dep '
75 virtual/python-argparse[${PYTHON_USEDEP}]
76 + ' )
77 ${PYTHON_DEPS}
78 "
79 DEPEND="${CDEPEND}
80 virtual/pkgconfig"
81 RDEPEND="${CDEPEND}
82 - sys-fs/btrfs-progs"
83 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
84 + sys-apps/hdparm
85 + sys-block/parted
86 + sys-fs/cryptsetup
87 + sys-fs/btrfs-progs
88 + $(python_gen_any_dep '
89 + dev-python/flask[${PYTHON_USEDEP}]
90 + dev-python/requests[${PYTHON_USEDEP}]
91 + ' )"
92 +REQUIRED_USE="
93 + ^^ ( nss cryptopp )
94 + ${PYTHON_REQUIRED_USE}
95 + "
96
97 STRIP_MASK="/usr/lib*/rados-classes/*"
98
99 +pkg_setup() {
100 + python-any-r1_pkg_setup
101 +}
102 +
103 src_prepare() {
104 if [ ! -z ${PATCHES[@]} ]; then
105 epatch ${PATCHES[@]}
106 @@ -86,6 +98,8 @@
107 $(use_with fuse) \
108 $(use_with libaio) \
109 $(use_with libatomic libatomic-ops) \
110 + $(use_with nss) \
111 + $(use_with cryptopp) \
112 $(use_with radosgw) \
113 $(use_with gtk gtk2) \
114 $(use_enable static-libs static) \
115 @@ -112,7 +126,7 @@
116 newinitd "${T}/${PN}.initd" ${PN}
117 newconfd "${FILESDIR}/${PN}.confd" ${PN}
118
119 - python_replicate_script \
120 + _python_rewrite_shebang \
121 "${ED}"/usr/sbin/{ceph-disk,ceph-create-keys} \
122 "${ED}"/usr/bin/{ceph,ceph-rest-api}
123
124
125
126
127 1.44 sys-cluster/ceph/ChangeLog
128
129 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ceph/ChangeLog?rev=1.44&view=markup
130 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ceph/ChangeLog?rev=1.44&content-type=text/plain
131 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ceph/ChangeLog?r1=1.43&r2=1.44
132
133 Index: ChangeLog
134 ===================================================================
135 RCS file: /var/cvsroot/gentoo-x86/sys-cluster/ceph/ChangeLog,v
136 retrieving revision 1.43
137 retrieving revision 1.44
138 diff -u -r1.43 -r1.44
139 --- ChangeLog 15 Jan 2014 13:45:32 -0000 1.43
140 +++ ChangeLog 23 Jan 2014 16:12:10 -0000 1.44
141 @@ -1,6 +1,14 @@
142 # ChangeLog for sys-cluster/ceph
143 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
144 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ceph/ChangeLog,v 1.43 2014/01/15 13:45:32 dlan Exp $
145 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ceph/ChangeLog,v 1.44 2014/01/23 16:12:10 dlan Exp $
146 +
147 +*ceph-0.75 (23 Jan 2014)
148 +*ceph-0.72.2-r2 (23 Jan 2014)
149 +*ceph-0.67.5-r2 (23 Jan 2014)
150 +
151 + 23 Jan 2014; Yixun Lan <dlan@g.o> +ceph-0.67.5-r2.ebuild,
152 + +ceph-0.72.2-r2.ebuild, +ceph-0.75.ebuild, ceph-9999.ebuild, metadata.xml:
153 + use subslot, adjust deps, update to python-any-r1
154
155 *ceph-0.67.5-r1 (15 Jan 2014)
156 *ceph-0.72.2-r1 (15 Jan 2014)
157
158
159
160 1.3 sys-cluster/ceph/metadata.xml
161
162 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ceph/metadata.xml?rev=1.3&view=markup
163 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ceph/metadata.xml?rev=1.3&content-type=text/plain
164 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ceph/metadata.xml?r1=1.2&r2=1.3
165
166 Index: metadata.xml
167 ===================================================================
168 RCS file: /var/cvsroot/gentoo-x86/sys-cluster/ceph/metadata.xml,v
169 retrieving revision 1.2
170 retrieving revision 1.3
171 diff -u -r1.2 -r1.3
172 --- metadata.xml 15 Jan 2014 08:21:14 -0000 1.2
173 +++ metadata.xml 23 Jan 2014 16:12:10 -0000 1.3
174 @@ -11,9 +11,11 @@
175 Ceph is a distributed network file system designed to provide excellent performance, reliability, and scalability.
176 </longdescription>
177 <use>
178 + <flag name='cryptopp'>Use <pkg>dev-libs/crypto++</pkg> for cryptography</flag>
179 <flag name='fuse'>Build fuse client</flag>
180 <flag name='libatomic'>Use libatomic instead of builtin atomic operations</flag>
181 <flag name='libaio'>Use libaio as asynchronous input/output library</flag>
182 + <flag name='nss'>Use <pkg>dev-libs/nss</pkg> for cryptography</flag>
183 <flag name='radosgw'>Add radosgw support</flag>
184 </use>
185 </pkgmetadata>
186
187
188
189 1.1 sys-cluster/ceph/ceph-0.72.2-r2.ebuild
190
191 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ceph/ceph-0.72.2-r2.ebuild?rev=1.1&view=markup
192 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ceph/ceph-0.72.2-r2.ebuild?rev=1.1&content-type=text/plain
193
194 Index: ceph-0.72.2-r2.ebuild
195 ===================================================================
196 # Copyright 1999-2014 Gentoo Foundation
197 # Distributed under the terms of the GNU General Public License v2
198 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/ceph/ceph-0.72.2-r2.ebuild,v 1.1 2014/01/23 16:12:10 dlan Exp $
199
200 EAPI=5
201 PYTHON_COMPAT=( python{2_6,2_7} )
202
203 if [[ $PV = *9999* ]]; then
204 scm_eclass=git-r3
205 EGIT_REPO_URI="
206 git://github.com/ceph/ceph.git
207 https://github.com/ceph/ceph.git"
208 SRC_URI=""
209 KEYWORDS=""
210 else
211 SRC_URI="http://ceph.com/download/${P}.tar.bz2"
212 KEYWORDS="~amd64 ~x86"
213 fi
214
215 inherit autotools eutils multilib python-any-r1 udev ${scm_eclass}
216
217 DESCRIPTION="Ceph distributed filesystem"
218 HOMEPAGE="http://ceph.com/"
219
220 LICENSE="LGPL-2.1"
221 SLOT="0"
222 IUSE="cryptopp debug fuse gtk libatomic +libaio +nss radosgw static-libs tcmalloc"
223
224 CDEPEND="
225 app-arch/snappy
226 dev-libs/boost:=[threads]
227 dev-libs/fcgi
228 dev-libs/libaio
229 dev-libs/libedit
230 dev-libs/leveldb[snappy]
231 nss? ( dev-libs/nss )
232 cryptopp? ( dev-libs/crypto++ )
233 sys-apps/keyutils
234 sys-apps/util-linux
235 dev-libs/libxml2
236 fuse? ( sys-fs/fuse )
237 libatomic? ( dev-libs/libatomic_ops )
238 gtk? (
239 x11-libs/gtk+:2
240 dev-cpp/gtkmm:2.4
241 gnome-base/librsvg
242 )
243 radosgw? (
244 dev-libs/fcgi
245 dev-libs/expat
246 net-misc/curl
247 )
248 tcmalloc? ( dev-util/google-perftools )
249 $(python_gen_any_dep '
250 virtual/python-argparse[${PYTHON_USEDEP}]
251 ' )
252 ${PYTHON_DEPS}
253 "
254 DEPEND="${CDEPEND}
255 virtual/pkgconfig"
256 RDEPEND="${CDEPEND}
257 sys-apps/hdparm
258 sys-block/parted
259 sys-fs/cryptsetup
260 sys-fs/btrfs-progs
261 $(python_gen_any_dep '
262 dev-python/flask[${PYTHON_USEDEP}]
263 dev-python/requests[${PYTHON_USEDEP}]
264 ' )"
265 REQUIRED_USE="
266 ^^ ( nss cryptopp )
267 ${PYTHON_REQUIRED_USE}
268 "
269
270 STRIP_MASK="/usr/lib*/rados-classes/*"
271
272 pkg_setup() {
273 python-any-r1_pkg_setup
274 }
275
276 src_prepare() {
277 if [ ! -z ${PATCHES[@]} ]; then
278 epatch ${PATCHES[@]}
279 fi
280 sed -e "/bin=/ s:lib:$(get_libdir):" "${FILESDIR}"/${PN}.initd \
281 > "${T}"/${PN}.initd || die
282
283 epatch_user
284 eautoreconf
285 }
286
287 src_configure() {
288 econf \
289 --without-hadoop \
290 --docdir="${EPREFIX}/usr/share/doc/${PF}" \
291 --includedir=/usr/include \
292 $(use_with debug) \
293 $(use_with fuse) \
294 $(use_with libaio) \
295 $(use_with libatomic libatomic-ops) \
296 $(use_with nss) \
297 $(use_with cryptopp) \
298 $(use_with radosgw) \
299 $(use_with gtk gtk2) \
300 $(use_enable static-libs static) \
301 $(use_with tcmalloc)
302 }
303
304 src_install() {
305 default
306
307 prune_libtool_files --all
308
309 exeinto /usr/$(get_libdir)/ceph
310 newexe src/init-ceph ceph_init.sh
311
312 insinto /etc/logrotate.d/
313 newins src/logrotate.conf ${PN}
314
315 chmod 644 "${ED}"/usr/share/doc/${PF}/sample.*
316
317 keepdir /var/lib/${PN}
318 keepdir /var/lib/${PN}/tmp
319 keepdir /var/log/${PN}/stat
320
321 newinitd "${T}/${PN}.initd" ${PN}
322 newconfd "${FILESDIR}/${PN}.confd" ${PN}
323
324 _python_rewrite_shebang \
325 "${ED}"/usr/sbin/{ceph-disk,ceph-create-keys} \
326 "${ED}"/usr/bin/{ceph,ceph-rest-api}
327
328 #install udev rules
329 udev_dorules udev/50-rbd.rules
330 udev_dorules udev/95-ceph-osd.rules
331 }
332
333
334
335 1.1 sys-cluster/ceph/ceph-0.75.ebuild
336
337 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ceph/ceph-0.75.ebuild?rev=1.1&view=markup
338 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ceph/ceph-0.75.ebuild?rev=1.1&content-type=text/plain
339
340 Index: ceph-0.75.ebuild
341 ===================================================================
342 # Copyright 1999-2014 Gentoo Foundation
343 # Distributed under the terms of the GNU General Public License v2
344 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/ceph/ceph-0.75.ebuild,v 1.1 2014/01/23 16:12:10 dlan Exp $
345
346 EAPI=5
347 PYTHON_COMPAT=( python{2_6,2_7} )
348
349 if [[ $PV = *9999* ]]; then
350 scm_eclass=git-r3
351 EGIT_REPO_URI="
352 git://github.com/ceph/ceph.git
353 https://github.com/ceph/ceph.git"
354 SRC_URI=""
355 KEYWORDS=""
356 else
357 SRC_URI="http://ceph.com/download/${P}.tar.bz2"
358 KEYWORDS=""
359 fi
360
361 inherit autotools eutils multilib python-any-r1 udev ${scm_eclass}
362
363 DESCRIPTION="Ceph distributed filesystem"
364 HOMEPAGE="http://ceph.com/"
365
366 LICENSE="LGPL-2.1"
367 SLOT="0"
368 IUSE="cryptopp debug fuse gtk libatomic +libaio +nss radosgw static-libs tcmalloc"
369
370 CDEPEND="
371 app-arch/snappy
372 dev-libs/boost:=[threads]
373 dev-libs/fcgi
374 dev-libs/libaio
375 dev-libs/libedit
376 dev-libs/leveldb[snappy]
377 nss? ( dev-libs/nss )
378 cryptopp? ( dev-libs/crypto++ )
379 sys-apps/keyutils
380 sys-apps/util-linux
381 dev-libs/libxml2
382 fuse? ( sys-fs/fuse )
383 libatomic? ( dev-libs/libatomic_ops )
384 gtk? (
385 x11-libs/gtk+:2
386 dev-cpp/gtkmm:2.4
387 gnome-base/librsvg
388 )
389 radosgw? (
390 dev-libs/fcgi
391 dev-libs/expat
392 net-misc/curl
393 )
394 tcmalloc? ( dev-util/google-perftools )
395 $(python_gen_any_dep '
396 virtual/python-argparse[${PYTHON_USEDEP}]
397 ' )
398 ${PYTHON_DEPS}
399 "
400 DEPEND="${CDEPEND}
401 virtual/pkgconfig"
402 RDEPEND="${CDEPEND}
403 sys-apps/hdparm
404 sys-block/parted
405 sys-fs/cryptsetup
406 sys-fs/btrfs-progs
407 $(python_gen_any_dep '
408 dev-python/flask[${PYTHON_USEDEP}]
409 dev-python/requests[${PYTHON_USEDEP}]
410 ' )"
411 REQUIRED_USE="
412 ^^ ( nss cryptopp )
413 ${PYTHON_REQUIRED_USE}
414 "
415
416 STRIP_MASK="/usr/lib*/rados-classes/*"
417
418 pkg_setup() {
419 python-any-r1_pkg_setup
420 }
421
422 src_prepare() {
423 if [ ! -z ${PATCHES[@]} ]; then
424 epatch ${PATCHES[@]}
425 fi
426 sed -e "/bin=/ s:lib:$(get_libdir):" "${FILESDIR}"/${PN}.initd \
427 > "${T}"/${PN}.initd || die
428
429 epatch_user
430 eautoreconf
431 }
432
433 src_configure() {
434 econf \
435 --without-hadoop \
436 --docdir="${EPREFIX}/usr/share/doc/${PF}" \
437 --includedir=/usr/include \
438 $(use_with debug) \
439 $(use_with fuse) \
440 $(use_with libaio) \
441 $(use_with libatomic libatomic-ops) \
442 $(use_with nss) \
443 $(use_with cryptopp) \
444 $(use_with radosgw) \
445 $(use_with gtk gtk2) \
446 $(use_enable static-libs static) \
447 $(use_with tcmalloc)
448 }
449
450 src_install() {
451 default
452
453 prune_libtool_files --all
454
455 exeinto /usr/$(get_libdir)/ceph
456 newexe src/init-ceph ceph_init.sh
457
458 insinto /etc/logrotate.d/
459 newins src/logrotate.conf ${PN}
460
461 chmod 644 "${ED}"/usr/share/doc/${PF}/sample.*
462
463 keepdir /var/lib/${PN}
464 keepdir /var/lib/${PN}/tmp
465 keepdir /var/log/${PN}/stat
466
467 newinitd "${T}/${PN}.initd" ${PN}
468 newconfd "${FILESDIR}/${PN}.confd" ${PN}
469
470 _python_rewrite_shebang \
471 "${ED}"/usr/sbin/{ceph-disk,ceph-create-keys} \
472 "${ED}"/usr/bin/{ceph,ceph-rest-api}
473
474 #install udev rules
475 udev_dorules udev/50-rbd.rules
476 udev_dorules udev/95-ceph-osd.rules
477 }
478
479
480
481 1.1 sys-cluster/ceph/ceph-0.67.5-r2.ebuild
482
483 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ceph/ceph-0.67.5-r2.ebuild?rev=1.1&view=markup
484 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ceph/ceph-0.67.5-r2.ebuild?rev=1.1&content-type=text/plain
485
486 Index: ceph-0.67.5-r2.ebuild
487 ===================================================================
488 # Copyright 1999-2014 Gentoo Foundation
489 # Distributed under the terms of the GNU General Public License v2
490 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/ceph/ceph-0.67.5-r2.ebuild,v 1.1 2014/01/23 16:12:10 dlan Exp $
491
492 EAPI=5
493 PYTHON_COMPAT=( python{2_6,2_7} )
494
495 if [[ $PV = *9999* ]]; then
496 scm_eclass=git-r3
497 EGIT_REPO_URI="
498 git://github.com/ceph/ceph.git
499 https://github.com/ceph/ceph.git"
500 SRC_URI=""
501 KEYWORDS=""
502 else
503 SRC_URI="http://ceph.com/download/${P}.tar.bz2"
504 KEYWORDS="~amd64 ~x86"
505 fi
506
507 inherit autotools eutils multilib python-any-r1 udev ${scm_eclass}
508
509 DESCRIPTION="Ceph distributed filesystem"
510 HOMEPAGE="http://ceph.com/"
511
512 LICENSE="LGPL-2.1"
513 SLOT="0"
514 IUSE="cryptopp debug fuse gtk libatomic +libaio +nss radosgw static-libs tcmalloc"
515
516 CDEPEND="
517 app-arch/snappy
518 dev-libs/boost:=[threads]
519 dev-libs/fcgi
520 dev-libs/libaio
521 dev-libs/libedit
522 dev-libs/leveldb[snappy]
523 nss? ( dev-libs/nss )
524 cryptopp? ( dev-libs/crypto++ )
525 sys-apps/keyutils
526 sys-apps/util-linux
527 dev-libs/libxml2
528 fuse? ( sys-fs/fuse )
529 libatomic? ( dev-libs/libatomic_ops )
530 gtk? (
531 x11-libs/gtk+:2
532 dev-cpp/gtkmm:2.4
533 gnome-base/librsvg
534 )
535 radosgw? (
536 dev-libs/fcgi
537 dev-libs/expat
538 net-misc/curl
539 )
540 tcmalloc? ( dev-util/google-perftools )
541 $(python_gen_any_dep '
542 virtual/python-argparse[${PYTHON_USEDEP}]
543 ' )
544 ${PYTHON_DEPS}
545 "
546 DEPEND="${CDEPEND}
547 virtual/pkgconfig"
548 RDEPEND="${CDEPEND}
549 sys-apps/hdparm
550 sys-block/parted
551 sys-fs/cryptsetup
552 sys-fs/btrfs-progs
553 $(python_gen_any_dep '
554 dev-python/flask[${PYTHON_USEDEP}]
555 dev-python/requests[${PYTHON_USEDEP}]
556 ' )"
557 REQUIRED_USE="
558 ^^ ( nss cryptopp )
559 ${PYTHON_REQUIRED_USE}
560 "
561
562 STRIP_MASK="/usr/lib*/rados-classes/*"
563
564 pkg_setup() {
565 python-any-r1_pkg_setup
566 }
567
568 src_prepare() {
569 if [ ! -z ${PATCHES[@]} ]; then
570 epatch ${PATCHES[@]}
571 fi
572 sed -e "/bin=/ s:lib:$(get_libdir):" "${FILESDIR}"/${PN}.initd \
573 > "${T}"/${PN}.initd || die
574 sed -e '/^ceph_sbindir =/s:$(exec_prefix)::' -i src/Makefile.am || die
575
576 epatch_user
577 eautoreconf
578 }
579
580 src_configure() {
581 econf \
582 --without-hadoop \
583 --docdir="${EPREFIX}/usr/share/doc/${PF}" \
584 --includedir=/usr/include \
585 $(use_with debug) \
586 $(use_with fuse) \
587 $(use_with libaio) \
588 $(use_with libatomic libatomic-ops) \
589 $(use_with nss) \
590 $(use_with cryptopp) \
591 $(use_with radosgw) \
592 $(use_with gtk gtk2) \
593 $(use_enable static-libs static) \
594 $(use_with tcmalloc)
595 }
596
597 src_install() {
598 default
599
600 prune_libtool_files --all
601
602 exeinto /usr/$(get_libdir)/ceph
603 newexe src/init-ceph ceph_init.sh
604
605 insinto /etc/logrotate.d/
606 newins src/logrotate.conf ${PN}
607
608 chmod 644 "${ED}"/usr/share/doc/${PF}/sample.*
609
610 keepdir /var/lib/${PN}
611 keepdir /var/lib/${PN}/tmp
612 keepdir /var/log/${PN}/stat
613
614 newinitd "${T}/${PN}.initd" ${PN}
615 newconfd "${FILESDIR}/${PN}.confd" ${PN}
616
617 _python_rewrite_shebang \
618 "${ED}"/usr/sbin/{ceph-disk,ceph-create-keys} \
619 "${ED}"/usr/bin/{ceph,ceph-rest-api}
620
621 #install udev rules
622 udev_dorules udev/50-rbd.rules
623 udev_dorules udev/95-ceph-osd.rules
624 }