summaryrefslogtreecommitdiff
path: root/dropbear
diff options
context:
space:
mode:
Diffstat (limited to 'dropbear')
-rw-r--r--dropbear/dropbear-0.42/multi-binary.patch0
-rw-r--r--dropbear/dropbear_0.42.oe13
2 files changed, 11 insertions, 2 deletions
diff --git a/dropbear/dropbear-0.42/multi-binary.patch b/dropbear/dropbear-0.42/multi-binary.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/dropbear/dropbear-0.42/multi-binary.patch
diff --git a/dropbear/dropbear_0.42.oe b/dropbear/dropbear_0.42.oe
index 9b907d2551..959b7b21be 100644
--- a/dropbear/dropbear_0.42.oe
+++ b/dropbear/dropbear_0.42.oe
@@ -1,11 +1,12 @@
DESCRIPTION = "Dropbear SSH Implementation"
LICENSE = "MIT"
DEPENDS = "zlib ncurses"
-PR = "r3"
+PR = "r4"
SRC_URI = "http://matt.ucc.asn.au/dropbear/releases/dropbear-${PV}.tar.bz2 \
file://configure.patch;patch=1 \
file://allow-nopw.patch;patch=1 \
+ file://multi-binary.patch;patch=1 \
file://init"
S = "${WORKDIR}/dropbear-${PV}"
@@ -16,6 +17,11 @@ INITSCRIPT_PARAMS = "defaults 10"
CFLAGS_prepend = "-I. "
LD = "${CC}"
+
+do_compile () {
+ oe_runmake dropbearmulti
+}
+
do_install () {
install -d ${D}/${sysconfdir} \
${D}/${sysconfdir}/init.d \
@@ -23,7 +29,10 @@ do_install () {
${D}/${sysconfdir}/dropbear \
${D}/${sbindir} \
${D}/${localstatedir}
- autotools_do_install
+
+ install -m 0755 dropbearmulti ${D}/${sbindir}/
+ cd ${D}/${sbindir}/ && ln -s ./dropbearmulti dropbear && ln -s ./dropbearmulti dropbearkey && ln -s ./dropbearmulti dropbearconvert
+# autotools_do_install
cat ${WORKDIR}/init | sed -e 's,/etc,${sysconfdir},g' \
-e 's,/usr/sbin,${sbindir},g' \
-e 's,/var,${localstatedir},g' \