correction des différents bugs
This commit is contained in:
@@ -1,16 +1,23 @@
|
||||
DESCRIPTION = "This is some background information about the Linux Auditing Framework"
|
||||
HOMEPAGE = "https://github.com/linux-audit/audit-userspace"
|
||||
LICENSE = "GPLv2"
|
||||
LICENSE = "GPLv2+"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
|
||||
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
|
||||
|
||||
SRC_URI = "git://github.com/linux-audit/audit-userspace.git;branch=2.8_maintenance;protocol=https"
|
||||
SRCREV = "5fae55c1ad15b3cefe6890eba7311af163e9133c"
|
||||
|
||||
SRC_URI += " \
|
||||
file://0001-Make-IPX-packet-interpretation-dependent-on-the-ipx-header.patch \
|
||||
file://0002-ausearch-common.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
DEPENDS = "openldap tcp-wrappers coreutils-native python"
|
||||
DEPENDS = "openldap tcp-wrappers coreutils-native python3"
|
||||
|
||||
RDEPENDS_${PN} += "bash"
|
||||
RDEPENDS:${PN} += "bash"
|
||||
|
||||
EXTRA_OECONF = "--with-python=no \
|
||||
--with-libwrap \
|
||||
@@ -20,10 +27,10 @@ EXTRA_OECONF = "--with-python=no \
|
||||
|
||||
inherit autotools
|
||||
|
||||
do_install_append() {
|
||||
do_install:append() {
|
||||
install -m 644 ${S}/lib/private.h ${D}${includedir}
|
||||
install -m 644 ${S}/lib/dso.h ${D}${includedir}
|
||||
}
|
||||
|
||||
FILES_${PN} += "/usr/lib/systemd/system/auditd.service"
|
||||
FILES_${PN}-dev += "lib/private.h lib/dso.h"
|
||||
FILES:${PN} += "/usr/lib/systemd/system/auditd.service"
|
||||
FILES:${PN}-dev += "lib/private.h lib/dso.h"
|
||||
|
||||
@@ -18,12 +18,12 @@ EXTRA_OECMAKE += "-DJSON_BuildTests=OFF"
|
||||
|
||||
# nlohmann-json is a header only C++ library, so the main package will be empty.
|
||||
|
||||
RDEPENDS_${PN}-dev = ""
|
||||
RDEPENDS:${PN}-dev = ""
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
# other packages commonly reference the file directly as "json.hpp"
|
||||
# create symlink to allow this usage
|
||||
do_install_append() {
|
||||
do_install:append() {
|
||||
ln -s nlohmann/json.hpp ${D}${includedir}/json.hpp
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user