aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/ceph/APKBUILD26
1 files changed, 22 insertions, 4 deletions
diff --git a/community/ceph/APKBUILD b/community/ceph/APKBUILD
index 451d7e3181..877cde7abc 100644
--- a/community/ceph/APKBUILD
+++ b/community/ceph/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: John Coyle <dx9err@gmail.com>
pkgname=ceph
pkgver=14.2.2
-pkgrel=0
+pkgrel=1
pkgdesc="Ceph is a distributed object store and file system"
pkgusers="ceph"
pkggroups="ceph"
@@ -96,6 +96,8 @@ subpackages="
$pkgname-mds
$pkgname-mgr
$pkgname-mon
+ $pkgname-mon-daemon:mon_daemon
+ $pkgname-mon-tools:mon_tools
$pkgname-fuse:ceph_fuse
$pkgname-osd
$pkgname-osd-daemon:osd_daemon
@@ -282,11 +284,27 @@ mds() {
}
mon() {
+ pkgdesc="Cluster monitor daemon virtual package for the Ceph distributed file system."
+ depends="ceph-base
+ $pkgname-mon-daemon=$pkgver-r$pkgrel
+ $pkgname-mon-tools=$pkgver-r$pkgrel"
+
+ mkdir -p "$subpkgdir"
+}
+
+mon_daemon() {
pkgdesc="Cluster monitor daemon for the Ceph distributed file system."
- depends="ceph-base"
+ depends=""
+
+ _pkg $_bindir ceph-mon
+ install -m 750 -o $_ceph_uid -g $_ceph_gid -d \
+ "$subpkgdir"$_localstatedir/lib/ceph/mon
+}
+
+mon_tools() {
+ pkgdesc="Cluster monitor tools for the Ceph distributed file system."
- _pkg $_bindir ceph-mon \
- ceph-monstore-tool
+ _pkg $_bindir ceph-monstore-tool
install -m 750 -o $_ceph_uid -g $_ceph_gid -d \
"$subpkgdir"$_localstatedir/lib/ceph/mon
}