Gentoo Archives: gentoo-commits

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