diff options
Diffstat (limited to 'dropbear/dropbear_0.43.oe')
-rw-r--r-- | dropbear/dropbear_0.43.oe | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/dropbear/dropbear_0.43.oe b/dropbear/dropbear_0.43.oe index ba9d28238c..1c4330c382 100644 --- a/dropbear/dropbear_0.43.oe +++ b/dropbear/dropbear_0.43.oe @@ -1,7 +1,7 @@ DESCRIPTION = "Dropbear SSH Implementation" LICENSE = "MIT" DEPENDS = "zlib ncurses" -PR = "r5" +PR = "r6" SRC_URI = "http://matt.ucc.asn.au/dropbear/releases/dropbear-${PV}.tar.bz2 \ file://configure.patch;patch=1 \ @@ -42,14 +42,13 @@ do_install () { } pkg_postinst_append () { -if [ ! -n "$D" ]; then - if [ ! -f "${sysconfdir}/dropbear/dropbear_rsa_host_key" ]; then - dropbearkey -t rsa -f ${sysconfdir}/dropbear/dropbear_rsa_host_key - fi - #if [ ! -f "${sysconfdir}/dropbear/dropbear_dss_host_key" ]; then - # dropbearkey -t dss -f ${sysconfdir}/dropbear/dropbear_dss_host_key - #fi +if [ -n "$D" ]; then exit 1; fi +if [ ! -f "${sysconfdir}/dropbear/dropbear_rsa_host_key" ]; then + dropbearkey -t rsa -f ${sysconfdir}/dropbear/dropbear_rsa_host_key fi +#if [ ! -f "${sysconfdir}/dropbear/dropbear_dss_host_key" ]; then +# dropbearkey -t dss -f ${sysconfdir}/dropbear/dropbear_dss_host_key +#fi } pkg_postrm_append () { |