Diff apparmor-profiles-3.1.4 with a apparmor-profiles-9999
| /usr/portage/sec-policy/apparmor-profiles/apparmor-profiles-9999.ebuild 2023-10-09 14:52:35.288368496 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2025 Gentoo Authors |
|
| 1 |
# Copyright 1999-2021 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| 5 | 5 | |
| 6 |
MY_PV="$(ver_cut 1-2)" |
|
| 6 |
inherit git-r3 |
|
| 7 | 7 | |
| 8 | 8 |
DESCRIPTION="A collection of profiles for the AppArmor application security system" |
| 9 | 9 |
HOMEPAGE="https://gitlab.com/apparmor/apparmor/wikis/home" |
| 10 |
SRC_URI="https://launchpad.net/apparmor/${MY_PV}/${PV}/+download/apparmor-${PV}.tar.gz"
|
|
| 11 | 10 | |
| 12 | 11 |
LICENSE="GPL-2" |
| 13 | 12 |
SLOT="0" |
| 14 |
KEYWORDS="amd64 ~arm64 ~ppc64" |
|
| 15 |
IUSE="minimal" |
|
| 13 |
KEYWORDS="" |
|
| 14 |
IUSE="minimal vanilla" |
|
| 16 | 15 | |
| 17 | 16 |
RESTRICT="test" |
| 18 | 17 | |
| 19 |
S=${WORKDIR}/apparmor-${PV}/profiles
|
|
| 18 |
S=${WORKDIR}/${P}/profiles
|
|
| 19 | ||
| 20 |
pkg_setup() {
|
|
| 21 |
if use vanilla; then |
|
| 22 |
EGIT_REPO_URI="https://gitlab.com/apparmor/apparmor.git" |
|
| 23 |
EGIT_BRANCH="master" |
|
| 24 |
else |
|
| 25 |
EGIT_REPO_URI="https://github.com/kensington/apparmor.git" |
|
| 26 |
EGIT_BRANCH="gentoo" |
|
| 27 |
fi |
|
| 28 |
} |
|
| 20 | 29 | |
| 21 | 30 |
src_install() {
|
| 22 | 31 |
if use minimal ; then |