summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libcap
diff options
context:
space:
mode:
authorKonrad Weihmann <kweihmann@outlook.com>2022-04-13 09:08:51 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-14 09:46:35 +0100
commit1ea595d5fe24f4ba5e648b5591d5e2a442f57ca4 (patch)
tree9e33f71d23813da3e19f29b8983a60889bd7d8cc /meta/recipes-support/libcap
parentab25d08e16590c0b1e57a165b8a6db8dc263be7e (diff)
downloadopenembedded-core-1ea595d5fe24f4ba5e648b5591d5e2a442f57ca4.tar.gz
libcap: add pam_cap license
If libcap is compiled with pam in PACKAGECONFIG one additional license text becomes effective, add that as a conditional Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libcap')
-rw-r--r--meta/recipes-support/libcap/libcap_2.63.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-support/libcap/libcap_2.63.bb b/meta/recipes-support/libcap/libcap_2.63.bb
index f3133f9ded..9e341c4bd0 100644
--- a/meta/recipes-support/libcap/libcap_2.63.bb
+++ b/meta/recipes-support/libcap/libcap_2.63.bb
@@ -5,7 +5,11 @@ users, without giving them full root permissions."
HOMEPAGE = "http://sites.google.com/site/fullycapable/"
# no specific GPL version required
LICENSE = "BSD-3-Clause | GPL-2.0-only"
-LIC_FILES_CHKSUM = "file://License;md5=e2370ba375efe9e1a095c26d37e483b8"
+LIC_FILES_CHKSUM_PAM = "file://pam_cap/License;md5=0ad4c9c052b9719ee4fce1bfc7c7dee4"
+LIC_FILES_CHKSUM = "\
+ file://License;md5=e2370ba375efe9e1a095c26d37e483b8 \
+ ${@bb.utils.contains('PACKAGECONFIG', 'pam', '${LIC_FILES_CHKSUM_PAM}', '', d)} \
+"
DEPENDS = "hostperl-runtime-native gperf-native"