Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SUMMARY = "ltrace intercepts and records dynamic library calls" |
| 2 | |
| 3 | DESCRIPTION = "ltrace intercepts and records dynamic library calls \ |
| 4 | which are called by an executed process and the signals received by that process. \ |
| 5 | It can also intercept and print the system calls executed by the program.\ |
| 6 | " |
| 7 | HOMEPAGE = "http://ltrace.org/" |
| 8 | |
| 9 | LICENSE = "GPLv2" |
| 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" |
| 11 | |
| 12 | PE = "1" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 13 | PV = "7.91+git${SRCPV}" |
| 14 | SRCREV = "c22d359433b333937ee3d803450dc41998115685" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 15 | |
| 16 | DEPENDS = "elfutils" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 17 | SRC_URI = "git://github.com/sparkleholic/ltrace.git;branch=master;protocol=http \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 18 | file://configure-allow-to-disable-selinux-support.patch \ |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 19 | file://0001-replace-readdir_r-with-readdir.patch \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 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 \ |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 26 | file://0001-mips-plt.c-Delete-include-error.h.patch \ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 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 \ |
Brad Bishop | 2d39a06 | 2019-10-28 08:33:36 -0400 | [diff] [blame] | 29 | file://0001-Bug-fix-for-data-type-length-judgment.patch \ |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 30 | file://0001-ensure-the-struct-pointers-are-null-initilized.patch \ |
Andrew Geissler | 6972109 | 2021-07-23 12:57:00 -0400 | [diff] [blame] | 31 | file://0001-ppc-Remove-unused-host_powerpc64-function.patch \ |
| 32 | file://0001-mips-Use-hardcodes-values-for-ABI-syscall-bases.patch \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 33 | " |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 34 | SRC_URI:append:libc-musl = " file://add_ppc64le.patch" |
Andrew Geissler | 32b1199 | 2021-03-31 13:37:05 -0500 | [diff] [blame] | 35 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 36 | S = "${WORKDIR}/git" |
| 37 | |
| 38 | inherit autotools |
| 39 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 40 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 41 | PACKAGECONFIG[unwind] = "--with-libunwind,--without-libunwind,libunwind" |
| 42 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,libselinux" |
| 43 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 44 | COMPATIBLE_HOST:riscv64 = "null" |
| 45 | COMPATIBLE_HOST:riscv32 = "null" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 46 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 47 | do_configure:prepend () { |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 48 | ( cd ${S}; ./autogen.sh ) |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 49 | } |