All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
To: Konrad Weihmann <kweihmann@outlook.com>,
	"openembedded-core@lists.openembedded.org"
	<openembedded-core@lists.openembedded.org>
Subject: RE: [OE-core] [PATCH 4/4] libcap: add pam_cap license
Date: Tue, 12 Apr 2022 15:51:23 +0000	[thread overview]
Message-ID: <cff19ae9e0184849a228b9115a330ec2@axis.com> (raw)
In-Reply-To: <HE1PR0902MB180188D93D61C68AC2F96236A8ED9@HE1PR0902MB1801.eurprd09.prod.outlook.com>

> -----Original Message-----
> From: openembedded-core@lists.openembedded.org <openembedded-core@lists.openembedded.org> On Behalf Of Konrad Weihmann
> Sent: den 12 april 2022 09:10
> To: openembedded-core@lists.openembedded.org
> Cc: Konrad Weihmann <kweihmann@outlook.com>
> Subject: [OE-core] [PATCH 4/4] libcap: add pam_cap license
> 
> If libcap is compiled with pam in PACKAGECONFIG
> additional one additional license text becomes effective,
> add that as a conditional
> 
> Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
> ---
>  meta/recipes-support/libcap/libcap_2.63.bb | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-support/libcap/libcap_2.63.bb b/meta/recipes-support/libcap/libcap_2.63.bb
> index f3133f9ded..aed1f0a510 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 \
> +	${@oe.utils.ifelse('pam' in (d.getVar('PACKAGECONFIG') or '').split(), '${LIC_FILES_CHKSUM_PAM}', '')} \

This can be simplified to:

	${@bb.utils.contains('PACKAGECONFIG', 'pam', '${LIC_FILES_CHKSUM_PAM}', '', d)} \

> +"

And use four spaces, not tabs, to indent bitbake variables.

> 
>  DEPENDS = "hostperl-runtime-native gperf-native"
> 
> --
> 2.25.1

//Peter



      reply	other threads:[~2022-04-12 16:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20220412070956.1117150-1-kweihmann@outlook.com>
2022-04-12  7:09 ` [PATCH 2/4] gmp: add missing COPYINGv3 Konrad Weihmann
2022-04-12  7:09 ` [PATCH 3/4] itstool: add missing COPYING.GPL3 Konrad Weihmann
2022-04-12  7:09 ` [PATCH 4/4] libcap: add pam_cap license Konrad Weihmann
2022-04-12 15:51   ` Peter Kjellerstedt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cff19ae9e0184849a228b9115a330ec2@axis.com \
    --to=peter.kjellerstedt@axis.com \
    --cc=kweihmann@outlook.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.