GNU bug report logs - #51047
Subject: [PATCH] gnu: Add python-ropgadget.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: phodina <phodina@HIDDEN>; Keywords: patch; Done: Vagrant Cascadian <vagrant@HIDDEN>; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 51047-done <at> debbugs.gnu.org:


Received: (at 51047-done) by debbugs.gnu.org; 1 Sep 2023 20:48:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 01 16:48:24 2023
Received: from localhost ([127.0.0.1]:34188 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qcB43-0005PY-Ts
	for submit <at> debbugs.gnu.org; Fri, 01 Sep 2023 16:48:24 -0400
Received: from cascadia.aikidev.net ([173.255.214.101]:42384)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <vagrant@HIDDEN>) id 1qcB41-0005Oe-NY
 for 51047-done <at> debbugs.gnu.org; Fri, 01 Sep 2023 16:48:22 -0400
Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50])
 (Authenticated sender: vagrant@HIDDEN)
 by cascadia.aikidev.net (Postfix) with ESMTPSA id 6C6261AA7B;
 Fri,  1 Sep 2023 13:48:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org;
 s=1.vagrant.user; t=1693601283;
 bh=AMymXemG5gGEbgRqy8Sjh7CBxJaXnFfGpntw63fkk38=;
 h=From:To:Subject:In-Reply-To:References:Date:From;
 b=Qc5gVG8+9ZDT41hEkafgEGVRQlWssW38FKCu6bJBMtUS3EXQuwqdhu/PRWhhGRqo/
 DHGnhRNFTtTNrsIp1swM9yl7W+2T4+V47TLfCtLdILB3hUTtm6XfYsh5ssthOsciON
 J6lgs70QLwu32x6TwTINPl1LMg5jKSHw9PdXaK16Kp1T59OPm6qIVBAFgmJqwIVuLv
 osdvikJ+nXdZlu3nM4u9BXOpOnd4zMnDX+4UQ8ovNFsPG8tR/gzMBMg7zrXJQa9EVY
 7PRcU46uWU0nNa2oHucyHJaz3upL59qwAJ8g4iGF6wmqlwso4GELy807nFRZd4LAn0
 m8SkQuiTTOiDQ==
From: Vagrant Cascadian <vagrant@HIDDEN>
To: phodina <phodina@HIDDEN>, 51047-done <at> debbugs.gnu.org
Subject: Re: [bug#51047] Subject: [PATCH] gnu: Add python-ropgadget.
In-Reply-To: <dAMRKkcWaLhtSbb6veqqpkgxWuD8K5hHIMWu6E3u1ha4gAtIfcRvQZCUAEdGjVEDA2SYWKlhmjB1akwru0QNC7t1YNm_rr5kTXpfc_z2bHI=@protonmail.com>
References: <dAMRKkcWaLhtSbb6veqqpkgxWuD8K5hHIMWu6E3u1ha4gAtIfcRvQZCUAEdGjVEDA2SYWKlhmjB1akwru0QNC7t1YNm_rr5kTXpfc_z2bHI=@protonmail.com>
Date: Fri, 01 Sep 2023 13:47:56 -0700
Message-ID: <871qfhtybn.fsf@wireframe>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 51047-done
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain

On 2021-10-05, phodina wrote:
> I had to put this package into engineering.scm as it depends on
> python-capstone and therefore placing it into python-xyz.scm and
> importing engineering creates circular dependency.

This appears to be packaged as "ropgadget" in cybersecurity.scm as of
commit 60eee3e6de2a11b425496bbdf90bfe1f807c8f49

Marking as done.

live well,
  vagrant

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZPJN/AAKCRDcUY/If5cW
qtLDAQDwYIO3zOFqCOl48w4MATolyOBdqmSjVMsk5WKQJ/724AD/azpJUOVQpdOt
GiN4rBjVNiF7TwWWfIlGozLB5fjEnA8=
=u+5h
-----END PGP SIGNATURE-----
--=-=-=--




Notification sent to phodina <phodina@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Vagrant Cascadian <vagrant@HIDDEN>:
You have taken responsibility. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 5 Oct 2021 23:09:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 05 19:09:22 2021
Received: from localhost ([127.0.0.1]:42073 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mXtYn-0001TX-Vs
	for submit <at> debbugs.gnu.org; Tue, 05 Oct 2021 19:09:22 -0400
Received: from lists.gnu.org ([209.51.188.17]:51062)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <phodina@HIDDEN>) id 1mXtYa-0001T8-Aa
 for submit <at> debbugs.gnu.org; Tue, 05 Oct 2021 19:09:20 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:60076)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <phodina@HIDDEN>)
 id 1mXtYZ-0005xx-T5
 for guix-patches@HIDDEN; Tue, 05 Oct 2021 19:09:08 -0400
Received: from mail-4322.protonmail.ch ([185.70.43.22]:55315)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <phodina@HIDDEN>)
 id 1mXtYX-0004fq-Mo
 for guix-patches@HIDDEN; Tue, 05 Oct 2021 19:09:07 -0400
Date: Tue, 05 Oct 2021 23:08:58 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1633475342;
 bh=2pUeVrjgFgLuBm+y0YkaWQ1pR64tE1w1O+IkNu1wgO4=;
 h=Date:To:From:Reply-To:Subject:From;
 b=PSJzxGUkH5a7gdZ/pFEDuBA3Whq4VFaQ56AGhsUG3a63si49zBsq81m4K26Idguyt
 +iV3TjKuDDwh/47pAtm3SDO03nopCZaJyzKc79Z0jAvzYn0SqFT/exFu0AHwBvzBPc
 lmVaIstzFBpvJNkaUyTn6kmwyPgB4k0lJ3aeRNBI=
To: phodina via Guix-patches via <guix-patches@HIDDEN>
From: phodina <phodina@HIDDEN>
Subject: Subject: [PATCH] gnu: Add python-ropgadget.
Message-ID: <dAMRKkcWaLhtSbb6veqqpkgxWuD8K5hHIMWu6E3u1ha4gAtIfcRvQZCUAEdGjVEDA2SYWKlhmjB1akwru0QNC7t1YNm_rr5kTXpfc_z2bHI=@protonmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no
 autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
Received-SPF: pass client-ip=185.70.43.22; envelope-from=phodina@HIDDEN;
 helo=mail-4322.protonmail.ch
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.3 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  Hi,
 I had to put this package into engineering.scm as it depends
 on python-capstone and therefore placing it into python-xyz.scm and importing
 engineering creates circular dependency. Petr 
 Content analysis details:   (1.3 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (phodina[at]protonmail.com)
 0.0 T_SPF_TEMPERROR        SPF: test of record failed (temperror)
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 1.3 SPOOFED_FREEMAIL       No description available.
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: phodina <phodina@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hi,

I had to put this package into engineering.scm as it depends on python-caps=
tone and therefore placing it into python-xyz.scm and importing engineering=
 creates circular dependency.

Petr

--8<---------------cut here---------------start------------->8---

* gnu/packages/python-xyz.scm (python-ropgadget): New variable.

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 073d524955..f891b25696 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -1595,6 +1595,26 @@ bindings for Python, Java, OCaml and more.")
 bootloader in Espressif ESP8266 & ESP32 series chips.")
     (license license:gpl2+)))

+(define-public python-ropgadget
+  (package
+    (name "python-ropgadget")
+    (version "6.6")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "ROPGadget" version))
+        (sha256
+          (base32
+            "08ms7x4af07970ij9899l75sghnxsa7xyx73gkn6gv0l05p1hqfw"))))
+    (build-system python-build-system)
+    (propagated-inputs
+      `(("python-capstone" ,python-capstone)))
+    (home-page "https://github.com/JonathanSalwan/ROPgadget")
+    (synopsis "Search binaries to facilitate ROP exploitation")
+    (description "This tool lets you search your gadgets on binaries
+to facilitate your ROP exploitation.")
+    (license license:bsd-3)))
+
 (define-public radare2
   (package
     (name "radare2")
--
2.32.0




Acknowledgement sent to phodina <phodina@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#51047; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 1 Sep 2023 21:00:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.