From: Jo-Philipp Wich Date: Sun, 6 Mar 2011 17:33:27 +0000 (+0000) Subject: dropbear: fix missing -lcrypt on BSDish host systems (#8971) X-Git-Tag: reboot~17339 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b81f8abd60a18ab935c6846c381f18a12f0a1052;p=oweals%2Fopenwrt.git dropbear: fix missing -lcrypt on BSDish host systems (#8971) SVN-Revision: 25891 --- 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@