From patchwork Tue Dec 3 13:56:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Volk X-Patchwork-Id: 53535 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id BBEF3E64AAB for ; Tue, 3 Dec 2024 13:56:34 +0000 (UTC) Received: from mailout04.t-online.de (mailout04.t-online.de [194.25.134.18]) by mx.groups.io with SMTP id smtpd.web10.19946.1733234192412332034 for ; Tue, 03 Dec 2024 05:56:32 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: t-online.de, ip: 194.25.134.18, mailfrom: f_l_k@t-online.de) Received: from fwd72.aul.t-online.de (fwd72.aul.t-online.de [10.223.144.98]) by mailout04.t-online.de (Postfix) with SMTP id 4640B147C for ; Tue, 3 Dec 2024 14:56:30 +0100 (CET) Received: from intel-corei7-64.fritz.box ([79.219.235.82]) by fwd72.t-online.de with (TLSv1.3:TLS_AES_256_GCM_SHA384 encrypted) esmtp id 1tITO1-1f3UPZ0; Tue, 3 Dec 2024 14:56:21 +0100 From: Markus Volk To: openembedded-core@lists.openembedded.org Subject: [RFC][oe-core][PATCHv2 1/2] libpam: add more PACKAGECONFIG options Date: Tue, 3 Dec 2024 14:56:12 +0100 Message-ID: <20241203135613.1955725-1-f_l_k@t-online.de> X-Mailer: git-send-email 2.47.0 MIME-Version: 1.0 X-TOI-EXPURGATEID: 150726::1733234181-EDFEB365-3715D597/0/0 CLEAN NORMAL X-TOI-MSGID: f9e4fb53-1c0c-4324-9dff-6354518ccb2a List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 03 Dec 2024 13:56:34 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/208210 Use ?= instead of ??= Signed-off-by: Markus Volk --- meta/recipes-extended/pam/libpam_1.7.0.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/meta/recipes-extended/pam/libpam_1.7.0.bb b/meta/recipes-extended/pam/libpam_1.7.0.bb index ec1c868d21..2c134c1378 100644 --- a/meta/recipes-extended/pam/libpam_1.7.0.bb +++ b/meta/recipes-extended/pam/libpam_1.7.0.bb @@ -35,9 +35,14 @@ S = "${WORKDIR}/Linux-PAM-${PV}" inherit meson gettext pkgconfig systemd ptest github-releases -PACKAGECONFIG ??= "" +PACKAGECONFIG ?= "" PACKAGECONFIG[audit] = "-Daudit=enabled,-Daudit=disabled,audit," +PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false" +PACKAGECONFIG[openssl] = "-Dopenssl=enabled,-Dopenssl=disabled,openssl" +PACKAGECONFIG[selinux] = "-Dselinux=enabled,-Dselinux=disabled,libselinux" +PACKAGECONFIG[systemd] = "-Dlogind=enabled,-Dlogind=disabled,systemd" PACKAGECONFIG[userdb] = "-Dpam_userdb=enabled -Ddb=gdbm,-Dpam_userdb=disabled,gdbm," +PACKAGECONFIG[xtests] = "-Dxtests=true,-Dxtests=false" PACKAGES += "${PN}-runtime ${PN}-xtests" FILES:${PN} = " \