mirror of
https://git.yoctoproject.org/meta-security
synced 2026-05-09 05:29:56 +00:00
libseccomp: update to version 2.2.0
License is now LGPL sources come from github now dropped patches since alt solutions included now. Changes in the 2.2.0 release include: * Migrated the build system to autotools * Added support for the aarch64 architecture * Added support for the mips, mips64, and mips64n32 architectures * Added support for the new seccomp() syscall and thread sync * Added Python bindings * Updated the internal syscall tables to Linux v3.19 Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -1,37 +0,0 @@
|
|||||||
SUMMARY = "interface to seccomp filtering mechanism"
|
|
||||||
DESCRIPTION = "The libseccomp library provides and easy to use, platform independent,interface to the Linux Kernel's syscall filtering mechanism: seccomp."
|
|
||||||
SECTION = "security"
|
|
||||||
LICENSE = "GPL-2.0"
|
|
||||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
|
||||||
|
|
||||||
SRC_URI = "http://sourceforge.net/projects/libseccomp/files/${BP}.tar.gz \
|
|
||||||
file://compiler.patch \
|
|
||||||
file://0001-tests-create-install-tests-target.patch \
|
|
||||||
file://0002-tests-install-python-tests-if-appropriate.patch \
|
|
||||||
file://0003-tests-introduce-alternate-test-report-format.patch \
|
|
||||||
"
|
|
||||||
|
|
||||||
SRC_URI[md5sum] = "1f41207b29e66a7e5e375dd48a64de85"
|
|
||||||
SRC_URI[sha256sum] = "8812c11e407c383f5ad6afb84a88e5a0224477bcfe8ff03f0c548e5abaac841c"
|
|
||||||
|
|
||||||
do_configure() {
|
|
||||||
${S}/configure --prefix=${prefix} --libdir=${libdir}
|
|
||||||
}
|
|
||||||
|
|
||||||
do_compile_append() {
|
|
||||||
oe_runmake DESTDIR=${D} tests
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
oe_runmake DESTDIR=${D} install
|
|
||||||
oe_runmake DESTDIR=${D} install-tests
|
|
||||||
}
|
|
||||||
|
|
||||||
# MIPS, aarch64, and PowerPC are not supported in this version.
|
|
||||||
COMPATIBLE_HOST = '(x86_64|i.86|arm).*-linux'
|
|
||||||
|
|
||||||
PACKAGES += "${PN}-tests "
|
|
||||||
FILES_${PN}-tests = "${libdir}/${BPN}/tests/*"
|
|
||||||
FILES_${PN}-dbg += "${libdir}/${BPN}/tests/.debug/*"
|
|
||||||
|
|
||||||
RDEPENDS_${PN} = "bash"
|
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
SUMMARY = "interface to seccomp filtering mechanism"
|
||||||
|
DESCRIPTION = "The libseccomp library provides and easy to use, platform independent,interface to the Linux Kernel's syscall filtering mechanism: seccomp."
|
||||||
|
SECTION = "security"
|
||||||
|
LICENSE = "LGPL-2.1"
|
||||||
|
LIC_FILES_CHKSUM = "file://LICENSE;beginline=0;endline=1;md5=8eac08d22113880357ceb8e7c37f989f"
|
||||||
|
|
||||||
|
SRCREV = "bd10aab13c7248cc0df57512617e33d6743d33a6"
|
||||||
|
|
||||||
|
PV = "2.2.0+git${SRCPV}"
|
||||||
|
|
||||||
|
SRC_URI = "git://github.com/seccomp/libseccomp.git;protocol=http"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
|
inherit autotools-brokensep pkgconfig
|
||||||
|
|
||||||
|
PACKAGECONFIG ??= ""
|
||||||
|
PACKAGECONFIG[python] = "--enable-python, --disable-python, python"
|
||||||
|
|
||||||
|
# PowerPC is not supported in this version.
|
||||||
|
COMPATIBLE_HOST = '(x86_64|i.86|arm|arm64|mips|mips64).*-linux'
|
||||||
|
|
||||||
|
RDEPENDS_${PN} = "bash"
|
||||||
Reference in New Issue
Block a user