summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorFahad Usman <fahad_usman@mentor.com>2014-08-26 13:16:49 +0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-27 12:12:31 +0100
commit2e8b7023c08b94537a3d65011f97e93ca11968e5 (patch)
treee954d4fede12fc7d694b5180131fc26556deba67 /meta/recipes-extended
parent682933a531b1efaab1b7948540f6efd9523deab7 (diff)
downloadpoky-2e8b7023c08b94537a3d65011f97e93ca11968e5.tar.gz
logrotate: add packageconfigs
add packageconfigs for acl and selinux. (From OE-Core rev: 885cec11c978975d5c51ded92882a3b00d5ccf8c) Signed-off-by: Fahad Usman <fahad.usman@gmail.com> Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/logrotate/logrotate_3.8.7.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-extended/logrotate/logrotate_3.8.7.bb b/meta/recipes-extended/logrotate/logrotate_3.8.7.bb
index 42cd764da0..faa8e0264f 100644
--- a/meta/recipes-extended/logrotate/logrotate_3.8.7.bb
+++ b/meta/recipes-extended/logrotate/logrotate_3.8.7.bb
@@ -16,6 +16,11 @@ SRC_URI = "https://fedorahosted.org/releases/l/o/logrotate/logrotate-${PV}.tar.g
16SRC_URI[md5sum] = "99e08503ef24c3e2e3ff74cc5f3be213" 16SRC_URI[md5sum] = "99e08503ef24c3e2e3ff74cc5f3be213"
17SRC_URI[sha256sum] = "f6ba691f40e30e640efa2752c1f9499a3f9738257660994de70a45fe00d12b64" 17SRC_URI[sha256sum] = "f6ba691f40e30e640efa2752c1f9499a3f9738257660994de70a45fe00d12b64"
18 18
19PACKAGECONFIG ?= "\
20 ${@base_contains('DISTRO_FEATURES', 'acl', 'acl', '', d)} \
21 ${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
22"
23
19# If RPM_OPT_FLAGS is unset, it adds -g itself rather than obeying our 24# If RPM_OPT_FLAGS is unset, it adds -g itself rather than obeying our
20# optimization variables, so use it rather than EXTRA_CFLAGS. 25# optimization variables, so use it rather than EXTRA_CFLAGS.
21EXTRA_OEMAKE = "\ 26EXTRA_OEMAKE = "\
@@ -25,6 +30,9 @@ EXTRA_OEMAKE = "\
25 'CC=${CC}' \ 30 'CC=${CC}' \
26 'RPM_OPT_FLAGS=${CFLAGS}' \ 31 'RPM_OPT_FLAGS=${CFLAGS}' \
27 'EXTRA_LDFLAGS=${LDFLAGS}' \ 32 'EXTRA_LDFLAGS=${LDFLAGS}' \
33 \
34 ${@base_contains('PACKAGECONFIG', 'acl', 'WITH_ACL=yes', '', d)} \
35 ${@base_contains('PACKAGECONFIG', 'selinux', 'WITH_SELINUX=yes', '', d)} \
28" 36"
29 37
30# OS_NAME in the makefile defaults to `uname -s`. The behavior for 38# OS_NAME in the makefile defaults to `uname -s`. The behavior for