2017-04-07 13:53:02 +00:00
|
|
|
# dropbear is a tiny ssh client
|
|
|
|
modules-$(CONFIG_DROPBEAR) += dropbear
|
|
|
|
|
|
|
|
dropbear_version := 2016.74
|
|
|
|
dropbear_dir := dropbear-$(dropbear_version)
|
|
|
|
dropbear_tar := dropbear-$(dropbear_version).tar.bz2
|
2022-08-02 21:35:18 +00:00
|
|
|
dropbear_url := https://mirror.dropbear.nl/mirror/releases/$(dropbear_tar)
|
2017-04-07 13:53:02 +00:00
|
|
|
dropbear_hash := 2720ea54ed009af812701bcc290a2a601d5c107d12993e5d92c0f5f81f718891
|
|
|
|
|
|
|
|
dropbear_configure := ./configure \
|
2017-04-08 17:23:34 +00:00
|
|
|
$(CROSS_TOOLS) \
|
2021-07-18 17:34:20 +00:00
|
|
|
--host $(MUSL_ARCH)-elf-linux \
|
2017-04-07 13:53:02 +00:00
|
|
|
--prefix "/" \
|
2017-09-20 14:29:14 +00:00
|
|
|
--disable-lastlog \
|
2024-01-29 03:55:11 +00:00
|
|
|
--disable-syslog \
|
2017-09-20 14:29:14 +00:00
|
|
|
--disable-utmp \
|
|
|
|
--disable-utmpx \
|
|
|
|
--disable-wtmp \
|
|
|
|
--disable-wtmpx \
|
2017-04-07 13:53:02 +00:00
|
|
|
|
2017-09-20 14:29:14 +00:00
|
|
|
dropbear_output := ssh scp dropbear
|
2017-04-07 13:53:02 +00:00
|
|
|
dropbear_target := \
|
|
|
|
$(MAKE_JOBS) \
|
2017-04-08 17:23:34 +00:00
|
|
|
$(CROSS_TOOLS) \
|
2017-04-07 13:53:02 +00:00
|
|
|
DESTDIR="$(INSTALL)" \
|
2017-09-20 14:29:14 +00:00
|
|
|
dbclient scp dropbear \
|
2017-04-07 13:53:02 +00:00
|
|
|
&& \
|
2018-05-02 15:38:39 +00:00
|
|
|
cp -a $(build)/$(dropbear_dir)/dbclient $(build)/$(dropbear_dir)/ssh
|
2017-04-07 13:53:02 +00:00
|
|
|
|
|
|
|
dropbear_depends := zlib $(musl_dep)
|