[arch-commits] Commit in ltrace/repos/extra-x86_64 (3 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Nov 11 15:22:37 UTC 2012
Date: Sunday, November 11, 2012 @ 10:22:36
Author: foutrelis
Revision: 170791
archrelease: copy trunk to extra-x86_64
Added:
ltrace/repos/extra-x86_64/PKGBUILD
(from rev 170790, ltrace/trunk/PKGBUILD)
Deleted:
ltrace/repos/extra-x86_64/PKGBUILD
ltrace/repos/extra-x86_64/fix-crash-on-int3-after-symcall.patch
---------------------------------------+
PKGBUILD | 76 +++++++++++++++-----------------
fix-crash-on-int3-after-symcall.patch | 14 -----
2 files changed, 37 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2012-11-11 15:22:20 UTC (rev 170790)
+++ PKGBUILD 2012-11-11 15:22:36 UTC (rev 170791)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
-# Contributor: Aaron Griffin <aaron at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-
-pkgname=ltrace
-pkgver=0.6.0
-pkgrel=1
-pkgdesc="Tracks runtime library calls in dynamically linked programs"
-arch=('i686' 'x86_64')
-url="http://ltrace.alioth.debian.org/"
-license=('GPL')
-depends=('elfutils')
-backup=('etc/ltrace.conf')
-source=(http://dev.archlinux.org/~foutrelis/sources/ltrace/$pkgname-$pkgver.tar.xz
- fix-crash-on-int3-after-symcall.patch)
-sha256sums=('13e4a66aa1f2ad23fd4ddd7faa79c52a68f210155eeb6490ce421f2a07fa0706'
- 'ef2c33c94b5cbfc552e5e734ac5627918ace918f48db5d3f29f1c0dcb1732d04')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- # Fix FS#27250: SIGSEGV due to int3 right after a call instruction
- patch -Np1 -i "$srcdir/fix-crash-on-int3-after-symcall.patch"
-
- ./autogen.sh
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc
- make
-}
-
-package(){
- cd "$srcdir/$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:
Copied: ltrace/repos/extra-x86_64/PKGBUILD (from rev 170790, ltrace/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2012-11-11 15:22:36 UTC (rev 170791)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=ltrace
+pkgver=0.7.0
+pkgrel=1
+pkgdesc="Tracks runtime library calls in dynamically linked programs"
+arch=('i686' 'x86_64')
+url="http://ltrace.alioth.debian.org/"
+license=('GPL')
+depends=('elfutils')
+backup=('etc/ltrace.conf')
+source=(https://alioth.debian.org/frs/download.php/3822/$pkgname-$pkgver.tar.bz2)
+sha256sums=('5438ce286f072f0e0448db046657466f9bd142600013329063aecf7cf809fd10')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc
+ make
+}
+
+package(){
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+
+ # ltrace.conf.5 needs to be installed to man5 (fixed in upstream git repo)
+ install -d "$pkgdir/usr/share/man/man5"
+ mv "$pkgdir/usr/share/man/man"{1/ltrace.conf.1,5/ltrace.conf.5}
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: fix-crash-on-int3-after-symcall.patch
===================================================================
--- fix-crash-on-int3-after-symcall.patch 2012-11-11 15:22:20 UTC (rev 170790)
+++ fix-crash-on-int3-after-symcall.patch 2012-11-11 15:22:36 UTC (rev 170791)
@@ -1,14 +0,0 @@
-diff -upr ltrace-0.6.0.orig/handle_event.c ltrace-0.6.0/handle_event.c
---- ltrace-0.6.0.orig/handle_event.c 2011-01-07 21:29:30.000000000 +0200
-+++ ltrace-0.6.0/handle_event.c 2012-01-06 05:14:04.000000000 +0200
-@@ -617,6 +617,10 @@ handle_breakpoint(Event *event) {
- }
-
- if ((sbp = address2bpstruct(event->proc, event->e_un.brk_addr))) {
-+ if (sbp->libsym == NULL) {
-+ continue_after_breakpoint(event->proc, sbp);
-+ return;
-+ }
- if (strcmp(sbp->libsym->name, "") == 0) {
- debug(2, "Hit _dl_debug_state breakpoint!\n");
- arch_check_dbg(event->proc);
More information about the arch-commits
mailing list