Gentoo Archives: gentoo-commits

From: Patrick McLean <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/ceph/
Date: Fri, 01 Jul 2016 17:55:55
Message-Id: 1467395712.0bd5feb6b2d42e2328c3d1cd5312e5eb524971ae.chutzpah@gentoo
1 commit: 0bd5feb6b2d42e2328c3d1cd5312e5eb524971ae
2 Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 1 17:55:12 2016 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 1 17:55:12 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bd5feb6
7
8 sys-cluster/ceph: Clean out versions 0.80.10 0.94.6 due to security bug #587568
9
10 Package-Manager: portage-2.3.0
11
12 sys-cluster/ceph/Manifest | 2 -
13 sys-cluster/ceph/ceph-0.80.10-r1.ebuild | 138 ---------------------------
14 sys-cluster/ceph/ceph-0.94.6-r1.ebuild | 163 --------------------------------
15 3 files changed, 303 deletions(-)
16
17 diff --git a/sys-cluster/ceph/Manifest b/sys-cluster/ceph/Manifest
18 index f68e75c..5317942 100644
19 --- a/sys-cluster/ceph/Manifest
20 +++ b/sys-cluster/ceph/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST ceph-0.80.10.tar.bz2 4136018 SHA256 a7ca8a3d0710ab88adcd5c52aebe0a8ee573e247c1ccf5d84eea8a9ff07a51fa SHA512 7823a489b7654457512d300050410b4a91d615fbb467d341c76e76b77364d6a2afa763bceb2c6cd8ed05a45d7b0aef4c3baf80155cc3223e940b439e0571f3c9 WHIRLPOOL a03fc3a4ca8c49157ff3b51528418ca62c3520c4141e402863cf3475a11b240be5297f731bf1a4e77a01a476e80f5e06c0722d688fbb8ad2db26ef1975a450da
23 -DIST ceph-0.94.6.tar.gz 9131464 SHA256 d2e65e21bdecdfa1fffb2661e9be2d5382bd975a0eb8296df0e96bacc11c251f SHA512 4920857d7493769929754877e3f255cc816400757b014b0c075d65ce9c83c47a86725540fa012eb95f9c6395a477945d3a46322f3055f05345298858fec53997 WHIRLPOOL cb1a230dc1f07903b3712d9d23df718b12df219255b680737d3a746e9cbeee0d0c3ddb21da6dad1e31fb4d77aa9b3283e2dbd6e59ca38146db2ae91c5e7d4229
24 DIST ceph-10.2.2.tar.gz 11541035 SHA256 7adaaeffb5a787108b5e1494df9165b6420069c0ab710e6e4aad185f423b0f6d SHA512 b47138528af3078646b52e9ea9a561eca4120473e7584c9076e949f0e9bbbdd15aa88e2287a90bd1ddb09d06c29c40181c18da58f5126a442101169ef3419b8a WHIRLPOOL f744444f2064832cba46065bd0fe64996c92bf8ed7888c075dffa9efe1d84393bd2204b38cefe11d0804ea862d0f2ff2d114ea205ff163d60e061e2e4a01db15
25 DIST ceph-9.2.1.tar.gz 9933444 SHA256 1918dfc3df80df5986c5b7ff6bc6c78064eef0f6c5e8269dba30e08c703a7c2f SHA512 1e84c1e2d64f4156a523658ed11552b045f75986922b7b7dbaf4719e73a0a6aadc71eb2b94ae363526f729534a592921a437468a41a3cea88c1b84e09de8505a WHIRLPOOL 3a0eb6712e5b0235707e86129e1d66f1184f50cd4980c30f6d8cc0e7dfd96d30b91177ed16dd7abf2ad4983c6a543eb91915f74f661f7d3e3c810b5b1d656aca
26
27 diff --git a/sys-cluster/ceph/ceph-0.80.10-r1.ebuild b/sys-cluster/ceph/ceph-0.80.10-r1.ebuild
28 deleted file mode 100644
29 index 4452e80..0000000
30 --- a/sys-cluster/ceph/ceph-0.80.10-r1.ebuild
31 +++ /dev/null
32 @@ -1,138 +0,0 @@
33 -# Copyright 1999-2015 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -# $Id$
36 -
37 -EAPI=5
38 -PYTHON_COMPAT=( python2_7 )
39 -
40 -if [[ $PV = *9999* ]]; then
41 - scm_eclass=git-r3
42 - EGIT_REPO_URI="
43 - git://github.com/ceph/ceph.git
44 - https://github.com/ceph/ceph.git"
45 - SRC_URI=""
46 - KEYWORDS=""
47 -else
48 - SRC_URI="http://ceph.com/download/${P}.tar.bz2"
49 - KEYWORDS="amd64 x86"
50 -fi
51 -
52 -inherit autotools eutils multilib python-any-r1 udev readme.gentoo ${scm_eclass}
53 -
54 -DESCRIPTION="Ceph distributed filesystem"
55 -HOMEPAGE="http://ceph.com/"
56 -
57 -LICENSE="LGPL-2.1"
58 -SLOT="0"
59 -IUSE="cryptopp debug fuse gtk libatomic +libaio +nss radosgw static-libs tcmalloc xfs zfs"
60 -
61 -CDEPEND="
62 - app-arch/snappy
63 - <dev-libs/boost-1.56.0:=[threads]
64 - dev-libs/fcgi
65 - dev-libs/libaio
66 - dev-libs/libedit
67 - dev-libs/leveldb[snappy]
68 - nss? ( dev-libs/nss )
69 - cryptopp? ( dev-libs/crypto++ )
70 - sys-apps/keyutils
71 - sys-apps/util-linux
72 - dev-libs/libxml2
73 - fuse? ( sys-fs/fuse )
74 - libatomic? ( dev-libs/libatomic_ops )
75 - xfs? ( sys-fs/xfsprogs )
76 - zfs? ( sys-fs/zfs )
77 - gtk? (
78 - x11-libs/gtk+:2
79 - dev-cpp/gtkmm:2.4
80 - gnome-base/librsvg
81 - )
82 - radosgw? (
83 - dev-libs/fcgi
84 - dev-libs/expat
85 - net-misc/curl
86 - )
87 - tcmalloc? ( dev-util/google-perftools )
88 - $(python_gen_any_dep '
89 - ' )
90 - ${PYTHON_DEPS}
91 - "
92 -DEPEND="${CDEPEND}
93 - virtual/pkgconfig"
94 -RDEPEND="${CDEPEND}
95 - sys-apps/hdparm
96 - $(python_gen_any_dep '
97 - dev-python/flask[${PYTHON_USEDEP}]
98 - dev-python/requests[${PYTHON_USEDEP}]
99 - ' )"
100 -REQUIRED_USE="
101 - ^^ ( nss cryptopp )
102 - "
103 -
104 -STRIP_MASK="/usr/lib*/rados-classes/*"
105 -
106 -PATCHES=(
107 - "${FILESDIR}"/${PN}-0.79-libzfs.patch
108 - "${FILESDIR}"/${P}-cpp-backport.patch
109 -)
110 -
111 -pkg_setup() {
112 - python-any-r1_pkg_setup
113 -}
114 -
115 -src_prepare() {
116 - [[ ${PATCHES[@]} ]] && epatch "${PATCHES[@]}"
117 -
118 - epatch_user
119 - eautoreconf
120 -}
121 -
122 -src_configure() {
123 - econf \
124 - --without-hadoop \
125 - --docdir="${EPREFIX}/usr/share/doc/${PF}" \
126 - --includedir=/usr/include \
127 - $(use_with debug) \
128 - $(use_with fuse) \
129 - $(use_with libaio) \
130 - $(use_with libatomic libatomic-ops) \
131 - $(use_with nss) \
132 - $(use_with cryptopp) \
133 - $(use_with radosgw) \
134 - $(use_with gtk gtk2) \
135 - $(use_enable static-libs static) \
136 - $(use_with tcmalloc) \
137 - $(use_with xfs libxfs) \
138 - $(use_with zfs libzfs)
139 -}
140 -
141 -src_install() {
142 - default
143 -
144 - prune_libtool_files --all
145 -
146 - exeinto /usr/$(get_libdir)/ceph
147 - newexe src/init-ceph ceph_init.sh
148 -
149 - insinto /etc/logrotate.d/
150 - newins "${FILESDIR}"/ceph.logrotate ${PN}
151 -
152 - chmod 644 "${ED}"/usr/share/doc/${PF}/sample.*
153 -
154 - keepdir /var/lib/${PN}
155 - keepdir /var/lib/${PN}/tmp
156 - keepdir /var/log/${PN}/stat
157 -
158 - newinitd "${FILESDIR}/${PN}.initd-r1" ${PN}
159 - newconfd "${FILESDIR}/${PN}.confd-r1" ${PN}
160 -
161 - python_fix_shebang \
162 - "${ED}"/usr/sbin/{ceph-disk,ceph-create-keys} \
163 - "${ED}"/usr/bin/{ceph,ceph-rest-api}
164 -
165 - #install udev rules
166 - udev_dorules udev/50-rbd.rules
167 - udev_dorules udev/95-ceph-osd.rules
168 -
169 - readme.gentoo_create_doc
170 -}
171
172 diff --git a/sys-cluster/ceph/ceph-0.94.6-r1.ebuild b/sys-cluster/ceph/ceph-0.94.6-r1.ebuild
173 deleted file mode 100644
174 index 0892f95..0000000
175 --- a/sys-cluster/ceph/ceph-0.94.6-r1.ebuild
176 +++ /dev/null
177 @@ -1,163 +0,0 @@
178 -# Copyright 1999-2016 Gentoo Foundation
179 -# Distributed under the terms of the GNU General Public License v2
180 -# $Id$
181 -
182 -EAPI=5
183 -PYTHON_COMPAT=( python2_7 )
184 -
185 -if [[ $PV = *9999* ]]; then
186 - scm_eclass=git-r3
187 - EGIT_REPO_URI="
188 - git://github.com/ceph/ceph.git
189 - https://github.com/ceph/ceph.git"
190 - SRC_URI=""
191 -else
192 - SRC_URI="http://ceph.com/download/${P}.tar.gz"
193 -fi
194 -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
195 -
196 -inherit check-reqs autotools eutils multilib python-single-r1 udev readme.gentoo-r1 systemd ${scm_eclass}
197 -
198 -DESCRIPTION="Ceph distributed filesystem"
199 -HOMEPAGE="http://ceph.com/"
200 -
201 -LICENSE="LGPL-2.1"
202 -SLOT="0"
203 -IUSE="babeltrace cryptopp debug fuse gtk libatomic +libaio lttng +nss radosgw static-libs jemalloc python tcmalloc xfs zfs"
204 -
205 -COMMON_DEPEND="
206 - app-arch/snappy
207 - dev-libs/boost:=[threads]
208 - dev-libs/fcgi
209 - dev-libs/libaio
210 - dev-libs/libedit
211 - dev-libs/leveldb[snappy]
212 - nss? ( dev-libs/nss )
213 - cryptopp? ( dev-libs/crypto++ )
214 - sys-apps/keyutils
215 - sys-apps/util-linux
216 - dev-libs/libxml2
217 - babeltrace? ( dev-util/babeltrace )
218 - fuse? ( sys-fs/fuse )
219 - libatomic? ( dev-libs/libatomic_ops )
220 - xfs? ( sys-fs/xfsprogs )
221 - zfs? ( sys-fs/zfs )
222 - gtk? (
223 - x11-libs/gtk+:2
224 - dev-cpp/gtkmm:2.4
225 - gnome-base/librsvg
226 - )
227 - radosgw? (
228 - dev-libs/fcgi
229 - dev-libs/expat
230 - net-misc/curl
231 - )
232 - jemalloc? ( dev-libs/jemalloc )
233 - !jemalloc? ( dev-util/google-perftools )
234 - lttng? ( dev-util/lttng-ust )
235 - ${PYTHON_DEPS}
236 - "
237 -DEPEND="${COMMON_DEPEND}
238 - virtual/pkgconfig"
239 -RDEPEND="${COMMON_DEPEND}
240 - sys-apps/hdparm
241 - dev-python/flask[${PYTHON_USEDEP}]
242 - dev-python/requests[${PYTHON_USEDEP}]
243 - "
244 -REQUIRED_USE="
245 - ${PYTHON_REQUIRED_USE}
246 - ^^ ( nss cryptopp )
247 - ?? ( jemalloc tcmalloc )
248 - "
249 -
250 -STRIP_MASK="/usr/lib*/rados-classes/*"
251 -
252 -PATCHES=(
253 - "${FILESDIR}"/${PN}-0.79-libzfs.patch
254 -)
255 -CHECKREQS_DISK_BUILD="1400M"
256 -
257 -pkg_setup() {
258 - python_setup
259 -}
260 -
261 -src_prepare() {
262 - [[ ${PATCHES[@]} ]] && epatch "${PATCHES[@]}"
263 -
264 - epatch_user
265 - eautoreconf
266 -}
267 -
268 -src_configure() {
269 - local myeconfargs=(
270 - --without-hadoop
271 - --docdir="${EPREFIX}/usr/share/doc/${PF}"
272 - --includedir=/usr/include
273 - $(use_with debug)
274 - $(use_with fuse)
275 - $(use_with libaio)
276 - $(use_with libatomic libatomic-ops)
277 - $(use_with nss)
278 - $(use_with cryptopp)
279 - $(use_with radosgw)
280 - $(use_with gtk gtk2)
281 - $(use_enable static-libs static)
282 - $(use_with jemalloc)
283 - $(use_with xfs libxfs)
284 - $(use_with zfs libzfs)
285 - $(use_with lttng )
286 - $(use_with babeltrace)
287 - --without-kinetic
288 - --without-librocksdb
289 - )
290 -
291 - use jemalloc || \
292 - myeconfargs+=( $(usex tcmalloc " --with-tcmalloc" " --with-tcmalloc-minimal") )
293 -
294 - PYTHON="${EPYTHON}" \
295 - econf "${myeconfargs[@]}"
296 -}
297 -
298 -src_install() {
299 - default
300 -
301 - prune_libtool_files --all
302 -
303 - exeinto /usr/$(get_libdir)/ceph
304 - newexe src/init-ceph ceph_init.sh
305 -
306 - insinto /etc/logrotate.d/
307 - newins "${FILESDIR}"/ceph.logrotate ${PN}
308 -
309 - chmod 644 "${ED}"/usr/share/doc/${PF}/sample.*
310 -
311 - keepdir /var/lib/${PN}
312 - keepdir /var/lib/${PN}/tmp
313 - keepdir /var/log/${PN}/stat
314 -
315 - newinitd "${FILESDIR}/rbdmap.initd" rbdmap
316 - newinitd "${FILESDIR}/${PN}.initd-r1.1" ${PN}
317 - newconfd "${FILESDIR}/${PN}.confd-r1" ${PN}
318 -
319 - systemd_dounit "${FILESDIR}/ceph.target"
320 - systemd_newunit "${FILESDIR}/ceph-mds_at.service" "ceph-mds@.service"
321 - systemd_install_serviced "${FILESDIR}/ceph-mds_at.service.conf" "ceph-mds@.service"
322 - systemd_newunit "${FILESDIR}/ceph-osd_at.service" "ceph-osd@.service"
323 - systemd_install_serviced "${FILESDIR}/ceph-osd_at.service.conf" "ceph-osd@.service"
324 - systemd_newunit "${FILESDIR}/ceph-mon_at.service" "ceph-mon@.service"
325 - systemd_install_serviced "${FILESDIR}/ceph-mon_at.service.conf" "ceph-mon@.service"
326 -
327 - python_fix_shebang \
328 - "${ED}"/usr/sbin/{ceph-disk,ceph-create-keys} \
329 - "${ED}"/usr/bin/{ceph,ceph-rest-api}
330 -
331 - #install udev rules
332 - udev_dorules udev/50-rbd.rules
333 - udev_dorules udev/95-ceph-osd.rules
334 -
335 - readme.gentoo_create_doc
336 -}
337 -
338 -pkg_postinst() {
339 - readme.gentoo_print_elog
340 -}