[Ltrace-devel] [PATCH 1/1] Update debian build files to support autotools and new architectures.

Joe Damato ice799 at gmail.com
Sat Dec 4 22:20:04 UTC 2010


---
 ChangeLog         |    6 ++++++
 debian/control    |   23 +++++++++++++++++++++++
 debian/control.in |   23 -----------------------
 debian/rules      |    1 +
 4 files changed, 30 insertions(+), 23 deletions(-)
 create mode 100644 debian/control
 delete mode 100644 debian/control.in

diff --git a/ChangeLog b/ChangeLog
index f931332..c35d20a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-12-04  Joe Damato  <ice799 at gmail.com>
+
+	* debian/control.in: Renamed to debian/control.
+	* debian/control: Added new build dependencies.
+	* debian/rules: Added support for autotools.
+
 2010-11-19  Petr Machata  <pmachata at redhat.com>
 
 	* testsuite/ltrace.main/system_calls.exp: On s390x, names of mmap,
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..75a177c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: ltrace
+Section: utils
+Priority: optional
+Maintainer: Juan Cespedes <cespedes at debian.org>
+Standards-Version: 3.8.2
+Build-Depends: cdbs, debhelper (>= 7), dh-autoreconf, binutils-dev, libelfg0-dev, libunwind7-dev [i386 amd64 ia64]
+
+Package: ltrace
+Architecture: i386 arm armeb armel s390 powerpc sparc alpha amd64 ia64 ppc64
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Tracks runtime library calls in dynamically linked programs
+ 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.
+ .
+ You should install ltrace if you need a sysadmin tool for tracking the
+ execution of processes.
+
diff --git a/debian/control.in b/debian/control.in
deleted file mode 100644
index 4a542e1..0000000
--- a/debian/control.in
+++ /dev/null
@@ -1,23 +0,0 @@
-Source: ltrace
-Section: utils
-Priority: optional
-Maintainer: Juan Cespedes <cespedes at debian.org>
-Standards-Version: 3.8.2
-Build-Depends: @cdbs@, binutils-dev, libelfg0-dev
-
-Package: ltrace
-Architecture: i386 arm armeb armel s390 powerpc sparc alpha amd64 ia64 ppc64
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: Tracks runtime library calls in dynamically linked programs
- 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.
- .
- You should install ltrace if you need a sysadmin tool for tracking the
- execution of processes.
-
diff --git a/debian/rules b/debian/rules
index 4105eb7..5d9c499 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,7 @@
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
 
 install/ltrace::
 	rm -f debian/ltrace/usr/share/doc/ltrace/*
-- 
1.7.1




More information about the Ltrace-devel mailing list