diff options
Diffstat (limited to 'sec-policy')
-rw-r--r-- | sec-policy/apparmor-profiles/Manifest | 1 | ||||
-rw-r--r-- | sec-policy/apparmor-profiles/apparmor-profiles-3.0.0.ebuild | 28 |
2 files changed, 29 insertions, 0 deletions
diff --git a/sec-policy/apparmor-profiles/Manifest b/sec-policy/apparmor-profiles/Manifest index 6a8b5e50bbe9..89bb054ab20e 100644 --- a/sec-policy/apparmor-profiles/Manifest +++ b/sec-policy/apparmor-profiles/Manifest @@ -1 +1,2 @@ DIST apparmor-2.13.4.tar.gz 7390179 BLAKE2B 49818a010d5e5757dd43710f2af925fbb62a9f8f9be74556ff31a9a8834bebac010762fc6bef3da8d295e487b65d0e0135f4be25bcb01a834846c5e5d65d92a4 SHA512 d42748bf36ae66849f79653a62d499e9d17a97c4d680fb653eb1c379d0593aaa09f7ddfc6f2fa0d2fb468bce05fb25444976f60a5ec24778fdd7ec20d1c13651 +DIST apparmor-3.0.0.tar.gz 7780686 BLAKE2B a9d9edb4fd2cb32b3db322a3f145aac7cea40fac3401b82947b2c5183598cc326d70859466823e3ac0a2227483c7ed7ba0b2f727e9fb7fbf532468716ef8d18f SHA512 2465a8bc400e24e548b0589b7b022fb8325c53858429b9c54204f989d5589d7bd99c9507bde88a48f9965a55edcbac98efeeb6b93aeefe6a27afa0b7e851aea6 diff --git a/sec-policy/apparmor-profiles/apparmor-profiles-3.0.0.ebuild b/sec-policy/apparmor-profiles/apparmor-profiles-3.0.0.ebuild new file mode 100644 index 000000000000..46576ffed516 --- /dev/null +++ b/sec-policy/apparmor-profiles/apparmor-profiles-3.0.0.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="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/{abstractions,tunables} + else + default + fi +} |