summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2018-01-01 13:41:26 +1100
committerMichael Palimaka <kensington@gentoo.org>2018-01-01 13:59:23 +1100
commitb162d6c661e34bc91e02e4343e872f231ed35465 (patch)
treeaa18c15b05517cb440c53179211c8188bdeef1fc /sec-policy/apparmor-profiles/apparmor-profiles-2.12.0.ebuild
parentx11-misc/albert: remove old (diff)
downloadgentoo-b162d6c661e34bc91e02e4343e872f231ed35465.tar.gz
gentoo-b162d6c661e34bc91e02e4343e872f231ed35465.tar.bz2
gentoo-b162d6c661e34bc91e02e4343e872f231ed35465.zip
sec-policy/apparmor-profiles: version bump 2.12.0
Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'sec-policy/apparmor-profiles/apparmor-profiles-2.12.0.ebuild')
-rw-r--r--sec-policy/apparmor-profiles/apparmor-profiles-2.12.0.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/sec-policy/apparmor-profiles/apparmor-profiles-2.12.0.ebuild b/sec-policy/apparmor-profiles/apparmor-profiles-2.12.0.ebuild
new file mode 100644
index 000000000000..c8fe58516d47
--- /dev/null
+++ b/sec-policy/apparmor-profiles/apparmor-profiles-2.12.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit versionator
+
+MY_PV="$(get_version_component_range 1-2)"
+
+DESCRIPTION="A collection of profiles for the AppArmor application security system"
+HOMEPAGE="http://apparmor.net/"
+SRC_URI="https://launchpad.net/apparmor/${MY_PV}/${PV}/+download/apparmor-${MY_PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="minimal"
+
+RESTRICT="test"
+
+S=${WORKDIR}/apparmor-${MY_PV}/profiles
+
+src_install() {
+ if use minimal ; then
+ insinto /etc/apparmor.d
+ doins -r apparmor.d/{abstractions,tunables}
+ else
+ default
+ fi
+}