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