gentoo/sec-policy/apparmor-profiles/apparmor-profiles-4.1.1.ebuild
David Roman fcbf442a50
sec-policy/apparmor-profiles: add 4.1.1
Among other things this adds new qt6 abstractions needed by qt6
applications and updates to the mesa abstractions.

SRC_URI is changed from launchpad to the upstream Gitlab as the version
on the former was multiple versions behind.

Signed-off-by: David Roman <davidroman96@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43627
Closes: https://github.com/gentoo/gentoo/pull/43627
Signed-off-by: Sam James <sam@gentoo.org>
2025-09-16 16:46:58 +01:00

26 lines
641 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="A collection of profiles for the AppArmor application security system"
HOMEPAGE="https://gitlab.com/apparmor/apparmor/wikis/home"
SRC_URI="https://gitlab.com/apparmor/apparmor/-/archive/v${PV}/apparmor-v${PV}.tar.bz2 -> ${P}.tar.bz2"
S=${WORKDIR}/apparmor-v${PV}/profiles
LICENSE="GPL-2"
SLOT="0/$(ver_cut 1-2)"
KEYWORDS="~amd64 ~arm64 ~ppc64"
IUSE="minimal"
RESTRICT="test"
src_install() {
if use minimal ; then
insinto /etc/apparmor.d
doins -r apparmor.d/{abi,abstractions,tunables}
else
default
fi
}