Skip to content

Commit 7b9d668

Browse files
committed
modules/dropbear: modules/dropbear: Upgrade to 2025.88 with GCC 15.1.0 compatibility
Upgrade Dropbear to 2025.88, update tar URL/checksum, and disable unused configure features to reduce build surface. Signed-off-by: Thierry Laurion <insurgo@riseup.net>
1 parent d9002a1 commit 7b9d668

2 files changed

Lines changed: 12 additions & 8 deletions

File tree

modules/dropbear

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# dropbear is a tiny ssh client
22
modules-$(CONFIG_DROPBEAR) += dropbear
33

4-
dropbear_version := 2016.74
4+
dropbear_version := 2025.88
55
dropbear_dir := dropbear-$(dropbear_version)
66
dropbear_tar := dropbear-$(dropbear_version).tar.bz2
7-
dropbear_url := https://mirror.dropbear.nl/mirror/releases/$(dropbear_tar)
8-
dropbear_hash := 2720ea54ed009af812701bcc290a2a601d5c107d12993e5d92c0f5f81f718891
7+
dropbear_url := https://matt.ucc.asn.au/dropbear/releases/$(dropbear_tar)
8+
dropbear_hash := 783f50ea27b17c16da89578fafdb6decfa44bb8f6590e5698a4e4d3672dc53d4
99

1010
dropbear_configure := ./configure \
1111
$(CROSS_TOOLS) \
@@ -17,7 +17,12 @@ dropbear_configure := ./configure \
1717
--disable-utmpx \
1818
--disable-wtmp \
1919
--disable-wtmpx \
20-
20+
--disable-loginfunc \
21+
--disable-pututline \
22+
--disable-pututxline \
23+
--disable-openpty \
24+
--disable-shadow \
25+
2126
dropbear_output := ssh scp dropbear
2227
dropbear_target := \
2328
$(MAKE_JOBS) \

patches/dropbear-2016.74.patch renamed to patches/dropbear-2025.88/0001-disable-fatal-user-group-change-errors-for-heads-environment.patch

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
diff --recursive -u ../clean/dropbear-2016.74/svr-chansession.c ./dropbear-2016.74/svr-chansession.c
2-
--- ../clean/dropbear-2016.74/svr-chansession.c 2016-07-21 11:17:09.000000000 -0400
3-
+++ dropbear-2016.74/svr-chansession.c 2017-09-19 11:01:34.889121503 -0400
4-
@@ -925,10 +925,10 @@
1+
--- a/src/svr-chansession.c
2+
+++ b/src/svr-chansession.c
3+
@@ -987,10 +987,10 @@
54
if ((setgid(ses.authstate.pw_gid) < 0) ||
65
(initgroups(ses.authstate.pw_name,
76
ses.authstate.pw_gid) < 0)) {

0 commit comments

Comments
 (0)