pkg: 15.2.14-7

- Created the base PKGBUILD
- Regenerated SRCINFO

This repo is a thin shim around the real package, ceph. It's primary
purpose is to provide prebuilt ceph artifacts, rather than building from
source.

This repo's "build" process should never be more complicated than:

1. Downloading the built ceph artifacts
2. Installing them

Any changes / fixes / discussion on the actual build of ceph should take
place in:

 https://aur.archlinux.org/packages/ceph

This is the initial release, however for sanity we're keeping the pkgrel
in sync with the upstream aur package (ceph).
This commit is contained in:
Bazaah
2022-08-14 15:54:24 +00:00
commit af76e08d0b
3 changed files with 253 additions and 0 deletions

99
.SRCINFO Normal file
View File

@@ -0,0 +1,99 @@
pkgbase = ceph-bin
pkgdesc = Distributed, fault-tolerant storage platform delivering object, block, and file system
pkgver = 15.2.14
pkgrel = 7
url = https://ceph.com/
arch = x86_64
license = GPL
noextract = ceph-bin-15.2.14.tar.zst
noextract = ceph-libs-bin-15.2.14.tar.zst
noextract = ceph-mgr-bin-15.2.14.tar.zst
options = emptydirs
source = ceph-bin-15.2.14.tar.zst::https://github.com/bazaah/aur-ceph/releases/download/v15.2.14-7/ceph_linux_x86_64.tar.zstd
source = ceph-libs-bin-15.2.14.tar.zst::https://github.com/bazaah/aur-ceph/releases/download/v15.2.14-7/ceph_libs_linux_x86_64.tar.zstd
source = ceph-mgr-bin-15.2.14.tar.zst::https://github.com/bazaah/aur-ceph/releases/download/v15.2.14-7/ceph_mgr_linux_x86_64.tar.zstd
sha512sums = d8ed4d19f3638a18e16cadabf7a6eaab32bb37c5700fbd4559aa226e3406fc528a79c699de75ff29deb2c50b0c027261b9e671958674a16f96674deb6411a8b5
sha512sums = e0ee00643cd6f5d829a0ab2bddc4d52aa98db915e9c25020e4aefb731aceae154f0793694e7257b005c5a8e7a1d3c5b1c51d081e560981d36417a0e999fdc920
sha512sums = f07c64fdde6b99ab3849eefcdf1099058874c49d2a5cb530a9857347f4be76f77fff6a0df3bc7c83339b8c643797861548a69b35067d9d9081996fef71dac1b4
pkgname = ceph-bin
depends = ceph-libs=15.2.14-7
depends = boost-libs
depends = curl
depends = fuse2
depends = fuse3
depends = fmt
depends = glibc
depends = gperftools
depends = java-runtime
depends = keyutils
depends = leveldb
depends = libaio
depends = libutil-linux
depends = librdkafka
depends = lsb-release
depends = ncurses
depends = nss
depends = oath-toolkit
depends = python
depends = python-bcrypt
depends = python-setuptools
depends = python-prettytable
depends = python-cmd2
depends = python-dateutil
depends = snappy
depends = sudo
depends = systemd-libs
depends = python-flask
depends = python-pecan
depends = python-pyopenssl
depends = python-requests
depends = python-werkzeug
depends = xfsprogs
depends = python-yaml
depends = python-pyaml
provides = ceph
pkgname = ceph-libs-bin
depends = boost-libs
depends = curl
depends = glibc
depends = keyutils
depends = libutil-linux
depends = bzip2
depends = lz4
depends = nss
depends = oath-toolkit
depends = python
depends = snappy
depends = systemd-libs
depends = fmt
provides = ceph-libs
pkgname = ceph-mgr-bin
depends = ceph=15.2.14-7
depends = ceph-libs=15.2.14-7
depends = bash
depends = boost-libs
depends = coffeescript
depends = curl
depends = gperftools
depends = nodejs
depends = nss
depends = python
depends = python-cherrypy
depends = python-flask-restful
depends = python-pecan
depends = python-pyjwt
depends = python-routes
depends = python-jsonpatch
depends = python-more-itertools
depends = python-numpy
depends = python-scipy
depends = python-six
optdepends = python-influxdb: influx module
optdepends = python-kubernetes: rook module
optdepends = python-prometheus_client: prometheus module
optdepends = python-remoto: ssh module
provides = ceph-mgr
conflicts = ceph<14.2.1-1

87
.gitignore vendored Normal file
View File

@@ -0,0 +1,87 @@
# Created by https://www.toptal.com/developers/gitignore/api/archlinuxpackages,linux,macos,vim
# Edit at https://www.toptal.com/developers/gitignore?templates=archlinuxpackages,linux,macos,vim
### ArchLinuxPackages ###
*.tar
*.tar.*
*.jar
*.exe
*.msi
*.zip
*.tgz
*.log
*.log.*
*.sig
pkg/
src/
### Linux ###
*~
# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*
# KDE directory preferences
.directory
# Linux trash folder which might appear on any partition or disk
.Trash-*
# .nfs files are created when an open file is removed but is still being accessed
.nfs*
### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
### macOS Patch ###
# iCloud generated files
*.icloud
### Vim ###
# Swap
[._]*.s[a-v][a-z]
!*.svg # comment out if you don't need vector files
[._]*.sw[a-p]
[._]s[a-rt-v][a-z]
[._]ss[a-gi-z]
[._]sw[a-p]
# Session
Session.vim
Sessionx.vim
# Temporary
.netrwhist
# Auto-generated tag files
tags
# Persistent undo
[._]*.un~
# End of https://www.toptal.com/developers/gitignore/api/archlinuxpackages,linux,macos,vim

67
PKGBUILD Normal file
View File

@@ -0,0 +1,67 @@
# Maintainer: Paul Stemmet <aur@luxolus.com>
pkgbase='ceph-bin'
pkgname=('ceph-bin' 'ceph-libs-bin' 'ceph-mgr-bin')
pkgver=15.2.14
pkgrel=7
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=('d8ed4d19f3638a18e16cadabf7a6eaab32bb37c5700fbd4559aa226e3406fc528a79c699de75ff29deb2c50b0c027261b9e671958674a16f96674deb6411a8b5'
'e0ee00643cd6f5d829a0ab2bddc4d52aa98db915e9c25020e4aefb731aceae154f0793694e7257b005c5a8e7a1d3c5b1c51d081e560981d36417a0e999fdc920'
'f07c64fdde6b99ab3849eefcdf1099058874c49d2a5cb530a9857347f4be76f77fff6a0df3bc7c83339b8c643797861548a69b35067d9d9081996fef71dac1b4')
# 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')
provides=('ceph-libs')
cd "${srcdir}"
tar --exclude='.*' --zstd -xv -f ceph-libs-bin-${pkgver}.tar.zst -C "${pkgdir}"
}
package_ceph-bin() {
depends=("ceph-libs=${pkgver}-${pkgrel}"
'boost-libs' 'curl' 'fuse2' 'fuse3' 'fmt' 'glibc' 'gperftools' 'java-runtime'
'keyutils' 'leveldb' 'libaio' 'libutil-linux' 'librdkafka'
'lsb-release' 'ncurses'
'nss' 'oath-toolkit' 'python' 'python-bcrypt' 'python-setuptools'
'python-prettytable' 'python-cmd2' 'python-dateutil' 'snappy' 'sudo' 'systemd-libs'
'python-flask' 'python-pecan' 'python-pyopenssl' 'python-requests' 'python-werkzeug' 'xfsprogs'
'python-yaml' 'python-pyaml')
provides=('ceph')
cd "${srcdir}"
tar --exclude='.*' --zstd -xv -f ceph-bin-${pkgver}.tar.zst -C "${pkgdir}"
}
package_ceph-mgr-bin() {
depends=("ceph=${pkgver}-${pkgrel}" "ceph-libs=${pkgver}-${pkgrel}"
'bash' 'boost-libs' 'coffeescript' 'curl' 'gperftools' 'nodejs' 'nss'
'python' 'python-cherrypy' 'python-flask-restful' 'python-pecan'
'python-pyjwt' 'python-routes' 'python-jsonpatch' 'python-more-itertools' 'python-numpy'
'python-scipy' 'python-six')
optdepends=('python-influxdb: influx module'
'python-kubernetes: rook module'
'python-prometheus_client: prometheus module'
'python-remoto: ssh module')
provides=('ceph-mgr')
conflicts=('ceph<14.2.1-1')
cd "${srcdir}"
tar --exclude='.*' --zstd -xv -f ceph-mgr-bin-${pkgver}.tar.zst -C "${pkgdir}"
}
# vim:set ts=2 sw=2 et: