You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sec-policy/apparmor-profiles/apparmor-profiles-2.12.0.eb...

31 lines
639 B

# 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
}