1 |
commit: 387fe7923e63b7722a7d7ab644533530da7baccd |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 3 02:06:58 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 3 02:06:58 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=387fe792 |
7 |
|
8 |
sys-process/audit: enable py3.10 and disable py3.7 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
sys-process/audit/audit-3.0.6.ebuild | 7 ++++--- |
13 |
1 file changed, 4 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/sys-process/audit/audit-3.0.6.ebuild b/sys-process/audit/audit-3.0.6.ebuild |
16 |
index 7ca9ea03f3d..515bd1b8416 100644 |
17 |
--- a/sys-process/audit/audit-3.0.6.ebuild |
18 |
+++ b/sys-process/audit/audit-3.0.6.ebuild |
19 |
@@ -3,9 +3,9 @@ |
20 |
|
21 |
EAPI=7 |
22 |
|
23 |
-PYTHON_COMPAT=( python3_{7..9} ) |
24 |
+PYTHON_COMPAT=( python3_{8..10} ) |
25 |
|
26 |
-inherit autotools multilib multilib-minimal toolchain-funcs python-r1 linux-info systemd usr-ldscript |
27 |
+inherit autotools multilib-minimal toolchain-funcs python-r1 linux-info systemd usr-ldscript |
28 |
|
29 |
DESCRIPTION="Userspace utilities for storing and processing auditing records" |
30 |
HOMEPAGE="https://people.redhat.com/sgrubb/audit/" |
31 |
@@ -54,6 +54,7 @@ multilib_src_configure() { |
32 |
--without-python |
33 |
--without-python3 |
34 |
) |
35 |
+ |
36 |
ECONF_SOURCE=${S} econf "${myeconfargs[@]}" |
37 |
|
38 |
if multilib_is_native_abi && use python; then |
39 |
@@ -148,7 +149,7 @@ pkg_postinst() { |
40 |
lockdown_perms() { |
41 |
# Upstream wants these to have restrictive perms. |
42 |
# Should not || die as not all paths may exist. |
43 |
- local basedir="$1" |
44 |
+ local basedir="${1}" |
45 |
chmod 0750 "${basedir}"/sbin/au{ditctl,ditd,report,search,trace} 2>/dev/null |
46 |
chmod 0750 "${basedir}"/var/log/audit 2>/dev/null |
47 |
chmod 0640 "${basedir}"/etc/audit/{auditd.conf,audit*.rules*} 2>/dev/null |