[Buildroot] [git commit] package/agent-proxy: new package

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Oct 14 21:07:03 UTC 2022


commit: https://git.buildroot.net/buildroot/commit/?id=b69fe70c264fc2eda79b36a5d96e5cb1b900ad7b
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Rufus Segar <rhs at riseup.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 DEVELOPERS                           |  3 +++
 package/Config.in.host               |  1 +
 package/agent-proxy/Config.in.host   | 11 +++++++++++
 package/agent-proxy/agent-proxy.hash |  3 +++
 package/agent-proxy/agent-proxy.mk   | 20 ++++++++++++++++++++
 5 files changed, 38 insertions(+)

diff --git a/DEVELOPERS b/DEVELOPERS
index bfde353c8a..c0e6f8bbef 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2569,6 +2569,9 @@ F:	support/testing/tests/package/test_glxinfo.py
 F:	support/testing/tests/package/test_openssh.py
 F:	toolchain/
 
+N:	Rufus Segar <rhs at riseup.net>
+F:	package/agent-proxy/
+
 N:	Ryan Wilkins <ryan at deadfrog.net>
 F:	package/biosdevname/
 
diff --git a/package/Config.in.host b/package/Config.in.host
index 84517787cc..d6b9ee0e2d 100644
--- a/package/Config.in.host
+++ b/package/Config.in.host
@@ -2,6 +2,7 @@ menu "Host utilities"
 
 	source "package/abootimg/Config.in.host"
 	source "package/aespipe/Config.in.host"
+	source "package/agent-proxy/Config.in.host"
 	source "package/android-tools/Config.in.host"
 	source "package/asn1c/Config.in.host"
 	source "package/babeltrace2/Config.in.host"
diff --git a/package/agent-proxy/Config.in.host b/package/agent-proxy/Config.in.host
new file mode 100644
index 0000000000..80328790ad
--- /dev/null
+++ b/package/agent-proxy/Config.in.host
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_HOST_AGENT_PROXY
+	bool "host agent-proxy"
+	help
+	  This is a simple, small proxy which was intended for use
+	  with kgdb, or gdbserver type connections where you want to
+	  share a text console and a debug session.
+
+	  The idea is that you use the agent-proxy to connect to a
+	  serial port directly or to a remote terminal server.
+
+	  git://git.kernel.org/pub/scm/utils/kernel/kgdb/agent-proxy.git
diff --git a/package/agent-proxy/agent-proxy.hash b/package/agent-proxy/agent-proxy.hash
new file mode 100644
index 0000000000..bd0e814d20
--- /dev/null
+++ b/package/agent-proxy/agent-proxy.hash
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256  c4db014339b5bbdae3d98e814844e1b80d87b663a343f7d33fdb89fdbb02f16d  agent-proxy-agent-proxy-1.97-br1.tar.gz
+sha256  e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4  COPYING
diff --git a/package/agent-proxy/agent-proxy.mk b/package/agent-proxy/agent-proxy.mk
new file mode 100644
index 0000000000..46108aef02
--- /dev/null
+++ b/package/agent-proxy/agent-proxy.mk
@@ -0,0 +1,20 @@
+################################################################################
+#
+# agent-proxy
+#
+################################################################################
+
+AGENT_PROXY_VERSION = agent-proxy-1.97
+AGENT_PROXY_SITE = git://git.kernel.org/pub/scm/utils/kernel/kgdb/agent-proxy.git
+AGENT_PROXY_LICENSE = GPL-2.0
+AGENT_PROXY_LICENSE_FILES = COPYING
+
+define HOST_AGENT_PROXY_BUILD_CMDS
+	$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D)
+endef
+
+define HOST_AGENT_PROXY_INSTALL_CMDS
+	$(INSTALL) -D -m 0755 $(@D)/agent-proxy $(HOST_DIR)/bin/agent-proxy
+endef
+
+$(eval $(host-generic-package))



More information about the buildroot mailing list