diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2004-07-04 21:15:25 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2004-07-04 21:15:25 +0000 |
commit | 2186541cd23c93323673da5fc777051ceafb6528 (patch) | |
tree | 8e512a8af6528daa46ea28dabb0a3de2e5a7a863 /dropbear | |
parent | 4ba9b2faff0624a1251c773fbeec8ae84193dafd (diff) |
multi-binary dropbear
BKrev: 40e8736dAARNmx01EmJf2pRnjSEWFQ
Diffstat (limited to 'dropbear')
-rw-r--r-- | dropbear/dropbear-0.42/multi-binary.patch | 0 | ||||
-rw-r--r-- | dropbear/dropbear_0.42.oe | 13 |
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' \ |