From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6046513933E for ; Fri, 2 Jul 2021 18:31:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5AA32E0823; Fri, 2 Jul 2021 18:31:24 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2FAAEE0823 for ; Fri, 2 Jul 2021 18:31:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 115D833FAD1 for ; Fri, 2 Jul 2021 18:31:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5257C7A1 for ; Fri, 2 Jul 2021 18:31:21 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1625250676.7e98b43f9cb33b3513010de9240d2b5f229fb8a9.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/ltrace/Manifest dev-util/ltrace/ltrace-0.7.3.6.1.ebuild X-VCS-Directories: dev-util/ltrace/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 7e98b43f9cb33b3513010de9240d2b5f229fb8a9 X-VCS-Branch: master Date: Fri, 2 Jul 2021 18:31:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 026d7d5c-8502-4b88-91b2-65b8f1d18e03 X-Archives-Hash: ab18183d45b0427dfb42302e43ba0d5c commit: 7e98b43f9cb33b3513010de9240d2b5f229fb8a9 Author: Marek Szuba gentoo org> AuthorDate: Fri Jul 2 17:17:56 2021 +0000 Commit: Marek Szuba gentoo org> CommitDate: Fri Jul 2 18:31:16 2021 +0000 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 00000000000..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 +}