mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 19:37:10 +02:00
package/dropbear: update to 2011.54
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29330 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
835d7d6225
commit
8f726f27e8
@ -8,14 +8,14 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=dropbear
|
PKG_NAME:=dropbear
|
||||||
PKG_VERSION:=0.53.1
|
PKG_VERSION:=2011.54
|
||||||
PKG_RELEASE:=6
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:= \
|
PKG_SOURCE_URL:= \
|
||||||
http://matt.ucc.asn.au/dropbear/releases/ \
|
http://matt.ucc.asn.au/dropbear/releases/ \
|
||||||
http://www.mirrors.wiretapped.net/security/cryptography/apps/ssh/dropbear/
|
http://www.mirrors.wiretapped.net/security/cryptography/apps/ssh/dropbear/
|
||||||
PKG_MD5SUM:=6b8d901859d9b8a18e2f6bfe0a892a03
|
PKG_MD5SUM:=c627ffe09570fad7aa94d8eac2b9320c
|
||||||
|
|
||||||
PKG_BUILD_PARALLEL:=1
|
PKG_BUILD_PARALLEL:=1
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/svr-chansession.c
|
--- a/svr-chansession.c
|
||||||
+++ b/svr-chansession.c
|
+++ b/svr-chansession.c
|
||||||
@@ -881,12 +881,12 @@ static void execchild(void *user_data) {
|
@@ -884,12 +884,12 @@ static void execchild(void *user_data) {
|
||||||
/* We can only change uid/gid as root ... */
|
/* We can only change uid/gid as root ... */
|
||||||
if (getuid() == 0) {
|
if (getuid() == 0) {
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@
|
|||||||
|
|
||||||
/* The MOTD file path */
|
/* The MOTD file path */
|
||||||
#ifndef MOTD_FILENAME
|
#ifndef MOTD_FILENAME
|
||||||
@@ -185,7 +185,7 @@ much traffic. */
|
@@ -192,7 +192,7 @@ much traffic. */
|
||||||
* note that it will be provided for all "hidden" client-interactive
|
* note that it will be provided for all "hidden" client-interactive
|
||||||
* style prompts - if you want something more sophisticated, use
|
* style prompts - if you want something more sophisticated, use
|
||||||
* SSH_ASKPASS instead. Comment out this var to remove this functionality.*/
|
* SSH_ASKPASS instead. Comment out this var to remove this functionality.*/
|
||||||
|
@ -1,40 +0,0 @@
|
|||||||
http://wl500g.googlecode.com/svn/trunk/dropbear/011-fwd-all-segfault.patch
|
|
||||||
https://dev.openwrt.org/ticket/10339
|
|
||||||
|
|
||||||
--- a/svr-tcpfwd.c
|
|
||||||
+++ b/svr-tcpfwd.c
|
|
||||||
@@ -210,15 +210,13 @@ static int svr_remotetcpreq() {
|
|
||||||
tcpinfo->chantype = &svr_chan_tcpremote;
|
|
||||||
tcpinfo->tcp_type = forwarded;
|
|
||||||
|
|
||||||
- if (!opts.listen_fwd_all
|
|
||||||
- || (strcmp(tcpinfo->listenaddr, "localhost") == 0) ) {
|
|
||||||
- // NULL means "localhost only"
|
|
||||||
- tcpinfo->listenaddr = NULL;
|
|
||||||
- }
|
|
||||||
- else
|
|
||||||
- {
|
|
||||||
- tcpinfo->listenaddr = bindaddr;
|
|
||||||
- }
|
|
||||||
+ if (!opts.listen_fwd_all || (strcmp(bindaddr, "localhost") == 0) ) {
|
|
||||||
+ // NULL means "localhost only"
|
|
||||||
+ tcpinfo->listenaddr = NULL;
|
|
||||||
+ }
|
|
||||||
+ else {
|
|
||||||
+ tcpinfo->listenaddr = bindaddr;
|
|
||||||
+ }
|
|
||||||
|
|
||||||
ret = listen_tcpfwd(tcpinfo);
|
|
||||||
|
|
||||||
--- a/tcp-accept.c
|
|
||||||
+++ b/tcp-accept.c
|
|
||||||
@@ -80,6 +80,9 @@ static void tcp_acceptor(struct Listener
|
|
||||||
addr = tcpinfo->listenaddr;
|
|
||||||
port = tcpinfo->listenport;
|
|
||||||
}
|
|
||||||
+ if (!addr) {
|
|
||||||
+ addr = "localhost";
|
|
||||||
+ }
|
|
||||||
|
|
||||||
buf_putstring(ses.writepayload, addr, strlen(addr));
|
|
||||||
buf_putint(ses.writepayload, port);
|
|
@ -1,14 +1,14 @@
|
|||||||
--- a/Makefile.in
|
--- a/Makefile.in
|
||||||
+++ b/Makefile.in
|
+++ b/Makefile.in
|
||||||
@@ -28,7 +28,7 @@ COMMONOBJS=dbutil.o buffer.o \
|
@@ -56,7 +56,7 @@ HEADERS=options.h dbutil.h session.h pac
|
||||||
queue.o \
|
loginrec.h atomicio.h x11fwd.h agentfwd.h tcpfwd.h compat.h \
|
||||||
atomicio.o compat.o fake-rfc2553.o
|
listener.h fake-rfc2553.h
|
||||||
|
|
||||||
-SVROBJS=@CRYPTLIB@ svr-kex.o svr-algo.o svr-auth.o sshpty.o \
|
-dropbearobjs=$(COMMONOBJS) $(CLISVROBJS) $(SVROBJS) @CRYPTLIB@
|
||||||
+SVROBJS=svr-kex.o svr-algo.o svr-auth.o sshpty.o \
|
+dropbearobjs=$(COMMONOBJS) $(CLISVROBJS) $(SVROBJS)
|
||||||
svr-authpasswd.o svr-authpubkey.o svr-authpubkeyoptions.o svr-session.o svr-service.o \
|
dbclientobjs=$(COMMONOBJS) $(CLISVROBJS) $(CLIOBJS)
|
||||||
svr-chansession.o svr-runopts.o svr-agentfwd.o svr-main.o svr-x11fwd.o\
|
dropbearkeyobjs=$(COMMONOBJS) $(KEYOBJS)
|
||||||
svr-tcpfwd.o svr-authpam.o
|
dropbearconvertobjs=$(COMMONOBJS) $(CONVERTOBJS)
|
||||||
@@ -77,7 +77,7 @@ STRIP=@STRIP@
|
@@ -77,7 +77,7 @@ STRIP=@STRIP@
|
||||||
INSTALL=@INSTALL@
|
INSTALL=@INSTALL@
|
||||||
CPPFLAGS=@CPPFLAGS@
|
CPPFLAGS=@CPPFLAGS@
|
||||||
|
Loading…
Reference in New Issue
Block a user