1 |
commit: 427a97214d1f46e772ba3d5b0d1864f4a3f461b6 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 7 13:40:29 2020 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 7 13:40:29 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=427a9721 |
7 |
|
8 |
sys-apps/apparmor-utils: remove 2.13.4-r0 |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Michael Palimaka <kensington <AT> gentoo.org> |
12 |
|
13 |
.../apparmor-utils/apparmor-utils-2.13.4.ebuild | 85 ---------------------- |
14 |
1 file changed, 85 deletions(-) |
15 |
|
16 |
diff --git a/sys-apps/apparmor-utils/apparmor-utils-2.13.4.ebuild b/sys-apps/apparmor-utils/apparmor-utils-2.13.4.ebuild |
17 |
deleted file mode 100644 |
18 |
index 4a6c7fe814c..00000000000 |
19 |
--- a/sys-apps/apparmor-utils/apparmor-utils-2.13.4.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,85 +0,0 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=6 |
26 |
- |
27 |
-PYTHON_COMPAT=( python3_6 ) |
28 |
-inherit eapi7-ver perl-module python-r1 toolchain-funcs |
29 |
- |
30 |
-MY_PV="$(ver_cut 1-2)" |
31 |
- |
32 |
-DESCRIPTION="Additional userspace utils to assist with AppArmor profile management" |
33 |
-HOMEPAGE="https://gitlab.com/apparmor/apparmor/wikis/home" |
34 |
-SRC_URI="https://launchpad.net/apparmor/${MY_PV}/${PV}/+download/apparmor-${PV}.tar.gz" |
35 |
- |
36 |
-LICENSE="GPL-2" |
37 |
-SLOT="0" |
38 |
-KEYWORDS="~amd64" |
39 |
-IUSE="" |
40 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
41 |
- |
42 |
-RESTRICT="test" |
43 |
- |
44 |
-COMMON_DEPEND=" |
45 |
- dev-lang/perl |
46 |
- ~sys-libs/libapparmor-${PV} |
47 |
- ${PYTHON_DEPS}" |
48 |
-DEPEND="${COMMON_DEPEND} |
49 |
- sys-devel/gettext |
50 |
-" |
51 |
-RDEPEND="${COMMON_DEPEND} |
52 |
- ~sys-libs/libapparmor-${PV}[perl,python] |
53 |
- ~sys-apps/apparmor-${PV} |
54 |
- dev-perl/Locale-gettext |
55 |
- dev-perl/RPC-XML |
56 |
- dev-perl/TermReadKey |
57 |
- virtual/perl-Data-Dumper |
58 |
- virtual/perl-Getopt-Long" |
59 |
- |
60 |
-S=${WORKDIR}/apparmor-${PV} |
61 |
- |
62 |
-src_prepare() { |
63 |
- default |
64 |
- |
65 |
- sed -i binutils/Makefile \ |
66 |
- -e 's/Bstatic/Bdynamic/g' || die |
67 |
- |
68 |
- sed -i utils/aa-remove-unknown \ |
69 |
- -e 's#^\(APPARMOR_FUNCTIONS=\).*#\1/usr/libexec/rc.apparmor.functions#' || die |
70 |
-} |
71 |
- |
72 |
-src_compile() { |
73 |
- python_setup |
74 |
- |
75 |
- pushd utils > /dev/null || die |
76 |
- # launches non-make subprocesses causing "make jobserver unavailable" |
77 |
- # error messages to appear in generated code |
78 |
- emake -j1 |
79 |
- popd > /dev/null || die |
80 |
- |
81 |
- pushd binutils > /dev/null || die |
82 |
- export EXTRA_CFLAGS="${CFLAGS}" |
83 |
- emake CC="$(tc-getCC)" USE_SYSTEM=1 |
84 |
- popd > /dev/null || die |
85 |
-} |
86 |
- |
87 |
-src_install() { |
88 |
- pushd utils > /dev/null || die |
89 |
- perl_set_version |
90 |
- emake DESTDIR="${D}" PERLDIR="${D}/${VENDOR_LIB}/Immunix" \ |
91 |
- VIM_INSTALL_PATH="${D}/usr/share/vim/vimfiles/syntax" install |
92 |
- |
93 |
- install_python() { |
94 |
- "${PYTHON}" "${S}"/utils/python-tools-setup.py install --prefix=/usr \ |
95 |
- --root="${D}" --version="${PV}" |
96 |
- } |
97 |
- |
98 |
- python_foreach_impl install_python |
99 |
- python_replicate_script "${D}"/usr/bin/aa-easyprof "${D}"/usr/sbin/apparmor_status \ |
100 |
- "${D}"/usr/sbin/aa-{audit,autodep,cleanprof,complain,disable,enforce,genprof,logprof,mergeprof,status,unconfined} |
101 |
- popd > /dev/null || die |
102 |
- |
103 |
- pushd binutils > /dev/null || die |
104 |
- emake install DESTDIR="${D}" USE_SYSTEM=1 |
105 |
- popd > /dev/null || die |
106 |
-} |