diff options
Diffstat (limited to 'package/dropbear/Makefile')
-rw-r--r-- | package/dropbear/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/package/dropbear/Makefile b/package/dropbear/Makefile index 00d9b249f..8d720680a 100644 --- a/package/dropbear/Makefile +++ b/package/dropbear/Makefile @@ -5,9 +5,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:= dropbear PKG_VERSION:= 0.52 -PKG_RELEASE:= 2 +PKG_RELEASE:= 3 PKG_MD5SUM:= 1c69ec674481d7745452f68f2ea5597e -PKG_DESCR:= SSH 2 server/client designed for embedded systems +PKG_DESCR:= SSH 2 server/client designed for embedded systems PKG_SECTION:= net/security PKG_URL:= http://matt.ucc.asn.au/dropbear PKG_SITES:= http://matt.ucc.asn.au/dropbear/releases/ @@ -62,5 +62,11 @@ do-install: $(INSTALL_DIR) $(IDIR_DBCONVERT)/usr/bin $(INSTALL_BIN) $(WRKBUILD)/dropbearconvert \ $(IDIR_DBCONVERT)/usr/bin/dropbearconvert + # ssh pubkey + test -z $(ADK_RUNTIME_SSH_PUBKEY) || ( \ + mkdir -p $(IDIR_DROPBEAR)/etc/dropbear; \ + echo $(ADK_RUNTIME_SSH_PUBKEY) \ + >$(IDIR_DROPBEAR)/etc/dropbear/authorized_keys; \ + ) include ${TOPDIR}/mk/pkg-bottom.mk |