diff options
author | Ross Burton <ross.burton@intel.com> | 2019-01-14 14:42:03 +0000 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2019-01-17 15:53:25 -0800 |
commit | 448eee287fa8b949789ef031b787cb4cc8edb275 (patch) | |
tree | dd58d31344cb5cc08a6df470c675e89e73cec563 | |
parent | 1159085fd1e20853eb3da303a63a7eb38df31149 (diff) | |
download | meta-security-448eee287fa8b949789ef031b787cb4cc8edb275.tar.gz |
apparmor: use manpages class
The manpages class handles enabling/disabling the man pages based on the
api-documentation DISTRO_FEATURE, and ensures that mandb is called.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | recipes-security/AppArmor/apparmor_2.12.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes-security/AppArmor/apparmor_2.12.bb b/recipes-security/AppArmor/apparmor_2.12.bb index 6434e42..529414f 100644 --- a/recipes-security/AppArmor/apparmor_2.12.bb +++ b/recipes-security/AppArmor/apparmor_2.12.bb | |||
@@ -29,11 +29,11 @@ SRC_URI[sha256sum] = "8a2b0cd083faa4d0640f579024be3a629faa7db3b99540798a1a050e2e | |||
29 | 29 | ||
30 | PARALLEL_MAKE = "" | 30 | PARALLEL_MAKE = "" |
31 | 31 | ||
32 | inherit pkgconfig autotools-brokensep update-rc.d python3native perlnative ptest cpan | 32 | inherit pkgconfig autotools-brokensep update-rc.d python3native perlnative ptest cpan manpages |
33 | inherit ${@bb.utils.contains('VIRTUAL-RUNTIME_init_manager','systemd','systemd','', d)} | 33 | inherit ${@bb.utils.contains('VIRTUAL-RUNTIME_init_manager','systemd','systemd','', d)} |
34 | 34 | ||
35 | PACKAGECONFIG ?="man python perl" | 35 | PACKAGECONFIG ??= "python perl" |
36 | PACKAGECONFIG[man] = "--enable-man-pages, --disable-man-pages" | 36 | PACKAGECONFIG[manpages] = "--enable-man-pages, --disable-man-pages" |
37 | PACKAGECONFIG[python] = "--with-python, --without-python, python3 swig-native" | 37 | PACKAGECONFIG[python] = "--with-python, --without-python, python3 swig-native" |
38 | PACKAGECONFIG[perl] = "--with-perl, --without-perl, perl perl-native swig-native" | 38 | PACKAGECONFIG[perl] = "--with-perl, --without-perl, perl perl-native swig-native" |
39 | PACKAGECONFIG[apache2] = ",,apache2," | 39 | PACKAGECONFIG[apache2] = ",,apache2," |