aboutsummaryrefslogtreecommitdiffstats
path: root/package/dropbear/patches
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-03-06 17:33:27 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-03-06 17:33:27 +0000
commit8fd85acca83085cb45acdea8a67269cf7b328d5b (patch)
tree977a31284757d3b7c064593c5e89c39150043587 /package/dropbear/patches
parente3df1bc25af6de50937fa80ef8f0aa0965fd1837 (diff)
downloadupstream-8fd85acca83085cb45acdea8a67269cf7b328d5b.tar.gz
upstream-8fd85acca83085cb45acdea8a67269cf7b328d5b.tar.bz2
upstream-8fd85acca83085cb45acdea8a67269cf7b328d5b.zip
[package] dropbear: fix missing -lcrypt on BSDish host systems (#8971)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25891 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/dropbear/patches')
-rw-r--r--package/dropbear/patches/200-lcrypt_bsdfix.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/dropbear/patches/200-lcrypt_bsdfix.patch b/package/dropbear/patches/200-lcrypt_bsdfix.patch
new file mode 100644
index 0000000000..bbd6644dd9
--- /dev/null
+++ b/package/dropbear/patches/200-lcrypt_bsdfix.patch
@@ -0,0 +1,20 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -28,7 +28,7 @@ COMMONOBJS=dbutil.o buffer.o \
+ queue.o \
+ atomicio.o compat.o fake-rfc2553.o
+
+-SVROBJS=@CRYPTLIB@ svr-kex.o svr-algo.o svr-auth.o sshpty.o \
++SVROBJS=svr-kex.o svr-algo.o svr-auth.o sshpty.o \
+ svr-authpasswd.o svr-authpubkey.o svr-authpubkeyoptions.o svr-session.o svr-service.o \
+ svr-chansession.o svr-runopts.o svr-agentfwd.o svr-main.o svr-x11fwd.o\
+ svr-tcpfwd.o svr-authpam.o
+@@ -77,7 +77,7 @@ STRIP=@STRIP@
+ INSTALL=@INSTALL@
+ CPPFLAGS=@CPPFLAGS@
+ CFLAGS+=-I. -I$(srcdir) $(CPPFLAGS) @CFLAGS@
+-LIBS+=@LIBS@
++LIBS+=@CRYPTLIB@ @LIBS@
+ LDFLAGS=@LDFLAGS@
+
+ EXEEXT=@EXEEXT@