diff options
Diffstat (limited to 'ceph-bin/PKGBUILD')
-rw-r--r-- | ceph-bin/PKGBUILD | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/ceph-bin/PKGBUILD b/ceph-bin/PKGBUILD index 4892e8bf5..5c65c08ed 100644 --- a/ceph-bin/PKGBUILD +++ b/ceph-bin/PKGBUILD @@ -3,17 +3,18 @@ pkgbase='ceph-bin' pkgname=('ceph-bin' 'ceph-libs-bin' 'ceph-mgr-bin') -pkgver=17.2.6 -pkgrel=4 +pkgver=17.2.6.4 +pkgrel=1 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-bin-${pkgver}-${pkgrel}.tar.zst::https://github.com/bazaah/aur-ceph/releases/download/${_artifact}/ceph_linux_${arch}.tar.zstd" - "ceph-libs-bin-${pkgver}-${pkgrel}.tar.zst::https://github.com/bazaah/aur-ceph/releases/download/${_artifact}/ceph_libs_linux_${arch}.tar.zstd" - "ceph-mgr-bin-${pkgver}-${pkgrel}.tar.zst::https://github.com/bazaah/aur-ceph/releases/download/${_artifact}/ceph_mgr_linux_${arch}.tar.zstd") +_pkgver=${pkgver%.*}-${pkgver##*.} +_artifact=v${_pkgver} +source=("ceph-bin-${_pkgver}.tar.zst::https://github.com/bazaah/aur-ceph/releases/download/${_artifact}/ceph_linux_${arch}.tar.zstd" + "ceph-libs-bin-${_pkgver}.tar.zst::https://github.com/bazaah/aur-ceph/releases/download/${_artifact}/ceph_libs_linux_${arch}.tar.zstd" + "ceph-mgr-bin-${_pkgver}.tar.zst::https://github.com/bazaah/aur-ceph/releases/download/${_artifact}/ceph_mgr_linux_${arch}.tar.zstd") sha512sums=('df2e41c3463e9a49d563669e191c2bfcf000c66ed1eb1cc90cb73af19d36a940b77964bc956352b3d3b90e3a3ba6620f7ab586e88c42cefb941a19186e07a70a' 'd7e076588a1f8aea65ccc0a25a6ff3effef9af2fbccb7c5d3d2a453e84e8efbdfa8f3cfa019dede90cb908272731054060b8d1313a93be18dea8796a6504371a' '6dce911736d534b2946ebd0d004a407b16ccd1635f3b72bcc2597152a43fd2a92b248bb9c6d8bfc5038bf2c8fb60aaf7af72d6c0546e5a48ec4853debd91ab15') @@ -42,12 +43,12 @@ package_ceph-libs-bin() { 'oath-toolkit' 'python' 'snappy' 'systemd-libs' 'fmt' 'cryptsetup' 'lua' 'librdkafka' 'libaio' 'gperftools' 'python-prettytable' 'python-yaml' 'python-setuptools' "${_pinned_dependencies[@]}") - provides=("ceph-libs=${pkgver}-${pkgrel}") + provides=("ceph-libs=${_pkgver}") conflicts=('ceph-libs') cd "${srcdir}" - tar --exclude='.*' --zstd -xv -f ceph-libs-bin-${pkgver}-${pkgrel}.tar.zst -C "${pkgdir}" + tar --exclude='.*' --zstd -xv -f ceph-libs-bin-${_pkgver}.tar.zst -C "${pkgdir}" } package_ceph-bin() { @@ -70,7 +71,7 @@ package_ceph-bin() { 'lz4=1:1.9.4' 'zlib=1:1.2.13' ) - depends=("ceph-libs=${pkgver}-${pkgrel}" + depends=("ceph-libs=${_pkgver}" 'boost-libs' 'curl' 'fuse3' 'fmt' 'glibc' 'gperftools' 'java-runtime' 'keyutils' 'libaio' 'libutil-linux' 'librdkafka' 'cryptsetup' 'libnl' 'ncurses' @@ -78,12 +79,12 @@ package_ceph-bin() { 'snappy' 'sudo' 'systemd-libs' 'lua' 'gawk' "${_pinned_dependencies[@]}") optdepends=('smartmontools: disk monitoring via S.M.A.R.T' 'nvme-cli: disk monitoring for NVMe drives') - provides=("ceph=${pkgver}-${pkgrel}") + provides=("ceph=${_pkgver}") conflicts=('ceph') cd "${srcdir}" - tar --exclude='.*' --zstd -xv -f ceph-bin-${pkgver}-${pkgrel}.tar.zst -C "${pkgdir}" + tar --exclude='.*' --zstd -xv -f ceph-bin-${_pkgver}.tar.zst -C "${pkgdir}" } package_ceph-mgr-bin() { @@ -92,7 +93,7 @@ package_ceph-mgr-bin() { 'glibc>=2.36' 'libsqlite3.so=0' ) - depends=("ceph=${pkgver}-${pkgrel}" "ceph-libs=${pkgver}-${pkgrel}" + depends=("ceph=${_pkgver}" "ceph-libs=${_pkgver}" 'bash' 'boost-libs' 'curl' 'gperftools' 'nss' 'fmt' 'python' 'python-cherrypy' 'python-pecan' 'python-pyjwt' 'python-more-itertools' 'python-numpy' 'python-scipy' 'python-six' 'python-coverage' 'python-pytest' 'python-dateutil' @@ -102,13 +103,13 @@ package_ceph-mgr-bin() { 'python-kubernetes: rook module' 'python-prometheus_client: prometheus module' 'python-remoto: ssh module') - provides=("ceph-mgr=${pkgver}-${pkgrel}") + provides=("ceph-mgr=${_pkgver}") conflicts=('ceph-mgr') options=('emptydirs' '!strip') cd "${srcdir}" - tar --exclude='.*' --zstd -xv -f ceph-mgr-bin-${pkgver}-${pkgrel}.tar.zst -C "${pkgdir}" + tar --exclude='.*' --zstd -xv -f ceph-mgr-bin-${_pkgver}.tar.zst -C "${pkgdir}" } # vim:set ts=2 sw=2 et: |