pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/ssh-agent-switcher
Module Name: pkgsrc
Committed By: schmonz
Date: Fri Nov 17 21:00:05 UTC 2023
Added Files:
pkgsrc/sysutils/ssh-agent-switcher: DESCR Makefile PLIST distinfo
Log Message:
Add ssh-agent-switcher: SSH agent proxy for tmux
ssh-agent-switcher is a daemon that proxies SSH agent connections to any valid
forwarded agent provided by sshd. This allows long-lived processes such as
terminal multiplexers like `tmux` or `screen` to access the connection-specific
forwarded agents.
The ssh-agent-switcher daemon solves this problem by exposing an SSH agent
socket at a well-known location, allowing you to set `SSH_AUTH_SOCK` to a path
that does *not* change across different connections. The daemon then looks for
a valid socket every time it receives a request and forwards the request to the
real forwarded agent.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/ssh-agent-switcher/DESCR \
pkgsrc/sysutils/ssh-agent-switcher/Makefile \
pkgsrc/sysutils/ssh-agent-switcher/PLIST \
pkgsrc/sysutils/ssh-agent-switcher/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/sysutils/ssh-agent-switcher/DESCR
diff -u /dev/null pkgsrc/sysutils/ssh-agent-switcher/DESCR:1.1
--- /dev/null Fri Nov 17 21:00:05 2023
+++ pkgsrc/sysutils/ssh-agent-switcher/DESCR Fri Nov 17 21:00:05 2023
@@ -0,0 +1,10 @@
+ssh-agent-switcher is a daemon that proxies SSH agent connections to any valid
+forwarded agent provided by sshd. This allows long-lived processes such as
+terminal multiplexers like `tmux` or `screen` to access the connection-specific
+forwarded agents.
+
+The ssh-agent-switcher daemon solves this problem by exposing an SSH agent
+socket at a well-known location, allowing you to set `SSH_AUTH_SOCK` to a path
+that does *not* change across different connections. The daemon then looks for
+a valid socket every time it receives a request and forwards the request to the
+real forwarded agent.
Index: pkgsrc/sysutils/ssh-agent-switcher/Makefile
diff -u /dev/null pkgsrc/sysutils/ssh-agent-switcher/Makefile:1.1
--- /dev/null Fri Nov 17 21:00:05 2023
+++ pkgsrc/sysutils/ssh-agent-switcher/Makefile Fri Nov 17 21:00:05 2023
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2023/11/17 21:00:05 schmonz Exp $
+
+DISTNAME= ${GITHUB_PROJECT}-${GITHUB_TAG}
+PKGNAME= ${GITHUB_PROJECT}-0.0.20231117
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_GITHUB:=jmmv/}
+GITHUB_PROJECT= ssh-agent-switcher
+GITHUB_TAG= 3d5835ee0eeafdb2dd792f26d1decbed2c06dce8
+
+MAINTAINER= schmonz%NetBSD.org@localhost
+HOMEPAGE= https://github.com/jmmv/ssh-agent-switcher/
+COMMENT= SSH agent proxy for tmux
+LICENSE= modified-bsd
+
+USE_LANGUAGES= c
+
+INSTALLATION_DIRS= share/doc/${PKGBASE}
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+
+.include "../../lang/go/go-module.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/ssh-agent-switcher/PLIST
diff -u /dev/null pkgsrc/sysutils/ssh-agent-switcher/PLIST:1.1
--- /dev/null Fri Nov 17 21:00:05 2023
+++ pkgsrc/sysutils/ssh-agent-switcher/PLIST Fri Nov 17 21:00:05 2023
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2023/11/17 21:00:05 schmonz Exp $
+bin/ssh-agent-switcher
+share/doc/ssh-agent-switcher/README.md
Index: pkgsrc/sysutils/ssh-agent-switcher/distinfo
diff -u /dev/null pkgsrc/sysutils/ssh-agent-switcher/distinfo:1.1
--- /dev/null Fri Nov 17 21:00:05 2023
+++ pkgsrc/sysutils/ssh-agent-switcher/distinfo Fri Nov 17 21:00:05 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/11/17 21:00:05 schmonz Exp $
+
+BLAKE2s (ssh-agent-switcher-3d5835ee0eeafdb2dd792f26d1decbed2c06dce8-3d5835ee0eeafdb2dd792f26d1decbed2c06dce8.tar.gz) = 38b8b28617f987d6b81cee17c8450d610e1ee5f721babcab13133035d885c24f
+SHA512 (ssh-agent-switcher-3d5835ee0eeafdb2dd792f26d1decbed2c06dce8-3d5835ee0eeafdb2dd792f26d1decbed2c06dce8.tar.gz) =
2b3a3f59284dbf18dfaceb2df151e6b4ecd88dcd44dc389e09f3000bfa2de0aa3da58c036d8aa1dba8eb68f32e08f07bcc200f31847d8a145989d99236cf7377
+Size (ssh-agent-switcher-3d5835ee0eeafdb2dd792f26d1decbed2c06dce8-3d5835ee0eeafdb2dd792f26d1decbed2c06dce8.tar.gz) = 7399 bytes
Home |
Main Index |
Thread Index |
Old Index