diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-07-03 22:39:47 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-07-03 22:39:47 +0100 |
commit | 7f0ccc917c7abe6223784c703d86cd14755691fb (patch) | |
tree | 8c6793f68896b341e22f33d7e6cef88e481f4a8b /dev-util/ltrace | |
parent | 9aa80713372911cec499b3adb2cd746790920916 (diff) |
gentoo resync : 03.07.2021
Diffstat (limited to 'dev-util/ltrace')
-rw-r--r-- | dev-util/ltrace/Manifest | 4 | ||||
-rw-r--r-- | dev-util/ltrace/ltrace-0.7.3.6.1.ebuild | 77 | ||||
-rw-r--r-- | dev-util/ltrace/metadata.xml | 4 |
3 files changed, 84 insertions, 1 deletions
diff --git a/dev-util/ltrace/Manifest b/dev-util/ltrace/Manifest index fb1edb054455..3a800c6c865b 100644 --- a/dev-util/ltrace/Manifest +++ b/dev-util/ltrace/Manifest @@ -13,6 +13,8 @@ AUX ltrace-0.7.3-test-glibc-2.33.patch 555 BLAKE2B 2f79f132871ea5ac1b2a6efe45959 AUX ltrace-0.7.3-test-protos.patch 2551 BLAKE2B 48998f9db4875b8e2af6727b51fc8666cc4f10cbc55bbc4bf32a2b54f1f1032f7c7f07c5196ffff53e23183010eb68df862b4fceaab56d30a580eeaadeeb6f17 SHA512 4652b3f920ad3669d2e6076775b9a598bd999a0fa5319c490f580d93c63f53bd0e3db61cf7a61c5db3a436789802b8fa9646f84ee76e8f37f4f3afb827b84f34 AUX ltrace-0.7.3-tuple-tests.patch 460 BLAKE2B f8beacb8468f7842603e6abd1aeace86ad52cd9347fab1fb7ee243bfc1b536b42d91405380354476bc68c033687216561f6512e82bedca6e525407e79dcab2dd SHA512 07a1808ea6a9564c891ce0caec9cbb0e55975a171c46a6bb3358a9e16f217cd4bbd4b3c39a0e278b34e9c542199e13afdbe817bc2ba26390e879edbda71bf993 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 +EBUILD ltrace-0.7.3.6.1.ebuild 2071 BLAKE2B c2ce6a6f96bddb7c888f53b1487ed5ef16d56858c328d27536d55189e5d358652572a1817f55f87bc6b0c89f53083dc3b43a5b4591833de1101be8eedbbb71c4 SHA512 9b44939be42c26e86c61ccfbfffd6c9bc749b90d9c4fd14bdd5caa4991839ea12221ea63bdf764ffdd760168cfbfb4809691775aba596075b5d5d7afb1e99ee2 EBUILD ltrace-0.7.3_p4-r1.ebuild 2059 BLAKE2B 18f68766243bb36ac07581b4b8acb2bb981d157c0b7767e897598b0b1ceae3fe52b90fb2b702d669b704259db00cee1f30a9883e3bf399fc7a1fb88e1cc9d217 SHA512 8c85708282e7e5fb1f9f3226fb1e074e63579a17addd15b7f93c3f2f5471814284c8ac2d869dd699b438aac0ad082ab7aaa6ef175d336230791c2288a3adc932 -MISC metadata.xml 357 BLAKE2B 393847ec554b92576d20a2e88b3f89b86d93ad51107161c0e5fe198415ad6f8d941418d89b438237f52c6e2cef942b449e8112f5619e219058a7f797a6b261dc SHA512 fff13f831e3d3994abc654ab5c5cb97e14cbec653d42074300cf81b22da05e5318a55ae4b28198fdc7aa8169464385939f5a889ca5ba86c45aa39dfe24772a95 +MISC metadata.xml 463 BLAKE2B 8ea04502515bbaaeade9d2e15f21973d307f44be7f02b87aa311a8a9f173307578caf53b4cbd585986b64b351b9bd17a50aeaed32e5d84cf1aa9eedffcc35ac7 SHA512 7a4c8a4dc798b58f1720602a5693d35be4771aa0305c9882fabfa6864e7500a1ff55081c0588ba64dec387cbc40c23fe3427c16e3175dfb216ab64f48600fe95 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 000000000000..9fd7b01b8545 --- /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 +} diff --git a/dev-util/ltrace/metadata.xml b/dev-util/ltrace/metadata.xml index e3ce665bb25c..6aab4e7e499e 100644 --- a/dev-util/ltrace/metadata.xml +++ b/dev-util/ltrace/metadata.xml @@ -5,6 +5,10 @@ <email>slyfox@gentoo.org</email> <name>Sergei Trofimovich</name> </maintainer> + <maintainer type="person"> + <email>marecki@gentoo.org</email> + <name>Marek Szuba</name> + </maintainer> <use> <flag name="unwind">Use <pkg>sys-libs/libunwind</pkg> for frame unwinding support</flag> </use> |