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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D86AF158094 for ; Wed, 31 Aug 2022 01:24:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 986F4E0831; Wed, 31 Aug 2022 01:24:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7C24EE0831 for ; Wed, 31 Aug 2022 01:24:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 36E2E34129D for ; Wed, 31 Aug 2022 01:24:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0A9FC599 for ; Wed, 31 Aug 2022 01:24:05 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1661908133.2eb348167960c831663ffa8cb300489fb5bafa7f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/pwndbg/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/pwndbg/Manifest dev-util/pwndbg/pwndbg-20220830.ebuild dev-util/pwndbg/pwndbg-99999999.ebuild X-VCS-Directories: dev-util/pwndbg/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 2eb348167960c831663ffa8cb300489fb5bafa7f X-VCS-Branch: master Date: Wed, 31 Aug 2022 01:24:05 +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: e8803752-1c9e-466f-a8c5-7b4f24e98ee9 X-Archives-Hash: f0819148200bb2aaa388e2c98c5aebf1 commit: 2eb348167960c831663ffa8cb300489fb5bafa7f Author: Mario Haustein hrz tu-chemnitz de> AuthorDate: Tue Aug 30 17:20:59 2022 +0000 Commit: Sam James gentoo org> CommitDate: Wed Aug 31 01:08:53 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2eb34816 dev-util/pwndbg: add 20220830 Signed-off-by: Mario Haustein hrz.tu-chemnitz.de> Closes: https://github.com/gentoo/gentoo/pull/27076 Signed-off-by: Sam James gentoo.org> dev-util/pwndbg/Manifest | 2 ++ .../{pwndbg-99999999.ebuild => pwndbg-20220830.ebuild} | 14 ++++++++++++-- dev-util/pwndbg/pwndbg-99999999.ebuild | 14 ++++++++++++-- 3 files changed, 26 insertions(+), 4 deletions(-) diff --git a/dev-util/pwndbg/Manifest b/dev-util/pwndbg/Manifest index 1b009386b9e1..79e0f3a1944c 100644 --- a/dev-util/pwndbg/Manifest +++ b/dev-util/pwndbg/Manifest @@ -1 +1,3 @@ +DIST gdb-pt-dump-f25898adc61d60e5f30c6452b15700bbf1bd630c.tar.gz 385826 BLAKE2B 0cfca93c620f0292d5e0b99f57f6a4090af512d0c12e4cafd3db09960f70cba7efbd7b664235b4c6147d74d368e12fc8ab5d8884db0fc514a135cd6b2ea5db47 SHA512 ef8956a191ba0627ac9070b590e32da9fff452dcd1cef1bebcf2a45266a1f218229b694e617de25da412109a3c4115049519b7f9855ffd7b2e8d7d61bad3f4ed DIST pwndbg-20220105.tar.gz 8272634 BLAKE2B a221fa3af2145a819bc780f3395a168a91371ce1218dc4acfee2ac3420a78c8550c98921dbb03f4bc928cdac07fdc6bed8be7c642a5be42064492192b3443ea6 SHA512 ebb61b402bb6cbaa516c2b1d885f231f6f591c2226d02d69cdd163f674ed41aba5505e3390b47e431f93a6e5de3867feb93c2be6da03a32c5f4c7a0ff074fa08 +DIST pwndbg-20220830.tar.gz 8302318 BLAKE2B fd6821d0846646927a3a7f0f352067360984f90156702bb8d2001b40651e20b11c8a33b07fa522f568f39ce6337f2503d930f745ab424d5ce6948a270e331c1f SHA512 be59544eb959ba05e6a662dbc629eb33a014c39d5ad5fceb44e9c6a9ccfa3ac6c133c082adfda1602002aff9eab3326d5b97aff7b6ce1357116a2d1fe6aa28fb diff --git a/dev-util/pwndbg/pwndbg-99999999.ebuild b/dev-util/pwndbg/pwndbg-20220830.ebuild similarity index 80% copy from dev-util/pwndbg/pwndbg-99999999.ebuild copy to dev-util/pwndbg/pwndbg-20220830.ebuild index e2218320b275..daec33f529c5 100644 --- a/dev-util/pwndbg/pwndbg-99999999.ebuild +++ b/dev-util/pwndbg/pwndbg-20220830.ebuild @@ -15,7 +15,11 @@ if [[ ${PV} == "99999999" ]]; then EGIT_REPO_URI="https://github.com/pwndbg/pwndbg" else MY_PV="${PV:0:4}.${PV:4:2}.${PV:6:2}" - SRC_URI="https://github.com/pwndbg/pwndbg/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + GDB_PT_DUMP_COMMIT="f25898adc61d60e5f30c6452b15700bbf1bd630c" + SRC_URI=" + https://github.com/pwndbg/pwndbg/archive/${MY_PV}.tar.gz -> ${P}.tar.gz + https://github.com/martinradev/gdb-pt-dump/archive/${GDB_PT_DUMP_COMMIT}.tar.gz -> gdb-pt-dump-${GDB_PT_DUMP_COMMIT}.tar.gz + " KEYWORDS="~amd64 ~x86" S="${WORKDIR}/${PN}-${MY_PV}" fi @@ -42,9 +46,14 @@ RDEPEND=" ')" src_prepare() { - if [[ ${PV} != *9999 ]]; then + if [[ ${PV} == *9999 ]]; then + rm -r gdb-pt-dump/.git || die + else sed -e "s/__version__ = '\(.*\)'/__version__ = '${PV}'/" \ -i pwndbg/version.py || die + + rm -r gdb-pt-dump || die + mv "${WORKDIR}/gdb-pt-dump-${GDB_PT_DUMP_COMMIT}" gdb-pt-dump || die fi python_fix_shebang "${S}" @@ -54,6 +63,7 @@ src_prepare() { src_install() { insinto /usr/share/${PN} doins -r pwndbg/ gdbinit.py # ida_script.py + doins -r gdb-pt-dump/ python_optimize "${ED}"/usr/share/${PN} diff --git a/dev-util/pwndbg/pwndbg-99999999.ebuild b/dev-util/pwndbg/pwndbg-99999999.ebuild index e2218320b275..daec33f529c5 100644 --- a/dev-util/pwndbg/pwndbg-99999999.ebuild +++ b/dev-util/pwndbg/pwndbg-99999999.ebuild @@ -15,7 +15,11 @@ if [[ ${PV} == "99999999" ]]; then EGIT_REPO_URI="https://github.com/pwndbg/pwndbg" else MY_PV="${PV:0:4}.${PV:4:2}.${PV:6:2}" - SRC_URI="https://github.com/pwndbg/pwndbg/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + GDB_PT_DUMP_COMMIT="f25898adc61d60e5f30c6452b15700bbf1bd630c" + SRC_URI=" + https://github.com/pwndbg/pwndbg/archive/${MY_PV}.tar.gz -> ${P}.tar.gz + https://github.com/martinradev/gdb-pt-dump/archive/${GDB_PT_DUMP_COMMIT}.tar.gz -> gdb-pt-dump-${GDB_PT_DUMP_COMMIT}.tar.gz + " KEYWORDS="~amd64 ~x86" S="${WORKDIR}/${PN}-${MY_PV}" fi @@ -42,9 +46,14 @@ RDEPEND=" ')" src_prepare() { - if [[ ${PV} != *9999 ]]; then + if [[ ${PV} == *9999 ]]; then + rm -r gdb-pt-dump/.git || die + else sed -e "s/__version__ = '\(.*\)'/__version__ = '${PV}'/" \ -i pwndbg/version.py || die + + rm -r gdb-pt-dump || die + mv "${WORKDIR}/gdb-pt-dump-${GDB_PT_DUMP_COMMIT}" gdb-pt-dump || die fi python_fix_shebang "${S}" @@ -54,6 +63,7 @@ src_prepare() { src_install() { insinto /usr/share/${PN} doins -r pwndbg/ gdbinit.py # ida_script.py + doins -r gdb-pt-dump/ python_optimize "${ED}"/usr/share/${PN}