All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][kirkstone][PATCH] audit: Install audit.h from audit package.
@ 2022-09-23  2:13 Jeremy A. Puhlman
  2022-09-23  3:25 ` [oe] " Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Jeremy A. Puhlman @ 2022-09-23  2:13 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Jeremy A. Puhlman

Source: MontaVista Software, LLC
MR: 121884
Type: Defect Fix
Disposition: Submitted to meta-oe
ChangeID: 2708329947da5ec2f96a8478771f56cfce95f616
Description:

The last upgrade to audit, changed libaudit.h to use "audit.h", which
makes the build work for this package, but breaks any other package
trying to use libaudit.h, like libsemanage.

build/tmp/work/aarch64-montavista-linux/libsemanage/3.3-r0/recipe-sysroot/usr/include/libaudit.h:30:10: fatal error: audit.h: No such file or directory
   30 | #include "audit.h"
      |          ^~~~~~~~~
compilation terminated.

Install audit.h so other applications can use it.

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
---
 meta-oe/recipes-security/audit/audit_3.0.8.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-security/audit/audit_3.0.8.bb b/meta-oe/recipes-security/audit/audit_3.0.8.bb
index 3dbfc9e60..6195b6749 100644
--- a/meta-oe/recipes-security/audit/audit_3.0.8.bb
+++ b/meta-oe/recipes-security/audit/audit_3.0.8.bb
@@ -110,4 +110,5 @@ do_install:append() {
 
 	# Create /var/spool/audit directory for audisp-remote
 	install -m 0700 -d ${D}${localstatedir}/spool/audit
+	install -m 644 ${S}/lib/audit.h ${D}${includedir}/audit.h
 }
-- 
2.35.4



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-10-12 19:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-23  2:13 [meta-oe][kirkstone][PATCH] audit: Install audit.h from audit package Jeremy A. Puhlman
2022-09-23  3:25 ` [oe] " Khem Raj
2022-09-23  3:38   ` Jeremy Puhlman
     [not found]     ` <6fe4ae19-24e1-e212-4f38-ea5767e4f8bd@gmail.com>
2022-10-12 19:28       ` Denys Dmytriyenko

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.