summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Olsa <Jiri Olsa jolsa@redhat.com>2011-02-15 13:10:45 +0100
committerJiri Olsa <Jiri Olsa jolsa@redhat.com>2011-02-15 13:10:45 +0100
commitf5ad120cfd55aa810660f59b07382f4f9a0a0301 (patch)
tree6d62066cb908cb8ed16983701be5f4b372be8e8d
parentfa6d2d20b68bcf9b151b6d62de48ad685e389310 (diff)
downloadlatrace-f5ad120cfd55aa810660f59b07382f4f9a0a0301.tar.gz
latrace-f5ad120cfd55aa810660f59b07382f4f9a0a0301.tar.xz
latrace-f5ad120cfd55aa810660f59b07382f4f9a0a0301.zip
moving debian directory to the packaging
-rw-r--r--ChangeLog1
-rw-r--r--debian/changelog5
-rw-r--r--debian/control19
-rw-r--r--debian/copyright21
-rwxr-xr-xdebian/rules47
-rw-r--r--package/debian/changelog6
-rw-r--r--package/debian/control5
-rwxr-xr-x[-rw-r--r--]package/debian/rules4
8 files changed, 9 insertions, 99 deletions
diff --git a/ChangeLog b/ChangeLog
index 0a6adec..f8cea0e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,5 @@
2011-02-15 Jiri Olsa <olsajiri@gmail.com>
+ * moving debian directory to the packaging
* Sebastian Pipping <sping@gentoo.org>
- fix LDFLAGS/CFLAGS usage
diff --git a/debian/changelog b/debian/changelog
deleted file mode 100644
index 7468380..0000000
--- a/debian/changelog
+++ /dev/null
@@ -1,5 +0,0 @@
-latrace (0.5.7-1) unstable; urgency=low
-
- * Packaged again.
-
- -- Akos PASZTORY <akos.pasztory@gmail.com> Wed, 24 Feb 2010 23:57:07 +0200
diff --git a/debian/control b/debian/control
deleted file mode 100644
index 0735f5e..0000000
--- a/debian/control
+++ /dev/null
@@ -1,19 +0,0 @@
-Source: latrace
-Section: utils
-Priority: optional
-Maintainer: Akos PASZTORY <akos.pasztory@gmail.com>
-Standards-Version: 3.8.0
-Build-Depends: flex, bison, autoconf, binutils-dev (>= 2.19.51),
- asciidoc, xmlto, docbook-xsl, docbook-xml
-
-Package: latrace
-Architecture: i386 amd64 armel
-Depends: libc6 (>= 2.5) [armel], libc6 (>= 2.7-1) [i386 amd64]
-Description: traces library calls in dynamically linked programs
- latrace (similar to ltrace) displays dynamic library calls of a program
- using the LD_AUDIT feature of newer glibc versions. It is also capable to
- measure and display various statistics of dynamic calls. If a config file
- is provided, latrace will display function arguments with detailed output
- for structures.
- .
- See also http://people.redhat.com/jolsa/latrace/index.shtml
diff --git a/debian/copyright b/debian/copyright
deleted file mode 100644
index 48fedd7..0000000
--- a/debian/copyright
+++ /dev/null
@@ -1,21 +0,0 @@
-This package is derived from sources obtained at:
- http://latrace.sourceforge.net
-Debian packaging by Akos PASZTORY <akos.pasztory@gmail.com>.
-
-Copyright (c) 2008, 2009, 2010 Jiri Olsa <olsajiri@gmail.com>
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-Under Debian systems /usr/share/common-licenses/GPL-3
-contains the full text of the license.
diff --git a/debian/rules b/debian/rules
deleted file mode 100755
index 36aa847..0000000
--- a/debian/rules
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/usr/bin/make -f
-
-.PHONY: build clean binary-arch binary-indep binary default
-
-pkg := latrace
-pkgdir := debian/$(pkg)
-docdir := $(pkgdir)/usr/share/doc/$(pkg)
-checkdir = @test -e debian/control || ! echo wrong directory
-checkuid = @test "`id -u`" -eq 0 || ! echo need root permissions
-
-default:
-build: debian/stamp-build
-debian/stamp-build:
- $(checkdir)
- autoconf
- ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib/latrace
- make
- touch $@
-clean:
- $(checkdir)
- $(checkuid)
- rm -f debian/stamp-*
- test ! -f src/autoconf.make || make mrproper
- rm -rf debian/latrace
- rm -f debian/files debian/substvars
-binary-indep:
-binary-arch: debian/stamp-build
- $(checkdir)
- $(checkuid)
- install -d $(pkgdir)/DEBIAN $(docdir)
- make install ROOTDIR="$(CURDIR)/$(pkgdir)"
- cd $(pkgdir) && strip --strip-unneeded -R .note -R .comment \
- usr/bin/latrace usr/lib/latrace/libltaudit.so*
- cp -p ChangeLog $(docdir)/changelog
- cp -p README ReleaseNotes TODO debian/copyright $(docdir)
- cp -p debian/changelog $(docdir)/changelog.Debian
- cd $(pkgdir) && find etc -type f -printf "/%p\n" > DEBIAN/conffiles
- gzip -9f $(pkgdir)/usr/share/man/man1/latrace.1
- gzip -9f $(docdir)/changelog $(docdir)/changelog.Debian
- dpkg-shlibdeps $(pkgdir)/usr/bin/latrace
- dpkg-gencontrol -P$(pkgdir)
- cd $(pkgdir) && find * -path DEBIAN -prune -o -type f -print0 | \
- xargs -r0 md5sum > DEBIAN/md5sums
- chown -R root:root $(pkgdir)
- chmod -R u+w,go=rX $(pkgdir)
- dpkg-deb -b $(pkgdir) ..
-binary: binary-arch binary-indep
diff --git a/package/debian/changelog b/package/debian/changelog
index 2264d76..7468380 100644
--- a/package/debian/changelog
+++ b/package/debian/changelog
@@ -1,5 +1,5 @@
-latrace (0.5.3-1) unstable; urgency=low
+latrace (0.5.7-1) unstable; urgency=low
- * Debian packaging created.
+ * Packaged again.
- -- Akos Pasztory <akos.pasztory@gmail.com> Tue, 24 Feb 2009 21:26:14 +0300
+ -- Akos PASZTORY <akos.pasztory@gmail.com> Wed, 24 Feb 2010 23:57:07 +0200
diff --git a/package/debian/control b/package/debian/control
index 473c3b2..0735f5e 100644
--- a/package/debian/control
+++ b/package/debian/control
@@ -3,7 +3,8 @@ Section: utils
Priority: optional
Maintainer: Akos PASZTORY <akos.pasztory@gmail.com>
Standards-Version: 3.8.0
-Build-Depends: flex, bison, autoconf
+Build-Depends: flex, bison, autoconf, binutils-dev (>= 2.19.51),
+ asciidoc, xmlto, docbook-xsl, docbook-xml
Package: latrace
Architecture: i386 amd64 armel
@@ -15,4 +16,4 @@ Description: traces library calls in dynamically linked programs
is provided, latrace will display function arguments with detailed output
for structures.
.
- See also http://latrace.sourceforge.net/
+ See also http://people.redhat.com/jolsa/latrace/index.shtml
diff --git a/package/debian/rules b/package/debian/rules
index 0295e77..36aa847 100644..100755
--- a/package/debian/rules
+++ b/package/debian/rules
@@ -30,11 +30,11 @@ binary-arch: debian/stamp-build
install -d $(pkgdir)/DEBIAN $(docdir)
make install ROOTDIR="$(CURDIR)/$(pkgdir)"
cd $(pkgdir) && strip --strip-unneeded -R .note -R .comment \
- usr/bin/latrace usr/lib/latrace/libltaudit.so
+ usr/bin/latrace usr/lib/latrace/libltaudit.so*
cp -p ChangeLog $(docdir)/changelog
cp -p README ReleaseNotes TODO debian/copyright $(docdir)
cp -p debian/changelog $(docdir)/changelog.Debian
- cp -p debian/conffiles $(pkgdir)/DEBIAN
+ cd $(pkgdir) && find etc -type f -printf "/%p\n" > DEBIAN/conffiles
gzip -9f $(pkgdir)/usr/share/man/man1/latrace.1
gzip -9f $(docdir)/changelog $(docdir)/changelog.Debian
dpkg-shlibdeps $(pkgdir)/usr/bin/latrace