1 |
commit: c746c92df9249005ec773c1540d2d015011144b8 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 1 02:50:13 2018 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 1 02:59:24 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c746c92d |
7 |
|
8 |
sys-apps/apparmor: remove 2.11.1-r1 |
9 |
|
10 |
Package-Manager: Portage-2.3.14, Repoman-2.3.6 |
11 |
|
12 |
sys-apps/apparmor/apparmor-2.11.1-r1.ebuild | 59 ----------------------------- |
13 |
1 file changed, 59 deletions(-) |
14 |
|
15 |
diff --git a/sys-apps/apparmor/apparmor-2.11.1-r1.ebuild b/sys-apps/apparmor/apparmor-2.11.1-r1.ebuild |
16 |
deleted file mode 100644 |
17 |
index eb164b45cf3..00000000000 |
18 |
--- a/sys-apps/apparmor/apparmor-2.11.1-r1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,59 +0,0 @@ |
21 |
-# Copyright 1999-2017 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=6 |
25 |
- |
26 |
-inherit toolchain-funcs versionator |
27 |
- |
28 |
-MY_PV="$(get_version_component_range 1-2)" |
29 |
- |
30 |
-DESCRIPTION="Userspace utils and init scripts for the AppArmor application security system" |
31 |
-HOMEPAGE="http://apparmor.net/" |
32 |
-SRC_URI="https://launchpad.net/${PN}/${MY_PV}/${PV}/+download/${P}.tar.gz" |
33 |
- |
34 |
-LICENSE="GPL-2" |
35 |
-SLOT="0" |
36 |
-KEYWORDS="~amd64" |
37 |
-IUSE="doc" |
38 |
- |
39 |
-RDEPEND="~sys-libs/libapparmor-${PV}" |
40 |
-DEPEND="${RDEPEND} |
41 |
- dev-lang/perl |
42 |
- sys-devel/bison |
43 |
- sys-devel/flex |
44 |
- doc? ( dev-tex/latex2html ) |
45 |
-" |
46 |
- |
47 |
-S=${WORKDIR}/apparmor-${PV}/parser |
48 |
- |
49 |
-PATCHES=( |
50 |
- "${FILESDIR}/${PN}-2.10-makefile.patch" |
51 |
- "${FILESDIR}/${PN}-2.11.1-dynamic-link.patch" |
52 |
-) |
53 |
- |
54 |
-src_prepare() { |
55 |
- default |
56 |
- |
57 |
- # remove warning about missing file that controls features |
58 |
- # we don't currently support |
59 |
- sed -e "/installation problem/ctrue" -i rc.apparmor.functions || die |
60 |
-} |
61 |
- |
62 |
-src_compile() { |
63 |
- emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" USE_SYSTEM=1 arch manpages |
64 |
- use doc && emake pdf |
65 |
-} |
66 |
- |
67 |
-src_test() { |
68 |
- emake CXX="$(tc-getCXX)" USE_SYSTEM=1 check |
69 |
-} |
70 |
- |
71 |
-src_install() { |
72 |
- emake DESTDIR="${D}" DISTRO="unknown" USE_SYSTEM=1 install |
73 |
- |
74 |
- dodir /etc/apparmor.d/disable |
75 |
- |
76 |
- newinitd "${FILESDIR}"/${PN}-init ${PN} |
77 |
- |
78 |
- use doc && dodoc techdoc.pdf |
79 |
-} |