From: Marcin Juszkiewicz Date: Sun, 4 Jul 2004 21:15:25 +0000 (+0000) Subject: multi-binary dropbear X-Git-Tag: Release-2010-05/1~18325 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2186541cd23c93323673da5fc777051ceafb6528;p=openembedded.git multi-binary dropbear BKrev: 40e8736dAARNmx01EmJf2pRnjSEWFQ --- 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 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' \