Diff audit-4.0.2-r1 with a audit-4.1.4-r1

/usr/portage/sys-process/audit/audit-4.1.4-r1.ebuild 2026-04-04 11:46:08.844293366 +0300
1
# Copyright 1999-2025 Gentoo Authors
1
# Copyright 1999-2026 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
......
7 7
# check Fedora's packaging (https://src.fedoraproject.org/rpms/audit/tree/rawhide)
8 8
# on bumps (or if hitting a bug) to see what they've done there.
9 9

  
10
PYTHON_COMPAT=( python3_{10..13} )
10
PYTHON_COMPAT=( python3_{11..14} )
11 11

  
12
inherit autotools multilib-minimal toolchain-funcs python-r1 linux-info systemd usr-ldscript
12
inherit autotools multilib-minimal toolchain-funcs python-r1 linux-info systemd tmpfiles usr-ldscript
13 13

  
14 14
DESCRIPTION="Userspace utilities for storing and processing auditing records"
15 15
HOMEPAGE="https://people.redhat.com/sgrubb/audit/"
16
SRC_URI="https://people.redhat.com/sgrubb/audit/${P}.tar.gz"
16
SRC_URI="https://github.com/linux-audit/audit-userspace/archive/refs/tags/v${PV}.tar.gz
17
	-> ${P}.tar.gz"
17 18

  
19
S="${WORKDIR}/audit-userspace-${PV}"
18 20
LICENSE="GPL-2+ LGPL-2.1+"
19 21
SLOT="0"
20
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
22
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
21 23
IUSE="gssapi io-uring ldap python static-libs test"
22 24

  
23 25
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
......
26 28
RDEPEND="
27 29
	sys-libs/libcap-ng
28 30
	gssapi? ( virtual/krb5 )
29
	ldap? ( net-nds/openldap:= )
31
	ldap? ( net-nds/openldap:=[${MULTILIB_USEDEP}] )
30 32
	python? ( ${PYTHON_DEPS} )
31 33
"
32 34
DEPEND="
......
114 116
}
115 117

  
116 118
multilib_src_compile() {
117
	if multilib_is_native_abi; then
118
		default
119
	default
119 120

  
121
	if multilib_is_native_abi; then
120 122
		local native_build="${BUILD_DIR}"
121 123

  
122 124
		python_compile() {
......
125 127
		}
126 128

  
127 129
		use python && python_foreach_impl python_compile
128
	else
129
		emake -C common
130
		emake -C lib
131
		emake -C auparse
132 130
	fi
133 131
}
134 132

  
135 133
multilib_src_install() {
136
	if multilib_is_native_abi; then
137
		emake DESTDIR="${D}" initdir="$(systemd_get_systemunitdir)" install
134
	emake DESTDIR="${D}" initdir="$(systemd_get_systemunitdir)" install
138 135

  
136
	if multilib_is_native_abi; then
139 137
		local native_build="${BUILD_DIR}"
140 138

  
141 139
		python_install() {
......
148 146

  
149 147
		# Things like shadow use this so we need to be in /
150 148
		gen_usr_ldscript -a audit auparse
151
	else
152
		emake -C lib DESTDIR="${D}" install
153
		emake -C auparse DESTDIR="${D}" install
154 149
	fi
155 150
}
156 151

  
......
188 183

  
189 184
pkg_postinst() {
190 185
	lockdown_perms "${EROOT}"
186
	tmpfiles_process audit.conf
191 187
}
192 188

  
193 189
lockdown_perms() {
Thank you!