1SUMMARY = "ltrace intercepts and records dynamic library calls" 2 3DESCRIPTION = "ltrace intercepts and records dynamic library calls \ 4which are called by an executed process and the signals received by that process. \ 5It can also intercept and print the system calls executed by the program.\ 6" 7HOMEPAGE = "http://ltrace.org/" 8 9LICENSE = "GPL-2.0-only" 10LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" 11 12PE = "1" 13PV = "7.91+git${SRCPV}" 14SRCREV = "c22d359433b333937ee3d803450dc41998115685" 15 16DEPENDS = "elfutils" 17SRC_URI = "git://github.com/sparkleholic/ltrace.git;branch=master;protocol=http;protocol=https \ 18 file://configure-allow-to-disable-selinux-support.patch \ 19 file://0001-replace-readdir_r-with-readdir.patch \ 20 file://0001-Use-correct-enum-type.patch \ 21 file://0002-Fix-const-qualifier-error.patch \ 22 file://0001-ARM-code-has-unreachable-code-after-switch-statement.patch \ 23 file://0001-Fix-tautological-compare-warning.patch \ 24 file://0001-Add-support-for-mips64-n32-n64.patch \ 25 file://0001-configure-Recognise-linux-musl-as-a-host-OS.patch \ 26 file://0001-mips-plt.c-Delete-include-error.h.patch \ 27 file://0001-move-fprintf-into-same-block-where-modname-and-symna.patch \ 28 file://0001-hook-Do-not-append-int-to-std-string.patch \ 29 file://0001-Bug-fix-for-data-type-length-judgment.patch \ 30 file://0001-ensure-the-struct-pointers-are-null-initilized.patch \ 31 file://0001-ppc-Remove-unused-host_powerpc64-function.patch \ 32 file://0001-mips-Use-hardcodes-values-for-ABI-syscall-bases.patch \ 33 file://0001-ppc-plt-do-not-free-symbol-libsym.patch \ 34 " 35SRC_URI:append:libc-musl = " file://add_ppc64le.patch" 36 37S = "${WORKDIR}/git" 38 39inherit autotools 40 41PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}" 42PACKAGECONFIG[unwind] = "--with-libunwind,--without-libunwind,libunwind" 43PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,libselinux" 44 45COMPATIBLE_HOST:riscv64 = "null" 46COMPATIBLE_HOST:riscv32 = "null" 47 48do_configure:prepend () { 49 ( cd ${S}; ./autogen.sh ) 50} 51