From 38ce11a18b8ebff4c0f245f0f9d4338e666751a4 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sun, 23 Feb 2020 10:46:58 +0100 Subject: [PATCH] openssh: Fix zsh 5.8 incompatible check in source-ssh-agent --- packages/openssh/build.sh | 1 + packages/openssh/source-ssh-agent.sh | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/openssh/build.sh b/packages/openssh/build.sh index adb0d5537..6d3a93b08 100644 --- a/packages/openssh/build.sh +++ b/packages/openssh/build.sh @@ -2,6 +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=1 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 e3a37ab6f..2ddc4cc52 100644 --- a/packages/openssh/source-ssh-agent.sh +++ b/packages/openssh/source-ssh-agent.sh @@ -1,12 +1,6 @@ #!/bin/sh # source-ssh-agent: Script to source for ssh-agent to work. -# Check if accidentaly executed instead of sourced: -if echo "$0" | grep -q source-ssh-agent; then - echo "source-ssh-agent: Do not execute directly - source me instead!" - exit 1 -fi - export SSH_AUTH_SOCK=$PREFIX/tmp/ssh-agent start_agent() {