# Maintainer: Paul Stemmet pkgbase='ceph-bin' pkgname=('ceph-bin' 'ceph-libs-bin' 'ceph-mgr-bin') pkgver=17.2.6 pkgrel=3 pkgdesc='Distributed, fault-tolerant storage platform delivering object, block, and file system' arch=('x86_64') url='https://ceph.com/' license=('GPL') options=('emptydirs') _artifact=v${pkgver}-${pkgrel} source=("ceph-${pkgver}-${pkgrel}.tar.zst::https://github.com/bazaah/aur-ceph/releases/download/${_artifact}/ceph_linux_${arch}.tar.zstd" "ceph-libs-${pkgver}-${pkgrel}.tar.zst::https://github.com/bazaah/aur-ceph/releases/download/${_artifact}/ceph_libs_linux_${arch}.tar.zstd" "ceph-mgr-${pkgver}-${pkgrel}.tar.zst::https://github.com/bazaah/aur-ceph/releases/download/${_artifact}/ceph_mgr_linux_${arch}.tar.zstd") sha512sums=('5381754ed5226bd701efc0dfdc36f406f8d460a7666e354edc129e1d1ba92874ebbbb726a95d7d185f695942fa80519660612c7a42eebaaec386a059cc0b85d4' 'edccfb6f9e2f8e0ed17c128313a75d5672ff1c095b809fe5577b7ba24647d36fe5b104b021e2780373f18c882a0f6e356144cb19e9f2251c8ec57942d4054390' '058633ebf1a3e25a9cc31f0016ebe38cc4f1f3970681881ec7ba60186222a748c4d7fefccbbe07ac8445884216f8238be8e4eb73b70ae3b7a155587f3433e4e3') # Don't extract source archives noextract=("${source[@]%%::*}") package_ceph-libs-bin() { depends=('boost-libs' 'curl' 'glibc' 'keyutils' 'libutil-linux' 'bzip2' 'lz4' 'nss' 'oath-toolkit' 'python' 'snappy' 'systemd-libs' 'fmt' 'cryptsetup' 'lua' 'librdkafka' 'libaio' 'gperftools' 'librabbitmq-c' 'python-prettytable' 'python-yaml' 'python-setuptools') provides=("ceph-libs=${pkgver}-${pkgrel}") conflicts=('ceph-libs') cd "${srcdir}" tar --exclude='.*' --zstd -xv -f ceph-libs-${pkgver}-${pkgrel}.tar.zst -C "${pkgdir}" } package_ceph-bin() { depends=("ceph-libs=${pkgver}-${pkgrel}" 'boost-libs' 'curl' 'fuse3' 'fmt' 'glibc' 'gperftools' 'java-runtime' 'keyutils' 'libaio' 'libutil-linux' 'librdkafka' 'cryptsetup' 'libnl' 'ncurses' 'nss' 'oath-toolkit' 'python' 'snappy' 'sudo' 'systemd-libs' 'lua' 'gawk') backup=('etc/logrotate.d/ceph' 'etc/udev/rules.d/50-ceph-rbd.rules' 'etc/sysctl.d/90-ceph-osd.conf' 'etc/sudoers.d/90-ceph') optdepends=('smartmontools: disk monitoring via S.M.A.R.T' 'nvme-cli: disk monitoring for NVMe drives') provides=("ceph=${pkgver}-${pkgrel}") conflicts=('ceph') cd "${srcdir}" tar --exclude='.*' --zstd -xv -f ceph-${pkgver}-${pkgrel}.tar.zst -C "${pkgdir}" } package_ceph-mgr-bin() { depends=("ceph=${pkgver}-${pkgrel}" "ceph-libs=${pkgver}-${pkgrel}" 'bash' 'boost-libs' 'curl' 'gperftools' 'nss' 'fmt' 'python' 'python-cherrypy' 'python-pecan' 'python-pyjwt' 'python-more-itertools' 'python-routes' 'python-numpy' 'python-scipy' 'python-six' 'python-coverage' 'python-pytest' 'python-dateutil' 'python-prettytable' 'python-requests' 'python-pyopenssl' 'python-bcrypt' 'python-yaml' 'python-werkzeug' 'python-jinja') optdepends=('python-influxdb: influx module' 'python-kubernetes: rook module' 'python-prometheus_client: prometheus module' 'python-remoto: ssh module') provides=("ceph-mgr=${pkgver}-${pkgrel}") conflicts=('ceph-mgr') options=('emptydirs' '!strip') cd "${srcdir}" tar --exclude='.*' --zstd -xv -f ceph-mgr-${pkgver}-${pkgrel}.tar.zst -C "${pkgdir}" } # vim:set ts=2 sw=2 et: