代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/ltrace 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
name: ltrace
Version: 0.7.91
Release: 34
Summary: Trace the Library and System Calls a Program Makes
License: GPLv2+
URL: https://gitlab.com/cespedes/ltrace
Source0: http://repository.timesys.com/buildsources/l/ltrace/ltrace-0.7.91/ltrace-0.7.91.tar.gz
Patch0001: ltrace-0.7.91-account_execl.patch
Patch0002: ltrace-0.7.91-x86_64-irelative.patch
Patch0003: ltrace-0.7.91-man.patch
Patch0004: ltrace-0.7.91-cant_open.patch
Patch0005: ltrace-0.7.91-aarch64.patch
Patch0006: ltrace-0.7.2-e_machine.patch
Patch0007: ltrace-0.7.91-parser-ws_after_id.patch
Patch0008: ltrace-0.7.91-x86-plt_map.patch
Patch0009: ltrace-0.7.91-x86-unused_label.patch
Patch0010: ltrace-0.7.91-unwind-elfutils.patch
Patch0011: ltrace-0.7.91-multithread-no-f-1.patch
Patch0012: ltrace-0.7.91-multithread-no-f-2.patch
Patch0013: ltrace-0.7.91-testsuite-includes.patch
Patch0014: ltrace-0.7.91-testsuite-includes-2.patch
Patch0015: ltrace-0.7.91-tautology.patch
Patch0016: ltrace-0.7.91-aarch64-params.patch
# patch for openEuler
Patch9000: bugfix-0001-ltrace-0.7.91-aarch64_be-compile-support.patch
Patch9001: bugfix-0001-ltrace-byteswap-instruction-in-arm-be8-mode.patch
Patch9002: bugfix-for-use-after-free-about-soname.patch
Patch9003: fix-null-directive-argument.patch
Patch9004: Initialize-nrhs-to-avoid-gcc-warning.patch
# patch for arches
Patch8000: ltrace-0.7.91-add-support-for-loongarch.patch
Patch8001: ltrace-0.7.91-add-initial-riscv64-support.patch
Patch8002: mips-fix-build-error-struct-ltelf-has-no-member-named-relplt_count.patch
BuildRequires: elfutils-devel dejagnu libselinux-devel autoconf automake libtool
%description
Ltrace is a program that runs the specified command until it exits. It
intercepts and records the dynamic library calls that are called by the
executed process and the signals that are received by that process. It
can also intercept and print the system calls executed by the program.
The program to trace need not be recompiled for this, so you can use
ltrace on binaries for which you do not have access to the source.
This is still a work in progress, so, for example, the tracking to
child processes may fail or some things may not work as expected.
%package help
Summary: Help document for the ltrace package
%description help
Help document for the ltrace package.
%prep
%autosetup -n %{name}-%{version} -p1
%build
autoreconf -i
%configure --docdir=%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
%make_build
%install
%make_install bindir=%{_bindir}
%check
#timeout 180 make check ||:
%files
%doc NEWS CREDITS INSTALL README TODO COPYING
%{_bindir}/ltrace
%{_datadir}/ltrace
%files help
%{_mandir}/man1/ltrace.1*
%{_mandir}/man5/ltrace.conf.5*
%changelog
* Thu Jul 20 2023 ZhouZhifa <zhou.zhifa@h3c.com> - 0.7.91-34
- Fix mips building error: plt.c:241:7: error: 'struct ltelf' has no member named 'relplt_count'
* Fri Jul 07 2023 laokz <zhangkai@iscas.ac.cn> - 0.7.91-33
- Backport riscv64 patch
* Thu Dec 15 2022 Hui Li <lihui@loongson.cn> - 0.7.91-32
- Add suppot for loongarch
* Mon Jan 11 2021 lingsheng <lingsheng@huawei.com> - 0.7.91-31
- Initialize 'nrhs' to avoid gcc warning
* Sat May 16 2020 Senlin Xia <xiasenlin1@huawei.com> - 0.7.91-30
- fix the error: "%s" directive argument is NULL [-Werror=format-overflow=]
* Wed Nov 27 2019 daiqianwen <daiqianwen@huawei.com> - 0.7.91-29
- Package init.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。