mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-cluster/ceph: version bump 0.94.3
Gentoo-Bug: 559338 Package-Manager: portage-2.2.20.1
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
DIST ceph-0.80.10.tar.bz2 4136018 SHA256 a7ca8a3d0710ab88adcd5c52aebe0a8ee573e247c1ccf5d84eea8a9ff07a51fa SHA512 7823a489b7654457512d300050410b4a91d615fbb467d341c76e76b77364d6a2afa763bceb2c6cd8ed05a45d7b0aef4c3baf80155cc3223e940b439e0571f3c9 WHIRLPOOL a03fc3a4ca8c49157ff3b51528418ca62c3520c4141e402863cf3475a11b240be5297f731bf1a4e77a01a476e80f5e06c0722d688fbb8ad2db26ef1975a450da
|
||||
DIST ceph-0.80.9.tar.bz2 4061267 SHA256 59fa4a60f96e648b023e05690ef4d0042cbdacf4d2f50880162ff484bfbb7797 SHA512 b2f62510c6615bcb884c201852ae11abc94faf5b51899c4e326aab4c5e1ef2c7bca8002e1c46c41fd9e82ea16f570c4ee33ee9ff0c5e7c6dfb6a2bc8da15db95 WHIRLPOOL ddbcf45b781466525b6d577ab155ea32094388aabb98e03b7186ecd90d743cbb05fbedcf212df5f5a78eddf4458bfba92f6c8220c61f8ddb89a2f4b8ce7f87f1
|
||||
DIST ceph-0.94.2.tar.bz2 7041327 SHA256 2cf36977e17d5782cdcfc885dcc2226c9c6e1454c1650f53a1e38a73e96544e8 SHA512 10b7ad611ff72b9367996e297f12dbef44c0d896ccf20133405b1d244dd1f9c9e813642918c01c16936aad58315912a87ca8dc2dcf3071311cfb14bde7e62790 WHIRLPOOL 207c8909927d520403554cc02880f8ed340602c98b2cfd4d9078afa76b79a83c5e070237f821f785eb2779cd63b3f015b85f08b031e48a7b1a862f1194947fb9
|
||||
DIST ceph-0.94.3.tar.bz2 7063143 SHA256 d042155302656a9110bd385b316cf9434a7da6b6f52faef42b378cb3d1bbddb8 SHA512 de3a8ff5c6f7f1c85ba304964023f9c196d8717fa7e070b88d3fbd7f904d54882a2a110c2cb7d96795642ce1082ca0304c2179724bf2bf426a37580de4f009c6 WHIRLPOOL c6adad828f3ad7e56939cdda676c75ebd23fe8d1ab138c862e9c766549b9bfb135e4ff32a57d833209a498acd7d77467f195ae9d11828a0a6bfb4c67cc168137
|
||||
|
||||
159
sys-cluster/ceph/ceph-0.94.3.ebuild
Normal file
159
sys-cluster/ceph/ceph-0.94.3.ebuild
Normal file
@@ -0,0 +1,159 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
if [[ $PV = *9999* ]]; then
|
||||
scm_eclass=git-r3
|
||||
EGIT_REPO_URI="
|
||||
git://github.com/ceph/ceph.git
|
||||
https://github.com/ceph/ceph.git"
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="http://ceph.com/download/${P}.tar.bz2"
|
||||
fi
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
|
||||
inherit autotools eutils multilib python-any-r1 udev readme.gentoo systemd ${scm_eclass}
|
||||
|
||||
DESCRIPTION="Ceph distributed filesystem"
|
||||
HOMEPAGE="http://ceph.com/"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="babeltrace cryptopp debug fuse gtk libatomic +libaio lttng +nss radosgw static-libs jemalloc tcmalloc xfs zfs"
|
||||
|
||||
CDEPEND="
|
||||
app-arch/snappy
|
||||
dev-libs/boost:=[threads]
|
||||
dev-libs/fcgi
|
||||
dev-libs/libaio
|
||||
dev-libs/libedit
|
||||
dev-libs/leveldb[snappy]
|
||||
nss? ( dev-libs/nss )
|
||||
cryptopp? ( dev-libs/crypto++ )
|
||||
sys-apps/keyutils
|
||||
sys-apps/util-linux
|
||||
dev-libs/libxml2
|
||||
babeltrace? ( dev-util/babeltrace )
|
||||
fuse? ( sys-fs/fuse )
|
||||
libatomic? ( dev-libs/libatomic_ops )
|
||||
xfs? ( sys-fs/xfsprogs )
|
||||
zfs? ( sys-fs/zfs )
|
||||
gtk? (
|
||||
x11-libs/gtk+:2
|
||||
dev-cpp/gtkmm:2.4
|
||||
gnome-base/librsvg
|
||||
)
|
||||
radosgw? (
|
||||
dev-libs/fcgi
|
||||
dev-libs/expat
|
||||
net-misc/curl
|
||||
)
|
||||
jemalloc? ( dev-libs/jemalloc )
|
||||
!jemalloc? ( dev-util/google-perftools )
|
||||
lttng? ( dev-util/lttng-ust )
|
||||
$(python_gen_any_dep '
|
||||
' )
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${CDEPEND}
|
||||
sys-apps/hdparm
|
||||
$(python_gen_any_dep '
|
||||
dev-python/flask[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
' )"
|
||||
REQUIRED_USE="
|
||||
^^ ( nss cryptopp )
|
||||
?? ( jemalloc tcmalloc )
|
||||
"
|
||||
|
||||
STRIP_MASK="/usr/lib*/rados-classes/*"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.79-libzfs.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
[[ ${PATCHES[@]} ]] && epatch "${PATCHES[@]}"
|
||||
|
||||
epatch_user
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--without-hadoop
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}"
|
||||
--includedir=/usr/include
|
||||
$(use_with debug)
|
||||
$(use_with fuse)
|
||||
$(use_with libaio)
|
||||
$(use_with libatomic libatomic-ops)
|
||||
$(use_with nss)
|
||||
$(use_with cryptopp)
|
||||
$(use_with radosgw)
|
||||
$(use_with gtk gtk2)
|
||||
$(use_enable static-libs static)
|
||||
$(use_with jemalloc)
|
||||
$(use_with xfs libxfs)
|
||||
$(use_with zfs libzfs)
|
||||
--without-kinetic
|
||||
--without-librocksdb
|
||||
$(use_with lttng )
|
||||
$(use_with babeltrace)
|
||||
)
|
||||
|
||||
use jemalloc || \
|
||||
myeconfargs+=( $(usex tcmalloc " --with-tcmalloc" " --with-tcmalloc-minimal") )
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
prune_libtool_files --all
|
||||
|
||||
exeinto /usr/$(get_libdir)/ceph
|
||||
newexe src/init-ceph ceph_init.sh
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}"/ceph.logrotate ${PN}
|
||||
|
||||
chmod 644 "${ED}"/usr/share/doc/${PF}/sample.*
|
||||
|
||||
keepdir /var/lib/${PN}
|
||||
keepdir /var/lib/${PN}/tmp
|
||||
keepdir /var/log/${PN}/stat
|
||||
|
||||
newinitd "${FILESDIR}/rbdmap.initd" rbdmap
|
||||
newinitd "${FILESDIR}/${PN}.initd-r1" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd-r1" ${PN}
|
||||
|
||||
systemd_dounit "${FILESDIR}/ceph.target"
|
||||
systemd_newunit "${FILESDIR}/ceph-mds_at.service" "ceph-mds@.service"
|
||||
systemd_install_serviced "${FILESDIR}/ceph-mds_at.service.conf" "ceph-mds@.service"
|
||||
systemd_newunit "${FILESDIR}/ceph-osd_at.service" "ceph-osd@.service"
|
||||
systemd_install_serviced "${FILESDIR}/ceph-osd_at.service.conf" "ceph-osd@.service"
|
||||
systemd_newunit "${FILESDIR}/ceph-mon_at.service" "ceph-mon@.service"
|
||||
systemd_install_serviced "${FILESDIR}/ceph-mon_at.service.conf" "ceph-mon@.service"
|
||||
|
||||
python_fix_shebang \
|
||||
"${ED}"/usr/sbin/{ceph-disk,ceph-create-keys} \
|
||||
"${ED}"/usr/bin/{ceph,ceph-rest-api}
|
||||
|
||||
#install udev rules
|
||||
udev_dorules udev/50-rbd.rules
|
||||
udev_dorules udev/95-ceph-osd.rules
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
@@ -19,6 +19,7 @@ Ceph is a distributed network file system designed to provide excellent performa
|
||||
<flag name='babeltrace'>Add support for LTTng babeltrace</flag>
|
||||
<flag name='nss'>Use <pkg>dev-libs/nss</pkg> for cryptography</flag>
|
||||
<flag name='radosgw'>Add radosgw support</flag>
|
||||
<flag name='jemalloc'>Use <pkg>dev-libs/jemalloc</pkg> for allocations</flag>
|
||||
<flag name='xfs'>Add xfs support</flag>
|
||||
<flag name='zfs'>Add zfs support</flag>
|
||||
</use>
|
||||
|
||||
Reference in New Issue
Block a user