Репозиторий Sisyphus
Последнее обновление: 25 марта 2023 | Пакетов: 18288 | Посещений: 27161610
en ru br
Репозитории ALT
S:0.7.91.0.198.git82c6640-alt5
5.1: 0.5-alt1
4.1: 0.5-alt1
4.0: 0.4-alt2.0
3.0: 0.3.36-alt2
www.altlinux.org/Changes

Группа :: Разработка/Отладчики
Пакет: ltrace

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_without glibc_debuginfo
# turn on by:
# gear --commit -v --hasher -- hsh --build-args "--with glibc_debuginfo" -v ~/hasher 2>&1 | tee log

Name: ltrace
Version: 0.7.91.0.198.git82c6640
Release: alt1

Summary: Tracks runtime library calls from dynamically linked executables
License: GPLv2+
Group: Development/Debuggers
Url: http://ltrace.alioth.debian.org/

# git://anonscm.debian.org/collab-maint/ltrace.git

# https://github.com/dkogan/ltrace
Source: %name-%version.tar

Patch0: ltrace-0.7.91.0.198.git82c6640-fix_readdir_r_deprecated.patch
Patch1: ltrace-0.7.91.0.198.git82c6640-fix_attach_process.patch
Patch2: ltrace-0.7.91.0.198.git82c6640-fix_attach_process_dlopen.patch
Patch3: ltrace-0.7.91.0.198.git82c6640-disable_long_double_test_wchar.patch
# patch3 due Ltrace doesn't support long
# see: etc/libc.so-types.conf:# XXX ltrace misses long double and long long support
Patch4: ltrace-0.7.91.0.198.git82c6640-fix_errors_in_tests.patch
%{?_without_glibc_debuginfo:
Patch5: ltrace-0.7.91.0.198.git82c6640-disable_glibc_core_debuginfo_tests.patch}

BuildRequires: libelf-devel elfutils-devel gcc-c++
%{?!_without_check:%{?!_disable_check:
BuildRequires: dejagnu /dev/pts /proc}}
%{?!_without_glibc_debuginfo:
BuildRequires: glibc-core-debuginfo}

Summary(ru_RU.UTF-8): п╒я─п╟я│я│п╦я─п╬п╡я┴п╦п╨ п╠п╦п╠п╩п╦п╬я┌п╣я┤п╫я▀я┘ п╡я▀п╥п╬п╡п╬п╡ п╦п╥ п╢п╦п╫п╟п╪п╦я┤п╣я│п╨п╦ я│п╨п╬п╪п©п╬п╫п╬п╡п╟п╫п╫я▀я┘ п©я─п╦п╩п╬п╤п╣п╫п╦п╧

%description
Ltrace is a debugging program which runs a specified command until it
exits.  While the command is executing, ltrace intercepts and records
the dynamic library calls which are called by the executed process and
the signals received by that process.
It can also intercept and print the system calls executed by the program.

The program to be traced need not be recompiled for this, so you can
use it on binaries for which you don't have the source handy.

Optionally you can install glibc-core-debuginfo for obtaining extra
features of Ltrace.

%description -l ru_RU.UTF-8
Ltrace п©я─п╣п╢я│я┌п╟п╡п╩я▐п╣я┌ п╦п╥ я│п╣п╠я▐ я┐я┌п╦п╩п╦я┌я┐ п╬я┌п╩п╟п╢п╨п╦, п╨п╬я┌п╬я─п╟я▐ п╥п╟п©я┐я│п╨п╟п╣я┌ я┐п╨п╟п╥п╟п╫п╫я┐я▌
п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╪ п╨п╬п╪п╟п╫п╢я┐ п╦ п╢п╬п╤п╦п╢п╟п╣я┌я│я▐ п╣я▒ п╥п╟п╡п╣я─я┬п╣п╫п╦я▐. п÷п╬п╨п╟ п╨п╬п╪п╟п╫п╢п╟ п╡я▀п©п╬п╩п╫я▐п╣я┌я│я▐,
Ltrace п©п╣я─п╣я┘п╡п╟я┌я▀п╡п╟п╣я┌ п╦ п╡я▀п╡п╬п╢п╦я┌ п╡я│п╣ п╡я▀п©п╬п╩п╫я▐п╣п╪я▀п╣ п©я─п╬я├п╣я│я│п╬п╪ п╡я▀п╥п╬п╡я▀ п©п╬п╢п©я─п╬пЁя─п╟п╪п╪
п╦п╥ п╢п╦п╫п╟п╪п╦я┤п╣я│п╨п╦я┘ п╠п╦п╠п╩п╦п╬я┌п╣п╨, п╡я│п╣ я│п╦я│я┌п╣п╪п╫я▀п╣ п╡я▀п╥п╬п╡я▀ п╦ п╡я│п╣ п©п╬п╩я┐я┤п╟п╣п╪я▀п╣ я│п╦пЁп╫п╟п╩я▀.

п╒я─п╟я│я│п╦я─я┐п╣п╪я┐я▌ п©я─п╬пЁя─п╟п╪п╪я┐ п╫п╣ я┌я─п╣п╠я┐п╣я┌я│я▐ п©п╣я─п╣п╨п╬п╪п©п╦п╩п╦я─п╬п╡п╟я┌я▄, я┌п╟п╨ я┤я┌п╬ п╬я┌п╩п╟п╤п╦п╡п╟я┌я▄
я│ п©п╬п╪п╬я┴я▄я▌ Ltrace п╪п╬п╤п╫п╬ п╢п╟п╤п╣ я┌п╣ п©я─п╦п╩п╬п╤п╣п╫п╦я▐, п╦я│я┘п╬п╢п╫я▀п╣ я┌п╣п╨я│я┌я▀ п╨п╬я┌п╬я─я▀я┘ п╫п╣п╢п╬я│я┌я┐п©п╫я▀.

п·п©я├п╦п╬п╫п╟п╩я▄п╫п╬ п╪п╬п╤п╫п╬ я┐я│я┌п╟п╫п╬п╡п╦я┌я▄ glibc-core-debuginfo п╢п╩я▐ п©п╬п╩я┐я┤п╣п╫п╦я▐ п╢п╬п©п╬п╩п╫п╦я┌п╣п╩я▄п╫я▀я┘
п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╣п╧ Ltrace.

%prep
%setup
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%{?_without_glibc_debuginfo:
%patch5 -p1}

%build
%autoreconf
%configure
%make_build

%install
%makeinstall_std

%check
[ -w /dev/ptmx -a -f /proc/self/maps ] || exit
LC_ALL=en_US.UTF-8 make check RUNTESTFLAGS="--tool_exec=%buildroot/usr/bin/ltrace CFLAGS_FOR_TARGET=" </dev/ptmx

%files
%_bindir/*
%_mandir/man?/*
%_datadir/%name
%doc COPYING CREDITS README TODO
%exclude %_docdir/%name

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin