blob: 8145d3cbdd076715215d8162a1487ce7f6f69f2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
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/{abi,abstractions,tunables}
else
default
fi
}
|