From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MBRqM1zbXGFQbAEAgWs5BA (envelope-from ) for ; Wed, 06 Oct 2021 01:10:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id MIbyLlzbXGH7KQAAbx9fmQ (envelope-from ) for ; Tue, 05 Oct 2021 23:10:20 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6866A2EE43 for ; Wed, 6 Oct 2021 01:10:20 +0200 (CEST) Received: from localhost ([::1]:47654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXtZj-00060E-G3 for larch@yhetil.org; Tue, 05 Oct 2021 19:10:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60248) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXtZS-000605-SQ for guix-patches@gnu.org; Tue, 05 Oct 2021 19:10:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58760) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXtZS-0007uI-JW for guix-patches@gnu.org; Tue, 05 Oct 2021 19:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mXtZS-0001Ua-8s for guix-patches@gnu.org; Tue, 05 Oct 2021 19:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51047] Subject: [PATCH] gnu: Add python-ropgadget. Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Oct 2021 23:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51047 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51047@debbugs.gnu.org X-Debbugs-Original-To: phodina via Guix-patches via Received: via spool by submit@debbugs.gnu.org id=B.16334753625681 (code B ref -1); Tue, 05 Oct 2021 23:10:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Oct 2021 23:09:22 +0000 Received: from localhost ([127.0.0.1]:42073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXtYn-0001TX-Vs for submit@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 ) id 1mXtYa-0001T8-Aa for submit@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 ) id 1mXtYZ-0005xx-T5 for guix-patches@gnu.org; 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 ) id 1mXtYX-0004fq-Mo for guix-patches@gnu.org; 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= Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.22; envelope-from=phodina@protonmail.com; 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches From: phodina via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633475420; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=2pUeVrjgFgLuBm+y0YkaWQ1pR64tE1w1O+IkNu1wgO4=; b=skPoy64K04sqGIc1xDKOYgZmELezvITn75wTvukMa6blFeScS/DNDKp2AkfKkrfhtA0uNu fyCQL6bRsqtD874RiBGgAPk4c+NVQEYRNdsnJpitV01sXl18F02mXmtun1eqHEPhY9au+c okA7QRcxoQwZ6eJeefFGAHuyFUzfgMfiNNjX1rKdyKxzc4lB7XyW6HAc4masOB4LOurMoV N8xnqDUozn49/mCBDzI6dR4o6dOB513sm18zitqyU4ay3e4RYwvg5JxPOdiGbWJ6FsOGzX 8ebJaKib5mrGK3GlM9R8Gq/oKVa2q4V+Gu4emjh30Azf+MkbYKnYh6LGaCYBXw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633475420; a=rsa-sha256; cv=none; b=m7r9FK5m++ihI8XaUTP6RicYJjT19yEcBmqiqIxRIYIUOuGRxnKV+Z3PsqU0qVYefcBf59 FcAcT9hTbu5KFBvDG1w8lBZBWghUQ1GimHzQMU2ObC3CR3zF4vXatg433MKWOLTjXdEe+D 4NYYX9SmOnFXxbZP6rtKoFlSqTwKjEJkyDCOXXSysKDz93/948XwfU1DtLs66WVFk6aMgM j5YhPp3EJ/Ng//HPg9e8HnKQR5YWMciZdCifpd+YaFPe5qgHpTokVdokfgCSg06Z/WjNk9 uom6JZ677fyErYZTT9bn0owMvSaIsOYzxPJvCt4mVlbnZFo/uwfW7TgQBDzhkQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=PSJzxGUk; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.51 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=PSJzxGUk; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 6866A2EE43 X-Spam-Score: -3.51 X-Migadu-Scanner: scn1.migadu.com X-TUID: KzK5Ab81lI9d 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