[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/

2023-12-22 Thread Marek Szuba
commit: f7cd46dc86e15c0e2bbc71efa4a0b1cd915721ed
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Dec 22 11:54:56 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Dec 22 11:55:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7cd46dc

dev-util/ltrace: fix copy-pasto in metadata

Closes: https://bugs.gentoo.org/920520
Signed-off-by: Marek Szuba  gentoo.org>

 dev-util/ltrace/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/ltrace/metadata.xml b/dev-util/ltrace/metadata.xml
index 7aee59bc9ad7..e7ef67f97d07 100644
--- a/dev-util/ltrace/metadata.xml
+++ b/dev-util/ltrace/metadata.xml
@@ -9,7 +9,7 @@
cespedes/ltrace


-   Use libdwfl from 
sys-libs/libunwind for frame unwinding support
+   Use libdwfl from 
dev-libs/elfutils for frame unwinding support
Use sys-libs/libunwind for frame 
unwinding support

 



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/files/, dev-util/ltrace/

2023-08-14 Thread Marek Szuba
commit: c1824e861085bc181e7a38f66392ff0bf615d7a1
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Aug 14 10:13:21 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Aug 14 10:13:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1824e86

dev-util/ltrace: drop 0.7.3.6.1

Signed-off-by: Marek Szuba  gentoo.org>

 dev-util/ltrace/Manifest   |  2 -
 .../files/ltrace-0.7.3-disable-munmap-test.patch   | 15 
 .../ltrace/files/ltrace-0.7.3-no-REG_NOERROR.patch | 50 --
 .../ltrace/files/ltrace-0.7.3-no-error.h-2.patch   | 72 
 .../ltrace/files/ltrace-0.7.3-no-error.h.patch | 36 --
 dev-util/ltrace/files/ltrace-0.7.3-pid_t.patch | 10 ---
 .../files/ltrace-0.7.3-test-glibc-2.33.patch   | 11 ---
 .../ltrace/files/ltrace-0.7.3-test-protos.patch| 71 ---
 .../ltrace/files/ltrace-0.7.3-tuple-tests.patch| 12 
 dev-util/ltrace/ltrace-0.7.3.6.1.ebuild| 79 --
 10 files changed, 358 deletions(-)

diff --git a/dev-util/ltrace/Manifest b/dev-util/ltrace/Manifest
index c1d8595eb775..09f36f2fb6a0 100644
--- a/dev-util/ltrace/Manifest
+++ b/dev-util/ltrace/Manifest
@@ -1,3 +1 @@
 DIST ltrace-0.7.91_pre20221216.tar.bz2 288077 BLAKE2B 
cadc2ac551a96dfa95aee0d0eb251d8f41a8631350ba3be3f67d0cb10774a3db6abbd42481d24febdfcb0d565107e66b4de0056a85a7954bb050adb8e8fa5b4a
 SHA512 
993c247797551b4fbb202c04f9af08063c8641946825b17d1f32c4647c606ece803a6b049c4afa3046c798add161ab58f01d90106f3b6029a223af03bca27a99
-DIST ltrace_0.7.3-6.1.debian.tar.xz 11404 BLAKE2B 
d38ce51dfcbf809d7622029fb6dd0acd61c8d8213be0bf2625fd746adbe6dd6830faf208b7e864c1185013d7d5e17f3e10e8a8fb45f8e0a4bc9859fde96a55d7
 SHA512 
c0753935d74be530886ce5202429cabbbe73814c9ac120eaf90a1c4e03dfd4de5381e3e85a27fbbbce694b23cd72a273199575419446b6159b0925d85e1938ab
-DIST ltrace_0.7.3.orig.tar.bz2 482658 BLAKE2B 
30d1dbb178a41043e4bbbac17a23676db202b64327c9bb4393ae7ace9f5e1a1e2a5ded56cabc7faf2ea55b22ed17126a94c121147aeefb40250710b7307a50d3
 SHA512 
a842b16dcb81da869afa0bddc755fdff0d57b35672505bf2c7164fd983b1938d28b126714128930994cc1230ced69d779456d0cfc16f4008c9b6d19f0852285d

diff --git a/dev-util/ltrace/files/ltrace-0.7.3-disable-munmap-test.patch 
b/dev-util/ltrace/files/ltrace-0.7.3-disable-munmap-test.patch
deleted file mode 100644
index fdd7412efeda..
--- a/dev-util/ltrace/files/ltrace-0.7.3-disable-munmap-test.patch
+++ /dev/null
@@ -1,15 +0,0 @@
 a/testsuite/ltrace.main/system_calls.exp
-+++ b/testsuite/ltrace.main/system_calls.exp
-@@ -29,8 +29,10 @@ if [regexp {ELF from incompatible architecture} 
$exec_output] {
- }
- 
- 
--set pattern "SYS_munmap"
--ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 2
-+## disabled in Gentoo: libc's stdio tends to call (or not to call) munmap
-+## depending on heuristics of stdio buffer sizes.
-+##set pattern "SYS_munmap"
-+##ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 2
- set pattern "SYS_write"
- ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1
- set pattern "SYS_unlink"

diff --git a/dev-util/ltrace/files/ltrace-0.7.3-no-REG_NOERROR.patch 
b/dev-util/ltrace/files/ltrace-0.7.3-no-REG_NOERROR.patch
deleted file mode 100644
index 7fc8b60aa48a..
--- a/dev-util/ltrace/files/ltrace-0.7.3-no-REG_NOERROR.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From b6c5c8c51f954cfbe76424fd57c33a87166f0545 Mon Sep 17 00:00:00 2001
-From: Petr Machata 
-Date: Sat, 8 Dec 2012 03:23:39 +0100
-Subject: [PATCH] Avoid using REG_NOERROR
-
-Not all systems define this (IRIX 6.5 doesn't).  Comparing to 0 is not
-terribly less readable, so do that instead.

- glob.c| 4 ++--
- options.c | 2 +-
- 2 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/glob.c b/glob.c
-index 9af633f..b26637f 100644
 a/glob.c
-+++ b/glob.c
-@@ -180,7 +180,7 @@ glob_to_regex(const char *glob, char **retp)
-   goto fail;
-   }
-   *retp = buf;
--  return REG_NOERROR;
-+  return 0;
- }
- 
- int
-@@ -188,7 +188,7 @@ globcomp(regex_t *preg, const char *glob, int cflags)
- {
-   char *regex = NULL;
-   int status = glob_to_regex(glob, );
--  if (status != REG_NOERROR)
-+  if (status != 0)
-   return status;
-   assert(regex != NULL);
-   status = regcomp(preg, regex, cflags);
-diff --git a/options.c b/options.c
-index e8fd2a2..4c7441e 100644
 a/options.c
-+++ b/options.c
-@@ -204,7 +204,7 @@ compile_libname(const char *expr, const char *a_lib, int 
lib_re_p,
- 
-   regex_t lib_re;
-   int status = (lib_re_p ? regcomp : globcomp)(_re, lib, 0);
--  if (status != REG_NOERROR) {
-+  if (status != 0) {
-   char buf[100];
-   regerror(status, _re, buf, sizeof buf);
-   fprintf(stderr, "Rule near '%s' will be ignored: %s.\n",
--- 

[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/

2023-08-04 Thread Sam James
commit: 01efc468df659489659daceec925a8920487b13d
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug  4 11:30:43 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug  4 11:30:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01efc468

dev-util/ltrace: Stabilize 0.7.91_pre20221216-r1 ppc, #910373

Signed-off-by: Sam James  gentoo.org>

 dev-util/ltrace/ltrace-0.7.91_pre20221216-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/ltrace/ltrace-0.7.91_pre20221216-r1.ebuild 
b/dev-util/ltrace/ltrace-0.7.91_pre20221216-r1.ebuild
index 0c54f1c71e10..021f7b84be35 100644
--- a/dev-util/ltrace/ltrace-0.7.91_pre20221216-r1.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.91_pre20221216-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://gitlab.com/cespedes/${PN}/-/archive/${EGIT_COMMIT}.tar.bz2 -> $
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ppc ~ppc64 ~sparc x86"
 IUSE="debug elfutils selinux test unwind"
 
 REQUIRED_USE="?? ( elfutils unwind )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/

2023-07-15 Thread Arthur Zamarin
commit: 18986f34219d091da048f94eff2b2fa1b90db6d9
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jul 15 08:19:21 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jul 15 08:19:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18986f34

dev-util/ltrace: Stabilize 0.7.91_pre20221216-r1 x86, #910373

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-util/ltrace/ltrace-0.7.91_pre20221216-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/ltrace/ltrace-0.7.91_pre20221216-r1.ebuild 
b/dev-util/ltrace/ltrace-0.7.91_pre20221216-r1.ebuild
index 2467297ab8b8..0c54f1c71e10 100644
--- a/dev-util/ltrace/ltrace-0.7.91_pre20221216-r1.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.91_pre20221216-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://gitlab.com/cespedes/${PN}/-/archive/${EGIT_COMMIT}.tar.bz2 -> $
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc x86"
 IUSE="debug elfutils selinux test unwind"
 
 REQUIRED_USE="?? ( elfutils unwind )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/

2023-07-15 Thread Arthur Zamarin
commit: 437414ce65aa8bbf35bf73d496c99610f134004e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jul 15 08:19:20 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jul 15 08:19:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=437414ce

dev-util/ltrace: Stabilize 0.7.91_pre20221216-r1 amd64, #910373

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-util/ltrace/ltrace-0.7.91_pre20221216-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/ltrace/ltrace-0.7.91_pre20221216-r1.ebuild 
b/dev-util/ltrace/ltrace-0.7.91_pre20221216-r1.ebuild
index 851ee4b9d802..2467297ab8b8 100644
--- a/dev-util/ltrace/ltrace-0.7.91_pre20221216-r1.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.91_pre20221216-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://gitlab.com/cespedes/${PN}/-/archive/${EGIT_COMMIT}.tar.bz2 -> $
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="debug elfutils selinux test unwind"
 
 REQUIRED_USE="?? ( elfutils unwind )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/

2023-04-03 Thread Marek Szuba
commit: 0d24f2e36daf9d95d2512a69305e124c3da6fc0d
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Apr  3 06:47:55 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Apr  3 06:50:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d24f2e3

dev-util/ltrace: support libdwfl as unwinder

Add a new USE flag for this (pulling the whole elfutils in if set),
and make it mutually exclusive with unwind because src_configure fails
if both unwinders have been selected.

Closes: https://bugs.gentoo.org/903643
Signed-off-by: Marek Szuba  gentoo.org>

 7.91_pre20221216.ebuild => ltrace-0.7.91_pre20221216-r1.ebuild} | 6 +-
 dev-util/ltrace/metadata.xml| 1 +
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-util/ltrace/ltrace-0.7.91_pre20221216.ebuild 
b/dev-util/ltrace/ltrace-0.7.91_pre20221216-r1.ebuild
similarity index 91%
rename from dev-util/ltrace/ltrace-0.7.91_pre20221216.ebuild
rename to dev-util/ltrace/ltrace-0.7.91_pre20221216-r1.ebuild
index 24b86f41a73f..851ee4b9d802 100644
--- a/dev-util/ltrace/ltrace-0.7.91_pre20221216.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.91_pre20221216-r1.ebuild
@@ -14,9 +14,12 @@ 
SRC_URI="https://gitlab.com/cespedes/${PN}/-/archive/${EGIT_COMMIT}.tar.bz2 -> $
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="debug selinux test unwind"
+IUSE="debug elfutils selinux test unwind"
+
+REQUIRED_USE="?? ( elfutils unwind )"
 
 RDEPEND="virtual/libelf:=
+   elfutils? ( dev-libs/elfutils )
selinux? ( sys-libs/libselinux )
unwind? ( sys-libs/libunwind:= )"
 DEPEND="${RDEPEND}
@@ -55,5 +58,6 @@ src_configure() {
econf \
--disable-werror \
$(use_enable debug) \
+   $(use_with elfutils) \
$(use_with unwind libunwind)
 }

diff --git a/dev-util/ltrace/metadata.xml b/dev-util/ltrace/metadata.xml
index ca7a79566dae..7aee59bc9ad7 100644
--- a/dev-util/ltrace/metadata.xml
+++ b/dev-util/ltrace/metadata.xml
@@ -9,6 +9,7 @@
cespedes/ltrace


+   Use libdwfl from 
sys-libs/libunwind for frame unwinding support
Use sys-libs/libunwind for frame 
unwinding support

 



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/

2023-03-30 Thread Marek Szuba
commit: 254013ac7749cf335be5d3314de1b8a30bdadcdc
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Mar 30 21:36:14 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Mar 30 22:09:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=254013ac

dev-util/ltrace: restrict tests

Effectively abandoned upstream (no git activity in testsuite/ since late
2015 apart from the merging of two arm64-related Fedora patches) and not
run by their CI. EXTREMELY fragile.

Upstream appears to have got a bit more alive in 2022 so let's hope they
will sort this out before ltrace stops working altogether.

Bug: https://bugs.gentoo.org/894386
Signed-off-by: Marek Szuba  gentoo.org>

 dev-util/ltrace/ltrace-0.7.3.6.1.ebuild | 10 --
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/dev-util/ltrace/ltrace-0.7.3.6.1.ebuild 
b/dev-util/ltrace/ltrace-0.7.3.6.1.ebuild
index 6e833e04a3cf..abc626186b4c 100644
--- a/dev-util/ltrace/ltrace-0.7.3.6.1.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.3.6.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -27,11 +27,9 @@ DEPEND="${RDEPEND}
sys-libs/binutils-libs
test? ( dev-util/dejagnu )"
 
-# under musl tests need major work upstream, half of them does not work.
-RESTRICT="
-   !test? ( test )
-   elibc_musl? ( test )
-"
+# Effectively abandoned upstream. Extremely sensitive to the sandbox, versions
+# of core libraries, kernel security settings...
+RESTRICT="test"
 
 S=${WORKDIR}/${PN}-${LTRACE_V}
 



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/

2023-03-30 Thread Marek Szuba
commit: 0fde03d423ae67cad56484f0575922c8aa140f37
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Mar 30 22:08:33 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Mar 30 22:09:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fde03d4

dev-util/ltrace: add gitlab upstream metadata

Signed-off-by: Marek Szuba  gentoo.org>

 dev-util/ltrace/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-util/ltrace/metadata.xml b/dev-util/ltrace/metadata.xml
index 04f9919c858d..ca7a79566dae 100644
--- a/dev-util/ltrace/metadata.xml
+++ b/dev-util/ltrace/metadata.xml
@@ -5,6 +5,9 @@
mare...@gentoo.org
Marek Szuba

+   
+   cespedes/ltrace
+   

Use sys-libs/libunwind for frame 
unwinding support




[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/files/, dev-util/ltrace/

2023-03-30 Thread Marek Szuba
commit: 22056ad8a098f01b7604f91022b448cead417a10
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Mar 30 21:59:46 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Mar 30 22:09:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22056ad8

dev-util/ltrace: add 0.7.91_pre20221216

First attempt to move away from Debian tarballs and towards the somewhat
revived upstream. Unfortunately upstream has yet to release any versions
newer than 0.7.3 so we have to use a git snapshot for that. The suffix
_pre, with the date being that of the chosen commit, has been added
because the version number 0.7.91 got set in the repository almost a
decade ago and it is unknown at this point whether upstream intends to
increment it before the next release or not, assuming they ever make
one.

Tests are still restricted because even though they do not fail as badly
as 0.7.3 ones, all the reasons for having restricted them in the first
place remain valid.

Signed-off-by: Marek Szuba  gentoo.org>

 dev-util/ltrace/Manifest   |  1 +
 .../files/ltrace-0.7.91-debian-patchset-6.4.patch  | 77 ++
 dev-util/ltrace/files/ltrace-0.7.91-pid_t.patch| 10 +++
 .../files/ltrace-0.7.91-test-glibc-2.33.patch  | 11 
 .../ltrace/files/ltrace-0.7.91-tuple-tests.patch   | 11 
 dev-util/ltrace/ltrace-0.7.91_pre20221216.ebuild   | 59 +
 6 files changed, 169 insertions(+)

diff --git a/dev-util/ltrace/Manifest b/dev-util/ltrace/Manifest
index a3cf12b70cab..c1d8595eb775 100644
--- a/dev-util/ltrace/Manifest
+++ b/dev-util/ltrace/Manifest
@@ -1,2 +1,3 @@
+DIST ltrace-0.7.91_pre20221216.tar.bz2 288077 BLAKE2B 
cadc2ac551a96dfa95aee0d0eb251d8f41a8631350ba3be3f67d0cb10774a3db6abbd42481d24febdfcb0d565107e66b4de0056a85a7954bb050adb8e8fa5b4a
 SHA512 
993c247797551b4fbb202c04f9af08063c8641946825b17d1f32c4647c606ece803a6b049c4afa3046c798add161ab58f01d90106f3b6029a223af03bca27a99
 DIST ltrace_0.7.3-6.1.debian.tar.xz 11404 BLAKE2B 
d38ce51dfcbf809d7622029fb6dd0acd61c8d8213be0bf2625fd746adbe6dd6830faf208b7e864c1185013d7d5e17f3e10e8a8fb45f8e0a4bc9859fde96a55d7
 SHA512 
c0753935d74be530886ce5202429cabbbe73814c9ac120eaf90a1c4e03dfd4de5381e3e85a27fbbbce694b23cd72a273199575419446b6159b0925d85e1938ab
 DIST ltrace_0.7.3.orig.tar.bz2 482658 BLAKE2B 
30d1dbb178a41043e4bbbac17a23676db202b64327c9bb4393ae7ace9f5e1a1e2a5ded56cabc7faf2ea55b22ed17126a94c121147aeefb40250710b7307a50d3
 SHA512 
a842b16dcb81da869afa0bddc755fdff0d57b35672505bf2c7164fd983b1938d28b126714128930994cc1230ced69d779456d0cfc16f4008c9b6d19f0852285d

diff --git a/dev-util/ltrace/files/ltrace-0.7.91-debian-patchset-6.4.patch 
b/dev-util/ltrace/files/ltrace-0.7.91-debian-patchset-6.4.patch
new file mode 100644
index ..1f3bb5ec6a21
--- /dev/null
+++ b/dev-util/ltrace/files/ltrace-0.7.91-debian-patchset-6.4.patch
@@ -0,0 +1,77 @@
+Patches imported from the Debian patch set 6.4 for ltrace-0.7.3:
+ - 01-avoid-libstdc++ (adapted to account for the absence of configure),
+ - 03-alpha-debug.h
+ - 05-sparc-ftbfs
+ - 06-unexpected-breakpoint
+The other two have since been merged upstream.
+
+--- a/configure.ac
 b/configure.ac
+@@ -126,6 +126,15 @@
+   libstdcxx_LIBS=""])
+ AC_SUBST(libstdcxx_LIBS)
+ 
++if test "x$liberty_LIBS" != "x"
++then
++  libsupcxx_LIBS=""
++  libstdcxx_LIBS=""
++elif test "x$libsupcxx_LIBS" != "x"
++then
++  libstdcxx_LIBS=""
++fi
++
+ 
+ dnl Check security_get_boolean_active availability.
+ AC_CHECK_HEADERS(selinux/selinux.h)
+--- a/handle_event.c
 b/handle_event.c
+@@ -740,9 +740,12 @@
+ 
+   if ((sbp = address2bpstruct(leader, brk_addr)) != NULL)
+   breakpoint_on_hit(sbp, event->proc);
+-  else if (event->proc->state != STATE_IGNORED)
++  else if (event->proc->state != STATE_IGNORED) {
+   output_line(event->proc,
+   "unexpected breakpoint at %p", brk_addr);
++  continue_process(event->proc->pid);
++  return;
++  }
+ 
+   /* breakpoint_on_hit may delete its own breakpoint, so we have
+* to look it up again.  */
+--- a/sysdeps/linux-gnu/alpha/trace.c
 b/sysdeps/linux-gnu/alpha/trace.c
+@@ -29,7 +29,6 @@
+ 
+ #include "proc.h"
+ #include "common.h"
+-#include "debug.h"
+ 
+ #if (!defined(PTRACE_PEEKUSER) && defined(PTRACE_PEEKUSR))
+ # define PTRACE_PEEKUSER PTRACE_PEEKUSR
+--- a/sysdeps/linux-gnu/sparc/plt.c
 b/sysdeps/linux-gnu/sparc/plt.c
+@@ -19,8 +19,9 @@
+  */
+ 
+ #include 
++
+ #include "proc.h"
+-#include "common.h"
++#include "library.h"
+ 
+ GElf_Addr
+ arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela * rela) {
+--- a/sysdeps/linux-gnu/sparc/trace.c
 b/sysdeps/linux-gnu/sparc/trace.c
+@@ -26,8 +26,10 @@
+ #include 
+ #include 
+ #include 
++
+ #include "ptrace.h"
+ #include "proc.h"
++#include "backend.h"
+ #include "common.h"
+ 
+ void

diff --git a/dev-util/ltrace/files/ltrace-0.7.91-pid_t.patch 

[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/

2021-11-25 Thread Marek Szuba
commit: 73e9966727f208702ad3a666af451c810b3a4189
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Nov 25 18:11:50 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Nov 25 18:11:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73e99667

dev-util/ltrace: use an open range for choosing Debian package version

In case they either add the third component or go back to a single one.

Signed-off-by: Marek Szuba  gentoo.org>

 dev-util/ltrace/ltrace-0.7.3.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/ltrace/ltrace-0.7.3.6.1.ebuild 
b/dev-util/ltrace/ltrace-0.7.3.6.1.ebuild
index c2f093a5e3df..6e833e04a3cf 100644
--- a/dev-util/ltrace/ltrace-0.7.3.6.1.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.3.6.1.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 inherit autotools
 
 LTRACE_V=$(ver_cut 1-3)
-DB_V=$(ver_cut 4-5)
+DB_V=$(ver_cut 4-)
 
 DESCRIPTION="trace library calls made at runtime"
 HOMEPAGE="https://gitlab.com/cespedes/ltrace;



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/

2021-11-18 Thread Marek Szuba
commit: cbb633d06ca36795d134ea2d82a26190deb93304
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Nov 18 08:38:11 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Nov 18 08:39:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbb633d0

dev-util/ltrace: drop 0.7.3_p4-r1

Signed-off-by: Marek Szuba  gentoo.org>

 dev-util/ltrace/Manifest  |  1 -
 dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild | 80 ---
 2 files changed, 81 deletions(-)

diff --git a/dev-util/ltrace/Manifest b/dev-util/ltrace/Manifest
index d5af7e1c9ff5..a3cf12b70cab 100644
--- a/dev-util/ltrace/Manifest
+++ b/dev-util/ltrace/Manifest
@@ -1,3 +1,2 @@
-DIST ltrace_0.7.3-4.debian.tar.gz 11373 BLAKE2B 
3004bef4e0181e28606e1c50dcc2265d9869e51bf11288185da46f7a77a0aaffb41af75f84baa7d094f9f752071c9e8f53c565982a955e3250a7fc721c529b20
 SHA512 
67a868c95703ca9cd8407905e3be416e3a66920f41d9deb78fadb71719d7d3f1a3f67ffcb575acff4bf7e4715102f3a6b0f67c6adb74f37ee66c398c132ff04b
 DIST ltrace_0.7.3-6.1.debian.tar.xz 11404 BLAKE2B 
d38ce51dfcbf809d7622029fb6dd0acd61c8d8213be0bf2625fd746adbe6dd6830faf208b7e864c1185013d7d5e17f3e10e8a8fb45f8e0a4bc9859fde96a55d7
 SHA512 
c0753935d74be530886ce5202429cabbbe73814c9ac120eaf90a1c4e03dfd4de5381e3e85a27fbbbce694b23cd72a273199575419446b6159b0925d85e1938ab
 DIST ltrace_0.7.3.orig.tar.bz2 482658 BLAKE2B 
30d1dbb178a41043e4bbbac17a23676db202b64327c9bb4393ae7ace9f5e1a1e2a5ded56cabc7faf2ea55b22ed17126a94c121147aeefb40250710b7307a50d3
 SHA512 
a842b16dcb81da869afa0bddc755fdff0d57b35672505bf2c7164fd983b1938d28b126714128930994cc1230ced69d779456d0cfc16f4008c9b6d19f0852285d

diff --git a/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild 
b/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild
deleted file mode 100644
index 3b6aafcb34d6..
--- a/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit autotools
-
-LTRACE_V=${PV/_p*/}
-DB_V=${PV/*_p/}
-
-DESCRIPTION="trace library calls made at runtime"
-HOMEPAGE="https://gitlab.com/cespedes/ltrace;
-SRC_URI="
-   mirror://debian/pool/main/l/${PN}/${PN}_${LTRACE_V}.orig.tar.bz2
-   
mirror://debian/pool/main/l/${PN}/${PN}_${LTRACE_V}-${DB_V}.debian.tar.gz
-"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ppc ~ppc64 ~sparc x86"
-IUSE="debug selinux test unwind"
-
-RDEPEND="virtual/libelf:=
-   selinux? ( sys-libs/libselinux )
-   unwind? ( sys-libs/libunwind:= )"
-DEPEND="${RDEPEND}
-   sys-libs/binutils-libs
-   test? ( dev-util/dejagnu )"
-
-# under musl tests need major work upstream, half of them does not work.
-RESTRICT="
-   !test? ( test )
-   elibc_musl? ( test )
-"
-
-S=${WORKDIR}/${PN}-${LTRACE_V}
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-0.7.3-test-protos.patch #bug 421649
-   "${FILESDIR}"/${PN}-0.7.3-alpha-protos.patch
-   "${FILESDIR}"/${PN}-0.7.3-ia64.patch
-   "${FILESDIR}"/${PN}-0.7.3-print-test-pie.patch
-   "${FILESDIR}"/${PN}-0.7.3-ia64-pid_t.patch
-   "${FILESDIR}"/${PN}-0.7.3-musl-host.patch #713428
-   "${FILESDIR}"/${PN}-0.7.3-no-error.h.patch #713428
-   "${FILESDIR}"/${PN}-0.7.3-no-error.h-2.patch #713428
-   "${FILESDIR}"/${PN}-0.7.3-no-REG_NOERROR.patch #713428
-   "${FILESDIR}"/${PN}-0.7.3-pid_t.patch #713428
-   "${FILESDIR}"/${PN}-0.7.3-tuple-tests.patch
-   "${FILESDIR}"/${PN}-0.7.3-CXX-for-tests.patch
-   "${FILESDIR}"/${PN}-0.7.3-test-glibc-2.33.patch
-   "${FILESDIR}"/${PN}-0.7.3-disable-munmap-test.patch
-)
-
-src_prepare() {
-   eapply "${WORKDIR}"/debian/patches/[0-9]*
-
-   default
-
-   sed -i '/^dist_doc_DATA/d' Makefile.am || die
-   eautoreconf
-}
-
-src_configure() {
-   ac_cv_header_selinux_selinux_h=$(usex selinux) \
-   ac_cv_lib_selinux_security_get_boolean_active=$(usex selinux) \
-   econf \
-   --disable-werror \
-   $(use_enable debug) \
-   $(use_with unwind libunwind)
-}
-
-src_test() {
-   # On kernels with Yama enabled this will not run, even without sandbox,
-   # unless /proc/sys/kernel/yama/ptrace_scope == 0. Just don't bother.
-   # Note: we only delete it here in order to avoid Makefile.am patching.
-   rm -f testsuite/ltrace.minor/attach-process.exp
-   # sandbox redirects vfork() to fork(): bug # 774054
-   # Let's avoid sandbox entirely.
-   SANDBOX_ON=0 LD_PRELOAD= emake check
-}



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/

2021-11-17 Thread Sam James
commit: f2bc9829b8486591d76b9db64ccfca71eb0a362d
Author: Sam James  gentoo  org>
AuthorDate: Thu Nov 18 05:37:22 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Nov 18 05:37:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2bc9829

dev-util/ltrace: Stabilize 0.7.3.6.1 ppc, #808755

Signed-off-by: Sam James  gentoo.org>

 dev-util/ltrace/ltrace-0.7.3.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/ltrace/ltrace-0.7.3.6.1.ebuild 
b/dev-util/ltrace/ltrace-0.7.3.6.1.ebuild
index 157274e56a51..c2f093a5e3df 100644
--- a/dev-util/ltrace/ltrace-0.7.3.6.1.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.3.6.1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ppc ~ppc64 ~sparc x86"
 IUSE="debug selinux test unwind"
 
 RDEPEND="virtual/libelf:=



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/

2021-11-17 Thread Sam James
commit: 1765ea3f8fa5ebd92bf38f70c3472d2030675bce
Author: Sam James  gentoo  org>
AuthorDate: Wed Nov 17 22:46:32 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Nov 17 22:46:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1765ea3f

dev-util/ltrace: Stabilize 0.7.3.6.1 x86, #808755

Signed-off-by: Sam James  gentoo.org>

 dev-util/ltrace/ltrace-0.7.3.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/ltrace/ltrace-0.7.3.6.1.ebuild 
b/dev-util/ltrace/ltrace-0.7.3.6.1.ebuild
index df30b57313d9..157274e56a51 100644
--- a/dev-util/ltrace/ltrace-0.7.3.6.1.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.3.6.1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc x86"
 IUSE="debug selinux test unwind"
 
 RDEPEND="virtual/libelf:=



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/files/

2021-11-16 Thread Marek Szuba
commit: 539c1169bdb2becfd1a19c754727a04599a9c0a4
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Nov 16 18:53:02 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Nov 16 19:04:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=539c1169

dev-util/ltrace: fix ltrace-0.7.3-test-glibc-2.33.patch

According to glibc documentation, the syscall employed by the function
fstatat() is only called newfstatat() "on some architectures" (which
happens to include amd64); everywhere else it is called "fstatat64()".

Bug: https://bugs.gentoo.org/809890
Signed-off-by: Marek Szuba  gentoo.org>

 dev-util/ltrace/files/ltrace-0.7.3-test-glibc-2.33.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/ltrace/files/ltrace-0.7.3-test-glibc-2.33.patch 
b/dev-util/ltrace/files/ltrace-0.7.3-test-glibc-2.33.patch
index 137d6271c065..0b8592d82a1f 100644
--- a/dev-util/ltrace/files/ltrace-0.7.3-test-glibc-2.33.patch
+++ b/dev-util/ltrace/files/ltrace-0.7.3-test-glibc-2.33.patch
@@ -5,7 +5,7 @@
  set pattern "SYS_unlink"
  ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1
 -set pattern "SYS_(new)?stat"
-+set pattern "SYS_(new)?stat|SYS_newfstatat"
++set pattern "SYS_(new)?stat|SYS_fstatat64|SYS_newfstatat"
  ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1 egrep
  set pattern "SYS_access"
  ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/

2021-08-18 Thread Agostino Sarubbo
commit: 0b916e1e4818f1e126bc5f2ee936f3fc8fededcc
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Aug 18 12:45:50 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Aug 18 12:45:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b916e1e

dev-util/ltrace: amd64 stable wrt bug #808755

Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-util/ltrace/ltrace-0.7.3.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/ltrace/ltrace-0.7.3.6.1.ebuild 
b/dev-util/ltrace/ltrace-0.7.3.6.1.ebuild
index 9bb71a61718..df30b57313d 100644
--- a/dev-util/ltrace/ltrace-0.7.3.6.1.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.3.6.1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="debug selinux test unwind"
 
 RDEPEND="virtual/libelf:=



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/

2021-07-13 Thread Marek Szuba
commit: ea8a4b3bcf6a0a57f7cdb8e4d37ff62d099cb6a4
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Jul 13 10:57:54 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Jul 13 11:20:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea8a4b3b

dev-util/ltrace: skip the attach-process test

On modern kernels with the Yama security module enabled the default
ptrace behaviour is that a process must have a predefined relationship
with the inferior it wants to call ``PTRACE_ATTACH`` on, with two
additional modes restricting process tracing even more; for details see
[1]. As a result, unless Yama is explicitly reset to classic ptrace
permissions the ltrace attach-process test fails due to
insufficient permissions - regardless of the sandbox, or even when the
test suite is run manually with no involvement of a Gentoo package
manager.

We could in principle modify the test in question to be compatible with
restricted-ptrace mode, however it would still fail on systems with
Yama in admin-attach and no-attach mode. Between that and requiring the
user to reconfigure Yama prior to running this test being IMHO a Bad
Idea, just don't bother with this test at all.

[1] https://www.kernel.org/doc/html/latest/admin-guide/LSM/Yama.html

Closes: https://bugs.gentoo.org/729046
Signed-off-by: Marek Szuba  gentoo.org>

 dev-util/ltrace/ltrace-0.7.3.6.1.ebuild   | 4 
 dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild | 4 
 2 files changed, 8 insertions(+)

diff --git a/dev-util/ltrace/ltrace-0.7.3.6.1.ebuild 
b/dev-util/ltrace/ltrace-0.7.3.6.1.ebuild
index 9fd7b01b854..9bb71a61718 100644
--- a/dev-util/ltrace/ltrace-0.7.3.6.1.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.3.6.1.ebuild
@@ -71,6 +71,10 @@ src_configure() {
 }
 
 src_test() {
+   # On kernels with Yama enabled this will not run, even without sandbox,
+   # unless /proc/sys/kernel/yama/ptrace_scope == 0. Just don't bother.
+   # Note: we only delete it here in order to avoid Makefile.am patching.
+   rm -f testsuite/ltrace.minor/attach-process.exp
# sandbox redirects vfork() to fork(): bug # 774054
# Let's avoid sandbox entirely.
SANDBOX_ON=0 LD_PRELOAD= emake check

diff --git a/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild 
b/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild
index beb325aa49c..3b6aafcb34d 100644
--- a/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild
@@ -70,6 +70,10 @@ src_configure() {
 }
 
 src_test() {
+   # On kernels with Yama enabled this will not run, even without sandbox,
+   # unless /proc/sys/kernel/yama/ptrace_scope == 0. Just don't bother.
+   # Note: we only delete it here in order to avoid Makefile.am patching.
+   rm -f testsuite/ltrace.minor/attach-process.exp
# sandbox redirects vfork() to fork(): bug # 774054
# Let's avoid sandbox entirely.
SANDBOX_ON=0 LD_PRELOAD= emake check



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/

2021-07-05 Thread Sergei Trofimovich
commit: 8ff713209d5ed3615482837f79cd93882e828666
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Jul  5 08:12:59 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Jul  5 08:12:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ff71320

dev-util/ltrace: drop myself as a maintainer

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/ltrace/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/dev-util/ltrace/metadata.xml b/dev-util/ltrace/metadata.xml
index 6aab4e7e499..dc1393caf97 100644
--- a/dev-util/ltrace/metadata.xml
+++ b/dev-util/ltrace/metadata.xml
@@ -1,10 +1,6 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   sly...@gentoo.org
-   Sergei Trofimovich
-   

mare...@gentoo.org
Marek Szuba



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/

2021-07-02 Thread Marek Szuba
commit: 7e98b43f9cb33b3513010de9240d2b5f229fb8a9
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Jul  2 17:17:56 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Jul  2 18:31:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e98b43f

dev-util/ltrace: add 0.7.3.6.1

Debian now uses two-part version numbers for their changes in this
package, which is not allowed with _p in Gentoo - so just extend the
standard version number by two more parts, it's unlikely this will
conflict with the upstream scheme even if they even do release a new
version.

Signed-off-by: Marek Szuba  gentoo.org>

 dev-util/ltrace/Manifest|  1 +
 dev-util/ltrace/ltrace-0.7.3.6.1.ebuild | 77 +
 2 files changed, 78 insertions(+)

diff --git a/dev-util/ltrace/Manifest b/dev-util/ltrace/Manifest
index 7fc0116aba0..d5af7e1c9ff 100644
--- a/dev-util/ltrace/Manifest
+++ b/dev-util/ltrace/Manifest
@@ -1,2 +1,3 @@
 DIST ltrace_0.7.3-4.debian.tar.gz 11373 BLAKE2B 
3004bef4e0181e28606e1c50dcc2265d9869e51bf11288185da46f7a77a0aaffb41af75f84baa7d094f9f752071c9e8f53c565982a955e3250a7fc721c529b20
 SHA512 
67a868c95703ca9cd8407905e3be416e3a66920f41d9deb78fadb71719d7d3f1a3f67ffcb575acff4bf7e4715102f3a6b0f67c6adb74f37ee66c398c132ff04b
+DIST ltrace_0.7.3-6.1.debian.tar.xz 11404 BLAKE2B 
d38ce51dfcbf809d7622029fb6dd0acd61c8d8213be0bf2625fd746adbe6dd6830faf208b7e864c1185013d7d5e17f3e10e8a8fb45f8e0a4bc9859fde96a55d7
 SHA512 
c0753935d74be530886ce5202429cabbbe73814c9ac120eaf90a1c4e03dfd4de5381e3e85a27fbbbce694b23cd72a273199575419446b6159b0925d85e1938ab
 DIST ltrace_0.7.3.orig.tar.bz2 482658 BLAKE2B 
30d1dbb178a41043e4bbbac17a23676db202b64327c9bb4393ae7ace9f5e1a1e2a5ded56cabc7faf2ea55b22ed17126a94c121147aeefb40250710b7307a50d3
 SHA512 
a842b16dcb81da869afa0bddc755fdff0d57b35672505bf2c7164fd983b1938d28b126714128930994cc1230ced69d779456d0cfc16f4008c9b6d19f0852285d

diff --git a/dev-util/ltrace/ltrace-0.7.3.6.1.ebuild 
b/dev-util/ltrace/ltrace-0.7.3.6.1.ebuild
new file mode 100644
index 000..9fd7b01b854
--- /dev/null
+++ b/dev-util/ltrace/ltrace-0.7.3.6.1.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+LTRACE_V=$(ver_cut 1-3)
+DB_V=$(ver_cut 4-5)
+
+DESCRIPTION="trace library calls made at runtime"
+HOMEPAGE="https://gitlab.com/cespedes/ltrace;
+SRC_URI="
+   mirror://debian/pool/main/l/${PN}/${PN}_${LTRACE_V}.orig.tar.bz2
+   
mirror://debian/pool/main/l/${PN}/${PN}_${LTRACE_V}-${DB_V}.debian.tar.xz
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug selinux test unwind"
+
+RDEPEND="virtual/libelf:=
+   selinux? ( sys-libs/libselinux )
+   unwind? ( sys-libs/libunwind:= )"
+DEPEND="${RDEPEND}
+   sys-libs/binutils-libs
+   test? ( dev-util/dejagnu )"
+
+# under musl tests need major work upstream, half of them does not work.
+RESTRICT="
+   !test? ( test )
+   elibc_musl? ( test )
+"
+
+S=${WORKDIR}/${PN}-${LTRACE_V}
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.7.3-test-protos.patch #bug 421649
+   "${FILESDIR}"/${PN}-0.7.3-alpha-protos.patch
+   "${FILESDIR}"/${PN}-0.7.3-ia64.patch
+   "${FILESDIR}"/${PN}-0.7.3-print-test-pie.patch
+   "${FILESDIR}"/${PN}-0.7.3-ia64-pid_t.patch
+   "${FILESDIR}"/${PN}-0.7.3-musl-host.patch #713428
+   "${FILESDIR}"/${PN}-0.7.3-no-error.h.patch #713428
+   "${FILESDIR}"/${PN}-0.7.3-no-error.h-2.patch #713428
+   "${FILESDIR}"/${PN}-0.7.3-no-REG_NOERROR.patch #713428
+   "${FILESDIR}"/${PN}-0.7.3-pid_t.patch #713428
+   "${FILESDIR}"/${PN}-0.7.3-tuple-tests.patch
+   "${FILESDIR}"/${PN}-0.7.3-CXX-for-tests.patch
+   "${FILESDIR}"/${PN}-0.7.3-test-glibc-2.33.patch
+   "${FILESDIR}"/${PN}-0.7.3-disable-munmap-test.patch
+)
+
+src_prepare() {
+   eapply "${WORKDIR}"/debian/patches/[0-9]*
+
+   default
+
+   sed -i '/^dist_doc_DATA/d' Makefile.am || die
+   eautoreconf
+}
+
+src_configure() {
+   ac_cv_header_selinux_selinux_h=$(usex selinux) \
+   ac_cv_lib_selinux_security_get_boolean_active=$(usex selinux) \
+   econf \
+   --disable-werror \
+   $(use_enable debug) \
+   $(use_with unwind libunwind)
+}
+
+src_test() {
+   # sandbox redirects vfork() to fork(): bug # 774054
+   # Let's avoid sandbox entirely.
+   SANDBOX_ON=0 LD_PRELOAD= emake check
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/

2021-07-02 Thread Marek Szuba
commit: d389065421d9f6b8f6aedb2f71b0f8018e28b316
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Jul  2 09:18:15 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Jul  2 09:18:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3890654

dev-util/ltrace: add self as maintainer

Signed-off-by: Marek Szuba  gentoo.org>

 dev-util/ltrace/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-util/ltrace/metadata.xml b/dev-util/ltrace/metadata.xml
index e3ce665bb25..6aab4e7e499 100644
--- a/dev-util/ltrace/metadata.xml
+++ b/dev-util/ltrace/metadata.xml
@@ -5,6 +5,10 @@
sly...@gentoo.org
Sergei Trofimovich

+   
+   mare...@gentoo.org
+   Marek Szuba
+   

Use sys-libs/libunwind for frame 
unwinding support




[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/, dev-util/ltrace/files/

2021-03-10 Thread Sergei Trofimovich
commit: 88a7537e01bf74739ffe3f63a5e9a929646e3053
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu Mar 11 07:58:29 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Mar 11 07:58:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88a7537e

dev-util/ltrace: disable munmap test, disable sandbox

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich  gentoo.org>

 .../ltrace/files/ltrace-0.7.3-disable-munmap-test.patch   | 15 +++
 dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild |  7 +++
 2 files changed, 22 insertions(+)

diff --git a/dev-util/ltrace/files/ltrace-0.7.3-disable-munmap-test.patch 
b/dev-util/ltrace/files/ltrace-0.7.3-disable-munmap-test.patch
new file mode 100644
index 000..fdd7412efed
--- /dev/null
+++ b/dev-util/ltrace/files/ltrace-0.7.3-disable-munmap-test.patch
@@ -0,0 +1,15 @@
+--- a/testsuite/ltrace.main/system_calls.exp
 b/testsuite/ltrace.main/system_calls.exp
+@@ -29,8 +29,10 @@ if [regexp {ELF from incompatible architecture} 
$exec_output] {
+ }
+ 
+ 
+-set pattern "SYS_munmap"
+-ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 2
++## disabled in Gentoo: libc's stdio tends to call (or not to call) munmap
++## depending on heuristics of stdio buffer sizes.
++##set pattern "SYS_munmap"
++##ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 2
+ set pattern "SYS_write"
+ ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1
+ set pattern "SYS_unlink"

diff --git a/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild 
b/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild
index 8f9f97e7fb4..beb325aa49c 100644
--- a/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild
@@ -48,6 +48,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-0.7.3-tuple-tests.patch
"${FILESDIR}"/${PN}-0.7.3-CXX-for-tests.patch
"${FILESDIR}"/${PN}-0.7.3-test-glibc-2.33.patch
+   "${FILESDIR}"/${PN}-0.7.3-disable-munmap-test.patch
 )
 
 src_prepare() {
@@ -67,3 +68,9 @@ src_configure() {
$(use_enable debug) \
$(use_with unwind libunwind)
 }
+
+src_test() {
+   # sandbox redirects vfork() to fork(): bug # 774054
+   # Let's avoid sandbox entirely.
+   SANDBOX_ON=0 LD_PRELOAD= emake check
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/files/, dev-util/ltrace/

2021-02-06 Thread Sergei Trofimovich
commit: 0b563bfef8aa47ff6b9985a75fdb69ca5adece15
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Feb  6 12:42:23 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Feb  6 12:42:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b563bfe

dev-util/ltrace: tweak syscall test for glibc-2.33

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/ltrace/files/ltrace-0.7.3-test-glibc-2.33.patch | 11 +++
 dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild|  3 ++-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/dev-util/ltrace/files/ltrace-0.7.3-test-glibc-2.33.patch 
b/dev-util/ltrace/files/ltrace-0.7.3-test-glibc-2.33.patch
new file mode 100644
index 000..137d6271c06
--- /dev/null
+++ b/dev-util/ltrace/files/ltrace-0.7.3-test-glibc-2.33.patch
@@ -0,0 +1,11 @@
+--- a/testsuite/ltrace.main/system_calls.exp
 b/testsuite/ltrace.main/system_calls.exp
+@@ -55,7 +55,7 @@ set pattern "SYS_symlink"
+ ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1
+ set pattern "SYS_unlink"
+ ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1
+-set pattern "SYS_(new)?stat"
++set pattern "SYS_(new)?stat|SYS_newfstatat"
+ ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1 egrep
+ set pattern "SYS_access"
+ ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1

diff --git a/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild 
b/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild
index bf48fa668be..8f9f97e7fb4 100644
--- a/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -47,6 +47,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-0.7.3-pid_t.patch #713428
"${FILESDIR}"/${PN}-0.7.3-tuple-tests.patch
"${FILESDIR}"/${PN}-0.7.3-CXX-for-tests.patch
+   "${FILESDIR}"/${PN}-0.7.3-test-glibc-2.33.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/files/, dev-util/ltrace/

2020-06-21 Thread Sergei Trofimovich
commit: 6dc231526674a32456249629c524e45dc0da367b
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Jun 21 18:17:21 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jun 21 18:17:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dc23152

dev-util/ltrace: use ${CXX} instead of c++ for tests

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/ltrace/files/ltrace-0.7.3-CXX-for-tests.patch | 11 +++
 dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild  |  1 +
 2 files changed, 12 insertions(+)

diff --git a/dev-util/ltrace/files/ltrace-0.7.3-CXX-for-tests.patch 
b/dev-util/ltrace/files/ltrace-0.7.3-CXX-for-tests.patch
new file mode 100644
index 000..06db36c4681
--- /dev/null
+++ b/dev-util/ltrace/files/ltrace-0.7.3-CXX-for-tests.patch
@@ -0,0 +1,11 @@
+Testsuite uses CXX to trace mangled symbols.
+--- a/configure.ac
 b/configure.ac
+@@ -53,6 +53,7 @@ AC_SUBST(HOST_CPU)
+ 
+ # Checks for programs.
+ AC_PROG_CC
++AC_PROG_CXX
+ LT_INIT
+ # libtool-2:  LT_INIT()
+ AM_INIT_AUTOMAKE([foreign no-exeext dist-bzip2])

diff --git a/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild 
b/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild
index dce93623818..bf48fa668be 100644
--- a/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild
@@ -46,6 +46,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-0.7.3-no-REG_NOERROR.patch #713428
"${FILESDIR}"/${PN}-0.7.3-pid_t.patch #713428
"${FILESDIR}"/${PN}-0.7.3-tuple-tests.patch
+   "${FILESDIR}"/${PN}-0.7.3-CXX-for-tests.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/, dev-util/ltrace/files/

2020-06-21 Thread Sergei Trofimovich
commit: d15a204b616fbf9ab244dbc56f0dbd968adbad4e
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Jun 21 18:03:13 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jun 21 18:08:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d15a204b

dev-util/ltrace:use $CC in tests instead of gcc

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/ltrace/files/ltrace-0.7.3-tuple-tests.patch | 12 
 dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild|  1 +
 2 files changed, 13 insertions(+)

diff --git a/dev-util/ltrace/files/ltrace-0.7.3-tuple-tests.patch 
b/dev-util/ltrace/files/ltrace-0.7.3-tuple-tests.patch
new file mode 100644
index 000..9abeb28b488
--- /dev/null
+++ b/dev-util/ltrace/files/ltrace-0.7.3-tuple-tests.patch
@@ -0,0 +1,12 @@
+Use $CC instead of gcc in testsuite.
+--- a/testsuite/Makefile.am
 b/testsuite/Makefile.am
+@@ -39,6 +39,8 @@ env.exp: Makefile
+   rm -f env.exp
+   echo set libelf_LD_LIBRARY_PATH '"$(libelf_LD_LIBRARY_PATH)"' >> $@
+   echo set libunwind_LD_LIBRARY_PATH '"$(libunwind_LD_LIBRARY_PATH)"' >> 
$@
++  echo set CC_FOR_TARGET '"$(CC)"' >> $@
++  echo set CXX_FOR_TARGET '"$(CXX)"' >> $@
+ 
+ CLEANFILES = *.o *.so *.log *.sum *.ltrace site.bak setval.tmp site.exp 
env.exp
+ 

diff --git a/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild 
b/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild
index 0f327a431cd..dce93623818 100644
--- a/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild
@@ -45,6 +45,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-0.7.3-no-error.h-2.patch #713428
"${FILESDIR}"/${PN}-0.7.3-no-REG_NOERROR.patch #713428
"${FILESDIR}"/${PN}-0.7.3-pid_t.patch #713428
+   "${FILESDIR}"/${PN}-0.7.3-tuple-tests.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/

2020-06-20 Thread Sergei Trofimovich
commit: 20b30b6cb4bd6105b39b56e4d10a47b3eb8535b8
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Jun 20 19:44:16 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Jun 20 19:49:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20b30b6c

dev-util/ltrace: drop old

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/ltrace/ltrace-0.7.3_p4.ebuild | 57 --
 1 file changed, 57 deletions(-)

diff --git a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild 
b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
deleted file mode 100644
index 2f15597a064..000
--- a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit autotools
-
-LTRACE_V=${PV/_p*/}
-DB_V=${PV/*_p/}
-
-DESCRIPTION="trace library calls made at runtime"
-HOMEPAGE="https://gitlab.com/cespedes/ltrace;
-SRC_URI="
-   mirror://debian/pool/main/l/${PN}/${PN}_${LTRACE_V}.orig.tar.bz2
-   
mirror://debian/pool/main/l/${PN}/${PN}_${LTRACE_V}-${DB_V}.debian.tar.gz
-"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ppc ~ppc64 ~sparc x86"
-IUSE="debug selinux test unwind"
-
-RDEPEND="dev-libs/elfutils
-   selinux? ( sys-libs/libselinux )
-   unwind? ( sys-libs/libunwind )"
-DEPEND="${RDEPEND}
-   sys-libs/binutils-libs
-   test? ( dev-util/dejagnu )"
-
-RESTRICT="!test? ( test )"
-
-S=${WORKDIR}/${PN}-${LTRACE_V}
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-0.7.3-test-protos.patch #bug 421649
-   "${FILESDIR}"/${PN}-0.7.3-alpha-protos.patch
-   "${FILESDIR}"/${PN}-0.7.3-ia64.patch
-   "${FILESDIR}"/${PN}-0.7.3-print-test-pie.patch
-   "${FILESDIR}"/${PN}-0.7.3-ia64-pid_t.patch
-)
-
-src_prepare() {
-   eapply "${WORKDIR}"/debian/patches/[0-9]*
-
-   default
-
-   sed -i '/^dist_doc_DATA/d' Makefile.am || die
-   eautoreconf
-}
-
-src_configure() {
-   ac_cv_header_selinux_selinux_h=$(usex selinux) \
-   ac_cv_lib_selinux_security_get_boolean_active=$(usex selinux) \
-   econf \
-   --disable-werror \
-   $(use_enable debug) \
-   $(use_with unwind libunwind)
-}



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/

2020-06-15 Thread Agostino Sarubbo
commit: 60ff85e3b5e9595ca898d9e97db1d259178efeed
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Jun 15 15:14:38 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Jun 15 15:14:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60ff85e3

dev-util/ltrace: x86 stable wrt bug #728276

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild 
b/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild
index 9227953757a..0f327a431cd 100644
--- a/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ppc ~ppc64 ~sparc x86"
 IUSE="debug selinux test unwind"
 
 RDEPEND="virtual/libelf:=



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/

2020-06-15 Thread Agostino Sarubbo
commit: 69e4c7f63ddde96aff4d8ea0257d77b0d7e5e314
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Jun 15 15:06:38 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Jun 15 15:06:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69e4c7f6

dev-util/ltrace: ppc stable wrt bug #728276

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild 
b/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild
index 87964438021..9227953757a 100644
--- a/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ppc ~ppc64 ~sparc ~x86"
 IUSE="debug selinux test unwind"
 
 RDEPEND="virtual/libelf:=



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/

2020-06-15 Thread Agostino Sarubbo
commit: 89697645f67377ab1634b3ce01ff25495d92c451
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Jun 15 14:56:45 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Jun 15 14:56:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89697645

dev-util/ltrace: amd64 stable wrt bug #728276

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild 
b/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild
index 8ca6b5a1233..87964438021 100644
--- a/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="debug selinux test unwind"
 
 RDEPEND="virtual/libelf:=



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/, dev-util/ltrace/files/

2020-03-20 Thread Sergei Trofimovich
commit: d3d153b6dd2be45da02ae2d547894c0849b6a6bf
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Mar 20 08:05:51 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Mar 20 08:06:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3d153b6

dev-util/ltrace: tweak for musl, bug #713428

Reported-by: Toralf Förster
Closes: https://bugs.gentoo.org/713428
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/ltrace/files/ltrace-0.7.3-musl-host.patch | 11 
 .../ltrace/files/ltrace-0.7.3-no-REG_NOERROR.patch | 50 +++
 .../ltrace/files/ltrace-0.7.3-no-error.h-2.patch   | 72 ++
 .../ltrace/files/ltrace-0.7.3-no-error.h.patch | 36 +++
 dev-util/ltrace/files/ltrace-0.7.3-pid_t.patch | 10 +++
 dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild  | 66 
 6 files changed, 245 insertions(+)

diff --git a/dev-util/ltrace/files/ltrace-0.7.3-musl-host.patch 
b/dev-util/ltrace/files/ltrace-0.7.3-musl-host.patch
new file mode 100644
index 000..7729449d060
--- /dev/null
+++ b/dev-util/ltrace/files/ltrace-0.7.3-musl-host.patch
@@ -0,0 +1,11 @@
+https://bugs.gentoo.org/713428
+--- a/configure.ac
 b/configure.ac
+@@ -33,6 +33,7 @@ AC_CANONICAL_HOST
+ 
+ case "${host_os}" in
+ linux-gnu*) HOST_OS="linux-gnu" ;;
++linux-musl*) HOST_OS="linux-gnu" ;;
+ linux-uclibc*) HOST_OS="linux-gnu" ;;
+ *)AC_MSG_ERROR([unkown host-os ${host_os}]) ;;
+ esac

diff --git a/dev-util/ltrace/files/ltrace-0.7.3-no-REG_NOERROR.patch 
b/dev-util/ltrace/files/ltrace-0.7.3-no-REG_NOERROR.patch
new file mode 100644
index 000..7fc8b60aa48
--- /dev/null
+++ b/dev-util/ltrace/files/ltrace-0.7.3-no-REG_NOERROR.patch
@@ -0,0 +1,50 @@
+From b6c5c8c51f954cfbe76424fd57c33a87166f0545 Mon Sep 17 00:00:00 2001
+From: Petr Machata 
+Date: Sat, 8 Dec 2012 03:23:39 +0100
+Subject: [PATCH] Avoid using REG_NOERROR
+
+Not all systems define this (IRIX 6.5 doesn't).  Comparing to 0 is not
+terribly less readable, so do that instead.
+---
+ glob.c| 4 ++--
+ options.c | 2 +-
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/glob.c b/glob.c
+index 9af633f..b26637f 100644
+--- a/glob.c
 b/glob.c
+@@ -180,7 +180,7 @@ glob_to_regex(const char *glob, char **retp)
+   goto fail;
+   }
+   *retp = buf;
+-  return REG_NOERROR;
++  return 0;
+ }
+ 
+ int
+@@ -188,7 +188,7 @@ globcomp(regex_t *preg, const char *glob, int cflags)
+ {
+   char *regex = NULL;
+   int status = glob_to_regex(glob, );
+-  if (status != REG_NOERROR)
++  if (status != 0)
+   return status;
+   assert(regex != NULL);
+   status = regcomp(preg, regex, cflags);
+diff --git a/options.c b/options.c
+index e8fd2a2..4c7441e 100644
+--- a/options.c
 b/options.c
+@@ -204,7 +204,7 @@ compile_libname(const char *expr, const char *a_lib, int 
lib_re_p,
+ 
+   regex_t lib_re;
+   int status = (lib_re_p ? regcomp : globcomp)(_re, lib, 0);
+-  if (status != REG_NOERROR) {
++  if (status != 0) {
+   char buf[100];
+   regerror(status, _re, buf, sizeof buf);
+   fprintf(stderr, "Rule near '%s' will be ignored: %s.\n",
+-- 
+2.25.2
+

diff --git a/dev-util/ltrace/files/ltrace-0.7.3-no-error.h-2.patch 
b/dev-util/ltrace/files/ltrace-0.7.3-no-error.h-2.patch
new file mode 100644
index 000..6b798b27490
--- /dev/null
+++ b/dev-util/ltrace/files/ltrace-0.7.3-no-error.h-2.patch
@@ -0,0 +1,72 @@
+From 1233b37167097dffa9a78bd7bd0a8117c75fe8ff Mon Sep 17 00:00:00 2001
+From: Petr Machata 
+Date: Sat, 8 Dec 2012 03:13:29 +0100
+Subject: [PATCH] expr_node_zero and expr_self should be stack-allocated
+
+---
+ expr.c | 14 ++
+ zero.c | 14 ++
+ 2 files changed, 12 insertions(+), 16 deletions(-)
+
+--- a/expr.c
 b/expr.c
+@@ -21,7 +21,6 @@
+ #include 
+ #include 
+ #include 
+-#include 
+ #include 
+ 
+ #include "expr.h"
+@@ -327,12 +326,11 @@ expr_eval_constant(struct expr_node *node, long *valuep)
+ struct expr_node *
+ expr_self(void)
+ {
+-  static struct expr_node *node = NULL;
+-  if (node == NULL) {
+-  node = malloc(sizeof(*node));
+-  if (node == NULL)
+-  error(1, errno, "malloc expr_self");
+-  expr_init_self(node);
++  static struct expr_node *nodep = NULL;
++  if (nodep == NULL) {
++  static struct expr_node node;
++  expr_init_self();
++  nodep = 
+   }
+-  return node;
++  return nodep;
+ }
+--- a/zero.c
 b/zero.c
+@@ -18,7 +18,6 @@
+  * 02110-1301 USA
+  */
+ 
+-#include 
+ #include 
+ 
+ #include "zero.h"
+@@ -93,13 +92,12 @@ build_zero_w_arg(struct expr_node *expr, int own)
+ struct expr_node *
+ expr_node_zero(void)
+ {
+-  

[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/, dev-util/ltrace/files/

2019-11-10 Thread Sergei Trofimovich
commit: a35e6bc22c84fdc91e392ca942a743025af67788
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Nov  9 21:03:16 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Nov  9 21:03:25 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a35e6bc2

dev-util/ltrace: add RESTRICT="!test? ( test )", bump to EAPI=7

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich  gentoo.org>

 .../ltrace/files/ltrace-0.7.3-alpha-protos.patch   | 10 -
 dev-util/ltrace/ltrace-0.7.3_p4.ebuild | 24 ++
 2 files changed, 20 insertions(+), 14 deletions(-)

diff --git a/dev-util/ltrace/files/ltrace-0.7.3-alpha-protos.patch 
b/dev-util/ltrace/files/ltrace-0.7.3-alpha-protos.patch
index 659952bdf14..7ff57327296 100644
--- a/dev-util/ltrace/files/ltrace-0.7.3-alpha-protos.patch
+++ b/dev-util/ltrace/files/ltrace-0.7.3-alpha-protos.patch
@@ -2,13 +2,11 @@ Fix build failure on alpha:
   plt.c:32:12: error: dereferencing pointer to incomplete type ‘struct 
library_symbol’
 return sym->enter_addr;
 ^
-diff -U0 -raN ltrace-0.7.3/sysdeps/linux-gnu/alpha/plt.c 
ltrace-0.7.3/sysdeps/linux-gnu/alpha/plt.c
 ltrace-0.7.3_p4/work/ltrace-0.7.3/sysdeps/linux-gnu/alpha/plt.c 
2012-11-10 13:43:55.0 +0100
-+++ foo/work/ltrace-0.7.3/sysdeps/linux-gnu/alpha/plt.c 2016-06-27 
23:21:28.0 +0200
+--- a/sysdeps/linux-gnu/alpha/plt.c 2012-11-10 13:43:55.0 +0100
 b/sysdeps/linux-gnu/alpha/plt.c 2016-06-27 23:21:28.0 +0200
 @@ -23,0 +24 @@
 +#include "library.h"
-diff -U0 -raN ltrace-0.7.3/sysdeps/linux-gnu/alpha/trace.c 
ltrace-0.7.3/sysdeps/linux-gnu/alpha/trace.c
 ltrace-0.7.3_p4/work/ltrace-0.7.3/sysdeps/linux-gnu/alpha/trace.c   
2016-06-27 23:30:08.0 +0200
-+++ foo/work/ltrace-0.7.3/sysdeps/linux-gnu/alpha/trace.c   2016-06-27 
23:25:20.0 +0200
+--- a/sysdeps/linux-gnu/alpha/trace.c   2016-06-27 23:30:08.0 +0200
 b/sysdeps/linux-gnu/alpha/trace.c   2016-06-27 23:25:20.0 +0200
 @@ -29,0 +30 @@
 +#include "backend.h"

diff --git a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild 
b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
index abe4ea0c259..2f15597a064 100644
--- a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
@@ -1,8 +1,8 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit autotools eutils
+EAPI=7
+inherit autotools
 
 LTRACE_V=${PV/_p*/}
 DB_V=${PV/*_p/}
@@ -26,15 +26,23 @@ DEPEND="${RDEPEND}
sys-libs/binutils-libs
test? ( dev-util/dejagnu )"
 
+RESTRICT="!test? ( test )"
+
 S=${WORKDIR}/${PN}-${LTRACE_V}
 
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.7.3-test-protos.patch #bug 421649
+   "${FILESDIR}"/${PN}-0.7.3-alpha-protos.patch
+   "${FILESDIR}"/${PN}-0.7.3-ia64.patch
+   "${FILESDIR}"/${PN}-0.7.3-print-test-pie.patch
+   "${FILESDIR}"/${PN}-0.7.3-ia64-pid_t.patch
+)
+
 src_prepare() {
-   epatch "${WORKDIR}"/debian/patches/[0-9]*
-   epatch "${FILESDIR}"/${PN}-0.7.3-test-protos.patch #bug 421649
-   epatch "${FILESDIR}"/${PN}-0.7.3-alpha-protos.patch
-   epatch "${FILESDIR}"/${PN}-0.7.3-ia64.patch
-   epatch "${FILESDIR}"/${PN}-0.7.3-print-test-pie.patch
-   epatch "${FILESDIR}"/${PN}-0.7.3-ia64-pid_t.patch
+   eapply "${WORKDIR}"/debian/patches/[0-9]*
+
+   default
+
sed -i '/^dist_doc_DATA/d' Makefile.am || die
eautoreconf
 }



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/

2019-10-29 Thread Sergei Trofimovich
commit: ffbafd0c863945293e947f09edd1d563cf911404
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Tue Oct 29 20:00:50 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Oct 29 20:01:00 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffbafd0c

dev-util/ltrace: update HOMEPAGE

Reported-by: Wim Muskee
Closes: https://bugs.gentoo.org/698826
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/ltrace/ltrace-0.7.3_p4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild 
b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
index c17e3402f37..abe4ea0c259 100644
--- a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
@@ -8,7 +8,7 @@ LTRACE_V=${PV/_p*/}
 DB_V=${PV/*_p/}
 
 DESCRIPTION="trace library calls made at runtime"
-HOMEPAGE="https://www.ltrace.org/;
+HOMEPAGE="https://gitlab.com/cespedes/ltrace;
 SRC_URI="
mirror://debian/pool/main/l/${PN}/${PN}_${LTRACE_V}.orig.tar.bz2

mirror://debian/pool/main/l/${PN}/${PN}_${LTRACE_V}-${DB_V}.debian.tar.gz



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/

2019-10-29 Thread Sergei Trofimovich
commit: d12ddac5d2fcfcaf4094afad034fa1d11106b752
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Tue Oct 29 19:55:31 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Oct 29 20:01:00 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d12ddac5

dev-util/ltrace: drop old

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/ltrace/Manifest|  2 --
 dev-util/ltrace/ltrace-0.7.2.ebuild | 37 -
 dev-util/ltrace/ltrace-0.7.3.ebuild | 37 -
 3 files changed, 76 deletions(-)

diff --git a/dev-util/ltrace/Manifest b/dev-util/ltrace/Manifest
index 60bc0c04811..7fc0116aba0 100644
--- a/dev-util/ltrace/Manifest
+++ b/dev-util/ltrace/Manifest
@@ -1,4 +1,2 @@
-DIST ltrace-0.7.2.tar.bz2 483806 BLAKE2B 
4d635385c1a2ab24ee52c205fd1dfcdab8addc1121cb0d1adb5c4091d87bfdf3687e930246481fb4ff6de0fd787527b1b9dd66054f18619c4878eed6048da8a4
 SHA512 
ec86f08d0c18579ff05f8be23ef3c7309c76c647a0d952fbc627e8095b6ce52b2552e152dc0ec9c6098039c2d50d549a1d218f56a13f75f28bc7b03eb39e94e0
-DIST ltrace-0.7.3.tar.bz2 482658 BLAKE2B 
30d1dbb178a41043e4bbbac17a23676db202b64327c9bb4393ae7ace9f5e1a1e2a5ded56cabc7faf2ea55b22ed17126a94c121147aeefb40250710b7307a50d3
 SHA512 
a842b16dcb81da869afa0bddc755fdff0d57b35672505bf2c7164fd983b1938d28b126714128930994cc1230ced69d779456d0cfc16f4008c9b6d19f0852285d
 DIST ltrace_0.7.3-4.debian.tar.gz 11373 BLAKE2B 
3004bef4e0181e28606e1c50dcc2265d9869e51bf11288185da46f7a77a0aaffb41af75f84baa7d094f9f752071c9e8f53c565982a955e3250a7fc721c529b20
 SHA512 
67a868c95703ca9cd8407905e3be416e3a66920f41d9deb78fadb71719d7d3f1a3f67ffcb575acff4bf7e4715102f3a6b0f67c6adb74f37ee66c398c132ff04b
 DIST ltrace_0.7.3.orig.tar.bz2 482658 BLAKE2B 
30d1dbb178a41043e4bbbac17a23676db202b64327c9bb4393ae7ace9f5e1a1e2a5ded56cabc7faf2ea55b22ed17126a94c121147aeefb40250710b7307a50d3
 SHA512 
a842b16dcb81da869afa0bddc755fdff0d57b35672505bf2c7164fd983b1938d28b126714128930994cc1230ced69d779456d0cfc16f4008c9b6d19f0852285d

diff --git a/dev-util/ltrace/ltrace-0.7.2.ebuild 
b/dev-util/ltrace/ltrace-0.7.2.ebuild
deleted file mode 100644
index 0b9d0854b68..000
--- a/dev-util/ltrace/ltrace-0.7.2.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils autotools
-
-NUM="3848"
-
-DESCRIPTION="trace library calls made at runtime"
-HOMEPAGE="https://www.ltrace.org/;
-SRC_URI="https://alioth.debian.org/frs/download.php/${NUM}/${P}.tar.bz2;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-alpha amd64 ~arm ~ia64 ~mips ppc ~ppc64 x86"
-IUSE="debug selinux test unwind"
-
-RDEPEND="dev-libs/elfutils
-   selinux? ( sys-libs/libselinux )
-   unwind? ( sys-libs/libunwind )"
-DEPEND="${RDEPEND}
-   test? ( dev-util/dejagnu )"
-
-src_prepare() {
-   sed -i '/^dist_doc_DATA/d' Makefile.am || die
-   eautoreconf
-}
-
-src_configure() {
-   ac_cv_header_selinux_selinux_h=$(usex selinux) \
-   ac_cv_lib_selinux_security_get_boolean_active=$(usex selinux) \
-   econf \
-   --disable-werror \
-   $(use_enable debug) \
-   $(use_with unwind libunwind)
-}

diff --git a/dev-util/ltrace/ltrace-0.7.3.ebuild 
b/dev-util/ltrace/ltrace-0.7.3.ebuild
deleted file mode 100644
index 7b48efa94cd..000
--- a/dev-util/ltrace/ltrace-0.7.3.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils autotools
-
-NUM="3947"
-
-DESCRIPTION="trace library calls made at runtime"
-HOMEPAGE="https://www.ltrace.org/;
-SRC_URI="https://alioth.debian.org/frs/download.php/file/${NUM}/${P}.tar.bz2;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~x86"
-IUSE="debug selinux test unwind"
-
-RDEPEND="dev-libs/elfutils
-   selinux? ( sys-libs/libselinux )
-   unwind? ( sys-libs/libunwind )"
-DEPEND="${RDEPEND}
-   test? ( dev-util/dejagnu )"
-
-src_prepare() {
-   sed -i '/^dist_doc_DATA/d' Makefile.am || die
-   eautoreconf
-}
-
-src_configure() {
-   ac_cv_header_selinux_selinux_h=$(usex selinux) \
-   ac_cv_lib_selinux_security_get_boolean_active=$(usex selinux) \
-   econf \
-   --disable-werror \
-   $(use_enable debug) \
-   $(use_with unwind libunwind)
-}



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/files/, dev-util/ltrace/

2019-03-18 Thread Sergei Trofimovich
commit: 58a5c384e23090d3f0cf85370ce0409c4c387081
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Mar 18 09:18:11 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Mar 18 09:18:36 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58a5c384

dev-util/ltrace: fix build on ia64

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/ltrace/files/ltrace-0.7.3-ia64-pid_t.patch | 6 ++
 dev-util/ltrace/ltrace-0.7.3_p4.ebuild  | 3 ++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/dev-util/ltrace/files/ltrace-0.7.3-ia64-pid_t.patch 
b/dev-util/ltrace/files/ltrace-0.7.3-ia64-pid_t.patch
new file mode 100644
index 000..c466ce17e02
--- /dev/null
+++ b/dev-util/ltrace/files/ltrace-0.7.3-ia64-pid_t.patch
@@ -0,0 +1,6 @@
+--- a/sysdeps/linux-gnu/ia64/breakpoint.c
 b/sysdeps/linux-gnu/ia64/breakpoint.c
+@@ -26,2 +26,3 @@
+ #include 
++#include  /* pid_t */
+ #include 

diff --git a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild 
b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
index fd5f6d7ae50..c17e3402f37 100644
--- a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -34,6 +34,7 @@ src_prepare() {
epatch "${FILESDIR}"/${PN}-0.7.3-alpha-protos.patch
epatch "${FILESDIR}"/${PN}-0.7.3-ia64.patch
epatch "${FILESDIR}"/${PN}-0.7.3-print-test-pie.patch
+   epatch "${FILESDIR}"/${PN}-0.7.3-ia64-pid_t.patch
sed -i '/^dist_doc_DATA/d' Makefile.am || die
eautoreconf
 }



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/

2018-10-26 Thread Sergei Trofimovich
commit: 38aafee477a1db00e18b0b7894c41539b78e8121
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Oct 26 19:59:03 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Oct 26 20:19:21 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38aafee4

dev-util/ltrace: stable 0.7.3_p4 for ppc, bug #667608

Signed-off-by: Sergei Trofimovich  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="ppc"

 dev-util/ltrace/ltrace-0.7.3_p4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild 
b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
index 0b12f5bc4cd..fd5f6d7ae50 100644
--- a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ppc ~ppc64 ~sparc x86"
 IUSE="debug selinux test unwind"
 
 RDEPEND="dev-libs/elfutils



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/

2018-10-20 Thread Mikle Kolyada
commit: 87e2b4d9ff48c958af9ce9639b386b198e0b5f8d
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Oct 20 17:56:18 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Oct 20 17:56:18 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87e2b4d9

dev-util/ltrace: amd64 stable wrt bug #667608

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 dev-util/ltrace/ltrace-0.7.3_p4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild 
b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
index f7d710ca9c6..0b12f5bc4cd 100644
--- a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc x86"
 IUSE="debug selinux test unwind"
 
 RDEPEND="dev-libs/elfutils



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/

2018-10-18 Thread Thomas Deutschmann
commit: 07b5e9f9571a59addbabdfdc9a09966eb6147ff1
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Oct 18 11:26:20 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Oct 18 11:26:20 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07b5e9f9

dev-util/ltrace: x86 stable (bug #667608)

Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-util/ltrace/ltrace-0.7.3_p4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild 
b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
index 158e5871be7..f7d710ca9c6 100644
--- a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc x86"
 IUSE="debug selinux test unwind"
 
 RDEPEND="dev-libs/elfutils



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/, dev-util/ltrace/files/

2018-10-04 Thread Sergei Trofimovich
commit: f1e6f1643f65825fbb71126a9aa58050adb9df27
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu Oct  4 23:15:59 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Oct  4 23:15:59 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1e6f164

dev-util/ltrace: fix print-instruction-pointer test

print-instruction-pointer occasionally fails when
kernel loads test at address that does not match
last 4 digits of 'objdump' output.

On x86_64 page size is 4096 bytes (0x1000). This gives
only 3 digits of stable address.

The change picks last 3 digits from objdump address.

Signed-off-by: Sergei Trofimovich  gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

 dev-util/ltrace/files/ltrace-0.7.3-print-test-pie.patch | 15 +++
 dev-util/ltrace/ltrace-0.7.3_p4.ebuild  |  3 ++-
 2 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/dev-util/ltrace/files/ltrace-0.7.3-print-test-pie.patch 
b/dev-util/ltrace/files/ltrace-0.7.3-print-test-pie.patch
new file mode 100644
index 000..5e46135add3
--- /dev/null
+++ b/dev-util/ltrace/files/ltrace-0.7.3-print-test-pie.patch
@@ -0,0 +1,15 @@
+--- a/testsuite/ltrace.minor/print-instruction-pointer.exp
 b/testsuite/ltrace.minor/print-instruction-pointer.exp
+@@ -32,6 +32,12 @@ catch "exec sh -c {objdump -d $objdir/$subdir/$binfile | 
sed -n '/^\[0-9a-fA-F\]
+ catch "exec sh -c {echo \"$output\" | sed -n '2p'| awk -F' ' '{print 
\$1}'|awk -F: '{print \$1}'}" addr1
+ catch "exec sh -c {echo \"$output\" | sed -n '5p'| awk -F' ' '{print 
\$1}'|awk -F: '{print \$1}'}" addr2
+ 
++# Pick at most last 3 digits:
++# PIE binaries randomize address on page level.
++# Let's assume page size is no bigger than 4096 (3 hex digits)
++set addr1 [string range $addr1 3 end]
++set addr2 [string range $addr2 3 end]
++
+ verbose "addr1 = $addr1"
+ verbose "addr2 = $addr2"
+ # Verify the output by checking numbers of print in main.ltrace.

diff --git a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild 
b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
index b8d3442e1c1..158e5871be7 100644
--- a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -33,6 +33,7 @@ src_prepare() {
epatch "${FILESDIR}"/${PN}-0.7.3-test-protos.patch #bug 421649
epatch "${FILESDIR}"/${PN}-0.7.3-alpha-protos.patch
epatch "${FILESDIR}"/${PN}-0.7.3-ia64.patch
+   epatch "${FILESDIR}"/${PN}-0.7.3-print-test-pie.patch
sed -i '/^dist_doc_DATA/d' Makefile.am || die
eautoreconf
 }



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/

2018-07-13 Thread Sergei Trofimovich
commit: 223b58b68276e7dc2394ad1f5840e1178bc73872
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Jul 13 19:30:24 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Jul 13 19:30:35 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=223b58b6

dev-util/ltrace: set HOMETAGE to https://www.ltrace.org/

domhnall noticed old homepage is not working after alioth turndown
and proposed https://www.ltrace.org/. Looks good!

Reported-by: domhnall
Package-Manager: Portage-2.3.42, Repoman-2.3.9

 dev-util/ltrace/ltrace-0.7.2.ebuild| 4 ++--
 dev-util/ltrace/ltrace-0.7.3.ebuild| 4 ++--
 dev-util/ltrace/ltrace-0.7.3_p4.ebuild | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dev-util/ltrace/ltrace-0.7.2.ebuild 
b/dev-util/ltrace/ltrace-0.7.2.ebuild
index d48cad4075c..0b9d0854b68 100644
--- a/dev-util/ltrace/ltrace-0.7.2.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -8,7 +8,7 @@ inherit eutils autotools
 NUM="3848"
 
 DESCRIPTION="trace library calls made at runtime"
-HOMEPAGE="http://ltrace.alioth.debian.org/;
+HOMEPAGE="https://www.ltrace.org/;
 SRC_URI="https://alioth.debian.org/frs/download.php/${NUM}/${P}.tar.bz2;
 
 LICENSE="GPL-2"

diff --git a/dev-util/ltrace/ltrace-0.7.3.ebuild 
b/dev-util/ltrace/ltrace-0.7.3.ebuild
index 39885943783..7b48efa94cd 100644
--- a/dev-util/ltrace/ltrace-0.7.3.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -8,7 +8,7 @@ inherit eutils autotools
 NUM="3947"
 
 DESCRIPTION="trace library calls made at runtime"
-HOMEPAGE="http://ltrace.alioth.debian.org/;
+HOMEPAGE="https://www.ltrace.org/;
 SRC_URI="https://alioth.debian.org/frs/download.php/file/${NUM}/${P}.tar.bz2;
 
 LICENSE="GPL-2"

diff --git a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild 
b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
index a818ab97085..b8d3442e1c1 100644
--- a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -8,7 +8,7 @@ LTRACE_V=${PV/_p*/}
 DB_V=${PV/*_p/}
 
 DESCRIPTION="trace library calls made at runtime"
-HOMEPAGE="http://ltrace.alioth.debian.org/;
+HOMEPAGE="https://www.ltrace.org/;
 SRC_URI="
mirror://debian/pool/main/l/${PN}/${PN}_${LTRACE_V}.orig.tar.bz2

mirror://debian/pool/main/l/${PN}/${PN}_${LTRACE_V}-${DB_V}.debian.tar.gz



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/files/

2017-10-17 Thread Sergei Trofimovich
commit: a9553401ba31f62f1ded701fe2c0fc19f8608fcf
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Thu Sep 28 18:32:36 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Oct 17 17:52:06 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9553401

dev-util/ltrace: remove unused patches

Closes: https://github.com/gentoo/gentoo/pull/5817

 dev-util/ltrace/files/0.4-parallel-make.patch| 11 ---
 dev-util/ltrace/files/ltrace-0.5.3-cross.patch   | 20 
 dev-util/ltrace/files/ltrace-0.5.3-ppc.patch | 10 --
 .../files/ltrace-0.5.3.1-gcc43-testsuite.patch   |  9 -
 4 files changed, 50 deletions(-)

diff --git a/dev-util/ltrace/files/0.4-parallel-make.patch 
b/dev-util/ltrace/files/0.4-parallel-make.patch
deleted file mode 100644
index 3fd3624477a..000
--- a/dev-util/ltrace/files/0.4-parallel-make.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 ltrace-0.3.36.orig/Makefile.in 2004-11-10 01:12:03.0 +0200
-+++ ltrace-0.3.36/Makefile.in  2006-09-02 11:10:57.0 +0300
-@@ -35,6 +35,8 @@
- ltrace:   sysdeps/sysdep.o $(OBJ)
-   $(CC) $(LDFLAGS) $^ $(LIBS) -o $@
- 
-+$(OBJ):   sysdeps/sysdep.o
-+
- sysdeps/sysdep.o: dummy
-   $(MAKE) -C sysdeps/$(OS)
- 

diff --git a/dev-util/ltrace/files/ltrace-0.5.3-cross.patch 
b/dev-util/ltrace/files/ltrace-0.5.3-cross.patch
deleted file mode 100644
index 610bbccf1fd..000
--- a/dev-util/ltrace/files/ltrace-0.5.3-cross.patch
+++ /dev/null
@@ -1,20 +0,0 @@
 configure.ac
-+++ configure.ac
-@@ -8,6 +8,8 @@
- AC_CANONICAL_HOST
- HOST_OS="$host_os"
- AC_SUBST(HOST_OS)
-+HOST_CPU="$host_cpu"
-+AC_SUBST(HOST_CPU)
- 
- dnl Checks for programs.
- AC_PROG_CC
-@@ -84,7 +86,7 @@
- dnl of libelf and ltrace matches.
- AC_SYS_LARGEFILE
- fi
--AC_OUTPUT(Makefile testsuite/Makefile \
-+AC_OUTPUT(Makefile sysdeps/linux-gnu/Makefile testsuite/Makefile \
- testsuite/ltrace.main/Makefile testsuite/ltrace.minor/Makefile \
- testsuite/ltrace.torture/Makefile )
- 

diff --git a/dev-util/ltrace/files/ltrace-0.5.3-ppc.patch 
b/dev-util/ltrace/files/ltrace-0.5.3-ppc.patch
deleted file mode 100644
index e344c3e28f5..000
--- a/dev-util/ltrace/files/ltrace-0.5.3-ppc.patch
+++ /dev/null
@@ -1,10 +0,0 @@
-diff -Naur ltrace-0.5.old/sysdeps/linux-gnu/Makefile.in 
ltrace-0.5/sysdeps/linux-gnu/Makefile.in
 ltrace-0.5.old/sysdeps/linux-gnu/Makefile.in   2007-12-26 
18:55:42.0 +
-+++ ltrace-0.5/sysdeps/linux-gnu/Makefile.in   2007-12-26 18:55:55.0 
+
-@@ -1,5 +1,6 @@
- ARCH  :=  $(shell echo @HOST_CPU@ | sed -e s/i.86/i386/ -e 
s/sun4u/sparc64/ \
--  -e s/arm.*/arm/ -e s/sa110/arm/ -e s/ppc64/ppc/ -e 
s/s390x/s390/)
-+  -e s/arm.*/arm/ -e s/sa110/arm/ -e s/ppc64/ppc/ -e 
s/s390x/s390/ \
-+  -e s/powerpc64/ppc/ -e s/powerpc/ppc/)
- 
- CPPFLAGS  +=  -I$(TOPDIR)/sysdeps/linux-gnu/$(ARCH)

diff --git a/dev-util/ltrace/files/ltrace-0.5.3.1-gcc43-testsuite.patch 
b/dev-util/ltrace/files/ltrace-0.5.3.1-gcc43-testsuite.patch
deleted file mode 100644
index e115c97322f..000
--- a/dev-util/ltrace/files/ltrace-0.5.3.1-gcc43-testsuite.patch
+++ /dev/null
@@ -1,9 +0,0 @@
-diff -Naurp ltrace-0.5-orig/testsuite/ltrace.minor/demangle-lib.cpp 
ltrace-0.5/testsuite/ltrace.minor/demangle-lib.cpp
 ltrace-0.5-orig/testsuite/ltrace.minor/demangle-lib.cpp2006-03-13 
17:12:01.0 -0600
-+++ ltrace-0.5/testsuite/ltrace.minor/demangle-lib.cpp 2009-07-27 
13:47:43.876929485 -0600
-@@ -1,4 +1,5 @@
- #include
-+#include
- #include
- 
- #include"demangle.h"



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/

2017-08-27 Thread Sergei Trofimovich
commit: cdec2b0dd35fd516bce52ea934937ccb7816d039
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Aug 27 21:22:17 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Aug 27 21:22:32 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdec2b0d

dev-util/ltrace: drop old

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-util/ltrace/Manifest  |  2 --
 dev-util/ltrace/ltrace-0.5.3.1.ebuild | 44 ---
 2 files changed, 46 deletions(-)

diff --git a/dev-util/ltrace/Manifest b/dev-util/ltrace/Manifest
index d48671321d3..cc29aaa0c9f 100644
--- a/dev-util/ltrace/Manifest
+++ b/dev-util/ltrace/Manifest
@@ -1,6 +1,4 @@
 DIST ltrace-0.7.2.tar.bz2 483806 SHA256 
bd9e7bd94ba6728fd3ec57f4bcfef8240260bea8f4fcebbc9c454d07ccc11894 SHA512 
ec86f08d0c18579ff05f8be23ef3c7309c76c647a0d952fbc627e8095b6ce52b2552e152dc0ec9c6098039c2d50d549a1d218f56a13f75f28bc7b03eb39e94e0
 WHIRLPOOL 
4989b8d7a2d3986e39f9db134ebbe4fdb4cea48f216267e324a88ee67f4b18b4d2d8e3bcbb90dfacb04ecde6ac74afe079c64f9efb330ca61c7e694d425834a8
 DIST ltrace-0.7.3.tar.bz2 482658 SHA256 
0e6f8c077471b544c06def7192d983861ad2f8688dd5504beae62f0c5f5b9503 SHA512 
a842b16dcb81da869afa0bddc755fdff0d57b35672505bf2c7164fd983b1938d28b126714128930994cc1230ced69d779456d0cfc16f4008c9b6d19f0852285d
 WHIRLPOOL 
081460150cf67c2c12ae81db4596a51d13e930f37ec143df1b0d1cb2ade6d1cec4445b127b822d5e3e776f3cd5f33fb9d23689f10d1da4adef73463bbd4e7fd2
-DIST ltrace_0.5-3.1.diff.gz 14318 SHA256 
907831bcf7d796ab585ebcad68e7e650efd243f875b1720cfccba3e973f21cb1 SHA512 
b493a4cc379f252a437af21d827ab77d914b25e7b8fd26825b0249e7d4a1c8fa352e8738a2be2fba3dbd6bad4130f98645325fbd7491e8f0061c8ce918170dfa
 WHIRLPOOL 
720acffb22b9e60fa6ea1f336273bb862902f87237317f6a066b0501a87c5b955c253b4fc5991f77125d8a4dccf5283bbd36f55103d8b01c57587fe5d1144ed5
-DIST ltrace_0.5.orig.tar.gz 169203 SHA256 
7b28cadbf4ad5f4730cd9fbca43b991879ab220e0ec3f302b98303f6a36572d9 SHA512 
4c533a132481e9c2a5607d73dbc8858e1cc6fe2092db78bc3fee9efafe85f6c0df0c77b941a1c1ea9713ab77e872e536422b4200b2aa76812a2a20762c930c55
 WHIRLPOOL 
37e4febb0bd9c843de766ec3a5eab85f85ec9581e529699175cfc5f2742e4fc7b6ffc49e16f5b10856151d2edc831c2380bcbef040162aaf2dcf504372fcc3dd
 DIST ltrace_0.7.3-4.debian.tar.gz 11373 SHA256 
44dab94f96f1427ecdff1a08148e81b11eafacb542400fc7067c750590c7e5b9 SHA512 
67a868c95703ca9cd8407905e3be416e3a66920f41d9deb78fadb71719d7d3f1a3f67ffcb575acff4bf7e4715102f3a6b0f67c6adb74f37ee66c398c132ff04b
 WHIRLPOOL 
ecaf6a2314b5add5af488e4654a4b76e543bf3444345bdd0a496ba57d1509451c50e9e1e33dd40976e8176e0d92a6270a4d28b5d63d04fa1aa8a6ee0af9989d8
 DIST ltrace_0.7.3.orig.tar.bz2 482658 SHA256 
0e6f8c077471b544c06def7192d983861ad2f8688dd5504beae62f0c5f5b9503 SHA512 
a842b16dcb81da869afa0bddc755fdff0d57b35672505bf2c7164fd983b1938d28b126714128930994cc1230ced69d779456d0cfc16f4008c9b6d19f0852285d
 WHIRLPOOL 
081460150cf67c2c12ae81db4596a51d13e930f37ec143df1b0d1cb2ade6d1cec4445b127b822d5e3e776f3cd5f33fb9d23689f10d1da4adef73463bbd4e7fd2

diff --git a/dev-util/ltrace/ltrace-0.5.3.1.ebuild 
b/dev-util/ltrace/ltrace-0.5.3.1.ebuild
deleted file mode 100644
index 19c5e2777c6..000
--- a/dev-util/ltrace/ltrace-0.5.3.1.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-inherit eutils autotools
-
-MY_PV=${PV%.?.?}
-MY_P=${PN}_${MY_PV}
-DEB_P=${MY_P}-${PV##?.?.}
-
-DESCRIPTION="trace library calls made at runtime"
-HOMEPAGE="http://ltrace.alioth.debian.org/;
-SRC_URI="mirror://debian/pool/main/l/ltrace/${MY_P}.orig.tar.gz
-   mirror://debian/pool/main/l/ltrace/${DEB_P}.diff.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~ia64 ~mips ppc ~ppc64 sparc x86"
-IUSE="test"
-
-RDEPEND="dev-libs/elfutils"
-DEPEND="${RDEPEND}
-   test? ( dev-util/dejagnu )"
-
-S=${WORKDIR}/${PN}-${MY_PV}
-
-src_unpack() {
-   unpack ${A}
-   epatch "${WORKDIR}"/${DEB_P}.diff
-   cd "${S}"
-   epatch "${FILESDIR}"/0.4-parallel-make.patch
-
-   epatch "${FILESDIR}"/${PN}-0.5.3-cross.patch
-   sed \
-   -e 's:uname -m:echo @HOST_CPU@:' \
-   sysdeps/linux-gnu/Makefile > sysdeps/linux-gnu/Makefile.in
-   epatch "${FILESDIR}"/${PN}-0.5.3-ppc.patch
-   epatch "${FILESDIR}"/${P}-gcc43-testsuite.patch
-   eautoconf
-}
-
-src_install() {
-   emake DESTDIR="${D}" docdir=/usr/share/doc/${PF} install || die "make 
install failed"
-   prepalldocs
-}



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/, dev-util/ltrace/files/

2017-06-24 Thread Sergei Trofimovich
commit: 1a173bc429e51de4fcf6ceada45cd7274ab12aaf
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Jun 24 19:17:09 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Jun 24 19:17:19 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a173bc4

dev-util/ltrace: fix build failure on ia64

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-util/ltrace/files/ltrace-0.7.3-ia64.patch | 39 +++
 dev-util/ltrace/ltrace-0.7.3_p4.ebuild|  3 ++-
 2 files changed, 41 insertions(+), 1 deletion(-)

diff --git a/dev-util/ltrace/files/ltrace-0.7.3-ia64.patch 
b/dev-util/ltrace/files/ltrace-0.7.3-ia64.patch
new file mode 100644
index 000..4fb1c4eba73
--- /dev/null
+++ b/dev-util/ltrace/files/ltrace-0.7.3-ia64.patch
@@ -0,0 +1,39 @@
+Fix build fauilure on ia64.
+
+Build fails due to bitrot: some definitions
+moved off from  to 
+(similar to other arches).
+
+fetch.c:39:26: error: field 'regs' has incomplete type
+  struct pt_all_user_regs regs;
+  ^~~~
+fetch.c:209:25: warning: 'struct ia64_fpreg' declared inside parameter list 
will not be visible outside of this definition or declaration
+ fpreg_to_double (struct ia64_fpreg *fp) {
+ ^~
+fetch.c: In function 'fpreg_to_double':
+fetch.c:211:45: error: dereferencing pointer to incomplete type 'struct 
ia64_fpreg'
+  asm ("ldf.fill %0=%1" : "=f"(result) : "m"(*fp));
+ ^~~
+
+diff --git a/sysdeps/linux-gnu/ia64/fetch.c b/sysdeps/linux-gnu/ia64/fetch.c
+index 54dc5b8..b3b9a9a 100644
+--- a/sysdeps/linux-gnu/ia64/fetch.c
 b/sysdeps/linux-gnu/ia64/fetch.c
+@@ -134,9 +134,4 @@ allocate_reg(struct fetch_context *ctx, struct Process 
*proc,
+   return 0;
+ 
+-  /* This would normally be brought over from asm/ptrace.h, but
+-   * when we do, we get namespace conflicts between asm/fpu.h
+-   * and libunwind.  */
+-  enum { PT_AUR_BSP = 17 };
+-
+   union cfm_t cfm = { .value = ctx->regs.cfm };
+   unsigned long *bsp = (unsigned long *)ctx->regs.ar[PT_AUR_BSP];
+diff --git a/sysdeps/linux-gnu/ia64/ptrace.h b/sysdeps/linux-gnu/ia64/ptrace.h
+index ef63b4f..8b131f1 100644
+--- a/sysdeps/linux-gnu/ia64/ptrace.h
 b/sysdeps/linux-gnu/ia64/ptrace.h
+@@ -20,2 +20,3 @@
+ 
+ #include 
++#include 

diff --git a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild 
b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
index 7305b4cba13..a818ab97085 100644
--- a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -32,6 +32,7 @@ src_prepare() {
epatch "${WORKDIR}"/debian/patches/[0-9]*
epatch "${FILESDIR}"/${PN}-0.7.3-test-protos.patch #bug 421649
epatch "${FILESDIR}"/${PN}-0.7.3-alpha-protos.patch
+   epatch "${FILESDIR}"/${PN}-0.7.3-ia64.patch
sed -i '/^dist_doc_DATA/d' Makefile.am || die
eautoreconf
 }



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/files/, dev-util/ltrace/

2016-06-27 Thread Sergei Trofimovich
commit: a2bc2463c651af12b93f4d46d6d4d890ec94ee45
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Jun 27 21:40:19 2016 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Jun 27 21:42:57 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2bc2463

dev-util/ltrace: restore basic alpha support

Builds successfully on gcc-5.4.0 and can trace
calls to calls like 'gcc -v'.

Package-Manager: portage-2.3.0

 dev-util/ltrace/files/ltrace-0.7.3-alpha-protos.patch | 14 ++
 dev-util/ltrace/ltrace-0.7.3_p4.ebuild|  5 +++--
 2 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/dev-util/ltrace/files/ltrace-0.7.3-alpha-protos.patch 
b/dev-util/ltrace/files/ltrace-0.7.3-alpha-protos.patch
new file mode 100644
index 000..659952b
--- /dev/null
+++ b/dev-util/ltrace/files/ltrace-0.7.3-alpha-protos.patch
@@ -0,0 +1,14 @@
+Fix build failure on alpha:
+  plt.c:32:12: error: dereferencing pointer to incomplete type ‘struct 
library_symbol’
+return sym->enter_addr;
+^
+diff -U0 -raN ltrace-0.7.3/sysdeps/linux-gnu/alpha/plt.c 
ltrace-0.7.3/sysdeps/linux-gnu/alpha/plt.c
+--- ltrace-0.7.3_p4/work/ltrace-0.7.3/sysdeps/linux-gnu/alpha/plt.c 
2012-11-10 13:43:55.0 +0100
 foo/work/ltrace-0.7.3/sysdeps/linux-gnu/alpha/plt.c 2016-06-27 
23:21:28.0 +0200
+@@ -23,0 +24 @@
++#include "library.h"
+diff -U0 -raN ltrace-0.7.3/sysdeps/linux-gnu/alpha/trace.c 
ltrace-0.7.3/sysdeps/linux-gnu/alpha/trace.c
+--- ltrace-0.7.3_p4/work/ltrace-0.7.3/sysdeps/linux-gnu/alpha/trace.c   
2016-06-27 23:30:08.0 +0200
 foo/work/ltrace-0.7.3/sysdeps/linux-gnu/alpha/trace.c   2016-06-27 
23:25:20.0 +0200
+@@ -29,0 +30 @@
++#include "backend.h"

diff --git a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild 
b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
index 5ee60c2..22394b2 100644
--- a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -17,7 +17,7 @@ SRC_URI="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="-alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="debug selinux test unwind"
 
 RDEPEND="dev-libs/elfutils
@@ -32,6 +32,7 @@ S=${WORKDIR}/${PN}-${LTRACE_V}
 src_prepare() {
epatch "${WORKDIR}"/debian/patches/[0-9]*
epatch "${FILESDIR}"/${PN}-0.7.3-test-protos.patch #bug 421649
+   epatch "${FILESDIR}"/${PN}-0.7.3-alpha-protos.patch
sed -i '/^dist_doc_DATA/d' Makefile.am || die
eautoreconf
 }



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/

2016-04-02 Thread Sergei Trofimovich
commit: da1096eeaa61e7aa9e6b1d9ef40aa5d6a5ce12c7
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Apr  2 16:58:40 2016 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Apr  2 16:59:03 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da1096ee

dev-util/ltrace: use binutils-libs as a __cxa_demangle provider

Package-Manager: portage-2.2.28

 dev-util/ltrace/ltrace-0.7.3_p4.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild 
b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
index cb60e0e..5ee60c2 100644
--- a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
@@ -24,6 +24,7 @@ RDEPEND="dev-libs/elfutils
selinux? ( sys-libs/libselinux )
unwind? ( sys-libs/libunwind )"
 DEPEND="${RDEPEND}
+   sys-libs/binutils-libs
test? ( dev-util/dejagnu )"
 
 S=${WORKDIR}/${PN}-${LTRACE_V}



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/

2016-03-23 Thread Mike Frysinger
commit: 13028c36f9b0ae2328f8e21448c7c75484a3058b
Author: Mike Frysinger  gentoo  org>
AuthorDate: Wed Mar 23 16:01:37 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Wed Mar 23 16:03:28 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13028c36

dev-util/ltrace: mark 0.5.3.1 alpha stable

 dev-util/ltrace/ltrace-0.5.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/ltrace/ltrace-0.5.3.1.ebuild 
b/dev-util/ltrace/ltrace-0.5.3.1.ebuild
index 3a5bf83..ccce4ab 100644
--- a/dev-util/ltrace/ltrace-0.5.3.1.ebuild
+++ b/dev-util/ltrace/ltrace-0.5.3.1.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="mirror://debian/pool/main/l/ltrace/${MY_P}.orig.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="-alpha amd64 ~arm ~ia64 ~mips ppc ~ppc64 sparc x86"
+KEYWORDS="alpha amd64 ~arm ~ia64 ~mips ppc ~ppc64 sparc x86"
 IUSE="test"
 
 RDEPEND="dev-libs/elfutils"



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/files/, dev-util/ltrace/

2016-02-14 Thread Sergei Trofimovich
commit: 23bef4ea9f0ce8d68abc92c19e2e1e1fdc170a68
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Feb 14 19:15:57 2016 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Feb 14 19:16:57 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23bef4ea

dev-util/ltrace: fix tests, bug #421649

Reported by: Diego Elio Pettenò
Bug: https://bugs.gentoo.org/421649

Package-Manager: portage-2.2.27

 .../ltrace/files/ltrace-0.7.3-test-protos.patch| 71 ++
 dev-util/ltrace/ltrace-0.7.3_p4.ebuild |  1 +
 2 files changed, 72 insertions(+)

diff --git a/dev-util/ltrace/files/ltrace-0.7.3-test-protos.patch 
b/dev-util/ltrace/files/ltrace-0.7.3-test-protos.patch
new file mode 100644
index 000..caafff4
--- /dev/null
+++ b/dev-util/ltrace/files/ltrace-0.7.3-test-protos.patch
@@ -0,0 +1,71 @@
+https://bugs.gentoo.org/421649
+
+For some reason testsuite does not handle warnings well:
+  /tmp/lt-cZI2cFo0z7.c:2:24: warning: inplicit function declaration «puts» 
[-Wimplicit-function-declaration]
+   void func2(void) { puts("func2"); }
+  ^
+and abandons problematic tests:
+  Testcase compile failed, so all tests in this file will automatically fail.
+diff --git a/testsuite/ltrace.main/filters.exp 
b/testsuite/ltrace.main/filters.exp
+index 988346f..f7f4140 100644
+--- a/testsuite/ltrace.main/filters.exp
 b/testsuite/ltrace.main/filters.exp
+@@ -24,2 +24,3 @@ set libfilt1 [ltraceCompile libfilt1.so [ltraceSource c {
+ set libfilt2 [ltraceCompile libfilt2.so [ltraceSource c {
++#include 
+ void func2(void) { puts("func2"); }
+diff --git a/testsuite/ltrace.main/parameters.c 
b/testsuite/ltrace.main/parameters.c
+index ff24a38..9569dbe 100644
+--- a/testsuite/ltrace.main/parameters.c
 b/testsuite/ltrace.main/parameters.c
+@@ -19,2 +19,3 @@ void func_strfixed(char*);
+ void func_ppp(int***);
++void func_string(char*);
+ void func_stringp(char**);
+diff --git a/testsuite/ltrace.main/signals.c b/testsuite/ltrace.main/signals.c
+index a02e795..fda4ab9 100644
+--- a/testsuite/ltrace.main/signals.c
 b/testsuite/ltrace.main/signals.c
+@@ -7,2 +7,3 @@
+ #include 
++#include 
+ 
+diff --git a/testsuite/ltrace.minor/time-record.c 
b/testsuite/ltrace.minor/time-record.c
+index a66b838..7d5e5e3 100644
+--- a/testsuite/ltrace.minor/time-record.c
 b/testsuite/ltrace.minor/time-record.c
+@@ -7,2 +7,3 @@
+ #include 
++#include 
+ 
+diff --git a/testsuite/ltrace.minor/trace-clone.c 
b/testsuite/ltrace.minor/trace-clone.c
+index db1936d..c68b128 100644
+--- a/testsuite/ltrace.minor/trace-clone.c
 b/testsuite/ltrace.minor/trace-clone.c
+@@ -10,2 +10,3 @@
+ #include 
++#include 
+ 
+diff --git a/testsuite/ltrace.minor/trace-fork.c 
b/testsuite/ltrace.minor/trace-fork.c
+index c5f0c71..e1ab17f 100644
+--- a/testsuite/ltrace.minor/trace-fork.c
 b/testsuite/ltrace.minor/trace-fork.c
+@@ -8,2 +8,4 @@
+ #include 
++#include 
++#include 
+ 
+@@ -29,3 +31,4 @@ main ()
+   printf("My child pid is %d\n",pid);
+-  wait(); 
++  int status;
++  wait();
+ }
+diff --git a/testsuite/ltrace.torture/signals.c 
b/testsuite/ltrace.torture/signals.c
+index b786c81..86e2dba 100644
+--- a/testsuite/ltrace.torture/signals.c
 b/testsuite/ltrace.torture/signals.c
+@@ -7,2 +7,3 @@
+ #include 
++#include 
+ 

diff --git a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild 
b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
index 8611887..cb60e0e 100644
--- a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
@@ -30,6 +30,7 @@ S=${WORKDIR}/${PN}-${LTRACE_V}
 
 src_prepare() {
epatch "${WORKDIR}"/debian/patches/[0-9]*
+   epatch "${FILESDIR}"/${PN}-0.7.3-test-protos.patch #bug 421649
sed -i '/^dist_doc_DATA/d' Makefile.am || die
eautoreconf
 }



[gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/

2016-02-06 Thread Sergei Trofimovich
commit: 7834d06d7f0b1a5f1937d8b0a8269f3f6fe323fe
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Feb  6 17:42:27 2016 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Feb  6 17:42:34 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7834d06d

dev-util/ltrace: added myself to maintainers

Package-Manager: portage-2.2.27

 dev-util/ltrace/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-util/ltrace/metadata.xml b/dev-util/ltrace/metadata.xml
index dabd15d..e3ce665 100644
--- a/dev-util/ltrace/metadata.xml
+++ b/dev-util/ltrace/metadata.xml
@@ -1,6 +1,10 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
+   
+   sly...@gentoo.org
+   Sergei Trofimovich
+   

Use sys-libs/libunwind for frame 
unwinding support