diff options
-rw-r--r-- | sec-policy/apparmor-profiles/Manifest | 1 | ||||
-rw-r--r-- | sec-policy/apparmor-profiles/apparmor-profiles-2.13.4-r10.ebuild | 28 |
2 files changed, 29 insertions, 0 deletions
diff --git a/sec-policy/apparmor-profiles/Manifest b/sec-policy/apparmor-profiles/Manifest new file mode 100644 index 00000000..ba3818a6 --- /dev/null +++ b/sec-policy/apparmor-profiles/Manifest @@ -0,0 +1 @@ +DIST apparmor-2.13.4.tar.xz 4256276 BLAKE2B ccdf6f465000faab578b7ea18738b51ce6b234acb9654d60f430fa3cd6a37782ad20877005415c92c23a6e224e9990b660c562989b672d4e36eeb9e93e844858 SHA512 e79ce182d67a21bd4c00d82f8be465526a6999b1a895ccbbbe10e3040183fcfa1380184f527d4549e5115739e3077878b1d5d6a7a1b5a4737daf6741db8493ac diff --git a/sec-policy/apparmor-profiles/apparmor-profiles-2.13.4-r10.ebuild b/sec-policy/apparmor-profiles/apparmor-profiles-2.13.4-r10.ebuild new file mode 100644 index 00000000..d345b8d7 --- /dev/null +++ b/sec-policy/apparmor-profiles/apparmor-profiles-2.13.4-r10.ebuild @@ -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="http://mirrors.redcorelinux.org/redcorelinux/distfiles-next/apparmor-${PV}.tar.xz" + +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/{abstractions,tunables} + else + default + fi +} |