Diff bareos-21.1.7-r2 with a bareos-22.1.0-r1

/usr/portage/app-backup/bareos/bareos-22.1.0-r1.ebuild 2023-10-09 14:52:28.196368317 +0300
3 3

  
4 4
EAPI=7
5 5

  
6
PYTHON_COMPAT=( python3_{9..11} )
6
PYTHON_COMPAT=( python3_{9..12} )
7 7
CMAKE_WARN_UNUSED_CLI=no
8 8
#CMAKE_REMOVE_MODULES=yes
9 9

  
10 10
inherit python-any-r1 systemd cmake tmpfiles
11 11

  
12
if [[ ${PV} == *9999 ]] ; then
13
	inherit git-r3
14
	EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
15
else
16
	SRC_URI="https://github.com/${PN}/${PN}/archive/Release/${PV}.tar.gz -> ${P}.tar.gz"
17

  
18
	KEYWORDS="~amd64 ~x86"
19
	S=${WORKDIR}/${PN}-Release-${PV}
20
fi
21

  
12 22
DESCRIPTION="Featureful client/server network backup suite"
13 23
HOMEPAGE="https://www.bareos.org/"
14
SRC_URI="https://github.com/${PN}/${PN}/archive/Release/${PV}.tar.gz -> ${P}.tar.gz"
15 24

  
16 25
# some tests still fail propably due to missing bits in src_test -> TODO
17 26
RESTRICT="mirror test"
......
22 31

  
23 32
LICENSE="AGPL-3"
24 33
SLOT="0"
25
KEYWORDS="~amd64 ~x86"
26 34
IUSE="X acl ceph clientonly +director glusterfs ipv6 lmdb
27 35
	logwatch ndmp readline scsi-crypto split-usr
28 36
	static +storage-daemon systemd tcpd test vim-syntax vmware xattr"
......
89 97
	x86? ( !ceph )
90 98
"
91 99

  
92
S=${WORKDIR}/${PN}-Release-${PV}
93

  
94 100
pkg_pretend() {
95 101
	local active_removed_backend=""
96 102
	if has_version "<app-backup/bareos-21[director,mysql]"; then
......
143 149
src_prepare() {
144 150
	# fix gentoo platform support
145 151
	eapply -p1 "${FILESDIR}/${PN}-21-cmake-gentoo.patch"
146
	eapply "${FILESDIR}/${PN}-21.1.2-werror.patch"
152
	eapply "${FILESDIR}/${PN}-22.0.2-werror.patch"
147 153
	eapply "${FILESDIR}/${PN}-21.1.2-no-automagic-ccache.patch"
148
	eapply "${FILESDIR}/${PN}-gcc13-fixes.patch"
149 154

  
150 155
	# fix missing DESTDIR in symlink creation
151 156
	sed -i '/bareos-symlink-default-db-backend.cmake/d' "${S}/core/src/cats/CMakeLists.txt"
......
404 409
		einfo " emerge --config app-backup/bareos"
405 410
		einfo
406 411
		einfo "to do this"
412
		einfo
413
		einfo "For major upgrades you may need to run:"
414
		einfo
415
		einfo "  su postgres -c '/usr/libexec/bareos/update_bareos_tables'"
416
		einfo
417
		einfo "Please see release notes for details."
418
		einfo "( https://docs.bareos.org/Appendix/ReleaseNotes.html )"
419
		einfo
407 420
	fi
408 421
}
409 422

  
Thank you!