[oe-commits] Andre McCurdy : logrotate: fix missing acl and libselinux dependencies
git at git.openembedded.org
git at git.openembedded.org
Thu Jan 29 15:37:16 UTC 2015
Module: openembedded-core.git
Branch: master
Commit: 3c7d6a4442931aa7e33ee960f554b0eed11160df
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=3c7d6a4442931aa7e33ee960f554b0eed11160df
Author: Andre McCurdy <armccurdy at gmail.com>
Date: Mon Jan 12 16:56:27 2015 -0800
logrotate: fix missing acl and libselinux dependencies
Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-extended/logrotate/logrotate_3.8.8.bb | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/meta/recipes-extended/logrotate/logrotate_3.8.8.bb b/meta/recipes-extended/logrotate/logrotate_3.8.8.bb
index 133f6d7..00432de 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 = "\
More information about the Openembedded-commits
mailing list