1 |
dlan 14/03/29 22:43:59 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: ceph-0.78.ebuild |
5 |
Log: |
6 |
version bump |
7 |
|
8 |
(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key 0xAABEFD55) |
9 |
|
10 |
Revision Changes Path |
11 |
1.48 sys-cluster/ceph/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ceph/ChangeLog?rev=1.48&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ceph/ChangeLog?rev=1.48&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ceph/ChangeLog?r1=1.47&r2=1.48 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/ceph/ChangeLog,v |
20 |
retrieving revision 1.47 |
21 |
retrieving revision 1.48 |
22 |
diff -u -r1.47 -r1.48 |
23 |
--- ChangeLog 20 Feb 2014 10:18:55 -0000 1.47 |
24 |
+++ ChangeLog 29 Mar 2014 22:43:59 -0000 1.48 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sys-cluster/ceph |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ceph/ChangeLog,v 1.47 2014/02/20 10:18:55 dlan Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ceph/ChangeLog,v 1.48 2014/03/29 22:43:59 dlan Exp $ |
30 |
+ |
31 |
+*ceph-0.78 (29 Mar 2014) |
32 |
+ |
33 |
+ 29 Mar 2014; Yixun Lan <dlan@g.o> +ceph-0.78.ebuild: |
34 |
+ version bump |
35 |
|
36 |
*ceph-0.77 (20 Feb 2014) |
37 |
*ceph-0.72.2-r3 (20 Feb 2014) |
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-cluster/ceph/ceph-0.78.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ceph/ceph-0.78.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ceph/ceph-0.78.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: ceph-0.78.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2014 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ceph/ceph-0.78.ebuild,v 1.1 2014/03/29 22:43:59 dlan Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
54 |
|
55 |
if [[ $PV = *9999* ]]; then |
56 |
scm_eclass=git-r3 |
57 |
EGIT_REPO_URI=" |
58 |
git://github.com/ceph/ceph.git |
59 |
https://github.com/ceph/ceph.git" |
60 |
SRC_URI="" |
61 |
KEYWORDS="" |
62 |
else |
63 |
SRC_URI="http://ceph.com/download/${P}.tar.bz2" |
64 |
KEYWORDS="" |
65 |
fi |
66 |
|
67 |
inherit autotools eutils multilib python-any-r1 udev ${scm_eclass} |
68 |
|
69 |
DESCRIPTION="Ceph distributed filesystem" |
70 |
HOMEPAGE="http://ceph.com/" |
71 |
|
72 |
LICENSE="LGPL-2.1" |
73 |
SLOT="0" |
74 |
IUSE="cryptopp debug fuse gtk libatomic +libaio +nss radosgw static-libs tcmalloc" |
75 |
|
76 |
CDEPEND=" |
77 |
app-arch/snappy |
78 |
dev-libs/boost:=[threads] |
79 |
dev-libs/fcgi |
80 |
dev-libs/libaio |
81 |
dev-libs/libedit |
82 |
dev-libs/leveldb[snappy] |
83 |
nss? ( dev-libs/nss ) |
84 |
cryptopp? ( dev-libs/crypto++ ) |
85 |
sys-apps/keyutils |
86 |
sys-apps/util-linux |
87 |
dev-libs/libxml2 |
88 |
fuse? ( sys-fs/fuse ) |
89 |
libatomic? ( dev-libs/libatomic_ops ) |
90 |
gtk? ( |
91 |
x11-libs/gtk+:2 |
92 |
dev-cpp/gtkmm:2.4 |
93 |
gnome-base/librsvg |
94 |
) |
95 |
radosgw? ( |
96 |
dev-libs/fcgi |
97 |
dev-libs/expat |
98 |
net-misc/curl |
99 |
) |
100 |
tcmalloc? ( dev-util/google-perftools ) |
101 |
$(python_gen_any_dep ' |
102 |
virtual/python-argparse[${PYTHON_USEDEP}] |
103 |
' ) |
104 |
${PYTHON_DEPS} |
105 |
" |
106 |
DEPEND="${CDEPEND} |
107 |
virtual/pkgconfig" |
108 |
RDEPEND="${CDEPEND} |
109 |
sys-apps/hdparm |
110 |
$(python_gen_any_dep ' |
111 |
dev-python/flask[${PYTHON_USEDEP}] |
112 |
dev-python/requests[${PYTHON_USEDEP}] |
113 |
' )" |
114 |
REQUIRED_USE=" |
115 |
^^ ( nss cryptopp ) |
116 |
" |
117 |
|
118 |
STRIP_MASK="/usr/lib*/rados-classes/*" |
119 |
|
120 |
PATCHES=( "${FILESDIR}"/${PN}-fix-gnustack.patch ) |
121 |
|
122 |
pkg_setup() { |
123 |
python-any-r1_pkg_setup |
124 |
} |
125 |
|
126 |
src_prepare() { |
127 |
if [ ! -z ${PATCHES[@]} ]; then |
128 |
epatch ${PATCHES[@]} |
129 |
fi |
130 |
sed -e "/bin=/ s:lib:$(get_libdir):" "${FILESDIR}"/${PN}.initd \ |
131 |
> "${T}"/${PN}.initd || die |
132 |
|
133 |
epatch_user |
134 |
eautoreconf |
135 |
} |
136 |
|
137 |
src_configure() { |
138 |
econf \ |
139 |
--without-hadoop \ |
140 |
--docdir="${EPREFIX}/usr/share/doc/${PF}" \ |
141 |
--includedir=/usr/include \ |
142 |
$(use_with debug) \ |
143 |
$(use_with fuse) \ |
144 |
$(use_with libaio) \ |
145 |
$(use_with libatomic libatomic-ops) \ |
146 |
$(use_with nss) \ |
147 |
$(use_with cryptopp) \ |
148 |
$(use_with radosgw) \ |
149 |
$(use_with gtk gtk2) \ |
150 |
$(use_enable static-libs static) \ |
151 |
$(use_with tcmalloc) |
152 |
} |
153 |
|
154 |
src_install() { |
155 |
default |
156 |
|
157 |
prune_libtool_files --all |
158 |
|
159 |
exeinto /usr/$(get_libdir)/ceph |
160 |
newexe src/init-ceph ceph_init.sh |
161 |
|
162 |
insinto /etc/logrotate.d/ |
163 |
newins src/logrotate.conf ${PN} |
164 |
|
165 |
chmod 644 "${ED}"/usr/share/doc/${PF}/sample.* |
166 |
|
167 |
keepdir /var/lib/${PN} |
168 |
keepdir /var/lib/${PN}/tmp |
169 |
keepdir /var/log/${PN}/stat |
170 |
|
171 |
newinitd "${T}/${PN}.initd" ${PN} |
172 |
newconfd "${FILESDIR}/${PN}.confd" ${PN} |
173 |
|
174 |
_python_rewrite_shebang \ |
175 |
"${ED}"/usr/sbin/{ceph-disk,ceph-create-keys} \ |
176 |
"${ED}"/usr/bin/{ceph,ceph-rest-api} |
177 |
|
178 |
#install udev rules |
179 |
udev_dorules udev/50-rbd.rules |
180 |
udev_dorules udev/95-ceph-osd.rules |
181 |
} |
182 |
|
183 |
pkg_postinst() { |
184 |
elog "We suggest to install following packages" |
185 |
elog " sys-block/parted to manage disk partions" |
186 |
elog " sys-fs/btrfs-progs to use btrfs filesytem" |
187 |
elog " sys-fs/cryptsetup to use encrypted devices with dm-crypt" |
188 |
} |