summaryrefslogtreecommitdiff
path: root/package/dropbear
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-01 18:42:17 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-01 18:42:17 +0100
commit65ba91df3f0ad65244e588d34d11d30d622bf4d0 (patch)
tree73083e41f58c19536c2001bc21ee3584cd2bbfdc /package/dropbear
parentabe3b8f248e747fa1267b2260f9605987aa0c41d (diff)
parent406ccf8df407e0292ee85d259a363c63e2be40a7 (diff)
add x32 toolchain and kernel support
Diffstat (limited to 'package/dropbear')
-rw-r--r--package/dropbear/Makefile2
-rw-r--r--package/dropbear/patches/patch-Makefile_in35
2 files changed, 36 insertions, 1 deletions
diff --git a/package/dropbear/Makefile b/package/dropbear/Makefile
index 31c4284b2..0e497279f 100644
--- a/package/dropbear/Makefile
+++ b/package/dropbear/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= dropbear
PKG_VERSION:= 2014.63
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 7066bb9a2da708f3ed06314fdc9c47fd
PKG_DESCR:= SSH 2 server/client designed for embedded systems
PKG_SECTION:= net/security
diff --git a/package/dropbear/patches/patch-Makefile_in b/package/dropbear/patches/patch-Makefile_in
new file mode 100644
index 000000000..3a139a546
--- /dev/null
+++ b/package/dropbear/patches/patch-Makefile_in
@@ -0,0 +1,35 @@
+--- dropbear-2014.63.orig/Makefile.in 2014-02-19 15:05:24.000000000 +0100
++++ dropbear-2014.63/Makefile.in 2014-03-01 18:27:41.000000000 +0100
+@@ -81,10 +81,10 @@ AR=@AR@
+ RANLIB=@RANLIB@
+ STRIP=@STRIP@
+ INSTALL=@INSTALL@
+-CPPFLAGS=@CPPFLAGS@
+-CFLAGS+=-I. -I$(srcdir) $(CPPFLAGS) @CFLAGS@
+-LIBS+=@LIBS@
+-LDFLAGS=@LDFLAGS@
++CPPFLAGS=@CPPFLAGS@ -I. -I$(srcdir)
++LIBS+=@LIBS@ @CRYPTLIB@
++LDFLAGS+=@LDFLAGS@
++
+
+ EXEEXT=@EXEEXT@
+
+@@ -163,7 +163,7 @@ dropbearkey: $(dropbearkeyobjs)
+ dropbearconvert: $(dropbearconvertobjs)
+
+ dropbear: $(HEADERS) $(LIBTOM_DEPS) Makefile
+- $(CC) $(LDFLAGS) -o $@$(EXEEXT) $($@objs) $(LIBTOM_LIBS) $(LIBS) @CRYPTLIB@
++ $(CC) $(LDFLAGS) -o $@$(EXEEXT) $($@objs) $(LIBTOM_LIBS) $(LIBS)
+
+ dbclient: $(HEADERS) $(LIBTOM_DEPS) Makefile
+ $(CC) $(LDFLAGS) -o $@$(EXEEXT) $($@objs) $(LIBTOM_LIBS) $(LIBS)
+@@ -184,7 +184,7 @@ ifeq ($(MULTI),1)
+ endif
+
+ dropbearmulti$(EXEEXT): $(HEADERS) $(MULTIOBJS) $(LIBTOM_DEPS) Makefile
+- $(CC) $(LDFLAGS) -o $@ $(MULTIOBJS) $(LIBTOM_LIBS) $(LIBS) @CRYPTLIB@
++ $(CC) $(LDFLAGS) -o $@ $(MULTIOBJS) $(LIBTOM_LIBS) $(LIBS)
+
+ multibinary: dropbearmulti$(EXEEXT)
+