From 14d6027b9ef4eddff43bec65c45e3baa39bee8b7 Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Fri, 13 Mar 2015 08:23:25 -0700 Subject: 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 --- recipes-security/libseccomp/libseccomp_2.1.1.bb | 37 ------------------------- recipes-security/libseccomp/libseccomp_2.2.0.bb | 23 +++++++++++++++ 2 files changed, 23 insertions(+), 37 deletions(-) delete mode 100644 recipes-security/libseccomp/libseccomp_2.1.1.bb create mode 100644 recipes-security/libseccomp/libseccomp_2.2.0.bb diff --git a/recipes-security/libseccomp/libseccomp_2.1.1.bb b/recipes-security/libseccomp/libseccomp_2.1.1.bb deleted file mode 100644 index 2d93479..0000000 --- a/recipes-security/libseccomp/libseccomp_2.1.1.bb +++ /dev/null @@ -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" diff --git a/recipes-security/libseccomp/libseccomp_2.2.0.bb b/recipes-security/libseccomp/libseccomp_2.2.0.bb new file mode 100644 index 0000000..fb29e6c --- /dev/null +++ b/recipes-security/libseccomp/libseccomp_2.2.0.bb @@ -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" -- cgit v1.2.3-54-g00ecf