Diff glusterfs-10.4 with a glusterfs-11.0-r1
/usr/portage/sys-cluster/glusterfs/glusterfs-11.0-r1.ebuild 2023-10-09 14:52:35.456368501 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2023 Gentoo Authors |
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 |
PYTHON_COMPAT=( python3_{10..11} ) |
|
6 |
PYTHON_COMPAT=( python3_{10..12} ) |
|
7 | 7 | |
8 |
inherit autotools elisp-common python-single-r1 tmpfiles systemd |
|
8 |
inherit autotools elisp-common python-single-r1 tmpfiles systemd bash-completion-r1 |
|
9 | 9 | |
10 | 10 |
DESCRIPTION="GlusterFS is a powerful network/cluster filesystem" |
11 | 11 |
HOMEPAGE="https://www.gluster.org/ https://github.com/gluster/glusterfs/" |
... | ... | |
24 | 24 |
# the tests must be run as root |
25 | 25 |
RESTRICT="test" |
26 | 26 | |
27 |
PATCHES=( |
|
28 |
"${FILESDIR}/${PN}-11.0-fix-crash.patch" |
|
29 |
) |
|
30 | ||
27 | 31 |
# sys-apps/util-linux is required for libuuid |
28 | 32 |
RDEPEND=" |
29 | 33 |
acct-group/gluster |
... | ... | |
49 | 53 |
DEPEND=" |
50 | 54 |
${RDEPEND} |
51 | 55 |
virtual/acl |
52 |
test? ( >=dev-util/cmocka-1.0.1 |
|
56 |
test? ( |
|
57 |
>=dev-util/cmocka-1.0.1 |
|
53 | 58 |
app-benchmarks/dbench |
59 |
dev-libs/xxhash |
|
54 | 60 |
dev-vcs/git |
55 | 61 |
virtual/perl-Test-Harness |
56 | 62 |
dev-libs/yajl |
57 | 63 |
sys-fs/xfsprogs |
58 |
sys-apps/attr ) |
|
64 |
sys-apps/attr |
|
65 |
) |
|
59 | 66 |
" |
60 | 67 |
BDEPEND=" |
61 | 68 |
sys-devel/bison |
... | ... | |
67 | 74 | |
68 | 75 |
DOCS=( AUTHORS ChangeLog NEWS README.md THANKS ) |
69 | 76 | |
70 |
QA_PKGCONFIG_VERSION=7.10.2 |
|
71 | ||
72 | 77 |
# Maintainer notes: |
73 | 78 |
# * The build system will always configure & build argp-standalone but it'll never use it |
74 | 79 |
# if the argp.h header is found in the system. Which should be the case with |
... | ... | |
124 | 129 |
src_install() { |
125 | 130 |
default |
126 | 131 | |
132 |
# Path changes based on whether app-shells/bash-completion is installed, bug #911523 |
|
133 |
rm -rf "${ED}"/etc/bash_completion.d || die |
|
134 |
newbashcomp extras/command-completion/gluster.bash ${PN} |
|
135 | ||
127 | 136 |
rm \ |
128 | 137 |
"${ED}"/etc/glusterfs/glusterfs-{georep-,}logrotate \ |
129 | 138 |
"${ED}"/etc/glusterfs/gluster-rsyslog-*.conf \ |