From 92534de10f3e2487746689672d32878a5580725d Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Tue, 14 Apr 2020 17:11:33 +0300 Subject: [PATCH] openssh: source-ssh-agent should put socket in $PREFIX/var/run /tmp is being wiped on application restart. --- packages/openssh/build.sh | 2 +- packages/openssh/source-ssh-agent.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/openssh/build.sh b/packages/openssh/build.sh index f16c5a68c..41b59be22 100644 --- a/packages/openssh/build.sh +++ b/packages/openssh/build.sh @@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://www.openssh.com/ TERMUX_PKG_DESCRIPTION="Secure shell for logging into a remote machine" TERMUX_PKG_LICENSE="BSD" TERMUX_PKG_VERSION=8.2p1 -TERMUX_PKG_REVISION=5 +TERMUX_PKG_REVISION=6 TERMUX_PKG_SRCURL=https://fastly.cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=43925151e6cf6cee1450190c0e9af4dc36b41c12737619edff8bcebdff64e671 TERMUX_PKG_DEPENDS="libandroid-support, ldns, openssl, libedit, termux-auth, krb5, zlib" diff --git a/packages/openssh/source-ssh-agent.sh b/packages/openssh/source-ssh-agent.sh index 2ddc4cc52..36e41674f 100644 --- a/packages/openssh/source-ssh-agent.sh +++ b/packages/openssh/source-ssh-agent.sh @@ -1,7 +1,7 @@ #!/bin/sh # source-ssh-agent: Script to source for ssh-agent to work. -export SSH_AUTH_SOCK=$PREFIX/tmp/ssh-agent +export SSH_AUTH_SOCK=$PREFIX/var/run/ssh-agent start_agent() { rm -f $SSH_AUTH_SOCK