From: Yi Zhao <yi.zhao@windriver.com>
To: yocto@lists.yoctoproject.org, joe_macdonald@mentor.com, joe@deserted.net
Subject: [meta-selinux][PATCH 03/16] libselinux: upgrade 3.3 -> 3.4
Date: Sun, 28 Aug 2022 10:29:21 +0800 [thread overview]
Message-ID: <20220828022934.47592-3-yi.zhao@windriver.com> (raw)
In-Reply-To: <20220828022934.47592-1-yi.zhao@windriver.com>
Use libpcre2 instead of libpcre.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
.../selinux/{libselinux_3.3.bb => libselinux_3.4.bb} | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
rename recipes-security/selinux/{libselinux_3.3.bb => libselinux_3.4.bb} (77%)
diff --git a/recipes-security/selinux/libselinux_3.3.bb b/recipes-security/selinux/libselinux_3.4.bb
similarity index 77%
rename from recipes-security/selinux/libselinux_3.3.bb
rename to recipes-security/selinux/libselinux_3.4.bb
index 1144840..8009d6d 100644
--- a/recipes-security/selinux/libselinux_3.3.bb
+++ b/recipes-security/selinux/libselinux_3.4.bb
@@ -8,9 +8,9 @@ LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=84b4d2c6ef954a2d4081e775a270d0d0"
require selinux_common.inc
-inherit lib_package python3native pkgconfig
+inherit lib_package pkgconfig
-DEPENDS += "libsepol libpcre"
+DEPENDS = "libsepol libpcre2"
DEPENDS:append:libc-musl = " fts"
S = "${WORKDIR}/git/libselinux"
@@ -22,8 +22,7 @@ def get_policyconfigarch(d):
target = p.sub('i386',target)
return "ARCH=%s" % (target)
-EXTRA_OEMAKE += "${@get_policyconfigarch(d)}"
-EXTRA_OEMAKE += "LDFLAGS='${LDFLAGS} -lpcre' LIBSEPOLA='${STAGING_LIBDIR}/libsepol.a'"
+EXTRA_OEMAKE = "${@get_policyconfigarch(d)}"
EXTRA_OEMAKE:append:libc-musl = " FTS_LDLIBS=-lfts"
BBCLASSEXTEND = "native"
--
2.25.1
next prev parent reply other threads:[~2022-08-28 2:29 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-28 2:29 [meta-selinux][PATCH 01/16] selinux: upgrade 3.3 -> 3.4 Yi Zhao
2022-08-28 2:29 ` [meta-selinux][PATCH 02/16] libsepol: " Yi Zhao
2022-08-28 2:29 ` Yi Zhao [this message]
2022-08-28 2:29 ` [meta-selinux][PATCH 04/16] libselinux-python: " Yi Zhao
2022-08-28 2:29 ` [meta-selinux][PATCH 05/16] libsemanage: " Yi Zhao
2022-08-28 2:29 ` [meta-selinux][PATCH 06/16] checkpolicy: " Yi Zhao
2022-08-28 2:29 ` [meta-selinux][PATCH 07/16] secilc: " Yi Zhao
2022-08-28 2:29 ` [meta-selinux][PATCH 08/16] policycoreutils: " Yi Zhao
2022-08-28 2:29 ` [meta-selinux][PATCH 09/16] mcstrans: " Yi Zhao
2022-08-28 2:29 ` [meta-selinux][PATCH 10/16] restorecond: " Yi Zhao
2022-08-28 2:29 ` [meta-selinux][PATCH 11/16] selinux-python: " Yi Zhao
2022-08-28 2:29 ` [meta-selinux][PATCH 12/16] selinux-dbus: " Yi Zhao
2022-08-28 2:29 ` [meta-selinux][PATCH 13/16] selinux-gui: " Yi Zhao
2022-08-28 2:29 ` [meta-selinux][PATCH 14/16] selinux-sandbox: " Yi Zhao
2022-08-28 2:29 ` [meta-selinux][PATCH 15/16] semodule-utils: " Yi Zhao
2022-08-28 2:29 ` [meta-selinux][PATCH 16/16] setools: fix buildpaths issue Yi Zhao
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=20220828022934.47592-3-yi.zhao@windriver.com \
--to=yi.zhao@windriver.com \
--cc=joe@deserted.net \
--cc=joe_macdonald@mentor.com \
--cc=yocto@lists.yoctoproject.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox