summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2019-04-04 21:41:44 +1100
committerMichael Palimaka <kensington@gentoo.org>2019-04-04 21:43:06 +1100
commitc580d328f115e44658f07454e92d127ecf0ba676 (patch)
tree24812ed7671da0e2ec846a0840669cc74fcde9c1
parentdev-libs/libmaxminddb: Add live ebuild (diff)
downloadgentoo-c580d328f115e44658f07454e92d127ecf0ba676.tar.gz
gentoo-c580d328f115e44658f07454e92d127ecf0ba676.tar.bz2
gentoo-c580d328f115e44658f07454e92d127ecf0ba676.zip
sec-policy/apparmor-profiles: add live ebuild
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Michael Palimaka <kensington@gentoo.org>
-rw-r--r--sec-policy/apparmor-profiles/apparmor-profiles-9999.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/sec-policy/apparmor-profiles/apparmor-profiles-9999.ebuild b/sec-policy/apparmor-profiles/apparmor-profiles-9999.ebuild
new file mode 100644
index 000000000000..7c3930d38474
--- /dev/null
+++ b/sec-policy/apparmor-profiles/apparmor-profiles-9999.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit git-r3
+
+DESCRIPTION="A collection of profiles for the AppArmor application security system"
+HOMEPAGE="https://gitlab.com/apparmor/apparmor/wikis/home"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="minimal vanilla"
+
+RESTRICT="test"
+
+S=${WORKDIR}/${P}/profiles
+
+pkg_setup() {
+ if use vanilla; then
+ EGIT_REPO_URI="https://gitlab.com/apparmor/apparmor.git"
+ EGIT_BRANCH="master"
+ else
+ EGIT_REPO_URI="https://github.com/kensington/apparmor.git"
+ EGIT_BRANCH="gentoo"
+ fi
+}
+
+src_install() {
+ if use minimal ; then
+ insinto /etc/apparmor.d
+ doins -r apparmor.d/{abstractions,tunables}
+ else
+ default
+ fi
+}