diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2006-03-27 19:20:22 +0000 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2006-03-27 19:20:22 +0000 |
commit | 9338ea80b3c47759869be9f6ee434383324cd99a (patch) | |
tree | c72f34764ebc245db6bdc3c25be957eca480b588 | |
parent | 3a71a90b793a13b44e05d792b711f17900611ee1 (diff) | |
download | mtk-20170518-9338ea80b3c47759869be9f6ee434383324cd99a.zip mtk-20170518-9338ea80b3c47759869be9f6ee434383324cd99a.tar.gz mtk-20170518-9338ea80b3c47759869be9f6ee434383324cd99a.tar.bz2 |
sync dropbear with wr, remove zlib dependency
SVN-Revision: 3508
-rw-r--r-- | openwrt/package/Makefile | 1 | ||||
-rw-r--r-- | openwrt/package/dropbear/Makefile | 8 | ||||
-rw-r--r-- | openwrt/package/dropbear/ipkg/dropbear.control | 1 | ||||
-rw-r--r-- | openwrt/package/dropbear/patches/130-scp_argument.patch | 16 | ||||
-rw-r--r-- | openwrt/package/dropbear/patches/130-ssh_ignore_o_and_x_args.patch | 22 | ||||
-rw-r--r-- | openwrt/package/dropbear/patches/160-writechannel.patch | 12 |
6 files changed, 26 insertions, 34 deletions
diff --git a/openwrt/package/Makefile b/openwrt/package/Makefile index 0f73358..298eaff 100644 --- a/openwrt/package/Makefile +++ b/openwrt/package/Makefile @@ -308,7 +308,6 @@ curl-compile: openssl-compile zlib-compile cyrus-sasl-compile: openssl-compile deco-compile: ncurses-compile dhcp6-compile: ncurses-compile -dropbear-compile: zlib-compile dsniff-compile: libnids-compile openssl-compile libgdbm-compile freetype-compile: zlib-compile fprobe-compile: libpcap-compile diff --git a/openwrt/package/dropbear/Makefile b/openwrt/package/dropbear/Makefile index d43e70c..75eaf6e 100644 --- a/openwrt/package/dropbear/Makefile +++ b/openwrt/package/dropbear/Makefile @@ -3,13 +3,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dropbear -PKG_VERSION:=0.47 +PKG_VERSION:=0.48.1 PKG_RELEASE:=1 -PKG_MD5SUM:=cf634614d52278d44dfd9c224a438bf2 +PKG_MD5SUM:=ca8e53a766faec831882831364568421 PKG_SOURCE_URL:=http://matt.ucc.asn.au/dropbear/releases/ -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_CAT:=bzcat +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_CAT:=zcat PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) diff --git a/openwrt/package/dropbear/ipkg/dropbear.control b/openwrt/package/dropbear/ipkg/dropbear.control index 800a0eb..0aa8cc5 100644 --- a/openwrt/package/dropbear/ipkg/dropbear.control +++ b/openwrt/package/dropbear/ipkg/dropbear.control @@ -1,5 +1,4 @@ Package: dropbear Priority: optional -Depends: zlib Section: net Description: a small SSH 2 server/client designed for small memory environments. diff --git a/openwrt/package/dropbear/patches/130-scp_argument.patch b/openwrt/package/dropbear/patches/130-scp_argument.patch deleted file mode 100644 index befba5d..0000000 --- a/openwrt/package/dropbear/patches/130-scp_argument.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -urN dropbear-0.45.old/scp.c dropbear-0.45/scp.c ---- dropbear-0.45.old/scp.c 2005-03-07 05:27:02.000000000 +0100 -+++ dropbear-0.45/scp.c 2005-03-25 11:28:22.000000000 +0100 -@@ -249,9 +249,9 @@ - - args.list = NULL; - addargs(&args, "ssh"); /* overwritten with ssh_program */ -- addargs(&args, "-x"); -- addargs(&args, "-oForwardAgent no"); -- addargs(&args, "-oClearAllForwardings yes"); -+// addargs(&args, "-x"); -+// addargs(&args, "-oForwardAgent no"); -+// addargs(&args, "-oClearAllForwardings yes"); - - fflag = tflag = 0; - while ((ch = getopt(argc, argv, "dfl:prtvBCc:i:P:q1246S:o:F:")) != -1) diff --git a/openwrt/package/dropbear/patches/130-ssh_ignore_o_and_x_args.patch b/openwrt/package/dropbear/patches/130-ssh_ignore_o_and_x_args.patch new file mode 100644 index 0000000..9b79e48 --- /dev/null +++ b/openwrt/package/dropbear/patches/130-ssh_ignore_o_and_x_args.patch @@ -0,0 +1,22 @@ +diff -ruN dropbear-0.48-old/cli-runopts.c dropbear-0.48-new/cli-runopts.c +--- dropbear-0.48-old/cli-runopts.c 2006-03-09 16:06:03.000000000 +0100 ++++ dropbear-0.48-new/cli-runopts.c 2006-03-11 12:28:54.000000000 +0100 +@@ -188,6 +188,10 @@ + debug_trace = 1; + break; + #endif ++ case 'o': ++ next = &dummy; ++ case 'x': ++ break; + case 'F': + case 'e': + case 'c': +@@ -199,7 +203,6 @@ + #ifndef ENABLE_CLI_LOCALTCPFWD + case 'L': + #endif +- case 'o': + case 'b': + next = &dummy; + default: diff --git a/openwrt/package/dropbear/patches/160-writechannel.patch b/openwrt/package/dropbear/patches/160-writechannel.patch deleted file mode 100644 index 0e84a99..0000000 --- a/openwrt/package/dropbear/patches/160-writechannel.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -urN dropbear-0.47.orig/common-channel.c dropbear-0.47/common-channel.c ---- dropbear-0.47.orig/common-channel.c 2005-12-09 06:42:31.000000000 +0100 -+++ dropbear-0.47/common-channel.c 2006-02-05 00:03:37.000000000 +0100 -@@ -377,7 +377,7 @@ - cbuf_incrread(cbuf, len); - channel->recvdonelen += len; - -- if (fd == channel->writefd && len == maxlen && channel->recveof) { -+ if (fd == channel->writefd && len == maxlen && channel->recveof && cbuf_getused(channel->writebuf) == 0) { - /* Check if we're closing up */ - closewritefd(channel); - TRACE(("leave writechannel: recveof set")) |