openssh: Update from 7.2p2 to 7.3p1
This commit is contained in:
parent
12458dcd28
commit
fd2a269e6a
@ -1,8 +1,7 @@
|
||||
TERMUX_PKG_HOMEPAGE=http://www.openssh.com/
|
||||
TERMUX_PKG_DESCRIPTION="Secure shell for logging into a remote machine"
|
||||
TERMUX_PKG_VERSION=7.2p2
|
||||
TERMUX_PKG_BUILD_REVISION=7
|
||||
TERMUX_PKG_SRCURL=http://ftp.eu.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_VERSION=7.3p1
|
||||
TERMUX_PKG_SRCURL=http://mirrors.mit.edu/pub/OpenBSD/OpenSSH/portable/openssh-${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_DEPENDS="libandroid-support, ldns, openssl"
|
||||
# --disable-strip to prevent host "install" command to use "-s", which won't work for target binaries:
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-cflags=-Dfd_mask=int --with-ldns --disable-etc-default-login --disable-lastlog --disable-utmp --disable-utmpx --disable-wtmp --disable-wtmpx --disable-libutil --disable-pututline --disable-pututxline --without-stackprotect --with-pid-dir=$TERMUX_PREFIX/var/run --disable-strip --sysconfdir=$TERMUX_PREFIX/etc/ssh --without-ssh1"
|
||||
|
19
packages/openssh/openbsd-compat-xcrypt.c.patch
Normal file
19
packages/openssh/openbsd-compat-xcrypt.c.patch
Normal file
@ -0,0 +1,19 @@
|
||||
diff -u -r ../openssh-7.3p1/openbsd-compat/xcrypt.c ./openbsd-compat/xcrypt.c
|
||||
--- ../openssh-7.3p1/openbsd-compat/xcrypt.c 2016-07-27 18:54:27.000000000 -0400
|
||||
+++ ./openbsd-compat/xcrypt.c 2016-08-08 14:44:44.488143396 -0400
|
||||
@@ -80,6 +80,7 @@
|
||||
if (salt[0] != '\0')
|
||||
return salt;
|
||||
strlcpy(salt, "xx", sizeof(salt));
|
||||
+#ifndef __ANDROID__
|
||||
setpwent();
|
||||
while ((pw = getpwent()) != NULL) {
|
||||
passwd = shadow_pw(pw);
|
||||
@@ -92,6 +93,7 @@
|
||||
}
|
||||
out:
|
||||
endpwent();
|
||||
+#endif
|
||||
return salt;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user