summaryrefslogtreecommitdiff
path: root/unmaintained/strata/ceph-service
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/strata/ceph-service')
-rw-r--r--unmaintained/strata/ceph-service/ceph.morph26
-rw-r--r--unmaintained/strata/ceph-service/keyutils.morph7
-rw-r--r--unmaintained/strata/ceph-service/leveldb.morph9
-rw-r--r--unmaintained/strata/ceph-service/libaio.morph7
4 files changed, 49 insertions, 0 deletions
diff --git a/unmaintained/strata/ceph-service/ceph.morph b/unmaintained/strata/ceph-service/ceph.morph
new file mode 100644
index 00000000..56d30ead
--- /dev/null
+++ b/unmaintained/strata/ceph-service/ceph.morph
@@ -0,0 +1,26 @@
+name: ceph
+kind: chunk
+build-system: autotools
+configure-commands:
+- NOCONFIGURE=1 ./autogen.sh
+- ./configure --with-nss --prefix="$PREFIX" --sysconfdir=/etc --without-fuse --without-libatomic-ops
+ --without-libxfs
+build-commands:
+- make
+install-commands:
+- make install
+- install -D -m 755 src/init-ceph.in "$DESTDIR"/etc/init.d/ceph-SysV
+- install -D -m 755 systemd/ceph "$DESTDIR"/etc/systemd/system/ceph
+- install -D -m 644 systemd/ceph-mon@.service "$DESTDIR"/etc/systemd/system/ceph-mon@.service
+- install -D -m 644 systemd/ceph-osd@.service "$DESTDIR"/etc/systemd/system/ceph-osd@.service
+- install -D -m 644 systemd/ceph-mds@.service "$DESTDIR"/etc/systemd/system/ceph-mds@.service
+- install -D -m 644 systemd/ceph.target "$DESTDIR"/etc/systemd/system/ceph.target
+- install -d "$DESTDIR"/etc/ceph
+- install -D -d "$DESTDIR"/var/lib/ceph
+- install -d "$DESTDIR"/var/lib/ceph/mon
+- install -d "$DESTDIR"/var/lib/ceph/osd
+- install -d "$DESTDIR"/var/lib/ceph/mds
+- install -d "$DESTDIR"/var/lib/ceph/tmp
+- install -d "$DESTDIR"/var/lib/ceph/bootstrap-mds
+- install -d "$DESTDIR"/var/lib/ceph/bootstrap-osd
+- install -D -d "$DESTDIR"/var/log/ceph
diff --git a/unmaintained/strata/ceph-service/keyutils.morph b/unmaintained/strata/ceph-service/keyutils.morph
new file mode 100644
index 00000000..4d47e265
--- /dev/null
+++ b/unmaintained/strata/ceph-service/keyutils.morph
@@ -0,0 +1,7 @@
+name: keyutils
+kind: chunk
+build-commands:
+- make clean
+- make
+install-commands:
+- make DESTDIR="$DESTDIR" LIBDIR="$PREFIX/lib" USRLIBDIR="$PREFIX/lib" install
diff --git a/unmaintained/strata/ceph-service/leveldb.morph b/unmaintained/strata/ceph-service/leveldb.morph
new file mode 100644
index 00000000..2b97c6e6
--- /dev/null
+++ b/unmaintained/strata/ceph-service/leveldb.morph
@@ -0,0 +1,9 @@
+name: leveldb
+kind: chunk
+build-commands:
+- make
+install-commands:
+- mkdir -p "$DESTDIR$PREFIX"/lib
+- mkdir -p "$DESTDIR$PREFIX"/include
+- cp --preserve=links libleveldb.* "$DESTDIR$PREFIX"/lib
+- cp -r include/leveldb "$DESTDIR$PREFIX"/include
diff --git a/unmaintained/strata/ceph-service/libaio.morph b/unmaintained/strata/ceph-service/libaio.morph
new file mode 100644
index 00000000..62c24d37
--- /dev/null
+++ b/unmaintained/strata/ceph-service/libaio.morph
@@ -0,0 +1,7 @@
+name: libaio
+kind: chunk
+build-commands:
+- make clean
+- make
+install-commands:
+- make prefix="$DESTDIR$PREFIX" install