]> code.ossystems Code Review - openembedded-core.git/commitdiff
logrotate: fix missing acl and libselinux dependencies
authorAndre McCurdy <armccurdy@gmail.com>
Tue, 13 Jan 2015 00:56:27 +0000 (16:56 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 29 Jan 2015 10:37:53 +0000 (10:37 +0000)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/logrotate/logrotate_3.8.8.bb

index 133f6d70388a9b61f119b66f3c28c4b486ada651..00432dede267c7c2a90564f8f0029964610941bc 100644 (file)
@@ -3,6 +3,9 @@ SECTION = "console/utils"
 HOMEPAGE = "https://fedorahosted.org/logrotate/"
 LICENSE = "GPLv2"
 
+# TODO: logrotate 3.8.8 adds autotools/automake support, update recipe to use it.
+# TODO: Document coreutils dependency. Why not RDEPENDS? Why not busybox?
+
 DEPENDS="coreutils popt"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760"
@@ -21,6 +24,9 @@ PACKAGECONFIG ?= "\
     ${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
 "
 
+PACKAGECONFIG[acl] = ",,acl"
+PACKAGECONFIG[selinux] = ",,libselinux"
+
 # If RPM_OPT_FLAGS is unset, it adds -g itself rather than obeying our
 # optimization variables, so use it rather than EXTRA_CFLAGS.
 EXTRA_OEMAKE = "\