forked from brl/citadel
Bruce Leidl
64d91cb68c
Updated Recipes * colord 1.4.5 * dconf 0.40.0 * gdm 40.0 * geoclue 2.5.7 * geocode-glib 3.26.2 * gevix2_ 0.12.1 * gjs 1.68.0 * glib2 2.68.0 * gnome-autoar 0.3.1 * gnome-backgrounds 40.0 * gnome-control-center 40.0 * gnome-desktop 40.0 * gnome-disk-utility 40.1 * gnome-keyring 40.0 * gnome-screenshot 40.0 * gnome-session 40.1.1 * gnome-settings-daemon 40.0.1 * gnome-shell 40.0 * gnome-system-monitor 40.1 * gnome-terminal 3.40.1 * gsettings-desktop-schemas 40.0 * ibus 1.5.23 * iwd 1.13 * kernel 5.12.1 * keyutils 1.6.1 * libgee 0.20.4 * libgit2 1.1.0 * libgweather 40.0 * libhandy 1.2.0 (poky) * libseccomp 2.5.1 * libssh2 1.9.0 (poky) * lvm2 2.03.11 * meson 0.57.1 (poky) * mutter 40.0 * nano 5.6 * NetworkManager 1.30.2 * network-manager-applet 1.18.0 * nspr 4.29 * pango 1.48.2 (poky) * plymouth 0.9.5+git * udisks 2.9.2 * upower 0.99.11 * vte 0.64.0 * yelp-tools 3.32.2 * yelp-xsl 3.36.0
55 lines
1.7 KiB
BlitzBasic
55 lines
1.7 KiB
BlitzBasic
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."
|
|
HOMEPAGE = "https://github.com/seccomp/libseccomp"
|
|
SECTION = "security"
|
|
LICENSE = "LGPL-2.1"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;beginline=0;endline=1;md5=8eac08d22113880357ceb8e7c37f989f"
|
|
|
|
DEPENDS += "gperf-native"
|
|
|
|
SRCREV = "4bf70431a339a2886ab8c82e9a45378f30c6e6c7"
|
|
|
|
SRC_URI = "git://github.com/seccomp/libseccomp.git;branch=release-2.5 \
|
|
file://run-ptest \
|
|
"
|
|
|
|
COMPATIBLE_HOST_riscv32 = "null"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit autotools-brokensep pkgconfig ptest features_check
|
|
|
|
REQUIRED_DISTRO_FEATURES = "seccomp"
|
|
|
|
PACKAGECONFIG ??= ""
|
|
PACKAGECONFIG[python] = "--enable-python, --disable-python, python3"
|
|
|
|
DISABLE_STATIC = ""
|
|
|
|
do_compile_ptest() {
|
|
oe_runmake -C tests check-build
|
|
}
|
|
|
|
do_install_ptest() {
|
|
install -d ${D}${PTEST_PATH}/tests
|
|
install -d ${D}${PTEST_PATH}/tools
|
|
for file in $(find tests/* -executable -type f); do
|
|
install -m 744 ${S}/${file} ${D}/${PTEST_PATH}/tests
|
|
done
|
|
for file in $(find tests/*.tests -type f); do
|
|
install -m 744 ${S}/${file} ${D}/${PTEST_PATH}/tests
|
|
done
|
|
for file in $(find tools/* -executable -type f); do
|
|
install -m 744 ${S}/${file} ${D}/${PTEST_PATH}/tools
|
|
done
|
|
# Overwrite libtool wrappers with real executables
|
|
for file in $(find tools/.libs/* -executable -type f); do
|
|
install -m 744 ${S}/${file} ${D}/${PTEST_PATH}/tools
|
|
done
|
|
}
|
|
|
|
FILES_${PN} = "${bindir} ${libdir}/${BPN}.so*"
|
|
FILES_${PN}-dbg += "${libdir}/${PN}/tests/.debug/* ${libdir}/${PN}/tools/.debug"
|
|
|
|
RDEPENDS_${PN}-ptest = "coreutils bash"
|