2008-07-19 Frederik Schüler <fs@debian.org>

* debian/control: Add strace64 package.
	Fixes Debian#491167, Debian#491188.
	* debian/rules: Use debhelper flag --same-arch instead of --arch in
	order to build strace64 only on the specified architectures.
	* debian/strace64.install: New file, list for dh_install.
	* debian/strace64.manpages: New file, list for dh_install.
	* debian/changelog: Add prereleases entries.
This commit is contained in:
Roland McGrath 2008-07-22 00:27:31 +00:00
parent 92a67a40fb
commit a04e213e6a
5 changed files with 55 additions and 24 deletions

14
debian/changelog vendored
View File

@ -1,6 +1,20 @@
strace (4.5.17-1) unstable; urgency=low strace (4.5.17-1) unstable; urgency=low
* New upstream release. * New upstream release.
-- Frederik Schüler <fs@debian.org> Sat, 19 Jul 2008 21:38:30 +0200
strace (4.5.16+cvs20080708-2) unstable; urgency=low
* Rerun autotools in correct order.
* Add strace64 package on i386, powerpc, s390 and sparc,
closes: #491167, #491188
-- Frederik Schüler <fs@debian.org> Thu, 17 Jul 2008 17:21:27 +0200
strace (4.5.16+cvs20080708-1) unstable; urgency=low
* New upstream snapshot.
+ Fix chmod/chown typo in debian/rules, closes: #459255. + Fix chmod/chown typo in debian/rules, closes: #459255.
+ Install strace-graph too, closes: 469068. + Install strace-graph too, closes: 469068.
+ Fix m68k build, closes: 456879. + Fix m68k build, closes: 456879.

16
debian/control vendored
View File

@ -20,6 +20,22 @@ Description: A system call tracer
interface. A close examination of this boundary is very useful for bug interface. A close examination of this boundary is very useful for bug
isolation, sanity checking and attempting to capture race conditions. isolation, sanity checking and attempting to capture race conditions.
Package: strace64
Architecture: i386 powerpc s390 sparc
Depends: ${shlibs:Depends}
Description: A system call tracer for 64bit binaries
strace is a system call tracer, i.e. a debugging tool which prints out
a trace of all the system calls made by a another process/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 source.
.
This package containts the 64bit version of the binary, intended for
biarch systems with 32bit userland and 64bit kernel.
.
System calls and signals are events that happen at the user/kernel
interface. A close examination of this boundary is very useful for bug
isolation, sanity checking and attempting to capture race conditions.
Package: strace-udeb Package: strace-udeb
Section: debian-installer Section: debian-installer
XC-Package-Type: udeb XC-Package-Type: udeb

47
debian/rules vendored
View File

@ -37,7 +37,7 @@ build64/Makefile:
clean: clean:
dh_clean dh_clean
rm -rf debian/strace debian/strace-udeb debian/substvars debian/files debian/files~ rm -rf debian/strace debian/strace-udeb debian/substvars debian/files debian/files~
rm -rf build64 stamp-build64 rm -rf build64 stamp-build64 strace64.1
rm -rf build stamp-build rm -rf build stamp-build
binary: binary-indep binary-arch binary: binary-indep binary-arch
@ -46,29 +46,28 @@ binary-indep:
binary-arch: build checkroot binary-arch: build checkroot
test -f stamp-build || make $(MFLAGS) -f debian/rules build test -f stamp-build || make $(MFLAGS) -f debian/rules build
dh_testdir -a
dh_testroot -a # prepare 64bit executable and manpage, if it has been built
dh_installdirs -a test -f stamp-build64 && ( mv build64/strace build64/strace64 ; \
dh_installdocs -a cp strace.1 strace64.1 ) || true
dh_installman -a
dh_installexamples -a dh_testdir -s
dh_installchangelogs ChangeLog dh_testroot -s
dh_install -a dh_installdirs -s
# install 64bit executable and manpage if it has been built dh_installdocs -s
if test -f stamp-build64; then \ dh_installman -s
mv build64/strace build64/strace64 ; \ dh_installexamples -s
dh_install build64/strace64 usr/bin ; \ dh_installchangelogs -s ChangeLog
dh_link usr/share/man/man1/strace.1 usr/share/man/man1/strace64.1; \ dh_install -s
else : ; fi dh_link -s
dh_link -a dh_strip -s
dh_strip -a dh_compress -s
dh_compress -a dh_fixperms -s
dh_fixperms -a dh_installdeb -s
dh_installdeb -a dh_shlibdeps -s
dh_shlibdeps -a dh_gencontrol -s
dh_gencontrol -a dh_md5sums -s
dh_md5sums -a dh_builddeb -s
dh_builddeb -a
checkroot: checkroot:
test root = "`whoami`" test root = "`whoami`"

1
debian/strace64.install vendored Normal file
View File

@ -0,0 +1 @@
build64/strace64 usr/bin

1
debian/strace64.manpages vendored Normal file
View File

@ -0,0 +1 @@
strace64.1