dropbear 2014.66 -> 2015.67

This commit is contained in:
Tobias Geerinckx-Rice 2015-04-17 00:57:25 +02:00
parent 2123be342d
commit 32bd963427
2 changed files with 2 additions and 23 deletions

View File

@ -2,11 +2,11 @@
sftpPath ? "/var/run/current-system/sw/libexec/sftp-server" }:
stdenv.mkDerivation rec {
name = "dropbear-2014.66";
name = "dropbear-2015.67";
src = fetchurl {
url = "http://matt.ucc.asn.au/dropbear/releases/${name}.tar.bz2";
sha256 = "0xmbcjm2pbhih459667wy8acs4nax4amvzwqwfxw0z2i19ky4gxb";
sha256 = "1rf8k3v0bklp04a6x85zpa4f45ad5rfqmiv5f1wfbzaxcja0asby";
};
dontDisableStatic = enableStatic;
@ -31,10 +31,6 @@ stdenv.mkDerivation rec {
# Allow sessions to inherit the PATH from the parent dropbear.
# Otherwise they only get the usual /bin:/usr/bin kind of PATH
./pass-path.patch
# Bugfix
# http://article.gmane.org/gmane.network.ssh.dropbear/1361
./proxycrash.patch
];
buildInputs = [ zlib ];

View File

@ -1,17 +0,0 @@
diff -r 5ba19d00da08 cli-runopts.c
--- a/cli-runopts.c Sun May 26 18:43:00 2013 +0800
+++ b/cli-runopts.c Mon Jun 17 19:51:08 2013 +0000
@@ -383,6 +383,13 @@
exit(EXIT_FAILURE);
}
+#ifdef ENABLE_CLI_PROXYCMD
+ if (cli_opts.proxycmd) {
+ /* To match the common path of m_freeing it */
+ cli_opts.proxycmd = m_strdup(cli_opts.proxycmd);
+ }
+#endif
+
if (cli_opts.remoteport == NULL) {
cli_opts.remoteport = "22";
}