diff options
Diffstat (limited to 'src/ceph/debian')
67 files changed, 2878 insertions, 0 deletions
diff --git a/src/ceph/debian/.gitignore b/src/ceph/debian/.gitignore new file mode 100644 index 0000000..32ca866 --- /dev/null +++ b/src/ceph/debian/.gitignore @@ -0,0 +1,41 @@ +/*.substvars +/*.debhelper.log +/ceph-common-dbg +/ceph-common +/ceph-fuse-dbg +/ceph-fuse +/ceph-fs-common-dbg +/ceph-fs-common +/ceph-mds-dbg +/ceph-mds +/ceph-mgr-dbg +/ceph-mgr +/ceph-mon-dbg +/ceph-mon +/ceph-osd-dbg +/ceph-osd +/ceph-resource-agents +/ceph.init +/radosgw.init +/ceph.logrotate +/*.debhelper +/ceph +/files +/libcephfs2-dbg +/libcephfs-dev +/libcephfs2 +/librados2-dbg +/librados-dev +/librados2 +/librbd1-dbg +/librbd-dev +/librbd1 +/radosgw-dbg +/radosgw +/python-ceph +/python-rados +/python-rbd +/python-cephfs +/libcephfs-java +/libcephfs-jni +/tmp diff --git a/src/ceph/debian/ceph-base.dirs b/src/ceph/debian/ceph-base.dirs new file mode 100644 index 0000000..2ae6860 --- /dev/null +++ b/src/ceph/debian/ceph-base.dirs @@ -0,0 +1,6 @@ +var/lib/ceph/bootstrap-mds +var/lib/ceph/bootstrap-mgr +var/lib/ceph/bootstrap-osd +var/lib/ceph/bootstrap-rgw +var/lib/ceph/bootstrap-rbd +var/lib/ceph/tmp diff --git a/src/ceph/debian/ceph-base.docs b/src/ceph/debian/ceph-base.docs new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/src/ceph/debian/ceph-base.docs @@ -0,0 +1 @@ +README diff --git a/src/ceph/debian/ceph-base.install b/src/ceph/debian/ceph-base.install new file mode 100644 index 0000000..65d1511 --- /dev/null +++ b/src/ceph/debian/ceph-base.install @@ -0,0 +1,23 @@ +etc/init.d/ceph +usr/bin/ceph-debugpack +usr/bin/ceph-detect-init +usr/bin/ceph-run +usr/bin/crushtool +usr/bin/monmaptool +usr/bin/osdmaptool +usr/bin/ceph-kvstore-tool +usr/lib/ceph/ceph_common.sh +usr/lib/ceph/erasure-code/* +usr/lib/python*/dist-packages/ceph_detect_init* +usr/lib/rados-classes/* +usr/sbin/ceph-create-keys +usr/share/doc/ceph/sample.ceph.conf +usr/share/man/man8/ceph-create-keys.8 +usr/share/man/man8/ceph-debugpack.8 +usr/share/man/man8/ceph-deploy.8 +usr/share/man/man8/ceph-detect-init.8 +usr/share/man/man8/ceph-run.8 +usr/share/man/man8/crushtool.8 +usr/share/man/man8/monmaptool.8 +usr/share/man/man8/osdmaptool.8 +usr/share/man/man8/ceph-kvstore-tool.8 diff --git a/src/ceph/debian/ceph-base.lintian-overrides b/src/ceph/debian/ceph-base.lintian-overrides new file mode 100644 index 0000000..e436e49 --- /dev/null +++ b/src/ceph/debian/ceph-base.lintian-overrides @@ -0,0 +1,6 @@ +# +# the rados classes should NOT be stripped. +# +ceph: unstripped-binary-or-object ./usr/lib/rados-classes/libcls_rbd.so.1.0.0 +ceph: unstripped-binary-or-object ./usr/lib/rados-classes/libcls_rgw.so.1.0.0 + diff --git a/src/ceph/debian/ceph-base.maintscript b/src/ceph/debian/ceph-base.maintscript new file mode 100644 index 0000000..196dc08 --- /dev/null +++ b/src/ceph/debian/ceph-base.maintscript @@ -0,0 +1,2 @@ +rm_conffile /etc/logrotate.d/ceph +rm_conffile /etc/logrotate.d/ceph.logrotate diff --git a/src/ceph/debian/ceph-base.postinst b/src/ceph/debian/ceph-base.postinst new file mode 100644 index 0000000..75eeb59 --- /dev/null +++ b/src/ceph/debian/ceph-base.postinst @@ -0,0 +1,61 @@ +#!/bin/sh +# vim: set noet ts=8: +# postinst script for ceph +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# +# postinst configure <most-recently-configured-version> +# old-postinst abort-upgrade <new-version> +# conflictor's-postinst abort-remove in-favour <package> <new-version> +# postinst abort-remove +# deconfigured's-postinst abort-deconfigure in-favour <failed-install-package> <version> [<removing conflicting-package> <version>] +# +# The current action is to simply remove the mistakenly-added +# /etc/init/ceph.conf file; this could be done in any of these cases, +# although technically it will leave the system in a different state +# than the original install that included that file. So instead we +# only remove on "configure", since that's the only time we know we're +# successful in installing a newer package than the erroneous version. + +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +[ -f "/etc/default/ceph" ] && . /etc/default/ceph +[ -z "$SERVER_USER" ] && SERVER_USER=ceph +[ -z "$SERVER_GROUP" ] && SERVER_GROUP=ceph + +case "$1" in + configure) + rm -f /etc/init/ceph.conf + [ -x /sbin/start ] && start ceph-all || : + + # adjust file and directory permissions + for DIR in /var/lib/ceph/* ; do + if ! dpkg-statoverride --list $DIR >/dev/null + then + chown $SERVER_USER:$SERVER_GROUP $DIR + fi + done + ;; + abort-upgrade|abort-remove|abort-deconfigure) + : + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/src/ceph/debian/ceph-base.prerm b/src/ceph/debian/ceph-base.prerm new file mode 100644 index 0000000..bfd7d3d --- /dev/null +++ b/src/ceph/debian/ceph-base.prerm @@ -0,0 +1,23 @@ +#!/bin/sh +# vim: set noet ts=8: + +set -e + +case "$1" in + remove) + [ -x /sbin/stop ] && stop ceph-all || true + invoke-rc.d ceph stop || { + RESULT=$? + if [ $RESULT != 100 ]; then + exit $RESULT + fi + } + ;; + + *) + ;; +esac + +#DEBHELPER# + +exit 0 diff --git a/src/ceph/debian/ceph-common.dirs b/src/ceph/debian/ceph-common.dirs new file mode 100644 index 0000000..ff05698 --- /dev/null +++ b/src/ceph/debian/ceph-common.dirs @@ -0,0 +1,3 @@ +etc/ceph +var/lib/ceph +var/log/ceph diff --git a/src/ceph/debian/ceph-common.install b/src/ceph/debian/ceph-common.install new file mode 100755 index 0000000..11e24f4 --- /dev/null +++ b/src/ceph/debian/ceph-common.install @@ -0,0 +1,46 @@ +#! /usr/bin/dh-exec --with=install + +etc/bash_completion.d/ceph +etc/bash_completion.d/rados +etc/bash_completion.d/radosgw-admin +etc/bash_completion.d/rbd +usr/bin/ceph +usr/bin/ceph-authtool +usr/bin/ceph-conf +usr/bin/ceph-dencoder +usr/bin/ceph-rbdnamer +usr/bin/ceph-syn +usr/bin/ceph-crush-location +usr/bin/cephfs-data-scan +usr/bin/cephfs-journal-tool +usr/bin/cephfs-table-tool +usr/bin/rados +usr/bin/radosgw-admin +usr/bin/rbd +usr/bin/rbdmap +usr/bin/rbd-replay* +usr/bin/ceph-post-file +usr/bin/ceph-brag +usr/sbin/mount.ceph sbin +usr/lib/ceph/compressor/* +usr/lib/ceph/crypto/* [amd64] +usr/share/man/man8/ceph-authtool.8 +usr/share/man/man8/ceph-conf.8 +usr/share/man/man8/ceph-dencoder.8 +usr/share/man/man8/ceph-rbdnamer.8 +usr/share/man/man8/ceph-syn.8 +usr/share/man/man8/ceph-post-file.8 +usr/share/man/man8/ceph.8 +usr/share/man/man8/mount.ceph.8 +usr/share/man/man8/rados.8 +usr/share/man/man8/radosgw-admin.8 +usr/share/man/man8/rbd.8 +usr/share/man/man8/rbdmap.8 +usr/share/man/man8/rbd-replay*.8 +usr/share/ceph/known_hosts_drop.ceph.com +usr/share/ceph/id_rsa_drop.ceph.com +usr/share/ceph/id_rsa_drop.ceph.com.pub +etc/ceph/rbdmap +lib/udev/rules.d/50-rbd.rules +usr/lib/python*/dist-packages/ceph_argparse.py* +usr/lib/python*/dist-packages/ceph_daemon.py* diff --git a/src/ceph/debian/ceph-common.postinst b/src/ceph/debian/ceph-common.postinst new file mode 100644 index 0000000..719dc79 --- /dev/null +++ b/src/ceph/debian/ceph-common.postinst @@ -0,0 +1,107 @@ +#!/bin/sh +# vim: set noet ts=8: +# postinst script for ceph-mds +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# +# postinst configure <most-recently-configured-version> +# old-postinst abort-upgrade <new-version> +# conflictor's-postinst abort-remove in-favour <package> <new-version> +# postinst abort-remove +# deconfigured's-postinst abort-deconfigure in-favour <failed-install-package> <version> [<removing conflicting-package> <version>] +# + +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +# Let the admin override these distro-specified defaults. This is NOT +# recommended! +[ -f "/etc/default/ceph" ] && . /etc/default/ceph + +[ -z "$SERVER_HOME" ] && SERVER_HOME=/var/lib/ceph +[ -z "$SERVER_USER" ] && SERVER_USER=ceph +[ -z "$SERVER_NAME" ] && SERVER_NAME="Ceph storage service" +[ -z "$SERVER_GROUP" ] && SERVER_GROUP=ceph +[ -z "$SERVER_UID" ] && SERVER_UID=64045 # alloc by Debian base-passwd maintainer +[ -z "$SERVER_GID" ] && SERVER_GID=$SERVER_UID + + +# Groups that the user will be added to, if undefined, then none. +[ -z "$SERVER_ADDGROUP" ] && SERVER_ADDGROUP= + +case "$1" in + configure) + # create user to avoid running server as root + # 1. create group if not existing + if ! getent group | grep -q "^$SERVER_GROUP:" ; then + echo -n "Adding group $SERVER_GROUP.." + addgroup --quiet --system --gid $SERVER_GID \ + $SERVER_GROUP 2>/dev/null ||true + echo "..done" + fi + # 2. create user if not existing + if ! getent passwd | grep -q "^$SERVER_USER:"; then + echo -n "Adding system user $SERVER_USER.." + adduser --quiet \ + --system \ + --no-create-home \ + --disabled-password \ + --uid $SERVER_UID \ + --gid $SERVER_GID \ + $SERVER_USER 2>/dev/null || true + echo "..done" + fi + # 3. adjust passwd entry + echo -n "Setting system user $SERVER_USER properties.." + usermod -c "$SERVER_NAME" \ + -d $SERVER_HOME \ + -g $SERVER_GROUP \ + $SERVER_USER + echo "..done" + + # 5. adjust file and directory permissions + if ! dpkg-statoverride --list $SERVER_HOME >/dev/null + then + chown $SERVER_USER:$SERVER_GROUP $SERVER_HOME + chmod u=rwx,g=rx,o= $SERVER_HOME + fi + if ! dpkg-statoverride --list /var/log/ceph >/dev/null + then + chown -R $SERVER_USER:$SERVER_GROUP /var/log/ceph + # members of group ceph can log here, but cannot remove + # others' files. non-members cannot read any logs. + chmod u=rwx,g=rwxs,o=t /var/log/ceph + fi + + # 6. fix /var/run/ceph + if [ -d /var/run/ceph ]; then + echo -n "Fixing /var/run/ceph ownership.." + chown $SERVER_USER:$SERVER_GROUP /var/run/ceph + echo "..done" + fi + + # create /run/ceph. fail softly if systemd isn't present or + # something. + [ -x /bin/systemd-tmpfiles ] && systemd-tmpfiles --create || true + ;; + abort-upgrade|abort-remove|abort-deconfigure) + : + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff --git a/src/ceph/debian/ceph-common.postrm b/src/ceph/debian/ceph-common.postrm new file mode 100644 index 0000000..b621854 --- /dev/null +++ b/src/ceph/debian/ceph-common.postrm @@ -0,0 +1,47 @@ +#!/bin/sh +# postrm script for ceph-common +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postrm> `remove' +# * <postrm> `purge' +# * <old-postrm> `upgrade' <new-version> +# * <new-postrm> `failed-upgrade' <old-version> +# * <new-postrm> `abort-install' +# * <new-postrm> `abort-install' <old-version> +# * <new-postrm> `abort-upgrade' <old-version> +# * <disappearer's-postrm> `disappear' <overwriter> +# <overwriter-version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove) + ;; + + purge) + rm -rf /var/log/ceph + rm -rf /etc/ceph + ;; + + upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/src/ceph/debian/ceph-fuse.install b/src/ceph/debian/ceph-fuse.install new file mode 100644 index 0000000..d6ad4dc --- /dev/null +++ b/src/ceph/debian/ceph-fuse.install @@ -0,0 +1,3 @@ +usr/bin/ceph-fuse +usr/sbin/mount.fuse.ceph sbin +usr/share/man/man8/ceph-fuse.8 diff --git a/src/ceph/debian/ceph-mds.dirs b/src/ceph/debian/ceph-mds.dirs new file mode 100644 index 0000000..9845268 --- /dev/null +++ b/src/ceph/debian/ceph-mds.dirs @@ -0,0 +1 @@ +var/lib/ceph/mds diff --git a/src/ceph/debian/ceph-mds.install b/src/ceph/debian/ceph-mds.install new file mode 100644 index 0000000..8a5d74e --- /dev/null +++ b/src/ceph/debian/ceph-mds.install @@ -0,0 +1,2 @@ +usr/bin/ceph-mds +usr/share/man/man8/ceph-mds.8 diff --git a/src/ceph/debian/ceph-mds.postinst b/src/ceph/debian/ceph-mds.postinst new file mode 100644 index 0000000..b69efed --- /dev/null +++ b/src/ceph/debian/ceph-mds.postinst @@ -0,0 +1,51 @@ +#!/bin/sh +# vim: set noet ts=8: +# postinst script for ceph-mds +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# +# postinst configure <most-recently-configured-version> +# old-postinst abort-upgrade <new-version> +# conflictor's-postinst abort-remove in-favour <package> <new-version> +# postinst abort-remove +# deconfigured's-postinst abort-deconfigure in-favour <failed-install-package> <version> [<removing conflicting-package> <version>] +# + +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +[ -f "/etc/default/ceph" ] && . /etc/default/ceph +[ -z "$SERVER_USER" ] && SERVER_USER=ceph +[ -z "$SERVER_GROUP" ] && SERVER_GROUP=ceph + +case "$1" in + configure) + [ -x /sbin/start ] && start ceph-mds-all || : + + if ! dpkg-statoverride --list /var/lib/ceph/mds >/dev/null + then + chown $SERVER_USER:$SERVER_GROUP /var/lib/ceph/mds + fi + ;; + abort-upgrade|abort-remove|abort-deconfigure) + : + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/src/ceph/debian/ceph-mds.prerm b/src/ceph/debian/ceph-mds.prerm new file mode 100644 index 0000000..654518a --- /dev/null +++ b/src/ceph/debian/ceph-mds.prerm @@ -0,0 +1,23 @@ +#!/bin/sh +# vim: set noet ts=8: + +set -e + +case "$1" in + remove) + [ -x /sbin/stop ] && stop ceph-mds-all || : + invoke-rc.d ceph stop mds || { + RESULT=$? + if [ $RESULT != 100 ]; then + exit $RESULT + fi + } + ;; + + *) + ;; +esac + +#DEBHELPER# + +exit 0 diff --git a/src/ceph/debian/ceph-mgr.dirs b/src/ceph/debian/ceph-mgr.dirs new file mode 100644 index 0000000..636b3cf --- /dev/null +++ b/src/ceph/debian/ceph-mgr.dirs @@ -0,0 +1 @@ +var/lib/ceph/mgr diff --git a/src/ceph/debian/ceph-mgr.install b/src/ceph/debian/ceph-mgr.install new file mode 100644 index 0000000..0ec0f70 --- /dev/null +++ b/src/ceph/debian/ceph-mgr.install @@ -0,0 +1,2 @@ +usr/bin/ceph-mgr +usr/lib/ceph/mgr diff --git a/src/ceph/debian/ceph-mgr.postinst b/src/ceph/debian/ceph-mgr.postinst new file mode 100644 index 0000000..6d38ccf --- /dev/null +++ b/src/ceph/debian/ceph-mgr.postinst @@ -0,0 +1,51 @@ +#!/bin/sh +# vim: set noet ts=8: +# postinst script for ceph-mgr +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# +# postinst configure <most-recently-configured-version> +# old-postinst abort-upgrade <new-version> +# conflictor's-postinst abort-remove in-favour <package> <new-version> +# postinst abort-remove +# deconfigured's-postinst abort-deconfigure in-favour <failed-install-package> <version> [<removing conflicting-package> <version>] +# + +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +[ -f "/etc/default/ceph" ] && . /etc/default/ceph +[ -z "$SERVER_USER" ] && SERVER_USER=ceph +[ -z "$SERVER_GROUP" ] && SERVER_GROUP=ceph + +case "$1" in + configure) + [ -x /sbin/start ] && start ceph-mgr-all || : + + if ! dpkg-statoverride --list /var/lib/ceph/mgr >/dev/null + then + chown $SERVER_USER:$SERVER_GROUP /var/lib/ceph/mgr + fi + ;; + abort-upgrade|abort-remove|abort-deconfigure) + : + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/src/ceph/debian/ceph-mgr.prerm b/src/ceph/debian/ceph-mgr.prerm new file mode 100644 index 0000000..6fb7b24 --- /dev/null +++ b/src/ceph/debian/ceph-mgr.prerm @@ -0,0 +1,23 @@ +#!/bin/sh +# vim: set noet ts=8: + +set -e + +case "$1" in + remove) + [ -x /sbin/stop ] && stop ceph-mgr-all || : + invoke-rc.d ceph stop mgr || { + RESULT=$? + if [ $RESULT != 100 ]; then + exit $RESULT + fi + } + ;; + + *) + ;; +esac + +#DEBHELPER# + +exit 0 diff --git a/src/ceph/debian/ceph-mon.dirs b/src/ceph/debian/ceph-mon.dirs new file mode 100644 index 0000000..e2845f6 --- /dev/null +++ b/src/ceph/debian/ceph-mon.dirs @@ -0,0 +1 @@ +var/lib/ceph/mon diff --git a/src/ceph/debian/ceph-mon.install b/src/ceph/debian/ceph-mon.install new file mode 100644 index 0000000..edf9285 --- /dev/null +++ b/src/ceph/debian/ceph-mon.install @@ -0,0 +1,6 @@ +usr/bin/ceph-mon +usr/bin/ceph-monstore-tool +usr/bin/ceph-rest-api +usr/lib/python*/dist-packages/ceph_rest_api.py* +usr/share/man/man8/ceph-mon.8 +usr/share/man/man8/ceph-rest-api.8 diff --git a/src/ceph/debian/ceph-mon.postinst b/src/ceph/debian/ceph-mon.postinst new file mode 100644 index 0000000..b33f34b --- /dev/null +++ b/src/ceph/debian/ceph-mon.postinst @@ -0,0 +1,45 @@ +# vim: set noet ts=8: +# postinst script for ceph-mon +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# +# postinst configure <most-recently-configured-version> +# old-postinst abort-upgrade <new-version> +# conflictor's-postinst abort-remove in-favour <package> <new-version> +# postinst abort-remove +# deconfigured's-postinst abort-deconfigure in-favour <failed-install-package> <version> [<removing conflicting-package> <version>] +# + +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +[ -f "/etc/default/ceph" ] && . /etc/default/ceph +[ -z "$SERVER_USER" ] && SERVER_USER=ceph +[ -z "$SERVER_GROUP" ] && SERVER_GROUP=ceph + +case "$1" in + configure) + [ -x /sbin/start ] && start ceph-mon-all || : + ;; + abort-upgrade|abort-remove|abort-deconfigure) + : + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/src/ceph/debian/ceph-mon.prerm b/src/ceph/debian/ceph-mon.prerm new file mode 100644 index 0000000..5f64058 --- /dev/null +++ b/src/ceph/debian/ceph-mon.prerm @@ -0,0 +1,23 @@ +#!/bin/sh +# vim: set noet ts=8: + +set -e + +case "$1" in + remove) + [ -x /sbin/stop ] && stop ceph-mon-all || true + invoke-rc.d ceph stop mon || { + RESULT=$? + if [ $RESULT != 100 ]; then + exit $RESULT + fi + } + ;; + + *) + ;; +esac + +#DEBHELPER# + +exit 0 diff --git a/src/ceph/debian/ceph-osd.dirs b/src/ceph/debian/ceph-osd.dirs new file mode 100644 index 0000000..b7fc476 --- /dev/null +++ b/src/ceph/debian/ceph-osd.dirs @@ -0,0 +1 @@ +var/lib/ceph/osd diff --git a/src/ceph/debian/ceph-osd.install b/src/ceph/debian/ceph-osd.install new file mode 100644 index 0000000..6e03f1b --- /dev/null +++ b/src/ceph/debian/ceph-osd.install @@ -0,0 +1,24 @@ +lib/udev/rules.d/60-ceph-by-parttypeuuid.rules +lib/udev/rules.d/95-ceph-osd.rules +usr/bin/ceph-bluestore-tool +usr/bin/ceph-clsinfo +usr/bin/ceph-objectstore-tool +usr/bin/ceph-osdomap-tool +usr/bin/ceph-osd +usr/bin/ceph_objectstore_bench +usr/lib/ceph/ceph-osd-prestart.sh +usr/lib/libos_tp.so* +usr/lib/libosd_tp.so* +usr/lib/python*/dist-packages/ceph_disk* +usr/sbin/ceph-disk +usr/sbin/ceph-volume +usr/sbin/ceph-volume-systemd +usr/lib/python*/dist-packages/ceph_volume/* +usr/lib/python*/dist-packages/ceph_volume-* +usr/share/man/man8/ceph-clsinfo.8 +usr/share/man/man8/ceph-disk.8 +usr/share/man/man8/ceph-volume.8 +usr/share/man/man8/ceph-volume-systemd.8 +usr/share/man/man8/ceph-osd.8 +usr/share/man/man8/ceph-bluestore-tool.8 +etc/sysctl.d/30-ceph-osd.conf diff --git a/src/ceph/debian/ceph-osd.postinst b/src/ceph/debian/ceph-osd.postinst new file mode 100644 index 0000000..5e44548 --- /dev/null +++ b/src/ceph/debian/ceph-osd.postinst @@ -0,0 +1,46 @@ +# vim: set noet ts=8: +# postinst script for ceph-osd +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# +# postinst configure <most-recently-configured-version> +# old-postinst abort-upgrade <new-version> +# conflictor's-postinst abort-remove in-favour <package> <new-version> +# postinst abort-remove +# deconfigured's-postinst abort-deconfigure in-favour <failed-install-package> <version> [<removing conflicting-package> <version>] +# + +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +[ -f "/etc/default/ceph" ] && . /etc/default/ceph +[ -z "$SERVER_USER" ] && SERVER_USER=ceph +[ -z "$SERVER_GROUP" ] && SERVER_GROUP=ceph + +case "$1" in + configure) + [ -x /etc/init.d/procps ] && invoke-rc.d procps restart || : + [ -x /sbin/start ] && start ceph-osd-all || : + ;; + abort-upgrade|abort-remove|abort-deconfigure) + : + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/src/ceph/debian/ceph-osd.prerm b/src/ceph/debian/ceph-osd.prerm new file mode 100644 index 0000000..40f07b6 --- /dev/null +++ b/src/ceph/debian/ceph-osd.prerm @@ -0,0 +1,23 @@ +#!/bin/sh +# vim: set noet ts=8: + +set -e + +case "$1" in + remove) + [ -x /sbin/stop ] && stop ceph-osd-all || true + invoke-rc.d ceph stop osd || { + RESULT=$? + if [ $RESULT != 100 ]; then + exit $RESULT + fi + } + ;; + + *) + ;; +esac + +#DEBHELPER# + +exit 0 diff --git a/src/ceph/debian/ceph-resource-agents.install b/src/ceph/debian/ceph-resource-agents.install new file mode 100644 index 0000000..30843f6 --- /dev/null +++ b/src/ceph/debian/ceph-resource-agents.install @@ -0,0 +1 @@ +usr/lib/ocf/resource.d/ceph/* diff --git a/src/ceph/debian/ceph-test.install b/src/ceph/debian/ceph-test.install new file mode 100644 index 0000000..e712728 --- /dev/null +++ b/src/ceph/debian/ceph-test.install @@ -0,0 +1,27 @@ +usr/bin/ceph-client-debug +usr/bin/ceph-coverage +usr/bin/ceph_bench_log +usr/bin/ceph_erasure_code +usr/bin/ceph_erasure_code_benchmark +usr/bin/ceph_kvstorebench +usr/bin/ceph_multi_stress_watch +usr/bin/ceph_omapbench +usr/bin/ceph_perf_local +usr/bin/ceph_perf_msgr_client +usr/bin/ceph_perf_msgr_server +usr/bin/ceph_perf_objectstore +usr/bin/ceph_psim +usr/bin/ceph_radosacl +usr/bin/ceph_rgw_jsonparser +usr/bin/ceph_rgw_multiparser +usr/bin/ceph_scratchtool +usr/bin/ceph_scratchtoolpp +usr/bin/ceph_smalliobench +usr/bin/ceph_smalliobenchdumb +usr/bin/ceph_smalliobenchfs +usr/bin/ceph_smalliobenchrbd +usr/bin/ceph_test_* +usr/bin/ceph_tpbench +usr/bin/ceph_xattr_bench +usr/lib/ceph/ceph-monstore-update-crush.sh +usr/share/java/libcephfs-test.jar diff --git a/src/ceph/debian/changelog b/src/ceph/debian/changelog new file mode 100644 index 0000000..7597cb6 --- /dev/null +++ b/src/ceph/debian/changelog @@ -0,0 +1,757 @@ +ceph (12.2.2-1) stable; urgency=medium + + * New upstream release + + -- Ceph Release Team <ceph-maintainers@ceph.com> Thu, 30 Nov 2017 14:59:26 +0000 + +ceph (12.2.1-1) stable; urgency=medium + + * New upstream release + + -- Ceph Release Team <ceph-maintainers@ceph.com> Tue, 26 Sep 2017 16:27:06 +0000 + +ceph (12.2.0-1) stable; urgency=medium + + * New upstream release + + -- Ceph Release Team <ceph-maintainers@ceph.com> Mon, 28 Aug 2017 16:30:16 +0000 + +ceph (12.1.4-1) stable; urgency=medium + + * New upstream release + + -- Ceph Release Team <ceph-maintainers@ceph.com> Tue, 15 Aug 2017 13:45:08 +0000 + +ceph (12.1.3-1) stable; urgency=medium + + * New upstream release + + -- Ceph Release Team <ceph-maintainers@ceph.com> Thu, 10 Aug 2017 19:22:38 +0000 + +ceph (12.1.2-1) stable; urgency=medium + + * New upstream release + + -- Ceph Release Team <ceph-maintainers@ceph.com> Tue, 01 Aug 2017 17:55:37 +0000 + +ceph (12.1.1-1) stable; urgency=medium + + * New upstream release + + -- Ceph Release Team <ceph-maintainers@ceph.com> Mon, 17 Jul 2017 16:55:59 +0000 + +ceph (12.1.0-1) stable; urgency=medium + + * New upstream release + + -- Ceph Release Team <ceph-maintainers@ceph.com> Thu, 22 Jun 2017 15:43:47 +0000 + +ceph (12.0.3-1) stable; urgency=medium + + * New upstream release + + -- Ceph Release Team <ceph-maintainers@ceph.com> Tue, 16 May 2017 12:42:53 +0000 + +ceph (12.0.2-1) stable; urgency=medium + + * New upstream release + + -- Ceph Release Team <ceph-maintainers@ceph.com> Thu, 20 Apr 2017 19:59:57 +0000 + +ceph (12.0.1-1) stable; urgency=medium + + * New upstream release + + -- Ceph Release Team <ceph-maintainers@ceph.com> Fri, 24 Mar 2017 15:47:57 +0000 + +ceph (12.0.0-1) stable; urgency=medium + + * New upstream release + + -- Ceph Release Team <ceph-maintainers@ceph.com> Wed, 08 Feb 2017 13:57:30 +0000 + +ceph (11.1.0-1) stable; urgency=medium + + * New upstream release + + -- Alfredo Deza <adeza@redhat.com> Mon, 12 Dec 2016 18:27:51 +0000 + +ceph (11.0.2-1) stable; urgency=medium + + * New upstream release + + -- Alfredo Deza <adeza@redhat.com> Mon, 17 Oct 2016 11:16:49 +0000 + +ceph (11.0.1-1) stable; urgency=medium + + * New upstream release + + -- Alfredo Deza <adeza@redhat.com> Tue, 11 Oct 2016 16:27:56 +0000 + +ceph (11.0.0-1) stable; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Tue, 28 Jun 2016 11:41:16 -0400 + +ceph (10.2.0-1) stable; urgency=medium + + * New upstream release + + -- Alfredo Deza <adeza@redhat.com> Wed, 20 Apr 2016 11:29:47 +0000 + +ceph (10.1.2-1) stable; urgency=medium + + * New upstream release + + -- Alfredo Deza <adeza@redhat.com> Tue, 12 Apr 2016 17:42:55 +0000 + +ceph (10.1.1-1) stable; urgency=medium + + * New upstream release + + -- Alfredo Deza <adeza@redhat.com> Wed, 06 Apr 2016 00:45:18 +0000 + +ceph (10.1.0-1) stable; urgency=medium + + * New upstream release + + -- Alfredo Deza <adeza@redhat.com> Thu, 24 Mar 2016 10:53:47 +0000 + +ceph (10.0.5) stable; urgency=low + + * New upstream release (just fixing changelog) + + -- Sage Weil <sage@newdream.net> Fri, 11 Mar 2016 12:04:26 -0500 + +ceph (10.0.4) stable; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Thu, 03 Mar 2016 13:34:18 -0500 + +ceph (10.0.3) stable; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Mon, 08 Feb 2016 17:10:25 -0500 + +ceph (10.0.2-1) stable; urgency=low + + * New upstream release + + -- Alfredo Deza <adeza@redhat.com> Wed, 13 Jan 2016 16:22:26 +0000 + +ceph (10.0.1-1) stable; urgency=low + + * New upstream release + + -- Alfredo Deza <adeza@redhat.com> Mon, 14 Dec 2015 23:48:54 +0000 + +ceph (10.0.0-1) stable; urgency=low + + * New upstream release + + -- Alfredo Deza <adeza@redhat.com> Mon, 16 Nov 2015 21:41:53 +0000 + +ceph (9.2.0-1) stable; urgency=low + + * New upstream release + + -- Jenkins Build Slave User <jenkins-build@jenkins-slave-wheezy.localdomain> Tue, 03 Nov 2015 16:58:32 +0000 + +ceph (9.1.0-1) stable; urgency=low + + * New upstream release + + -- Alfredo Deza <adeza@redhat.com> Tue, 13 Oct 2015 05:56:36 -0700 + +ceph (9.0.3-1) stable; urgency=low + + * New upstream release + + -- Alfredo Deza <adeza@redhat.com> Fri, 21 Aug 2015 12:46:31 -0700 + +ceph (9.0.2-1) stable; urgency=low + + * New upstream release + + -- Alfredo Deza <adeza@redhat.com> Tue, 14 Jul 2015 13:10:31 -0700 + +ceph (9.0.1-1) stable; urgency=low + + * New upstream release + + -- Alfredo Deza <adeza@redhat.com> Fri, 05 Jun 2015 10:59:02 -0700 + +ceph (9.0.0-1) stable; urgency=low + + * New upstream release + + -- Alfredo Deza <adeza@redhat.com> Mon, 04 May 2015 12:32:58 -0700 + +ceph (0.94-1) stable; urgency=low + + * New upstream release + + -- Alfredo Deza <adeza@redhat.com> Tue, 07 Apr 2015 10:05:40 -0700 + +ceph (0.93-1) stable; urgency=low + + * New upstream release + + -- Alfredo Deza <adeza@redhat.com> Fri, 27 Feb 2015 09:52:53 -0800 + +ceph (0.92-1) stable; urgency=low + + * New upstream release + + -- Alfredo Deza <adeza@redhat.com> Mon, 02 Feb 2015 10:35:27 -0800 + +ceph (0.91-1) stable; urgency=low + + * New upstream release + + -- Alfredo Deza <adeza@redhat.com> Tue, 13 Jan 2015 12:10:22 -0800 + +ceph (0.90-1) stable; urgency=low + + * New upstream release + + -- Alfredo Deza <adeza@redhat.com> Fri, 19 Dec 2014 06:56:22 -0800 + +ceph (0.89-1) stable; urgency=low + + * New upstream release + + -- Alfredo Deza <adeza@redhat.com> Wed, 03 Dec 2014 08:18:33 -0800 + +ceph (0.88-1) stable; urgency=low + + * New upstream release + + -- Alfredo Deza <adeza@redhat.com> Tue, 11 Nov 2014 09:33:12 -0800 + +ceph (0.87-1) stable; urgency=low + + * New upstream release + + -- Alfredo Deza <alfredo.deza@inktank.com> Wed, 29 Oct 2014 11:03:55 -0700 + +ceph (0.86-1) stable; urgency=low + + * New upstream release + + -- Alfredo Deza <alfredo.deza@inktank.com> Tue, 07 Oct 2014 06:20:21 -0700 + +ceph (0.85-1) stable; urgency=low + + * Development release + + -- Alfredo Deza <alfredo.deza@inktank.com> Mon, 08 Sep 2014 06:31:31 -0700 + +ceph (0.84-1) stable; urgency=low + + * Development release + + -- Alfredo Deza <alfredo.deza@inktank.com> Mon, 18 Aug 2014 09:02:20 -0700 + +ceph (0.83-1) stable; urgency=low + + * Development release + + -- Alfredo Deza <alfredo.deza@inktank.com> Tue, 29 Jul 2014 13:42:53 -0700 + +ceph (0.82-1) stable; urgency=low + + * Development release + + -- Alfredo Deza <alfredo.deza@inktank.com> Wed, 25 Jun 2014 16:47:51 +0000 + +ceph (0.81-1) stable; urgency=low + + * Development release + + -- Alfredo Deza <alfredo.deza@inktank.com> Mon, 02 Jun 2014 18:37:27 +0000 + +ceph (0.80-1) stable; urgency=low + + * New upsream release + + -- Alfredo Deza <alfredo.deza@inktank.com> Tue, 06 May 2014 14:03:27 +0000 + +ceph (0.80-rc1-1) stable; urgency=low + + * New upsream release + + -- Alfredo Deza <alfredo.deza@inktank.com> Tue, 22 Apr 2014 21:21:44 +0000 + +ceph (0.79-1) stable; urgency=low + + * New upsream release + + -- Alfredo Deza <alfredo.deza@inktank.com> Mon, 07 Apr 2014 16:48:36 +0000 + +ceph (0.78-1) stable; urgency=low + + * New upsream release + + -- Alfredo Deza <alfredo.deza@inktank.com> Fri, 21 Mar 2014 22:05:12 +0000 + +ceph (0.77-1) stable; urgency=low + + * New upstream release + + -- Ken Dreyer <ken.dreyer@inktank.com> Wed, 19 Feb 2014 22:54:06 +0000 + +ceph (0.76-1) stable; urgency=low + + * New upstream release + + -- Ken Dreyer <kdreyer@jenkins.front.sepia.ceph.com> Mon, 03 Feb 2014 18:14:59 +0000 + +ceph (0.75-1) stable; urgency=low + + * New upstream release + + -- Ken Dreyer <kdreyer@jenkins.front.sepia.ceph.com> Mon, 13 Jan 2014 21:05:07 +0000 + +ceph (0.74-1) stable; urgency=low + + * New upstream release + + -- Gary Lowell <glowell@jenkins.front.sepia.ceph.com> Mon, 30 Dec 2013 21:02:35 +0000 + +ceph (0.73-1) precise; urgency=low + + * New upstream release + + -- Gary Lowell <gary.lowell@inktank.com> Tue, 10 Dec 2013 04:55:06 +0000 + +ceph (0.72-1) stable; urgency=low + + * New upstream release + + -- Gary Lowell <gary.lowell@inktank.com> Thu, 07 Nov 2013 20:25:18 +0000 + +ceph (0.72-rc1-1) stable; urgency=low + + * New upstream release + + -- Gary Lowell <gary.lowell@inktank.com> Wed, 30 Oct 2013 00:44:25 +0000 + +ceph (0.71-1) stable; urgency=low + + * New upstream release + + -- Gary Lowell <gary.lowell@inktank.com> Thu, 17 Oct 2013 09:19:02 +0000 + +ceph (0.70-1) stable; urgency=low + + * New upstream release + + -- Gary Lowell <gary.lowell@inktank.com> Fri, 04 Oct 2013 20:11:51 +0000 + +ceph (0.69-1) precise; urgency=low + + * New upstream release + + -- Gary Lowell <gary.lowell@inktank.com> Wed, 18 Sep 2013 01:39:47 +0000 + +ceph (0.68-1) precise; urgency=low + + * New upstream release + + -- Gary Lowell <gary.lowell@inktank.com> Tue, 03 Sep 2013 16:10:11 -0700 + +ceph (0.67-1) precise; urgency=low + + * New upstream release + + -- Gary Lowell <gary.lowell@inktank.com> Tue, 13 Aug 2013 10:44:30 -0700 + +ceph (0.67-rc3-1) precise; urgency=low + + * New upstream release + + -- Gary Lowell <gary.lowell@inktank.com> Tue, 30 Jul 2013 14:37:40 -0700 + +ceph (0.67-rc2-1) precise; urgency=low + + * New upstream release + + -- Gary Lowell <gary.lowell@inktank.com> Wed, 24 Jul 2013 16:18:33 -0700 + +ceph (0.67-rc1-1) precise; urgency=low + + * New upstream release + + -- Gary Lowell <gary.lowell@inktank.com> Mon, 22 Jul 2013 11:57:01 -0700 + +ceph (0.66-1) precise; urgency=low + + * New upstream release + + -- Gary Lowell <gary.lowell@inktank.com> Mon, 08 Jul 2013 15:44:45 -0700 + +ceph (0.65-1) precise; urgency=low + + * New upstream release + + -- Gary Lowell <gary.lowell@inktank.com> Tue, 25 Jun 2013 09:19:14 -0700 + +ceph (0.64-1) precise; urgency=low + + * New upstream release + + -- Gary Lowell <gary.lowell@inktank.com> Wed, 12 Jun 2013 09:53:54 -0700 + +ceph (0.63-1) precise; urgency=low + + * New upstream release + + -- Gary Lowell <gary.lowell@inktank.com> Tue, 28 May 2013 13:57:53 -0700 + +ceph (0.62) precise; urgency=low + + * New upstream release + + -- Gary Lowell <gary.lowell@inktank.com> Tue, 14 May 2013 09:08:21 -0700 + +ceph (0.61-1) precise; urgency=low + + * New upstream release + + -- Gary Lowell <gary.lowell@inktank.com> Mon, 06 May 2013 13:18:43 -0700 + +ceph (0.60-1) precise; urgency=low + + * New upstream release + + -- Gary Lowell <gary.lowell@inktank.com> Mon, 01 Apr 2013 12:22:30 -0700 + +ceph (0.59-1) precise; urgency=low + + * New upstream release + + -- Gary Lowell <gary.lowell@inktank.com> Tue, 19 Mar 2013 22:26:37 -0700 + +ceph (0.58-1) precise; urgency=low + + * New upstream release + + -- Gary Lowell <gary.lowell@inktank.com> Mon, 04 Mar 2013 15:17:58 -0800 + +ceph (0.57-1) quantal; urgency=low + + * New upstream release + + -- Gary Lowell <gary.lowell@inktank.com> Tue, 19 Feb 2013 10:06:39 -0800 + +ceph (0.56-1) quantal; urgency=low + + * New upstream release + + -- Gary Lowell <gary.lowell@inktank.com> Mon, 31 Dec 2012 17:08:45 -0800 + +ceph (0.55.1-1) precise; urgency=low + + * New upstream release + + -- Gary Lowell <gary.lowell@inktank.com> Wed, 12 Dec 2012 16:24:13 -0800 + +ceph (0.55-1) precise; urgency=low + + * New upstream release + + -- Gary Lowell <gary.lowell@inktank.com> Mon, 03 Dec 2012 19:08:14 -0800 + +ceph (0.54-1) precise; urgency=low + + * New upstream release + + -- Gary Lowell <gary.lowell@inktank.com> Tue, 13 Nov 2012 13:17:19 -0800 + +ceph (0.53-1) precise; urgency=low + + * New upstream release + + -- Gary Lowell <gary.lowell@inktank.com> Tue, 16 Oct 2012 17:40:46 +0000 + +ceph (0.52-1) precise; urgency=low + + * New upstream release + + -- Ubuntu <gary.lowell@inktank.com> Thu, 27 Sep 2012 16:16:52 +0000 + +ceph (0.51-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Sat, 25 Aug 2012 15:58:23 -0700 + +ceph (0.50-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Mon, 13 Aug 2012 09:44:40 -0700 + +ceph (0.49-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Fri, 20 Jul 2012 23:26:43 -0700 + +ceph (0.48argonaut-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Sat, 30 Jun 2012 14:49:30 -0700 + +ceph (0.47.3-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Wed, 20 Jun 2012 10:57:03 -0700 + +ceph (0.47.2-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Wed, 23 May 2012 09:00:43 -0700 + +ceph (0.47.1-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Mon, 21 May 2012 14:28:30 -0700 + +ceph (0.47-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Sun, 20 May 2012 15:16:03 -0700 + +ceph (0.46-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Sun, 29 Apr 2012 21:21:01 -0700 + +ceph (0.45-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Tue, 10 Apr 2012 10:41:57 -0700 + +ceph (0.44.2-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Thu, 05 Apr 2012 14:54:17 -0700 + +ceph (0.44.1-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Tue, 27 Mar 2012 13:02:00 -0700 + +ceph (0.44-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Sun, 18 Mar 2012 12:03:38 -0700 + +ceph (0.43-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Fri, 02 Mar 2012 08:53:10 -0800 + +ceph (0.42.2-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Fri, 24 Feb 2012 12:59:38 -0800 + +ceph (0.42.1-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Thu, 23 Feb 2012 18:46:23 -0800 + +ceph (0.42-1) experimental; urgency=low + + * New upstream relese + + -- Sage Weil <sage@newdream.net> Sun, 19 Feb 2012 15:30:20 -0800 + +ceph (0.41-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Fri, 27 Jan 2012 10:42:11 -0800 + +ceph (0.40-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Fri, 13 Jan 2012 08:36:02 -0800 + +ceph (0.39-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Fri, 02 Dec 2011 09:01:20 -0800 + +ceph (0.38-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Thu, 10 Nov 2011 15:06:44 -0800 + +ceph (0.37-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Mon, 17 Oct 2011 08:35:42 -0700 + +ceph (0.36-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Fri, 30 Sep 2011 09:29:29 -0700 + +ceph (0.35-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Wed, 21 Sep 2011 09:36:03 -0700 + +ceph (0.34-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Fri, 26 Aug 2011 21:48:35 -0700 + +ceph (0.33-1) experimental; urgency=low + + * New upstream release. + + -- Sage Weil <sage@newdream.net> Mon, 15 Aug 2011 16:42:07 -0700 + +ceph (0.32-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Fri, 29 Jul 2011 21:42:08 -0700 + +ceph (0.30-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Mon, 27 Jun 2011 20:06:06 -0700 + +ceph (0.29.1-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Thu, 16 Jun 2011 13:10:47 -0700 + +ceph (0.29-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Mon, 06 Jun 2011 09:59:25 -0700 + +ceph (0.28.2-1) experimental; urgency=low + + * New upstream release. + + -- Sage Weil <sage@newdream.net> Sat, 28 May 2011 09:14:17 -0700 + +ceph (0.28.1-1) experimental; urgency=low + + * New upstream release. + + -- Sage Weil <sage@newdream.net> Mon, 23 May 2011 21:11:30 -0700 + +ceph (0.28-1) experimental; urgency=low + + * New upstream release. + + -- Sage Weil <sage@newdream.net> Tue, 17 May 2011 18:03:11 -0700 + +ceph (0.27.1-1) experimental; urgency=low + + * New upstream release. + + -- Sage Weil <sage@newdream.net> Thu, 05 May 2011 13:42:06 -0700 + +ceph (0.27-1) experimental; urgency=low + + * New upstream release. + + -- Sage Weil <sage@newdream.net> Fri, 22 Apr 2011 16:51:49 -0700 + +ceph (0.26-1) experimental; urgency=low + + * New upstream release. + * Make Ceph Linux only and build on all Linux archs (closes: #614890), + but only build-depend google-perftools on x86 and x64 archs only. + * Correct section of libcrush1, librados1, librbd1 and libceph1 to libs. + * Make Ceph cross buildable (closes: #618939), thanks to Hector Oron. + * Disable libatomic-ops on ARMv4t (armel) archs to prevent FTBFS + (closes: #615235), thanks go to Hector Oron again. + * Rename librados1{,-dbg,-dev} packages to librados2{,-dbg,-dev} ones; + conflict with and replace the former ones. + + -- Laszlo Boszormenyi (GCS) <gcs@debian.hu> Fri, 01 Apr 2011 16:28:11 +0100 + +ceph (0.25.2-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Sun, 20 Mar 2011 21:07:38 -0700 + +ceph (0.25.1-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Mon, 14 Mar 2011 14:43:47 -0700 + +ceph (0.25-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Fri, 04 Mar 2011 14:39:54 -0800 + +ceph (0.24.3-1) experimental; urgency=low + + * New upstream release + + -- Sage Weil <sage@newdream.net> Thu, 10 Feb 2011 09:14:00 -0800 + +ceph (0.24.2-1) experimental; urgency=low + + * New upstream release. + + -- Sage Weil <sage@newdream.net> Mon, 24 Jan 2011 11:02:24 -0800 + +ceph (0.24.1-1) experimental; urgency=low + + * New upstream release. + + -- Sage Weil <sage@newdream.net> Fri, 07 Jan 2011 16:49:48 -0800 + +ceph (0.24-1) experimental; urgency=low + + * New upstream release. + + -- Laszlo Boszormenyi (GCS) <gcs@debian.hu> Wed, 01 Dec 2010 09:26:25 -0800 + +ceph (0.23.1-1) experimental; urgency=low + + * Initial release (Closes: #506040) + + -- Sage Weil <sage@newdream.net> Sun, 21 Nov 2010 15:22:21 -0800 diff --git a/src/ceph/debian/compat b/src/ceph/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/src/ceph/debian/compat @@ -0,0 +1 @@ +9 diff --git a/src/ceph/debian/control b/src/ceph/debian/control new file mode 100644 index 0000000..28f235b --- /dev/null +++ b/src/ceph/debian/control @@ -0,0 +1,910 @@ +Source: ceph +Section: admin +Priority: optional +Homepage: http://ceph.com/ +Vcs-Git: git://github.com/ceph/ceph.git +Vcs-Browser: https://github.com/ceph/ceph +Maintainer: Ceph Maintainers <ceph-maintainers@lists.ceph.com> +Uploaders: Ken Dreyer <kdreyer@redhat.com>, + Alfredo Deza <adeza@redhat.com>, +Build-Depends: bc, + btrfs-tools, + cmake, + cpio, + cryptsetup-bin | cryptsetup, + cython, + cython3, + debhelper (>= 9), + default-jdk, + dh-exec, + dh-python, + dh-systemd, + gdisk, + git, + gperf, + javahelper, + jq, + junit4, + libaio-dev, + libbabeltrace-ctf-dev, + libbabeltrace-dev, + libblkid-dev (>= 2.17), + libcurl4-gnutls-dev, + libexpat1-dev, + libfuse-dev, + libgoogle-perftools-dev [i386 amd64 arm64], + libibverbs-dev, + libkeyutils-dev, + libldap2-dev, + libleveldb-dev, + liblttng-ust-dev, + libnss3-dev, + libsnappy-dev, + libssl-dev, + libtool, + libudev-dev, + libxml2-dev, + lsb-release, + parted, + pkg-config, + python (>= 2.7), + python-all-dev, + python-cherrypy3, + python-nose, + python-pecan, + python-prettytable, + python-setuptools, + python-sphinx, + python-werkzeug, + python3-all-dev, + python3-setuptools, + socat, + uuid-runtime, + valgrind, + virtualenv | python-virtualenv, + xfslibs-dev, + xfsprogs, + xmlstarlet, + yasm [amd64], + zlib1g-dev, +Standards-Version: 3.9.3 + +Package: ceph +Architecture: linux-any +Depends: ceph-mgr (= ${binary:Version}), + ceph-mon (= ${binary:Version}), + ceph-osd (= ${binary:Version}), +Recommends: ceph-mds (= ${binary:Version}), +Description: distributed storage and file system + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. + +Package: ceph-base +Architecture: linux-any +Depends: binutils, + ceph-common (= ${binary:Version}), + cryptsetup-bin | cryptsetup, + debianutils, + findutils, + gdisk, + grep, + logrotate, + psmisc, + xfsprogs, + ${misc:Depends}, + ${python:Depends}, + ${shlibs:Depends}, +Recommends: btrfs-tools, + ceph-mds (= ${binary:Version}), + librados2 (= ${binary:Version}), + libradosstriper1 (= ${binary:Version}), + librbd1 (= ${binary:Version}), + ntp | time-daemon, +Replaces: ceph (<< 10), + ceph-common (<< 0.78-500), + ceph-test (<< 12.2.2-14), + python-ceph (<< 0.92-1223), +Breaks: ceph (<< 10), + ceph-test (<< 12.2.2-14), + python-ceph (<< 0.92-1223), +Description: common ceph daemon libraries and management tools + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. + . + This package contains the libraries and management tools that are common among + the Ceph server daemons (ceph-mon, ceph-mgr, ceph-osd, ceph-mds). These tools + are necessary for creating, running, and administering a Ceph storage cluster. + +Package: ceph-base-dbg +Architecture: linux-any +Section: debug +Priority: extra +Depends: ceph-base (= ${binary:Version}), + ${misc:Depends}, +Description: debugging symbols for ceph-base + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. + . + This package contains the libraries and management tools that are common among + the Ceph server daemons (ceph-mon, ceph-mgr, ceph-osd, ceph-mds). These tools + are necessary for creating, running, and administering a Ceph storage cluster. + . + This package contains the debugging symbols for ceph-base. + +Package: ceph-mds +Architecture: linux-any +Depends: ceph-base (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends}, +Recommends: ceph-fuse (= ${binary:Version}), + libcephfs2 (= ${binary:Version}), +Replaces: ceph (<< 0.93-417), +Breaks: ceph (<< 0.93-417), +Description: metadata server for the ceph distributed file system + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. + . + This package contains the metadata server daemon, which is used to + create a distributed file system on top of the ceph storage cluster. + +Package: ceph-mds-dbg +Architecture: linux-any +Section: debug +Priority: extra +Depends: ceph-mds (= ${binary:Version}), + ${misc:Depends}, +Description: debugging symbols for ceph-mds + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. + . + This package contains the debugging symbols for ceph-mds. + +Package: ceph-mgr +Architecture: linux-any +Depends: ceph-base (= ${binary:Version}), + python-cherrypy3, + python-openssl, + python-pecan, + python-werkzeug, + ${misc:Depends}, + ${python:Depends}, + ${shlibs:Depends}, +Replaces: ceph (<< 0.93-417), +Breaks: ceph (<< 0.93-417), +Description: manager for the ceph distributed storage system + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. + . + This package contains the manager daemon, which is used to expose high + level management and monitoring functionality. + +Package: ceph-mgr-dbg +Architecture: linux-any +Section: debug +Priority: extra +Depends: ceph-mgr (= ${binary:Version}), + ${misc:Depends}, +Description: debugging symbols for ceph-mgr + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. + . + This package contains the debugging symbols for ceph-mgr. + +Package: ceph-mon +Architecture: linux-any +Depends: ceph-base (= ${binary:Version}), + python-flask, + ${misc:Depends}, + ${shlibs:Depends}, +Recommends: ceph-common, +Replaces: ceph (<< 10), ceph-test (<< 12.2.2-14) +Breaks: ceph (<< 10), ceph-test (<< 12.2.2-14) +Description: monitor server for the ceph storage system + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. + . + This package contains the cluster monitor daemon for the Ceph storage + system. One or more instances of ceph-mon form a Paxos part-time parliament + cluster that provides extremely reliable and durable storage of cluster + membership, configuration, and state. + +Package: ceph-mon-dbg +Architecture: linux-any +Section: debug +Priority: extra +Depends: ceph-mon (= ${binary:Version}), + ${misc:Depends}, +Description: debugging symbols for ceph-mon + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. + . + This package contains the debugging symbols for ceph-mon. + +Package: ceph-osd +Architecture: linux-any +Depends: ceph-base (= ${binary:Version}), + parted, + ${misc:Depends}, + ${python:Depends}, + ${shlibs:Depends}, +Recommends: ceph-common (= ${binary:Version}), +Replaces: ceph (<< 10), ceph-test (<< 12.2.2-14) +Breaks: ceph (<< 10), ceph-test (<< 12.2.2-14) +Description: OSD server for the ceph storage system + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. + . + This package contains the Object Storage Daemon for the Ceph storage system. + It is responsible for storing objects on a local file system + and providing access to them over the network. + +Package: ceph-osd-dbg +Architecture: linux-any +Section: debug +Priority: extra +Depends: ceph-osd (= ${binary:Version}), + ${misc:Depends}, +Description: debugging symbols for ceph-osd + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. + . + This package contains the debugging symbols for ceph-osd. + +Package: ceph-fuse +Architecture: linux-any +Depends: ${misc:Depends}, + ${shlibs:Depends}, +Recommends: fuse, +Description: FUSE-based client for the Ceph distributed file system + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. This is a + FUSE-based client that allows one to mount a Ceph file system without + root privileges. + . + Because the FUSE-based client has certain inherent performance + limitations, it is recommended that the native Linux kernel client + be used if possible. If it is not practical to load a kernel module + (insufficient privileges, older kernel, etc.), then the FUSE client will + do. + +Package: ceph-fuse-dbg +Architecture: linux-any +Section: debug +Priority: extra +Depends: ceph-fuse (= ${binary:Version}), + ${misc:Depends}, +Description: debugging symbols for ceph-fuse + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. This is a + FUSE-based client that allows one to mount a Ceph file system without + root privileges. + . + This package contains the debugging symbols for ceph-fuse. + +Package: rbd-fuse +Architecture: linux-any +Depends: ${misc:Depends}, + ${shlibs:Depends}, +Recommends: fuse, +Description: FUSE-based rbd client for the Ceph distributed file system + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. This is a + FUSE-based client that allows one to map Ceph rbd images as files. + . + FUSE base client that allows one to map Ceph rbd images as files. + +Package: rbd-fuse-dbg +Architecture: linux-any +Section: debug +Priority: extra +Depends: rbd-fuse (= ${binary:Version}), + ${misc:Depends}, +Description: debugging symbols for rbd-fuse + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. This is a + FUSE-based client that allows one to map Ceph rbd images as files. + . + This package contains the debugging symbols for rbd-fuse. + +Package: rbd-mirror +Architecture: linux-any +Depends: ceph-common (= ${binary:Version}), + librados2 (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends}, +Description: Ceph daemon for mirroring RBD images + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. This is a + daemon for mirroring RBD images between Ceph clusters, streaming + changes asynchronously. + +Package: rbd-mirror-dbg +Architecture: linux-any +Section: debug +Priority: extra +Depends: rbd-mirror (= ${binary:Version}), + ${misc:Depends}, +Description: debugging symbols for rbd-mirror + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. This is a + daemon for mirroring RBD images between Ceph clusters, streaming + changes asynchronously. + . + This package contains the debugging symbols for rbd-mirror. + +Package: rbd-nbd +Architecture: linux-any +Depends: ${misc:Depends}, + ${shlibs:Depends}, +Description: NBD-based rbd client for the Ceph distributed file system + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. This is a + NBD-based client that allows one to map Ceph rbd images as local + block device. + . + NBD base client that allows one to map Ceph rbd images as local + block device. + +Package: rbd-nbd-dbg +Architecture: linux-any +Section: debug +Priority: extra +Depends: rbd-nbd (= ${binary:Version}), + ${misc:Depends}, +Description: debugging symbols for rbd-nbd + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. This is a + NBD-based client that allows one to map Ceph rbd images as local + block device. + . + This package contains the debugging symbols for rbd-nbd. + +Package: ceph-common +Architecture: linux-any +Depends: librbd1 (= ${binary:Version}), + python-cephfs (= ${binary:Version}), + python-prettytable, + python-rados (= ${binary:Version}), + python-rbd (= ${binary:Version}), + python-requests, + python-rgw (= ${binary:Version}), + ${misc:Depends}, + ${python:Depends}, + ${shlibs:Depends}, +Conflicts: ceph-client-tools, +Replaces: ceph (<< 10), + ceph-client-tools, + ceph-fs-common (<< 11.0), + ceph-test (<< 9.0.3-1646), + librbd1 (<< 0.92-1238), + python-ceph (<< 0.92-1223), +Breaks: ceph (<< 10), + ceph-fs-common (<< 11.0), + ceph-test (<< 9.0.3-1646), + librbd1 (<< 0.92-1238), + python-ceph (<< 0.92-1223), +Suggests: ceph-base (= ${binary:Version}), + ceph-mds (= ${binary:Version}), +Description: common utilities to mount and interact with a ceph storage cluster + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. This is a collection + of common tools that allow one to interact with and administer a Ceph cluster. + +Package: ceph-common-dbg +Architecture: linux-any +Depends: ceph-common (= ${binary:Version}), + ${misc:Depends}, +Conflicts: ceph-client-tools-dbg, +Replaces: ceph-client-tools-dbg, + ceph-test-dbg (<< 9.0.3-1646), +Breaks: ceph-test-dbg (<< 9.0.3-1646), +Section: debug +Priority: extra +Description: debugging symbols for ceph-common + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. This is a collection + of common tools that allow one to interact with and administer a Ceph cluster. + . + This package contains the debugging symbols for ceph-common. + +Package: ceph-resource-agents +Architecture: linux-any +Recommends: pacemaker, +Priority: extra +Depends: ceph (= ${binary:Version}), + resource-agents, + ${misc:Depends}, +Description: OCF-compliant resource agents for Ceph + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. + . + This package contains the resource agents (RAs) which integrate + Ceph with OCF-compliant cluster resource managers, + such as Pacemaker. + +Package: librados2 +Conflicts: librados, + librados1, +Replaces: librados, + librados1, +Architecture: linux-any +Section: libs +Depends: ${misc:Depends}, + ${shlibs:Depends}, +Description: RADOS distributed object store client library + RADOS is a reliable, autonomic distributed object storage cluster + developed as part of the Ceph distributed storage system. This is a + shared library allowing applications to access the distributed object + store using a simple file-like interface. + +Package: librados2-dbg +Conflicts: librados1-dbg, +Replaces: librados1-dbg, +Architecture: linux-any +Section: debug +Priority: extra +Depends: librados2 (= ${binary:Version}), + ${misc:Depends}, +Description: debugging symbols for librados + RADOS is a reliable, autonomic distributed object storage cluster + developed as part of the Ceph distributed storage system. This is a + shared library allowing applications to access the distributed object + store using a simple file-like interface. + . + This package contains debugging symbols for librados. + +Package: librados-dev +Architecture: linux-any +Section: libdevel +Depends: librados2 (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends}, +Conflicts: librados1-dev, + librados2-dev, +Replaces: librados1-dev, + librados2-dev, +Description: RADOS distributed object store client library (development files) + RADOS is a reliable, autonomic distributed object storage cluster + developed as part of the Ceph distributed storage system. This is a + shared library allowing applications to access the distributed object + store using a simple file-like interface. + . + This package contains development files needed for building applications that + link against librados. + +Package: libradosstriper1 +Architecture: linux-any +Section: libs +Depends: librados2 (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends}, +Description: RADOS striping interface + Striping interface built on top of the rados library, allowing + to stripe bigger objects onto several standard rados objects using + an interface very similar to the rados one. + +Package: libradosstriper1-dbg +Architecture: linux-any +Section: debug +Priority: extra +Depends: libradosstriper1 (= ${binary:Version}), + ${misc:Depends}, +Description: debugging symbols for libradosstriper + libradosstriper is a striping interface built on top of the rados + library, allowing to stripe bigger objects onto several standard + rados objects using an interface very similar to the rados one. + . + This package contains debugging symbols for libradosstriper. + +Package: libradosstriper-dev +Architecture: linux-any +Section: libdevel +Depends: libradosstriper1 (= ${binary:Version}), + ${misc:Depends}, +Description: RADOS striping interface (development files) + libradosstriper is a striping interface built on top of the rados + library, allowing to stripe bigger objects onto several standard + rados objects using an interface very similar to the rados one. + . + This package contains development files needed for building applications that + link against libradosstriper. + +Package: librbd1 +Architecture: linux-any +Section: libs +Depends: librados2 (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends}, +Description: RADOS block device client library + RBD is a block device striped across multiple distributed objects + in RADOS, a reliable, autonomic distributed object storage cluster + developed as part of the Ceph distributed storage system. This is a + shared library allowing applications to manage these block devices. + +Package: librbd1-dbg +Architecture: linux-any +Section: debug +Priority: extra +Depends: librbd1 (= ${binary:Version}), + ${misc:Depends}, +Description: debugging symbols for librbd1 + RBD is a block device striped across multiple distributed objects + in RADOS, a reliable, autonomic distributed object storage cluster + developed as part of the Ceph distributed storage system. This is a + shared library allowing applications to manage these block devices. + . + This package contains debugging symbols for librbd1. + +Package: librbd-dev +Architecture: linux-any +Section: libdevel +Depends: librados-dev (= ${binary:Version}), + librbd1 (= ${binary:Version}), + ${misc:Depends}, +Conflicts: librbd1-dev, +Replaces: librbd1-dev, +Description: RADOS block device client library (development files) + RBD is a block device striped across multiple distributed objects + in RADOS, a reliable, autonomic distributed object storage cluster + developed as part of the Ceph distributed storage system. This is a + shared library allowing applications to manage these block devices. + . + This package contains development files needed for building applications that + link against librbd1. + +Package: libcephfs2 +Conflicts: libceph, + libceph1, + libcephfs, +Replaces: libceph, + libceph1, + libcephfs, +Architecture: linux-any +Section: libs +Depends: ${misc:Depends}, + ${shlibs:Depends}, +Description: Ceph distributed file system client library + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. This is a + shared library allowing applications to access a Ceph distributed + file system via a POSIX-like interface. + +Package: libcephfs2-dbg +Architecture: linux-any +Section: debug +Priority: extra +Depends: libcephfs2 (= ${binary:Version}), + ${misc:Depends}, +Conflicts: libceph1-dbg, +Replaces: libceph1-dbg, +Description: debugging symbols for libcephfs2 + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. This is a + shared library allowing applications to access a Ceph distributed + file system via a POSIX-like interface. + . + This package contains debugging symbols for libcephfs2. + +Package: libcephfs-dev +Architecture: linux-any +Section: libdevel +Depends: libcephfs2 (= ${binary:Version}), + ${misc:Depends}, +Conflicts: libceph-dev, + libceph1-dev, + libcephfs2-dev, +Replaces: libceph-dev, + libceph1-dev, + libcephfs2-dev, +Description: Ceph distributed file system client library (development files) + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. This is a + shared library allowing applications to access a Ceph distributed + file system via a POSIX-like interface. + . + This package contains development files needed for building applications that + link against libcephfs. + +Package: librgw2 +Architecture: linux-any +Section: libs +Depends: librados2 (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends}, +Description: RADOS Gateway client library + RADOS is a distributed object store used by the Ceph distributed + storage system. This package provides a REST gateway to the + object store that aims to implement a superset of Amazon's S3 + service. + . + This package contains the library interface and headers only. + +Package: librgw2-dbg +Architecture: linux-any +Section: debug +Priority: extra +Depends: librgw2 (= ${binary:Version}), + ${misc:Depends}, +Description: debugging symbols for librbd1 + RADOS is a distributed object store used by the Ceph distributed + storage system. This package provides a REST gateway to the + object store that aims to implement a superset of Amazon's S3 + service. + . + This package contains debugging symbols for librgw2. + +Package: librgw-dev +Architecture: linux-any +Section: libdevel +Depends: librados-dev (= ${binary:Version}), + librgw2 (= ${binary:Version}), + ${misc:Depends}, +Description: RADOS client library (development files) + RADOS is a distributed object store used by the Ceph distributed + storage system. This package provides a REST gateway to the + object store that aims to implement a superset of Amazon's S3 + service. + . + This package contains development files needed for building applications + that link against librgw2. + +Package: radosgw +Architecture: linux-any +Depends: ceph-common (= ${binary:Version}), + librgw2 (= ${binary:Version}), + mime-support, + ${misc:Depends}, + ${shlibs:Depends}, +Recommends: ntp | time-daemon, +Description: REST gateway for RADOS distributed object store + RADOS is a distributed object store used by the Ceph distributed + storage system. This package provides a REST gateway to the + object store that aims to implement a superset of Amazon's S3 + service as well as the OpenStack Object Storage ("Swift") API. + . + This package contains the proxy daemon and related tools only. + +Package: radosgw-dbg +Architecture: linux-any +Section: debug +Priority: extra +Depends: radosgw (= ${binary:Version}), + ${misc:Depends}, +Description: debugging symbols for radosgw + RADOS is a distributed object store used by the Ceph distributed + storage system. This package provides a REST gateway to the + object store that aims to implement a superset of Amazon's S3 + service as well as the OpenStack Object Storage ("Swift") API. + . + This package contains debugging symbols for radosgw. + +Package: ceph-test +Architecture: linux-any +Depends: ceph-common, + curl, + jq, + socat, + xmlstarlet, + ${misc:Depends}, + ${shlibs:Depends}, +Replaces: ceph-base (<< 11) +Breaks: ceph-base (<< 1) +Description: Ceph test and benchmarking tools + This package contains tools for testing and benchmarking Ceph. + +Package: ceph-test-dbg +Architecture: linux-any +Section: debug +Priority: extra +Depends: ceph-common (= ${binary:Version}), + ceph-test (= ${binary:Version}), + curl, + ${misc:Depends}, +Description: Ceph test and benchmarking tools + . + This package contains the debugging symbols for ceph-test. + +Package: python-ceph +Architecture: linux-any +Section: python +Depends: python-cephfs (= ${binary:Version}), + python-rados (= ${binary:Version}), + python-rbd (= ${binary:Version}), + python-rgw (= ${binary:Version}), +Description: Meta-package for python libraries for the Ceph libraries + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. + . + This package is a metapackage for all Python 2 bindings. + +Package: python-rados +Architecture: linux-any +Section: python +Depends: librados2 (= ${binary:Version}), + ${misc:Depends}, + ${python:Depends}, + ${shlibs:Depends}, +Replaces: python-ceph (<< 0.92-1223), +Breaks: python-ceph (<< 0.92-1223), +Description: Python 2 libraries for the Ceph librados library + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. + . + This package contains Python 2 libraries for interacting with Ceph's + RADOS object storage. + +Package: python3-rados +Architecture: linux-any +Section: python +Depends: librados2 (= ${binary:Version}), + ${misc:Depends}, + ${python3:Depends}, + ${shlibs:Depends}, +Description: Python 3 libraries for the Ceph librados library + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. + . + This package contains Python 3 libraries for interacting with Ceph's + RADOS object storage. + +Package: python-rbd +Architecture: linux-any +Section: python +Depends: librbd1 (>= ${binary:Version}), + ${misc:Depends}, + ${python:Depends}, + ${shlibs:Depends}, +Replaces: python-ceph (<< 0.92-1223), +Breaks: python-ceph (<< 0.92-1223), +Description: Python 2 libraries for the Ceph librbd library + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. + . + This package contains Python 2 libraries for interacting with Ceph's + RBD block device library. + +Package: python3-rbd +Architecture: linux-any +Section: python +Depends: librbd1 (>= ${binary:Version}), + ${misc:Depends}, + ${python3:Depends}, + ${shlibs:Depends}, +Description: Python 3 libraries for the Ceph librbd library + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. + . + This package contains Python 3 libraries for interacting with Ceph's + RBD block device library. + +Package: python-rgw +Architecture: linux-any +Section: python +Depends: librgw2 (>= ${binary:Version}), + ${misc:Depends}, + ${python:Depends}, + ${shlibs:Depends}, +Replaces: python-ceph (<< 0.92-1223), +Breaks: python-ceph (<< 0.92-1223), +Description: Python 2 libraries for the Ceph librgw library + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. + . + This package contains Python 2 libraries for interacting with Ceph's + RGW library. + +Package: python3-rgw +Architecture: linux-any +Section: python +Depends: librgw2 (>= ${binary:Version}), + ${misc:Depends}, + ${python3:Depends}, + ${shlibs:Depends}, +Description: Python 3 libraries for the Ceph librgw library + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. + . + This package contains Python 3 libraries for interacting with Ceph's + RGW library. + +Package: python-cephfs +Architecture: linux-any +Section: python +Depends: libcephfs2 (= ${binary:Version}), + ${misc:Depends}, + ${python:Depends}, + ${shlibs:Depends}, +Replaces: python-ceph (<< 0.92-1223), +Breaks: python-ceph (<< 0.92-1223), +Description: Python 2 libraries for the Ceph libcephfs library + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. + . + This package contains Python 2 libraries for interacting with Ceph's + CephFS file system client library. + +Package: python3-cephfs +Architecture: linux-any +Section: python +Depends: libcephfs2 (= ${binary:Version}), + ${misc:Depends}, + ${python3:Depends}, + ${shlibs:Depends}, +Description: Python 3 libraries for the Ceph libcephfs library + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. + . + This package contains Python 3 libraries for interacting with Ceph's + CephFS file system client library. + +Package: python3-ceph-argparse +Architecture: linux-any +Section: python +Depends: ${misc:Depends}, + ${python3:Depends}, +Description: Python 3 utility libraries for Ceph CLI + Ceph is a massively scalable, open-source, distributed + storage system that runs on commodity hardware and delivers object, + block and file system storage. + . + This package contains types and routines for Python 3 used by the + Ceph CLI as well as the RESTful interface. + +Package: libcephfs-java +Section: java +Architecture: all +Depends: libcephfs-jni (= ${binary:Version}), + ${java:Depends}, + ${misc:Depends}, +Description: Java libraries for the Ceph File System + +Package: libcephfs-jni +Architecture: linux-any +Section: java +Depends: libcephfs2 (= ${binary:Version}), + ${java:Depends}, + ${misc:Depends}, + ${shlibs:Depends}, +Description: Java Native Interface library for CephFS Java bindings + +Package: rados-objclass-dev +Architecture: linux-any +Section: libdevel +Depends: librados-dev (= ${binary:Version}) ${misc:Depends}, +Description: RADOS object class development kit. + . + This package contains development files needed for building RADOS object class plugins. diff --git a/src/ceph/debian/copyright b/src/ceph/debian/copyright new file mode 100644 index 0000000..994d676 --- /dev/null +++ b/src/ceph/debian/copyright @@ -0,0 +1,149 @@ +Format-Specification: http://anonscm.debian.org/viewvc/dep/web/deps/dep5/copyright-format.xml?revision=279&view=markup +Name: ceph +Maintainer: Sage Weil <sage@newdream.net> +Source: http://ceph.com/ + +Files: * +Copyright: (c) 2004-2010 by Sage Weil <sage@newdream.net> +License: LGPL2.1 (see COPYING-LGPL2.1) + +Files: cmake/modules/FindLTTngUST.cmake +Copyright: + Copyright 2016 Kitware, Inc. + Copyright 2016 Philippe Proulx <pproulx@efficios.com> +License: BSD 3-clause + +Files: doc/* +Copyright: (c) 2010-2012 New Dream Network and contributors +License: Creative Commons Attribution-ShareAlike (CC BY-SA) + +Files: src/mount/canonicalize.c +Copyright: Copyright (C) 1993 Rick Sladkey <jrs@world.std.com> +License: LGPL2 or later (see COPYING-GPL2) + +Files: src/os/btrfs_ioctl.h +Copyright: Copyright (C) 2007 Oracle. All rights reserved. +License: GPL2 (see COPYING-GPL2) + +Files: src/include/ceph_hash.cc +Copyright: None +License: Public domain + +Files: src/common/bloom_filter.hpp +Copyright: Copyright (C) 2000 Arash Partow +License: Boost Software License, Version 1.0 + +Files: src/common/crc32c_intel*: +Copyright: + Copyright 2012-2013 Intel Corporation All Rights Reserved. +License: BSD 3-clause + +Files: src/common/sctp_crc32.c: +Copyright: + Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved. + Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved +License: + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + a) Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + b) Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the distribution. + + c) Neither the name of Cisco Systems, Inc. nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, + THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF + THE POSSIBILITY OF SUCH DAMAGE. + +Files: src/json_spirit +Copyright: + Copyright John W. Wilkinson 2007 - 2011 +License: + The MIT License + + Copyright (c) 2007 - 2010 John W. Wilkinson + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. + + + +Files: src/test/common/Throttle.cc src/test/filestore/chain_xattr.cc +Copyright: Copyright (C) 2013 Cloudwatt <libre.licensing@cloudwatt.com> +License: LGPL2 or later + +Files: src/osd/ErasureCodePluginJerasure/*.{c,h} +Copyright: Copyright (c) 2011, James S. Plank <plank@cs.utk.edu> +License: + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + - Neither the name of the University of Tennessee nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED + AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY + WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +Packaging: + Copyright (C) 2004-2009 by Sage Weil <sage@newdream.net> + Copyright (C) 2010 Canonical, Ltd. + Licensed under LGPL-2.1 + +Files: src/test/perf_local.cc +Copyright: + (c) 2011-2014 Stanford University + (c) 2011 Facebook +License: + The MIT License diff --git a/src/ceph/debian/libcephfs-dev.install b/src/ceph/debian/libcephfs-dev.install new file mode 100644 index 0000000..e2cf6e9 --- /dev/null +++ b/src/ceph/debian/libcephfs-dev.install @@ -0,0 +1,3 @@ +usr/include/cephfs/ceph_statx.h +usr/include/cephfs/libcephfs.h +usr/lib/libcephfs.so diff --git a/src/ceph/debian/libcephfs-java.jlibs b/src/ceph/debian/libcephfs-java.jlibs new file mode 100644 index 0000000..1029fb5 --- /dev/null +++ b/src/ceph/debian/libcephfs-java.jlibs @@ -0,0 +1 @@ +debian/tmp/usr/share/java/libcephfs.jar diff --git a/src/ceph/debian/libcephfs-jni.install b/src/ceph/debian/libcephfs-jni.install new file mode 100644 index 0000000..072b990 --- /dev/null +++ b/src/ceph/debian/libcephfs-jni.install @@ -0,0 +1 @@ +usr/lib/libcephfs_jni.so* usr/lib/jni diff --git a/src/ceph/debian/libcephfs2.install b/src/ceph/debian/libcephfs2.install new file mode 100644 index 0000000..b7c0eb0 --- /dev/null +++ b/src/ceph/debian/libcephfs2.install @@ -0,0 +1 @@ +usr/lib/libcephfs.so.* diff --git a/src/ceph/debian/librados-dev.install b/src/ceph/debian/librados-dev.install new file mode 100644 index 0000000..19ce391 --- /dev/null +++ b/src/ceph/debian/librados-dev.install @@ -0,0 +1,14 @@ +usr/bin/librados-config +usr/include/rados/buffer.h +usr/include/rados/buffer_fwd.h +usr/include/rados/crc32c.h +usr/include/rados/inline_memory.h +usr/include/rados/librados.h +usr/include/rados/librados.hpp +usr/include/rados/memory.h +usr/include/rados/page.h +usr/include/rados/rados_types.h +usr/include/rados/rados_types.hpp +usr/lib/librados.so +usr/lib/librados_tp.so +usr/share/man/man8/librados-config.8 diff --git a/src/ceph/debian/librados2.install b/src/ceph/debian/librados2.install new file mode 100644 index 0000000..3bdeedf --- /dev/null +++ b/src/ceph/debian/librados2.install @@ -0,0 +1,3 @@ +usr/lib/ceph/libceph-common.so* +usr/lib/librados.so.* +usr/lib/librados_tp.so.* diff --git a/src/ceph/debian/libradosstriper-dev.install b/src/ceph/debian/libradosstriper-dev.install new file mode 100644 index 0000000..f7986d3 --- /dev/null +++ b/src/ceph/debian/libradosstriper-dev.install @@ -0,0 +1,3 @@ +usr/include/radosstriper/libradosstriper.h +usr/include/radosstriper/libradosstriper.hpp +usr/lib/libradosstriper.so diff --git a/src/ceph/debian/libradosstriper1.install b/src/ceph/debian/libradosstriper1.install new file mode 100644 index 0000000..46235ac --- /dev/null +++ b/src/ceph/debian/libradosstriper1.install @@ -0,0 +1 @@ +usr/lib/libradosstriper.so.* diff --git a/src/ceph/debian/librbd-dev.install b/src/ceph/debian/librbd-dev.install new file mode 100644 index 0000000..6028f42 --- /dev/null +++ b/src/ceph/debian/librbd-dev.install @@ -0,0 +1,5 @@ +usr/include/rbd/features.h +usr/include/rbd/librbd.h +usr/include/rbd/librbd.hpp +usr/lib/librbd.so +usr/lib/librbd_tp.so diff --git a/src/ceph/debian/librbd1.install b/src/ceph/debian/librbd1.install new file mode 100644 index 0000000..0479538 --- /dev/null +++ b/src/ceph/debian/librbd1.install @@ -0,0 +1,2 @@ +usr/lib/librbd.so.* +usr/lib/librbd_tp.so.* diff --git a/src/ceph/debian/librgw-dev.install b/src/ceph/debian/librgw-dev.install new file mode 100644 index 0000000..ed2a81d --- /dev/null +++ b/src/ceph/debian/librgw-dev.install @@ -0,0 +1,3 @@ +usr/include/rados/librgw.h +usr/include/rados/rgw_file.h +usr/lib/librgw.so diff --git a/src/ceph/debian/librgw2.install b/src/ceph/debian/librgw2.install new file mode 100644 index 0000000..b86fb89 --- /dev/null +++ b/src/ceph/debian/librgw2.install @@ -0,0 +1 @@ +usr/lib/librgw.so.* diff --git a/src/ceph/debian/python-cephfs.install b/src/ceph/debian/python-cephfs.install new file mode 100644 index 0000000..d8a2834 --- /dev/null +++ b/src/ceph/debian/python-cephfs.install @@ -0,0 +1,3 @@ +usr/lib/python2*/dist-packages/ceph_volume_client.py* +usr/lib/python2*/dist-packages/cephfs-*.egg-info +usr/lib/python2*/dist-packages/cephfs.so diff --git a/src/ceph/debian/python-rados.install b/src/ceph/debian/python-rados.install new file mode 100644 index 0000000..0519518 --- /dev/null +++ b/src/ceph/debian/python-rados.install @@ -0,0 +1,2 @@ +usr/lib/python2*/dist-packages/rados-*.egg-info +usr/lib/python2*/dist-packages/rados.so diff --git a/src/ceph/debian/python-rbd.install b/src/ceph/debian/python-rbd.install new file mode 100644 index 0000000..4a170ce --- /dev/null +++ b/src/ceph/debian/python-rbd.install @@ -0,0 +1,2 @@ +usr/lib/python2*/dist-packages/rbd-*.egg-info +usr/lib/python2*/dist-packages/rbd.so diff --git a/src/ceph/debian/python-rgw.install b/src/ceph/debian/python-rgw.install new file mode 100644 index 0000000..05e6936 --- /dev/null +++ b/src/ceph/debian/python-rgw.install @@ -0,0 +1,2 @@ +usr/lib/python2*/dist-packages/rgw-*.egg-info +usr/lib/python2*/dist-packages/rgw.so diff --git a/src/ceph/debian/python3-ceph-argparse.install b/src/ceph/debian/python3-ceph-argparse.install new file mode 100644 index 0000000..274b8b4 --- /dev/null +++ b/src/ceph/debian/python3-ceph-argparse.install @@ -0,0 +1,2 @@ +usr/lib/python3*/dist-packages/ceph_argparse.py +usr/lib/python3*/dist-packages/ceph_daemon.py diff --git a/src/ceph/debian/python3-cephfs.install b/src/ceph/debian/python3-cephfs.install new file mode 100644 index 0000000..6eb8836 --- /dev/null +++ b/src/ceph/debian/python3-cephfs.install @@ -0,0 +1,3 @@ +usr/lib/python3*/dist-packages/ceph_volume_client.py +usr/lib/python3*/dist-packages/cephfs-*.egg-info +usr/lib/python3*/dist-packages/cephfs.cpython*.so diff --git a/src/ceph/debian/python3-rados.install b/src/ceph/debian/python3-rados.install new file mode 100644 index 0000000..98b5d76 --- /dev/null +++ b/src/ceph/debian/python3-rados.install @@ -0,0 +1,2 @@ +usr/lib/python3*/dist-packages/rados-*.egg-info +usr/lib/python3*/dist-packages/rados.cpython*.so diff --git a/src/ceph/debian/python3-rbd.install b/src/ceph/debian/python3-rbd.install new file mode 100644 index 0000000..5f4e6e1 --- /dev/null +++ b/src/ceph/debian/python3-rbd.install @@ -0,0 +1,2 @@ +usr/lib/python3*/dist-packages/rbd-*.egg-info +usr/lib/python3*/dist-packages/rbd.cpython*.so diff --git a/src/ceph/debian/python3-rgw.install b/src/ceph/debian/python3-rgw.install new file mode 100644 index 0000000..57f4559 --- /dev/null +++ b/src/ceph/debian/python3-rgw.install @@ -0,0 +1,2 @@ +usr/lib/python3*/dist-packages/rgw-*.egg-info +usr/lib/python3*/dist-packages/rgw.cpython*.so diff --git a/src/ceph/debian/rados-objclass-dev.install b/src/ceph/debian/rados-objclass-dev.install new file mode 100644 index 0000000..ac8f90e --- /dev/null +++ b/src/ceph/debian/rados-objclass-dev.install @@ -0,0 +1 @@ +usr/include/rados/objclass.h diff --git a/src/ceph/debian/radosgw.dirs b/src/ceph/debian/radosgw.dirs new file mode 100644 index 0000000..a2f1849 --- /dev/null +++ b/src/ceph/debian/radosgw.dirs @@ -0,0 +1 @@ +var/lib/ceph/radosgw diff --git a/src/ceph/debian/radosgw.install b/src/ceph/debian/radosgw.install new file mode 100644 index 0000000..d583799 --- /dev/null +++ b/src/ceph/debian/radosgw.install @@ -0,0 +1,5 @@ +usr/bin/radosgw +usr/bin/radosgw-es +usr/bin/radosgw-object-expirer +usr/bin/radosgw-token +usr/share/man/man8/radosgw.8 diff --git a/src/ceph/debian/radosgw.postinst b/src/ceph/debian/radosgw.postinst new file mode 100644 index 0000000..07e3ec3 --- /dev/null +++ b/src/ceph/debian/radosgw.postinst @@ -0,0 +1,57 @@ +#!/bin/sh +# vim: set noet ts=8: +# postinst script for radosgw +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# +# postinst configure <most-recently-configured-version> +# old-postinst abort-upgrade <new-version> +# conflictor's-postinst abort-remove in-favour <package> <new-version> +# postinst abort-remove +# deconfigured's-postinst abort-deconfigure in-favour <failed-install-package> <version> [<removing conflicting-package> <version>] +# +# The current action is to simply remove the mistakenly-added +# /etc/init/ceph.conf file; this could be done in any of these cases, +# although technically it will leave the system in a different state +# than the original install that included that file. So instead we +# only remove on "configure", since that's the only time we know we're +# successful in installing a newer package than the erroneous version. + +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +[ -f "/etc/default/ceph" ] && . /etc/default/ceph +[ -z "$SERVER_USER" ] && SERVER_USER=ceph +[ -z "$SERVER_GROUP" ] && SERVER_GROUP=ceph + +case "$1" in + configure) + [ -x /sbin/start ] && start radosgw-all || : + + if ! dpkg-statoverride --list /var/lib/ceph/radosgw >/dev/null + then + chown $SERVER_USER:$SERVER_GROUP /var/lib/ceph/radosgw + fi + ;; + abort-upgrade|abort-remove|abort-deconfigure) + : + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/src/ceph/debian/radosgw.prerm b/src/ceph/debian/radosgw.prerm new file mode 100644 index 0000000..4120fb6 --- /dev/null +++ b/src/ceph/debian/radosgw.prerm @@ -0,0 +1,23 @@ +#!/bin/sh +# vim: set noet ts=8: + +set -e + +case "$1" in + remove) + [ -x /sbin/stop ] && stop radosgw-all || true + invoke-rc.d radosgw stop || { + RESULT=$? + if [ $RESULT != 100 ]; then + exit $RESULT + fi + } + ;; + + *) + ;; +esac + +#DEBHELPER# + +exit 0 diff --git a/src/ceph/debian/rbd-fuse.install b/src/ceph/debian/rbd-fuse.install new file mode 100644 index 0000000..7b6b96f --- /dev/null +++ b/src/ceph/debian/rbd-fuse.install @@ -0,0 +1,2 @@ +usr/bin/rbd-fuse +usr/share/man/man8/rbd-fuse.8 diff --git a/src/ceph/debian/rbd-mirror.install b/src/ceph/debian/rbd-mirror.install new file mode 100644 index 0000000..80f8210 --- /dev/null +++ b/src/ceph/debian/rbd-mirror.install @@ -0,0 +1,2 @@ +usr/bin/rbd-mirror +usr/share/man/man8/rbd-mirror.8 diff --git a/src/ceph/debian/rbd-nbd.install b/src/ceph/debian/rbd-nbd.install new file mode 100644 index 0000000..385c450 --- /dev/null +++ b/src/ceph/debian/rbd-nbd.install @@ -0,0 +1,2 @@ +usr/bin/rbd-nbd +usr/share/man/man8/rbd-nbd.8 diff --git a/src/ceph/debian/rules b/src/ceph/debian/rules new file mode 100755 index 0000000..857888f --- /dev/null +++ b/src/ceph/debian/rules @@ -0,0 +1,187 @@ +#!/usr/bin/make -f +# -*- makefile -*- +export DH_VERBOSE=1 +export DESTDIR=$(CURDIR)/debian/tmp + +export DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) + +extraopts += -DUSE_CRYPTOPP=OFF -DWITH_OCF=ON -DWITH_LTTNG=ON -DWITH_PYTHON3=ON -DWITH_EMBEDDED=OFF +extraopts += -DWITH_CEPHFS_JAVA=ON +# assumes that ceph is exmpt from multiarch support, so we override the libdir. +extraopts += -DCMAKE_INSTALL_LIBDIR=/usr/lib +extraopts += -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib +extraopts += -DCMAKE_INSTALL_SYSCONFDIR=/etc +ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + extraopts += -DBOOST_J=$(NUMJOBS) +endif + +ifeq ($(DEB_HOST_ARCH), armel) + # armel supports ARMv4t or above instructions sets. + # libatomic-ops is only usable with Ceph for ARMv6 or above. + extraopts += -DWITH_ATOMIC_OPS=OFF +endif + +ifneq (,$(filter $(DEB_HOST_ARCH), arm armel armhf arm64 i386 amd64 mips mipsel powerpc ppc64)) + # beast depends on libboost_context which only support the archs above + extraopts += -DWITH_RADOSGW_BEAST_FRONTEND=ON +else + extraopts += -DWITH_RADOSGW_BEAST_FRONTEND=OFF +endif + +%: + dh $@ --buildsystem=cmake --with javahelper,python2,python3,systemd --parallel + +override_dh_auto_configure: + env | sort + dh_auto_configure --buildsystem=cmake -- $(extraopts) $(CEPH_EXTRA_CMAKE_ARGS) + +override_dh_auto_build: + dh_auto_build --buildsystem=cmake + cp src/init-radosgw debian/radosgw.init + +override_dh_auto_clean: + dh_auto_clean --buildsystem=cmake + rm -f debian/radosgw.init debian/ceph.logrotate + +override_dh_auto_install: + dh_auto_install --buildsystem=cmake --destdir=$(DESTDIR) + install -D -m 644 udev/50-rbd.rules $(DESTDIR)/lib/udev/rules.d/50-rbd.rules + install -D -m 644 udev/95-ceph-osd.rules $(DESTDIR)/lib/udev/rules.d/95-ceph-osd.rules + install -D -m 644 udev/60-ceph-by-parttypeuuid.rules $(DESTDIR)/lib/udev/rules.d/60-ceph-by-parttypeuuid.rules + install -D -m 644 src/etc-rbdmap $(DESTDIR)/etc/ceph/rbdmap + install -D -m 644 src/90-ceph-osd.conf $(DESTDIR)/etc/sysctl.d/30-ceph-osd.conf + +# doc/changelog is a directory, which confuses dh_installchangelogs +override_dh_installchangelogs: + dh_installchangelogs --exclude doc/changelog + +override_dh_installdocs: + dh_installdocs -a --all ChangeLog + +override_dh_installlogrotate: + cp src/logrotate.conf debian/ceph-common.logrotate + dh_installlogrotate -pceph-common + +override_dh_installinit: + # dh_installinit is only set up to handle one upstart script + # per package, so do this ourselves + install -d -m0755 debian/ceph-base/etc/init + install -m0644 src/upstart/ceph-all.conf debian/ceph-base/etc/init + install -d -m0755 debian/ceph-osd/etc/init + install -m0644 src/upstart/ceph-osd*.conf debian/ceph-osd/etc/init + install -m0644 src/upstart/ceph-disk.conf debian/ceph-osd/etc/init + install -d -m0755 debian/ceph-mon/etc/init + install -m0644 src/upstart/ceph-mon*.conf debian/ceph-mon/etc/init + install -d -m0755 debian/ceph-common/etc/init + install -m0644 src/upstart/rbdmap.conf debian/ceph-common/etc/init + install -d -m0755 debian/ceph-mds/etc/init + install -m0644 src/upstart/ceph-mds*.conf debian/ceph-mds/etc/init + install -d -m0755 debian/ceph-mgr/etc/init + install -m0644 src/upstart/ceph-mgr*.conf debian/ceph-mgr/etc/init + install -d -m0755 debian/radosgw/etc/init + install -m0644 src/upstart/radosgw*.conf debian/radosgw/etc/init + install -d -m0755 debian/rbd-mirror/etc/init + install -m0644 src/upstart/ceph-rbd-mirror*.conf debian/rbd-mirror/etc/init + # install the systemd stuff manually since we have funny service names + install -d -m0755 debian/ceph-common/lib/systemd/system + install -m0644 systemd/ceph.target debian/ceph-common/lib/systemd/system + install -d -m0755 debian/ceph-common/etc/default + install -m0644 etc/default/ceph debian/ceph-common/etc/default/ + install -d -m0755 debian/ceph-common/usr/lib/tmpfiles.d + install -m 0644 -D systemd/ceph.tmpfiles.d debian/ceph-common/usr/lib/tmpfiles.d/ceph.conf + + install -d -m0755 debian/ceph-base/lib/systemd/system + install -d -m0755 debian/ceph-mon/lib/systemd/system + install -d -m0755 debian/ceph-osd/lib/systemd/system + install -m0644 systemd/ceph-mon@.service debian/ceph-mon/lib/systemd/system + install -m0644 systemd/ceph-osd@.service debian/ceph-osd/lib/systemd/system + install -m0644 systemd/ceph-disk@.service debian/ceph-osd/lib/systemd/system + install -m0644 systemd/ceph-volume@.service debian/ceph-osd/lib/systemd/system + install -m0644 systemd/rbdmap.service debian/ceph-common/lib/systemd/system + sed -i s./etc/sysconfig/./etc/default/.g debian/ceph-mon/lib/systemd/system/ceph-mon@.service + sed -i s./etc/sysconfig/./etc/default/.g debian/ceph-osd/lib/systemd/system/ceph-osd@.service + sed -i s./etc/sysconfig/./etc/default/.g debian/ceph-osd/lib/systemd/system/ceph-disk@.service + sed -i s./etc/sysconfig/./etc/default/.g debian/ceph-osd/lib/systemd/system/ceph-volume@.service + install -m0644 systemd/ceph-mon.target debian/ceph-mon/lib/systemd/system + install -m0644 systemd/ceph-osd.target debian/ceph-osd/lib/systemd/system + + install -d -m0755 debian/ceph-mds/lib/systemd/system + install -m0644 systemd/ceph-mds@.service debian/ceph-mds/lib/systemd/system + sed -i s./etc/sysconfig/./etc/default/.g debian/ceph-mds/lib/systemd/system/ceph-mds@.service + install -m0644 systemd/ceph-mds.target debian/ceph-mds/lib/systemd/system + + install -d -m0755 debian/ceph-fuse/lib/systemd/system + install -m0644 systemd/ceph-fuse@.service debian/ceph-fuse/lib/systemd/system + sed -i s./etc/sysconfig/./etc/default/.g debian/ceph-fuse/lib/systemd/system/ceph-fuse@.service + install -m0644 systemd/ceph-fuse.target debian/ceph-fuse/lib/systemd/system + + install -d -m0755 debian/ceph-mgr/lib/systemd/system + install -m0644 systemd/ceph-mgr@.service debian/ceph-mgr/lib/systemd/system + sed -i s./etc/sysconfig/./etc/default/.g debian/ceph-mgr/lib/systemd/system/ceph-mgr@.service + install -m0644 systemd/ceph-mgr.target debian/ceph-mgr/lib/systemd/system + + install -d -m0755 debian/radosgw/lib/systemd/system + install -m0644 systemd/ceph-radosgw@.service debian/radosgw/lib/systemd/system + sed -i s./etc/sysconfig/./etc/default/.g debian/radosgw/lib/systemd/system/ceph-radosgw@.service + install -m0644 systemd/ceph-radosgw.target debian/radosgw/lib/systemd/system + + install -d -m0755 debian/rbd-mirror/lib/systemd/system + install -m0644 systemd/ceph-rbd-mirror@.service debian/rbd-mirror/lib/systemd/system + sed -i s./etc/sysconfig/./etc/default/.g debian/rbd-mirror/lib/systemd/system/ceph-rbd-mirror@.service + install -m0644 systemd/ceph-rbd-mirror.target debian/rbd-mirror/lib/systemd/system + + dh_installinit -p ceph-base --name ceph --no-start + dh_installinit -p radosgw --no-start + + # NOTE: execute systemd helpers so they pickup dh_install'ed units and targets + dh_systemd_enable + dh_systemd_start --no-restart-on-upgrade + +override_dh_systemd_enable: + # systemd enable done as part of dh_installinit + +override_dh_systemd_start: + # systemd start done as part of dh_installinit + +override_dh_strip: + dh_strip -pceph-mds --dbg-package=ceph-mds-dbg + dh_strip -pceph-fuse --dbg-package=ceph-fuse-dbg + dh_strip -pceph-mgr --dbg-package=ceph-mgr-dbg + dh_strip -pceph-mon --dbg-package=ceph-mon-dbg + dh_strip -pceph-osd --dbg-package=ceph-osd-dbg + dh_strip -pceph-fuse --dbg-package=ceph-fuse-dbg + dh_strip -prbd-fuse --dbg-package=rbd-fuse-dbg + dh_strip -prbd-mirror --dbg-package=rbd-mirror-dbg + dh_strip -prbd-nbd --dbg-package=rbd-nbd-dbg + dh_strip -pceph-common --dbg-package=ceph-common-dbg + dh_strip -plibrados2 --dbg-package=librados2-dbg + dh_strip -plibradosstriper1 --dbg-package=libradosstriper1-dbg + dh_strip -plibrbd1 --dbg-package=librbd1-dbg + dh_strip -plibcephfs2 --dbg-package=libcephfs2-dbg + dh_strip -plibrgw2 --dbg-package=librgw2-dbg + dh_strip -pradosgw --dbg-package=radosgw-dbg + dh_strip -pceph-test --dbg-package=ceph-test-dbg + +override_dh_shlibdeps: + dh_shlibdeps -a --exclude=erasure-code --exclude=rados-classes --exclude=compressor + +override_dh_python2: + for binding in rados cephfs rbd rgw; do \ + dh_python2 -p python-$$binding; \ + done + dh_python2 -p ceph-common + dh_python2 -p ceph-base + dh_python2 -p ceph-osd + dh_python2 -p ceph-mgr + +override_dh_python3: + for binding in rados cephfs rbd rgw; do \ + dh_python3 -p python3-$$binding; \ + done + dh_python3 -p python3-ceph-argparse + +# do not run tests +override_dh_auto_test: + +.PHONY: override_dh_autoreconf override_dh_auto_configure override_dh_auto_build override_dh_auto_clean override_dh_auto_install override_dh_installdocs override_dh_installlogrotate override_dh_installinit override_dh_systemd_start override_dh_strip override_dh_auto_test diff --git a/src/ceph/debian/source/format b/src/ceph/debian/source/format new file mode 100644 index 0000000..d3827e7 --- /dev/null +++ b/src/ceph/debian/source/format @@ -0,0 +1 @@ +1.0 diff --git a/src/ceph/debian/watch b/src/ceph/debian/watch new file mode 100644 index 0000000..57a60e9 --- /dev/null +++ b/src/ceph/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://ceph.com/download/ceph-(\d.*)\.tar\.gz |