From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KKSgATqMN2DRMwAA0tVLHw (envelope-from ) for ; Thu, 25 Feb 2021 11:38:34 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id YEQTOTmMN2A+SQAA1q6Kng (envelope-from ) for ; Thu, 25 Feb 2021 11:38:33 +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 aspmx2.migadu.com (Postfix) with ESMTPS id 7CD1C13DBA for ; Thu, 25 Feb 2021 12:38:32 +0100 (CET) Received: from localhost ([::1]:47738 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lFEyU-0003rE-Vw for larch@yhetil.org; Thu, 25 Feb 2021 06:38:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFEmQ-0001qy-Ry for guix-patches@gnu.org; Thu, 25 Feb 2021 06:26:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53502) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lFEmQ-0002wB-IK for guix-patches@gnu.org; Thu, 25 Feb 2021 06:26:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lFEmQ-0004ae-Fh for guix-patches@gnu.org; Thu, 25 Feb 2021 06:26:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46768] [PATCH] gnu: Add agent-proxy. Resent-From: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 25 Feb 2021 11:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46768 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46768@debbugs.gnu.org Cc: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161425234917616 (code B ref -1); Thu, 25 Feb 2021 11:26:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Feb 2021 11:25:49 +0000 Received: from localhost ([127.0.0.1]:36810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFEm5-0004Zs-TE for submit@debbugs.gnu.org; Thu, 25 Feb 2021 06:25:49 -0500 Received: from lists.gnu.org ([209.51.188.17]:52672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFEm3-0004ZL-Q7 for submit@debbugs.gnu.org; Thu, 25 Feb 2021 06:25:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFEch-0006I2-Iv for guix-patches@gnu.org; Thu, 25 Feb 2021 06:15:59 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:45993) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFEcf-0006of-HZ for guix-patches@gnu.org; Thu, 25 Feb 2021 06:15:59 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 9633E5C00BA; Thu, 25 Feb 2021 06:15:54 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 25 Feb 2021 06:15:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lassieur.org; h= from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=fm2; bh=3LGMLSnpWRtXsYkcygqJqPNiUY BKT//++v01/3UfDAw=; b=Xm93ruE6Loaj3gKsm/tXfeixv5416DH25VDPGTqCyb WpTTmouWvqlIS9gYisYXv+h2W5t/2ew43IcIvCSFh6yMZREU3BxWOwITmLX14y5p syY/GFhaN6Ql7B3saOJONjNWoKRpAWNu9BJyQy2NZ6uQUWm7Vtwbg90s1HWOWKc0 ErMS1x7cjfpN46Nk0JiSC+I4KeOKDT1Uxc5NOM+POIlS8s/AlQbNk9w0vhKTLAHl P/3wgTG/O84pPfTRwoHTl+0A1a53oG1EG5FTCD8pWj8Bg/+LAc6ZiC3YGkUqT4Ls v2Qkb0Yy70KSLDDl+B3QsOS/UAOw1s2Dmgzd690vLr2w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=3LGMLS npWRtXsYkcygqJqPNiUYBKT//++v01/3UfDAw=; b=CzyVSw45YGYGfhcMu/O7LA 6/cn1OLvCGk8XBAg+AVAQwP4wJ4tDPNNknW2DINckYNYK82NoCXPIkX+A8dqvqYv 2u3bu7PVGAxNAwTQ08pP9uevDPP/go8AG56ALT+PpL+yzc521XAYuYbIELA2b7UM foiCi97Su6bOF24kQA5IJ5qybhp9RSZLTu3DosoWZ0nQFsXuVoX2ExntnbwDgG2k nQm0rcrXvqR2h9Qe0lqY5gocxHcyNiDflkhZiur/eW+WM6ncDGFq3FatssYkTLYh Tw2dVI2ceCiNEUMBUmmznjFF3japRh6UH2lCbKrJIn0y8DHspVBElfnBfsbB0gfg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrkeelgddvjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffogggtgfesthekredtre dtjeenucfhrhhomhepvehlrohmvghnthcunfgrshhsihgvuhhruceotghlvghmvghnthes lhgrshhsihgvuhhrrdhorhhgqeenucggtffrrghtthgvrhhnpeeiuefhudevkeejheegge dufeffueethfegudeltdffhfeludfgfeffkeeihfeujeenucffohhmrghinhepkhgvrhhn vghlrdhorhhgnecukfhppeeivddrvdefrdduieejrddukeeknecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomheptghlvghmvghntheslhgrshhsihgv uhhrrdhorhhg X-ME-Proxy: Received: from newt.Parrot.Biz (smtp.parrot.biz [62.23.167.188]) by mail.messagingengine.com (Postfix) with ESMTPA id E51DA24005D; Thu, 25 Feb 2021 06:15:53 -0500 (EST) From: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur Date: Thu, 25 Feb 2021 12:15:12 +0100 Message-Id: <20210225111512.2238-1-clement@lassieur.org> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=66.111.4.29; envelope-from=clement@lassieur.org; helo=out5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.37 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lassieur.org header.s=fm2 header.b=Xm93ruE6; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=CzyVSw45; dmarc=none; spf=pass (aspmx2.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: 7CD1C13DBA X-Spam-Score: -0.37 X-Migadu-Scanner: scn1.migadu.com X-TUID: LshrSH1iibeR * gnu/packages/embedded.scm (agent-proxy): New variable. --- gnu/packages/embedded.scm | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm index 16e9e6be76..51ee244f3c 100644 --- a/gnu/packages/embedded.scm +++ b/gnu/packages/embedded.scm @@ -4,7 +4,7 @@ ;;; Copyright © 2016 David Craven ;;; Copyright © 2017, 2020 Efraim Flashner ;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice -;;; Copyright © 2018, 2019 Clément Lassieur +;;; Copyright © 2018, 2019, 2021 Clément Lassieur ;;; Copyright © 2020 Marius Bakke ;;; Copyright © 2020 Björn Höfling ;;; Copyright © 2021 Julien Lepiller @@ -1547,3 +1547,40 @@ families, plus many of their variants.") (synopsis "Tool for dealing with AMD binary blobs") (description "PSPTool is a tool for dealing with AMD binary blobs") (license license:gpl3+))) + +(define-public agent-proxy + (let ((commit "8927798a71d246871ea8fc22b4512296a3fa1765") + (revision "0")) + (package + (name "agent-proxy") + (version (git-version "1.98" revision commit)) + (home-page + "https://git.kernel.org/pub/scm/utils/kernel/kgdb/agent-proxy.git") + (source (origin + (method git-fetch) + (uri (git-reference (url home-page) (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1bxkzwsqfld4pknmiq8j3k55pv90n8s6kzh0xh42bhy2jv1wxz2z")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'configure) + (add-after 'build 'build-kdmx + (lambda _ + (invoke "make" "-C" "kdmx") + #t)) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((bin (string-append (assoc-ref outputs "out") "/bin"))) + (install-file "agent-proxy" bin) + (install-file "kdmx/kdmx" bin) + #t)))))) + (synopsis "Proxies to run kgdb/gdbserver and console on a serial port") + (description "These programs are proxies allowing to run kgdb/gdbserver +and console on a single serial port. agent-proxy creates network sockets, +whereas kdmx creates pseudo-ttys.") + (license license:gpl2)))) -- 2.30.1