summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2015-01-12 16:56:27 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-29 10:37:53 +0000
commit3c7d6a4442931aa7e33ee960f554b0eed11160df (patch)
tree1c38dec476987fa32790d0b6ef5e91640917eb96
parent45bcb1ea92f244df4745aca6f9f9556c43e9b6ce (diff)
downloadopenembedded-core-3c7d6a4442931aa7e33ee960f554b0eed11160df.tar.gz
openembedded-core-3c7d6a4442931aa7e33ee960f554b0eed11160df.tar.bz2
openembedded-core-3c7d6a4442931aa7e33ee960f554b0eed11160df.zip
logrotate: fix missing acl and libselinux dependencies
Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-extended/logrotate/logrotate_3.8.8.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-extended/logrotate/logrotate_3.8.8.bb b/meta/recipes-extended/logrotate/logrotate_3.8.8.bb
index 133f6d7038..00432dede2 100644
--- a/meta/recipes-extended/logrotate/logrotate_3.8.8.bb
+++ b/meta/recipes-extended/logrotate/logrotate_3.8.8.bb
@@ -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 = "\