sec-policy/apparmor-profiles[minimal]: install abi folder

Closes: https://bugs.gentoo.org/756364
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Felix Neumärker <xdch47@posteo.de>
Signed-off-by: Michael Palimaka <kensington@gentoo.org>
This commit is contained in:
Felix Neumärker 2020-11-24 19:46:32 +01:00 committed by Michael Palimaka
parent 9e1c3a92c1
commit 3aea4d8765
No known key found for this signature in database
GPG Key ID: 06B1F38DCA45A1EC
2 changed files with 30 additions and 2 deletions

View File

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

View File

@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -30,7 +30,7 @@ pkg_setup() {
src_install() {
if use minimal ; then
insinto /etc/apparmor.d
doins -r apparmor.d/{abstractions,tunables}
doins -r apparmor.d/{abi,abstractions,tunables}
else
default
fi