summaryrefslogtreecommitdiff
path: root/ceph-bin
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2022-11-06 18:02:55 +0100
committerErich Eckner <erich.eckner.ext@bestsecret.com>2022-11-06 18:02:55 +0100
commit9fb3690d73d2b5780aac33674a6ffc6bef5f2f2d (patch)
treeb2217ee90bc8dc5944c710743106f3bd616f1450 /ceph-bin
parent35760c2794e38c6b6c93b9c3a4a48a509617445c (diff)
downloadarchlinuxewe-9fb3690d73d2b5780aac33674a6ffc6bef5f2f2d.tar.xz
ceph-bin: use upstream PKGBUILD
Diffstat (limited to 'ceph-bin')
-rw-r--r--ceph-bin/PKGBUILD76
1 files changed, 21 insertions, 55 deletions
diff --git a/ceph-bin/PKGBUILD b/ceph-bin/PKGBUILD
index 4387dac79..cfb0e6a55 100644
--- a/ceph-bin/PKGBUILD
+++ b/ceph-bin/PKGBUILD
@@ -4,90 +4,56 @@
pkgbase='ceph-bin'
pkgname=('ceph-bin' 'ceph-libs-bin' 'ceph-mgr-bin')
pkgver=17.2.5
-pkgrel=1
+pkgrel=4
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}.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=('0ce0262c5dce397a9e13aceed696b38d657016b8782f68a0d266d2d3d2a46744c18bc1dd870f385b437f120776db0a3d6ce0c35a210247decf22a661943c84b0'
- 'ee0a858f6dc862a300c75727cb517e36ff07afa611a21dba88bea5014cac46f1af54b751812e0f91d4476c2d7bd7ac7229e7863e9f6813b8b688f9bf28ac1070'
- '75dca4605cb1ee79531ccb1ebcf6c610361fec69bef1f40b6d47a940770c5c72a3f3a7e74daabd826cdd94f337bdb076d19021bb66602c117f1357bf94b71349')
+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")
+sha512sums=('1771dd508a329a7a379b3023d6c538719eef29b3534d967e545a55f4e6cd5c84456bbf823ab91c394c90e64eb42213a1a28c96c8c1d632240e2f5415ba8401c0'
+ 'ad068ef3c4e7dcfeafd18855450b2a1fa19bc22bc4036ba1ca32bbf97e44cebd54ba701e25b165b217448af5d35ba5f48cbadd3d7a6bf084bd17d4f54c400ac7'
+ '4e0cfe0c17a092aa320cc025a7aff9544c7f94c5bd80ab8de2498eb1a81235a620096fcada82301efce51d8d69b53500e65d7feb22fca91524972ef91413d7ae')
# Don't extract source archives
noextract=("${source[@]%%::*}")
package_ceph-libs-bin() {
- _pinned_dependencies=(
- 'gcc-libs=12.2.0'
- 'glibc>=2.36'
- 'libblkid.so=1'
- 'libcryptsetup.so=12'
- 'libcrypt.so=2'
- 'libcurl.so=4'
- 'libexpat.so=1'
- 'libicuuc.so=72'
- 'libudev.so=1'
- 'lz4=1:1.9.4'
- 'openssl=3.0.7'
- 'zlib=1:1.2.13'
- )
- depends=("${_pinned_dependencies[@]}"
- 'boost-libs' 'curl' 'glibc' 'keyutils' 'libutil-linux' 'bzip2' 'lz4' 'nss'
+ depends=('boost-libs' 'curl' 'glibc' 'keyutils' 'libutil-linux' 'bzip2' 'lz4' 'nss'
'oath-toolkit' 'python' 'snappy' 'systemd-libs' 'fmt' 'cryptsetup'
- 'lua' 'librdkafka'
+ 'lua' 'librdkafka' 'libaio' 'gperftools'
'python-prettytable' 'python-yaml' 'python-setuptools')
provides=("ceph-libs=${pkgver}-${pkgrel}")
conflicts=('ceph-libs')
cd "${srcdir}"
- tar --exclude='.*' --zstd -xv -f ceph-libs-bin-${pkgver}.tar.zst -C "${pkgdir}"
+ tar --exclude='.*' --zstd -xv -f ceph-libs-bin-${pkgver}-${pkgrel}.tar.zst -C "${pkgdir}"
}
package_ceph-bin() {
- _pinned_dependencies=(
- 'gcc-libs=12.2.0'
- 'glibc>=2.36'
- 'libblkid.so=1'
- 'libcap-ng.so=0'
- 'libcryptsetup.so=12'
- 'libcurl.so=4'
- 'libexpat.so=1'
- 'libicuuc.so=72'
- 'libkeyutils.so=1'
- 'libncursesw.so=6'
- 'libnl=3.7.0'
- 'libudev.so=1'
- 'lz4=1:1.9.4'
- 'openssl=3.0.7'
- 'zlib=1:1.2.13'
- )
- depends=("ceph-libs=${pkgver}-${pkgrel}" "${_pinned_dependencies[@]}"
- 'boost-libs' 'fuse2' 'fuse3' 'fmt' 'glibc' 'gperftools' 'java-runtime'
- 'keyutils' 'leveldb' 'libaio' 'libutil-linux' 'librdkafka'
+ 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'
- 'xfsprogs')
+ 'snappy' 'sudo' 'systemd-libs' 'lua' 'gawk')
+ 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-bin-${pkgver}.tar.zst -C "${pkgdir}"
+ tar --exclude='.*' --zstd -xv -f ceph-bin-${pkgver}-${pkgrel}.tar.zst -C "${pkgdir}"
}
package_ceph-mgr-bin() {
- _pinned_dependencies=(
- 'gcc-libs=12.2.0'
- 'glibc>=2.36'
- )
- depends=("ceph=${pkgver}-${pkgrel}" "ceph-libs=${pkgver}-${pkgrel}" "${_pinned_dependencies[@]}"
- 'bash' 'boost-libs' 'coffeescript' 'curl' 'gperftools' 'nodejs' 'nss' 'fmt'
+ 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-numpy' 'python-scipy' 'python-six' 'python-coverage' 'python-pytest' 'python-dateutil'
'python-prettytable' 'python-requests' 'python-pyopenssl' 'python-bcrypt' 'python-yaml'
@@ -102,7 +68,7 @@ package_ceph-mgr-bin() {
cd "${srcdir}"
- tar --exclude='.*' --zstd -xv -f ceph-mgr-bin-${pkgver}.tar.zst -C "${pkgdir}"
+ tar --exclude='.*' --zstd -xv -f ceph-mgr-bin-${pkgver}-${pkgrel}.tar.zst -C "${pkgdir}"
}
# vim:set ts=2 sw=2 et: