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