From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1977D158086 for ; Wed, 3 Nov 2021 02:07:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 30AA8E086C; Wed, 3 Nov 2021 02:07:10 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 10DBBE086C for ; Wed, 3 Nov 2021 02:07:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C169B342CC9 for ; Wed, 3 Nov 2021 02:07:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5F958195 for ; Wed, 3 Nov 2021 02:07:07 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1635905218.387fe7923e63b7722a7d7ab644533530da7baccd.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/audit/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-process/audit/audit-3.0.6.ebuild X-VCS-Directories: sys-process/audit/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 387fe7923e63b7722a7d7ab644533530da7baccd X-VCS-Branch: master Date: Wed, 3 Nov 2021 02:07:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5a491f3f-a1cd-4038-ba0c-288fc13128f7 X-Archives-Hash: e2d2adc72b7b55dc6619eba1472ac875 commit: 387fe7923e63b7722a7d7ab644533530da7baccd Author: Sam James gentoo org> AuthorDate: Wed Nov 3 02:06:58 2021 +0000 Commit: Sam James gentoo org> CommitDate: Wed Nov 3 02:06:58 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=387fe792 sys-process/audit: enable py3.10 and disable py3.7 Signed-off-by: Sam James gentoo.org> sys-process/audit/audit-3.0.6.ebuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sys-process/audit/audit-3.0.6.ebuild b/sys-process/audit/audit-3.0.6.ebuild index 7ca9ea03f3d..515bd1b8416 100644 --- a/sys-process/audit/audit-3.0.6.ebuild +++ b/sys-process/audit/audit-3.0.6.ebuild @@ -3,9 +3,9 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{8..10} ) -inherit autotools multilib multilib-minimal toolchain-funcs python-r1 linux-info systemd usr-ldscript +inherit autotools multilib-minimal toolchain-funcs python-r1 linux-info systemd usr-ldscript DESCRIPTION="Userspace utilities for storing and processing auditing records" HOMEPAGE="https://people.redhat.com/sgrubb/audit/" @@ -54,6 +54,7 @@ multilib_src_configure() { --without-python --without-python3 ) + ECONF_SOURCE=${S} econf "${myeconfargs[@]}" if multilib_is_native_abi && use python; then @@ -148,7 +149,7 @@ pkg_postinst() { lockdown_perms() { # Upstream wants these to have restrictive perms. # Should not || die as not all paths may exist. - local basedir="$1" + local basedir="${1}" chmod 0750 "${basedir}"/sbin/au{ditctl,ditd,report,search,trace} 2>/dev/null chmod 0750 "${basedir}"/var/log/audit 2>/dev/null chmod 0640 "${basedir}"/etc/audit/{auditd.conf,audit*.rules*} 2>/dev/null