mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-11-04 02:11:39 +01:00 
			
		
		
		
	community/ceph16: rename from ceph
This commit is contained in:
		
							parent
							
								
									cb5fff7e16
								
							
						
					
					
						commit
						b99426dd5f
					
				@ -2,9 +2,11 @@
 | 
				
			|||||||
# Contributor: Iggy Jackson <iggy@kws1.com>
 | 
					# Contributor: Iggy Jackson <iggy@kws1.com>
 | 
				
			||||||
# Contributor: Duncan Bellamy <dunk@denkimushi.com>
 | 
					# Contributor: Duncan Bellamy <dunk@denkimushi.com>
 | 
				
			||||||
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
 | 
					# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
 | 
				
			||||||
pkgname=ceph
 | 
					_pkgname=ceph
 | 
				
			||||||
pkgver=16.2.10
 | 
					pkgver=16.2.10
 | 
				
			||||||
pkgrel=7
 | 
					pkgrel=8
 | 
				
			||||||
 | 
					_majorver=${pkgver%%.*}
 | 
				
			||||||
 | 
					pkgname=$_pkgname$_majorver
 | 
				
			||||||
pkgdesc="Ceph is a distributed object store and file system"
 | 
					pkgdesc="Ceph is a distributed object store and file system"
 | 
				
			||||||
pkgusers="ceph"
 | 
					pkgusers="ceph"
 | 
				
			||||||
pkggroups="ceph"
 | 
					pkggroups="ceph"
 | 
				
			||||||
@ -13,6 +15,7 @@ arch="all"
 | 
				
			|||||||
# https://github.com/ceph/ceph/blob/master/COPYING
 | 
					# https://github.com/ceph/ceph/blob/master/COPYING
 | 
				
			||||||
license="LGPL-2.1-only AND LGPL-2.0-or-later AND GPL-2.0-only AND GPL-3.0-only AND CC-BY-SA-1.0 AND BSL-1.0 AND GPL-2.0-or-later WITH Autoconf-exception-2.0 AND BSD-3-Clause AND MIT AND custom"
 | 
					license="LGPL-2.1-only AND LGPL-2.0-or-later AND GPL-2.0-only AND GPL-3.0-only AND CC-BY-SA-1.0 AND BSL-1.0 AND GPL-2.0-or-later WITH Autoconf-exception-2.0 AND BSD-3-Clause AND MIT AND custom"
 | 
				
			||||||
depends="ceph-osd ceph-mds ceph-mon"
 | 
					depends="ceph-osd ceph-mds ceph-mon"
 | 
				
			||||||
 | 
					builddir="$srcdir/ceph-$pkgver"
 | 
				
			||||||
_lua=5.3
 | 
					_lua=5.3
 | 
				
			||||||
_base_deps="
 | 
					_base_deps="
 | 
				
			||||||
	cryptsetup
 | 
						cryptsetup
 | 
				
			||||||
@ -24,7 +27,7 @@ _base_deps="
 | 
				
			|||||||
	"
 | 
						"
 | 
				
			||||||
_osd_daemon_deps="fuse snappy lz4-libs"
 | 
					_osd_daemon_deps="fuse snappy lz4-libs"
 | 
				
			||||||
_osd_tools_deps="lz4-libs"
 | 
					_osd_tools_deps="lz4-libs"
 | 
				
			||||||
_ceph_volume_deps="ceph-common lvm2 py3-ceph-common"
 | 
					_ceph_volume_deps="$pkgname-common=$pkgver-r$pkgrel lvm2 py3-$pkgname-common=$pkgver-r$pkgrel"
 | 
				
			||||||
_ceph_test_deps="
 | 
					_ceph_test_deps="
 | 
				
			||||||
	xmlstarlet
 | 
						xmlstarlet
 | 
				
			||||||
	py3-coverage
 | 
						py3-coverage
 | 
				
			||||||
@ -136,6 +139,8 @@ source="https://download.ceph.com/tarballs/ceph_$pkgver.orig.tar.gz
 | 
				
			|||||||
	$pkgname-gcc12-memory.patch::https://github.com/ceph/ceph/commit/7c381ba985bd1398ef7d145cc00fae9d0db510e3.patch
 | 
						$pkgname-gcc12-memory.patch::https://github.com/ceph/ceph/commit/7c381ba985bd1398ef7d145cc00fae9d0db510e3.patch
 | 
				
			||||||
	46-fmt9.patch
 | 
						46-fmt9.patch
 | 
				
			||||||
	"
 | 
						"
 | 
				
			||||||
 | 
					# to prevent things from installing wrong ceph libs, since they have the same SOMAJOR
 | 
				
			||||||
 | 
					sonameprefix="ceph$_majorver:so:"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
subpackages="
 | 
					subpackages="
 | 
				
			||||||
	$pkgname-doc
 | 
						$pkgname-doc
 | 
				
			||||||
@ -157,19 +162,27 @@ subpackages="
 | 
				
			|||||||
	$pkgname-dev
 | 
						$pkgname-dev
 | 
				
			||||||
	$pkgname-user::noarch
 | 
						$pkgname-user::noarch
 | 
				
			||||||
	$pkgname-utils
 | 
						$pkgname-utils
 | 
				
			||||||
	rbd-fuse:rbd_fuse
 | 
						rbd-fuse$_majorver:rbd_fuse
 | 
				
			||||||
	rbd-mirror:rbd_mirror
 | 
						rbd-mirror$_majorver:rbd_mirror
 | 
				
			||||||
	rbd-nbd:rbd_nbd
 | 
						rbd-nbd$_majorver:rbd_nbd
 | 
				
			||||||
	librbd
 | 
						librbd$_majorver:librbd
 | 
				
			||||||
	libcephfs
 | 
						libcephfs$_majorver:libcephfs
 | 
				
			||||||
	librados
 | 
						librados$_majorver:librados
 | 
				
			||||||
	py3-rados:_py3_rados
 | 
						py3-rados$_majorver:_py3_rados
 | 
				
			||||||
	libradosstriper
 | 
						libradosstriper$_majorver:libradosstriper
 | 
				
			||||||
	py3-rbd:_py3_rbd
 | 
						py3-rbd$_majorver:_py3_rbd
 | 
				
			||||||
	py3-cephfs:_py3_cephfs
 | 
						py3-cephfs$_majorver:_py3_cephfs
 | 
				
			||||||
	py3-ceph-common:_py3_ceph_common
 | 
						py3-$pkgname-common:_py3_ceph_common
 | 
				
			||||||
	"
 | 
						"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Whether this package is the default (latest) ceph version.
 | 
				
			||||||
 | 
					_default_ceph="yes"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ "$_default_ceph" = yes ]; then
 | 
				
			||||||
 | 
						provides="ceph=$pkgver-r$pkgrel"
 | 
				
			||||||
 | 
						replaces="ceph"
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# secfixes:
 | 
					# secfixes:
 | 
				
			||||||
#   16.2.10-r0:
 | 
					#   16.2.10-r0:
 | 
				
			||||||
#     - CVE-2022-0670
 | 
					#     - CVE-2022-0670
 | 
				
			||||||
@ -281,8 +294,8 @@ package() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	# remove the upstream init file and put in openrc ones
 | 
						# remove the upstream init file and put in openrc ones
 | 
				
			||||||
	rm -f "$pkgdir"/etc/init.d/ceph
 | 
						rm -f "$pkgdir"/etc/init.d/ceph
 | 
				
			||||||
	install -D -m 755 "$srcdir"/"$pkgname".initd "$pkgdir"/etc/init.d/ceph
 | 
						install -D -m 755 "$srcdir"/"$_pkgname".initd "$pkgdir"/etc/init.d/ceph
 | 
				
			||||||
	install -D -m 644 "$srcdir"/"$pkgname".confd "$pkgdir"/etc/conf.d/ceph
 | 
						install -D -m 644 "$srcdir"/"$_pkgname".confd "$pkgdir"/etc/conf.d/ceph
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	# move mount.* binaries to /sbin
 | 
						# move mount.* binaries to /sbin
 | 
				
			||||||
	mkdir -p "$pkgdir"/sbin
 | 
						mkdir -p "$pkgdir"/sbin
 | 
				
			||||||
@ -319,6 +332,8 @@ user() {
 | 
				
			|||||||
	pkgdesc="Minimal package to create a user for other ceph packages."
 | 
						pkgdesc="Minimal package to create a user for other ceph packages."
 | 
				
			||||||
	depends=""
 | 
						depends=""
 | 
				
			||||||
	install="$pkgname-user.pre-install"
 | 
						install="$pkgname-user.pre-install"
 | 
				
			||||||
 | 
						_default_replace_majorversion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	mkdir -p "$subpkgdir"
 | 
						mkdir -p "$subpkgdir"
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -327,10 +342,11 @@ base() {
 | 
				
			|||||||
	depends="$_base_deps
 | 
						depends="$_base_deps
 | 
				
			||||||
		$pkgname-user=$pkgver-r$pkgrel
 | 
							$pkgname-user=$pkgver-r$pkgrel
 | 
				
			||||||
		$pkgname-common=$pkgver-r$pkgrel
 | 
							$pkgname-common=$pkgver-r$pkgrel
 | 
				
			||||||
		librbd=$pkgver-r$pkgrel
 | 
							librbd$_majorver=$pkgver-r$pkgrel
 | 
				
			||||||
		librados=$pkgver-r$pkgrel
 | 
							librados$_majorver=$pkgver-r$pkgrel
 | 
				
			||||||
		libcephfs=$pkgver-r$pkgrel
 | 
							libcephfs$_majorver=$pkgver-r$pkgrel
 | 
				
			||||||
		"
 | 
							"
 | 
				
			||||||
 | 
						_default_replace_majorversion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	amove usr/bin/ceph-crash \
 | 
						amove usr/bin/ceph-crash \
 | 
				
			||||||
		usr/bin/crushtool \
 | 
							usr/bin/crushtool \
 | 
				
			||||||
@ -355,7 +371,8 @@ base() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
common() {
 | 
					common() {
 | 
				
			||||||
	pkgdesc="Common utilities to mount and interact with a ceph storage cluster."
 | 
						pkgdesc="Common utilities to mount and interact with a ceph storage cluster."
 | 
				
			||||||
	depends="eudev py3-rados py3-rbd py3-cephfs py3-prettytable"
 | 
						depends="eudev py3-rados$_majorver=$pkgver-r$pkgrel py3-rbd$_majorver=$pkgver-r$pkgrel py3-cephfs$_majorver=$pkgver-r$pkgrel py3-prettytable"
 | 
				
			||||||
 | 
						_default_replace_majorversion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	amove usr/bin/ceph \
 | 
						amove usr/bin/ceph \
 | 
				
			||||||
		usr/bin/ceph-authtool \
 | 
							usr/bin/ceph-authtool \
 | 
				
			||||||
@ -379,7 +396,8 @@ common() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
mds() {
 | 
					mds() {
 | 
				
			||||||
	pkgdesc="Metadata server daemon for the Ceph distributed file system."
 | 
						pkgdesc="Metadata server daemon for the Ceph distributed file system."
 | 
				
			||||||
	depends="ceph-base"
 | 
						depends="$pkgname-base=$pkgver-r$pkgrel"
 | 
				
			||||||
 | 
						_default_replace_majorversion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	amove usr/bin/ceph-mds
 | 
						amove usr/bin/ceph-mds
 | 
				
			||||||
	install -m 750 -o $_ceph_uid -g $_ceph_gid -d \
 | 
						install -m 750 -o $_ceph_uid -g $_ceph_gid -d \
 | 
				
			||||||
@ -388,9 +406,10 @@ mds() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
mon() {
 | 
					mon() {
 | 
				
			||||||
	pkgdesc="Cluster monitor daemon virtual package for the Ceph distributed file system."
 | 
						pkgdesc="Cluster monitor daemon virtual package for the Ceph distributed file system."
 | 
				
			||||||
	depends="$pkgname-base
 | 
						depends="$pkgname-base=$pkgver-r$pkgrel
 | 
				
			||||||
		$pkgname-mon-daemon=$pkgver-r$pkgrel
 | 
							$pkgname-mon-daemon=$pkgver-r$pkgrel
 | 
				
			||||||
		$pkgname-mon-tools=$pkgver-r$pkgrel"
 | 
							$pkgname-mon-tools=$pkgver-r$pkgrel"
 | 
				
			||||||
 | 
						_default_replace_majorversion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	mkdir -p "$subpkgdir"
 | 
						mkdir -p "$subpkgdir"
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@ -398,6 +417,7 @@ mon() {
 | 
				
			|||||||
mon_daemon() {
 | 
					mon_daemon() {
 | 
				
			||||||
	pkgdesc="Cluster monitor daemon for the Ceph distributed file system."
 | 
						pkgdesc="Cluster monitor daemon for the Ceph distributed file system."
 | 
				
			||||||
	depends="$pkgname-user=$pkgver-r$pkgrel"
 | 
						depends="$pkgname-user=$pkgver-r$pkgrel"
 | 
				
			||||||
 | 
						_default_replace_majorversion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	amove usr/bin/ceph-mon
 | 
						amove usr/bin/ceph-mon
 | 
				
			||||||
	install -m 750 -o $_ceph_uid -g $_ceph_gid -d \
 | 
						install -m 750 -o $_ceph_uid -g $_ceph_gid -d \
 | 
				
			||||||
@ -407,6 +427,7 @@ mon_daemon() {
 | 
				
			|||||||
mon_tools() {
 | 
					mon_tools() {
 | 
				
			||||||
	pkgdesc="Cluster monitor tools for the Ceph distributed file system."
 | 
						pkgdesc="Cluster monitor tools for the Ceph distributed file system."
 | 
				
			||||||
	depends=
 | 
						depends=
 | 
				
			||||||
 | 
						_default_replace_majorversion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	amove usr/bin/ceph-monstore-tool
 | 
						amove usr/bin/ceph-monstore-tool
 | 
				
			||||||
	install -m 750 -o $_ceph_uid -g $_ceph_gid -d \
 | 
						install -m 750 -o $_ceph_uid -g $_ceph_gid -d \
 | 
				
			||||||
@ -416,6 +437,7 @@ mon_tools() {
 | 
				
			|||||||
ceph_fuse() {
 | 
					ceph_fuse() {
 | 
				
			||||||
	pkgdesc="FUSE based client for Ceph distributed network file system."
 | 
						pkgdesc="FUSE based client for Ceph distributed network file system."
 | 
				
			||||||
	depends=
 | 
						depends=
 | 
				
			||||||
 | 
						_default_replace_majorversion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	amove usr/bin/ceph-fuse sbin/mount.fuse.ceph
 | 
						amove usr/bin/ceph-fuse sbin/mount.fuse.ceph
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@ -423,13 +445,15 @@ ceph_fuse() {
 | 
				
			|||||||
rbd_fuse() {
 | 
					rbd_fuse() {
 | 
				
			||||||
	pkgdesc="FUSE based client to map Ceph rbd images to files."
 | 
						pkgdesc="FUSE based client to map Ceph rbd images to files."
 | 
				
			||||||
	depends=
 | 
						depends=
 | 
				
			||||||
 | 
						_default_replace_majorversion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	amove usr/bin/rbd-fuse
 | 
						amove usr/bin/rbd-fuse
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
rbd_mirror() {
 | 
					rbd_mirror() {
 | 
				
			||||||
	pkgdesc="Daemon for mirroring RBD images between Ceph clusters."
 | 
						pkgdesc="Daemon for mirroring RBD images between Ceph clusters."
 | 
				
			||||||
	depends="ceph-common=$pkgver-r$pkgrel"
 | 
						depends="$pkgname-common=$pkgver-r$pkgrel"
 | 
				
			||||||
 | 
						_default_replace_majorversion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	amove usr/bin/rbd-mirror
 | 
						amove usr/bin/rbd-mirror
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@ -437,13 +461,15 @@ rbd_mirror() {
 | 
				
			|||||||
rbd_nbd() {
 | 
					rbd_nbd() {
 | 
				
			||||||
	pkgdesc="NBD based client to map Ceph rbd images to local device."
 | 
						pkgdesc="NBD based client to map Ceph rbd images to local device."
 | 
				
			||||||
	depends=
 | 
						depends=
 | 
				
			||||||
 | 
						_default_replace_majorversion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	amove usr/bin/rbd-nbd
 | 
						amove usr/bin/rbd-nbd
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
radosgw() {
 | 
					radosgw() {
 | 
				
			||||||
	pkgdesc="Rados REST gateway which implements Amazon's S3 and OpenStack's Swift APIs."
 | 
						pkgdesc="Rados REST gateway which implements Amazon's S3 and OpenStack's Swift APIs."
 | 
				
			||||||
	depends="ceph-common oath-toolkit-liboath"
 | 
						depends="$pkgname-common=$pkgver-r$pkgrel oath-toolkit-liboath"
 | 
				
			||||||
 | 
						_default_replace_majorversion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	amove usr/bin/radosgw*
 | 
						amove usr/bin/radosgw*
 | 
				
			||||||
	mkdir -p "$subpkgdir"/var/lib/ceph/radosgw
 | 
						mkdir -p "$subpkgdir"/var/lib/ceph/radosgw
 | 
				
			||||||
@ -454,6 +480,7 @@ osd() {
 | 
				
			|||||||
	depends="$pkgname-osd-daemon=$pkgver-r$pkgrel
 | 
						depends="$pkgname-osd-daemon=$pkgver-r$pkgrel
 | 
				
			||||||
		$pkgname-osd-tools=$pkgver-r$pkgrel
 | 
							$pkgname-osd-tools=$pkgver-r$pkgrel
 | 
				
			||||||
		$pkgname-volume=$pkgver-r$pkgrel"
 | 
							$pkgname-volume=$pkgver-r$pkgrel"
 | 
				
			||||||
 | 
						_default_replace_majorversion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	mkdir -p "$subpkgdir"
 | 
						mkdir -p "$subpkgdir"
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@ -461,6 +488,7 @@ osd() {
 | 
				
			|||||||
osd_daemon() {
 | 
					osd_daemon() {
 | 
				
			||||||
	pkgdesc="Object storage daemon for the Ceph distributed file system."
 | 
						pkgdesc="Object storage daemon for the Ceph distributed file system."
 | 
				
			||||||
	depends="$_osd_daemon_deps $pkgname-user=$pkgver-r$pkgrel"
 | 
						depends="$_osd_daemon_deps $pkgname-user=$pkgver-r$pkgrel"
 | 
				
			||||||
 | 
						_default_replace_majorversion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	amove usr/bin/ceph-osd \
 | 
						amove usr/bin/ceph-osd \
 | 
				
			||||||
		usr/libexec/ceph/ceph-osd-prestart.sh \
 | 
							usr/libexec/ceph/ceph-osd-prestart.sh \
 | 
				
			||||||
@ -473,6 +501,7 @@ osd_daemon() {
 | 
				
			|||||||
osd_tools() {
 | 
					osd_tools() {
 | 
				
			||||||
	pkgdesc="Object storage daemon tools for the Ceph distributed file system."
 | 
						pkgdesc="Object storage daemon tools for the Ceph distributed file system."
 | 
				
			||||||
	depends="$pkgname-base=$pkgver-r$pkgrel $_osd_tools_deps"
 | 
						depends="$pkgname-base=$pkgver-r$pkgrel $_osd_tools_deps"
 | 
				
			||||||
 | 
						_default_replace_majorversion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	amove usr/bin/ceph-clsinfo usr/bin/ceph-*-tool
 | 
						amove usr/bin/ceph-clsinfo usr/bin/ceph-*-tool
 | 
				
			||||||
	install -m 750 -o $_ceph_uid -g $_ceph_gid -d \
 | 
						install -m 750 -o $_ceph_uid -g $_ceph_gid -d \
 | 
				
			||||||
@ -482,6 +511,7 @@ osd_tools() {
 | 
				
			|||||||
ceph_volume() {
 | 
					ceph_volume() {
 | 
				
			||||||
	pkgdesc="ceph-volume tool for the Ceph distributed file system."
 | 
						pkgdesc="ceph-volume tool for the Ceph distributed file system."
 | 
				
			||||||
	depends="$_ceph_volume_deps"
 | 
						depends="$_ceph_volume_deps"
 | 
				
			||||||
 | 
						_default_replace_majorversion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	amove usr/sbin/ceph-volume \
 | 
						amove usr/sbin/ceph-volume \
 | 
				
			||||||
		"$(_py3_sitelib)"/ceph_volume "$(_py3_sitelib)"/ceph_volume-*
 | 
							"$(_py3_sitelib)"/ceph_volume "$(_py3_sitelib)"/ceph_volume-*
 | 
				
			||||||
@ -490,13 +520,15 @@ ceph_volume() {
 | 
				
			|||||||
librados() {
 | 
					librados() {
 | 
				
			||||||
	pkgdesc="RADOS distributed object store client library"
 | 
						pkgdesc="RADOS distributed object store client library"
 | 
				
			||||||
	depends=
 | 
						depends=
 | 
				
			||||||
 | 
						_default_replace_majorversion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	amove usr/lib/librados.so.* usr/lib/ceph/libceph-common.so.*
 | 
						amove usr/lib/librados.so.* usr/lib/ceph/libceph-common.so.*
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
_py3_rados() {
 | 
					_py3_rados() {
 | 
				
			||||||
	pkgdesc="Python libraries for the RADOS object store"
 | 
						pkgdesc="Python libraries for the RADOS object store"
 | 
				
			||||||
	depends=py3-ceph-common
 | 
						depends="py3-$pkgname-common=$pkgver-r$pkgrel"
 | 
				
			||||||
 | 
						_default_replace_majorversion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	amove "$(_py3_sitelib)"/rados*
 | 
						amove "$(_py3_sitelib)"/rados*
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@ -504,6 +536,7 @@ _py3_rados() {
 | 
				
			|||||||
libradosstriper() {
 | 
					libradosstriper() {
 | 
				
			||||||
	pkgdesc="RADOS striping library"
 | 
						pkgdesc="RADOS striping library"
 | 
				
			||||||
	depends=
 | 
						depends=
 | 
				
			||||||
 | 
						_default_replace_majorversion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	amove usr/lib/libradosstriper.so.*
 | 
						amove usr/lib/libradosstriper.so.*
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@ -511,13 +544,15 @@ libradosstriper() {
 | 
				
			|||||||
librbd() {
 | 
					librbd() {
 | 
				
			||||||
	pkgdesc="RADOS block device client library"
 | 
						pkgdesc="RADOS block device client library"
 | 
				
			||||||
	depends=
 | 
						depends=
 | 
				
			||||||
 | 
						_default_replace_majorversion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	amove usr/lib/librbd.so.*
 | 
						amove usr/lib/librbd.so.*
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
_py3_rbd() {
 | 
					_py3_rbd() {
 | 
				
			||||||
	pkgdesc="Python libraries for the RADOS block device"
 | 
						pkgdesc="Python libraries for the RADOS block device"
 | 
				
			||||||
	depends="py3-rados"
 | 
						depends="py3-rados$_majorver=$pkgver-r$pkgrel"
 | 
				
			||||||
 | 
						_default_replace_majorversion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	amove "$(_py3_sitelib)"/rbd*
 | 
						amove "$(_py3_sitelib)"/rbd*
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@ -525,13 +560,15 @@ _py3_rbd() {
 | 
				
			|||||||
libcephfs() {
 | 
					libcephfs() {
 | 
				
			||||||
	pkgdesc="Ceph distributed file system client library"
 | 
						pkgdesc="Ceph distributed file system client library"
 | 
				
			||||||
	depends=
 | 
						depends=
 | 
				
			||||||
 | 
						_default_replace_majorversion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	amove usr/lib/libcephfs.so.*
 | 
						amove usr/lib/libcephfs.so.*
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
_py3_cephfs() {
 | 
					_py3_cephfs() {
 | 
				
			||||||
	pkgdesc="Python libraries for Ceph distributed file system"
 | 
						pkgdesc="Python libraries for Ceph distributed file system"
 | 
				
			||||||
	depends="py3-rados"
 | 
						depends="py3-rados$_majorver=$pkgver-r$pkgrel"
 | 
				
			||||||
 | 
						_default_replace_majorversion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	amove "$(_py3_sitelib)"/cephfs* "$(_py3_sitelib)"/ceph_volume_client.py
 | 
						amove "$(_py3_sitelib)"/cephfs* "$(_py3_sitelib)"/ceph_volume_client.py
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@ -539,13 +576,15 @@ _py3_cephfs() {
 | 
				
			|||||||
_py3_ceph_common() {
 | 
					_py3_ceph_common() {
 | 
				
			||||||
	pkgdesc="Python dependencies for Ceph distributed file system"
 | 
						pkgdesc="Python dependencies for Ceph distributed file system"
 | 
				
			||||||
	depends="py3-setuptools py3-yaml"
 | 
						depends="py3-setuptools py3-yaml"
 | 
				
			||||||
 | 
						_default_replace_majorversion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	amove "$(_py3_sitelib)"/ceph-*.egg-info "$(_py3_sitelib)"/ceph
 | 
						amove "$(_py3_sitelib)"/ceph-*.egg-info "$(_py3_sitelib)"/ceph
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
utils() {
 | 
					utils() {
 | 
				
			||||||
	pkgdesc="Ceph utils and recovery tools"
 | 
						pkgdesc="Ceph utils and recovery tools"
 | 
				
			||||||
	depends="ceph-common=$pkgver-r$pkgrel"
 | 
						depends="$pkgname-common=$pkgver-r$pkgrel"
 | 
				
			||||||
 | 
						_default_replace_majorversion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	amove usr/bin/ceph-diff-sorted \
 | 
						amove usr/bin/ceph-diff-sorted \
 | 
				
			||||||
		usr/bin/ceph-post-file \
 | 
							usr/bin/ceph-post-file \
 | 
				
			||||||
@ -560,6 +599,7 @@ utils() {
 | 
				
			|||||||
bash_completion() {
 | 
					bash_completion() {
 | 
				
			||||||
	pkgdesc="Bash completions for Ceph"
 | 
						pkgdesc="Bash completions for Ceph"
 | 
				
			||||||
	depends=
 | 
						depends=
 | 
				
			||||||
 | 
						_default_replace_majorversion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	install_if="ceph=$pkgver-r$pkgrel bash-completion"
 | 
						install_if="ceph=$pkgver-r$pkgrel bash-completion"
 | 
				
			||||||
	amove etc/bash_completion.d/*
 | 
						amove etc/bash_completion.d/*
 | 
				
			||||||
@ -567,7 +607,8 @@ bash_completion() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
mgr() {
 | 
					mgr() {
 | 
				
			||||||
	pkgdesc="Ceph Manager Daemon"
 | 
						pkgdesc="Ceph Manager Daemon"
 | 
				
			||||||
	depends="ceph-base=$pkgver-r$pkgrel"
 | 
						depends="$pkgname-base=$pkgver-r$pkgrel"
 | 
				
			||||||
 | 
						_default_replace_majorversion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	amove usr/bin/ceph-mgr usr/share/ceph/mgr
 | 
						amove usr/bin/ceph-mgr usr/share/ceph/mgr
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -575,6 +616,13 @@ mgr() {
 | 
				
			|||||||
		"$subpkgdir"/var/lib/ceph/mgr
 | 
							"$subpkgdir"/var/lib/ceph/mgr
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					_default_replace_majorversion() {
 | 
				
			||||||
 | 
						if [ "$_default_ceph" = yes ]; then
 | 
				
			||||||
 | 
							replaces="${subpkgname/"$_majorver"/}"
 | 
				
			||||||
 | 
							provides="$replaces=$pkgver-r$pkgrel"
 | 
				
			||||||
 | 
						fi
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
sha512sums="
 | 
					sha512sums="
 | 
				
			||||||
ae164c24462c3e08763d202acc3e2fe86ffc09f312b5059bae07863e804fc47bd158fc130aa2923246ffcfe26ae6d6d9317326aec96373226e6f9030d7123c8b  ceph_16.2.10.orig.tar.gz
 | 
					ae164c24462c3e08763d202acc3e2fe86ffc09f312b5059bae07863e804fc47bd158fc130aa2923246ffcfe26ae6d6d9317326aec96373226e6f9030d7123c8b  ceph_16.2.10.orig.tar.gz
 | 
				
			||||||
110bdbcb40216c7ed155a8d23020784741b4992d895f4f04a146d275506e4e68053854d3b063b41e9c9b3e3e4f95b6b90602f92c185c853c0d8f47ad0c6b7121  ceph.confd
 | 
					110bdbcb40216c7ed155a8d23020784741b4992d895f4f04a146d275506e4e68053854d3b063b41e9c9b3e3e4f95b6b90602f92c185c853c0d8f47ad0c6b7121  ceph.confd
 | 
				
			||||||
@ -602,6 +650,6 @@ bf3ec9b8b7e830ecec566cb2b979a147a0da3fa925b1777e5480f9e728705e8f6245a1b0694d67f5
 | 
				
			|||||||
f89c913a53e2806c59508d26f5dc72abb428c7e4e3b7c1aeb6eaf92744ea9a13cac2f00a2ac90f91ad7682f66d876a5fffedd10feeceecd71a944793581da443  44-staticcast.patch
 | 
					f89c913a53e2806c59508d26f5dc72abb428c7e4e3b7c1aeb6eaf92744ea9a13cac2f00a2ac90f91ad7682f66d876a5fffedd10feeceecd71a944793581da443  44-staticcast.patch
 | 
				
			||||||
b95ec157f9c77177afd3deb8e3485bb5f10e1b634a15617d14e09b08d6680d32201ecb249ea5ea98127a312e1fdb22fdbe9f0216690291a2849419aa7ab81610  44-missing-include.patch
 | 
					b95ec157f9c77177afd3deb8e3485bb5f10e1b634a15617d14e09b08d6680d32201ecb249ea5ea98127a312e1fdb22fdbe9f0216690291a2849419aa7ab81610  44-missing-include.patch
 | 
				
			||||||
fd0cbe188a1be404c1d6f221367b94d764e78cf61e7ba4e8a8977ebabd467356a3a46e079df3e5dfa3fd301dd7991bd0f2eabca2e9cd28e5edcae24fb9b8456c  45-python.patch
 | 
					fd0cbe188a1be404c1d6f221367b94d764e78cf61e7ba4e8a8977ebabd467356a3a46e079df3e5dfa3fd301dd7991bd0f2eabca2e9cd28e5edcae24fb9b8456c  45-python.patch
 | 
				
			||||||
f1b54767d8d3c12ca9fe9eafd0590efa8560a52b5c18f1121f8fd8b7e69d70578bdeae9a1803612a8a8d0032f039f8786b5152a889ba359850e3d3d30a6af8c7  ceph-gcc12-memory.patch
 | 
					f1b54767d8d3c12ca9fe9eafd0590efa8560a52b5c18f1121f8fd8b7e69d70578bdeae9a1803612a8a8d0032f039f8786b5152a889ba359850e3d3d30a6af8c7  ceph16-gcc12-memory.patch
 | 
				
			||||||
387812a1a596956e2016f3bf39a59b1b976ba139adc98ace84b0c4b124b4947321d8f6482b30c60402a2546f177418247441639fc02e230e01e16fff851cd61a  46-fmt9.patch
 | 
					387812a1a596956e2016f3bf39a59b1b976ba139adc98ace84b0c4b124b4947321d8f6482b30c60402a2546f177418247441639fc02e230e01e16fff851cd61a  46-fmt9.patch
 | 
				
			||||||
"
 | 
					"
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user