Gentoo Archives: gentoo-commits

From: "Alexey Shvetsov (alexxy)" <alexxy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-cluster/ceph: ChangeLog ceph-0.34.ebuild ceph-0.31.ebuild
Date: Wed, 31 Aug 2011 17:29:42
Message-Id: 20110831172932.309262004C@flycatcher.gentoo.org
1 alexxy 11/08/31 17:29:32
2
3 Modified: ChangeLog
4 Added: ceph-0.34.ebuild
5 Removed: ceph-0.31.ebuild
6 Log:
7 [sys-cluster/ceph] Version bump
8
9 (Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.12 sys-cluster/ceph/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ceph/ChangeLog?rev=1.12&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ceph/ChangeLog?rev=1.12&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ceph/ChangeLog?r1=1.11&r2=1.12
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-cluster/ceph/ChangeLog,v
21 retrieving revision 1.11
22 retrieving revision 1.12
23 diff -u -r1.11 -r1.12
24 --- ChangeLog 28 Jul 2011 21:27:33 -0000 1.11
25 +++ ChangeLog 31 Aug 2011 17:29:31 -0000 1.12
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sys-cluster/ceph
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ceph/ChangeLog,v 1.11 2011/07/28 21:27:33 alexxy Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ceph/ChangeLog,v 1.12 2011/08/31 17:29:31 alexxy Exp $
31 +
32 +*ceph-0.34 (31 Aug 2011)
33 +
34 + 31 Aug 2011; Alexey Shvetsov <alexxy@g.o> -ceph-0.31.ebuild,
35 + +ceph-0.34.ebuild:
36 + Version bump
37
38 *ceph-0.31 (28 Jul 2011)
39
40
41
42
43 1.1 sys-cluster/ceph/ceph-0.34.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ceph/ceph-0.34.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ceph/ceph-0.34.ebuild?rev=1.1&content-type=text/plain
47
48 Index: ceph-0.34.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/ceph/ceph-0.34.ebuild,v 1.1 2011/08/31 17:29:31 alexxy Exp $
53
54 EAPI="3"
55
56 inherit autotools eutils multilib
57
58 DESCRIPTION="Ceph distributed filesystem"
59 HOMEPAGE="http://ceph.newdream.net/"
60 SRC_URI="http://ceph.newdream.net/download/${P}.tar.gz"
61
62 LICENSE="LGPL-2.1"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE="debug fuse gtk libatomic radosgw static-libs"
66
67 CDEPEND="
68 dev-libs/boost
69 dev-libs/libedit
70 dev-libs/crypto++
71 sys-apps/keyutils
72 fuse? ( sys-fs/fuse )
73 libatomic? ( dev-libs/libatomic_ops )
74 gtk? (
75 x11-libs/gtk+:2
76 dev-cpp/gtkmm:2.4
77 )
78 radosgw? (
79 dev-libs/fcgi
80 dev-libs/expat
81 )
82 "
83 DEPEND="${CDEPEND}
84 dev-util/pkgconfig"
85 RDEPEND="${CDEPEND}
86 sys-fs/btrfs-progs"
87
88 STRIP_MASK="/usr/lib*/rados-classes/*"
89
90 src_prepare() {
91 sed -e 's:invoke-rc\.d.*:/etc/init.d/ceph reload >/dev/null:' \
92 -i src/logrotate.conf || die
93 sed -i "/^docdir =/d" src/Makefile.am || die #fix doc path
94 # disable testsnaps
95 sed -e '/testsnaps/d' -i src/Makefile.am || die
96 epatch "${FILESDIR}/${PN}-0.26-autotools.patch"
97 eautoreconf
98 }
99
100 src_configure() {
101 econf \
102 --without-hadoop \
103 --without-tcmalloc \
104 --docdir=/usr/share/doc/${PF} \
105 --includedir=/usr/include \
106 $(use_with debug) \
107 $(use_with fuse) \
108 $(use_with libatomic libatomic-ops) \
109 $(use_with radosgw) \
110 $(use_with gtk gtk2) \
111 $(use_enable static-libs static)
112 }
113
114 src_install() {
115 emake DESTDIR="${D}" install || die
116 find "${D}" -type f -name "*.la" -exec rm -f {} \;
117
118 rmdir "${D}/usr/sbin"
119
120 exeinto /usr/$(get_libdir)/ceph || die
121 newexe src/init-ceph ceph_init.sh || die
122
123 insinto /etc/logrotate.d/ || die
124 newins src/logrotate.conf ${PN} || die
125
126 chmod 644 "${D}"/usr/share/doc/${PF}/sample.* || die
127
128 keepdir /var/lib/${PN} || die
129 keepdir /var/lib/${PN}/tmp || die
130 keepdir /var/log/${PN}/stat || die
131 keepdir /var/run/${PN} || die
132
133 newinitd "${FILESDIR}/${PN}.initd" ${PN} || die
134 newconfd "${FILESDIR}/${PN}.confd" ${PN} || die
135 }