summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormsathieu <msathieu@outlook.com>2021-11-03 08:05:14 +0100
committerSam James <sam@gentoo.org>2021-11-12 02:08:33 +0000
commit4c323d9678e0995f16a9112a60d6ac51e005b178 (patch)
treee0542b254fb2c53644a1ec185171f5c023506771 /sec-policy
parentsys-apps/apparmor-utils: update to 3.0.3 (diff)
downloadgentoo-4c323d9678e0995f16a9112a60d6ac51e005b178.tar.gz
gentoo-4c323d9678e0995f16a9112a60d6ac51e005b178.tar.bz2
gentoo-4c323d9678e0995f16a9112a60d6ac51e005b178.zip
sec-policy/apparmor-profiles: update to 3.0.3
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Mathieu Strypsteen <msathieu@outlook.com> Closes: https://github.com/gentoo/gentoo/pull/22788 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sec-policy')
-rw-r--r--sec-policy/apparmor-profiles/Manifest1
-rw-r--r--sec-policy/apparmor-profiles/apparmor-profiles-3.0.3.ebuild28
-rw-r--r--sec-policy/apparmor-profiles/apparmor-profiles-9999.ebuild4
3 files changed, 31 insertions, 2 deletions
diff --git a/sec-policy/apparmor-profiles/Manifest b/sec-policy/apparmor-profiles/Manifest
index 385711733914..76c9ff7d636a 100644
--- a/sec-policy/apparmor-profiles/Manifest
+++ b/sec-policy/apparmor-profiles/Manifest
@@ -1 +1,2 @@
DIST apparmor-3.0.1.tar.gz 7785713 BLAKE2B c530d159a4139de8e59d9d975af866259b56d555e3abe2d1e2a6bfd2db57d8371d643bb93f1cd6ca96172960c09a74cc05c82d34a2e253c4c1f6ecce747f4129 SHA512 e1073e7b2cde7cc4cefcfddce8fa5069845b5873c260b9fbd4bea2ff801708101d813ff30e23a64da36f3c6394cd9339e01a170e9add69deef2d70ecd9ed9687
+DIST apparmor-3.0.3.tar.gz 7790012 BLAKE2B aada9c32c2cde4a110cbd1d626ec00b08e29e76182185752e5c23e2ec0c2668a732ffdf1eb1660bd8bc294188ccf0da42b4282939f5969a6aed39084be00769c SHA512 bbf26377e60da60dab56473ee5af15aa0f3fdf2f2a61dbfcdeba12a925afda3bc6a0f6cc31e07927400425b8c3b3649833f448d8674044c7274ef06923ab48b5
diff --git a/sec-policy/apparmor-profiles/apparmor-profiles-3.0.3.ebuild b/sec-policy/apparmor-profiles/apparmor-profiles-3.0.3.ebuild
new file mode 100644
index 000000000000..b64a0b8aa1b0
--- /dev/null
+++ b/sec-policy/apparmor-profiles/apparmor-profiles-3.0.3.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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}/${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
+}
diff --git a/sec-policy/apparmor-profiles/apparmor-profiles-9999.ebuild b/sec-policy/apparmor-profiles/apparmor-profiles-9999.ebuild
index 730d6bdf71f6..8145d3cbdd07 100644
--- a/sec-policy/apparmor-profiles/apparmor-profiles-9999.ebuild
+++ b/sec-policy/apparmor-profiles/apparmor-profiles-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit git-r3