2021-01-22 19:44:05 +03:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
2020-05-11 00:03:39 +03:00
|
|
|
port=dropbear
|
|
|
|
version=2019.78
|
2020-06-19 15:33:41 +03:00
|
|
|
files="https://mirror.dropbear.nl/mirror/releases/dropbear-${version}.tar.bz2 dropbear-${version}.tar.bz2
|
|
|
|
https://mirror.dropbear.nl/mirror/releases/dropbear-${version}.tar.bz2.asc dropbear-${version}.tar.bz2.asc
|
|
|
|
https://mirror.dropbear.nl/mirror/releases/dropbear-key-2015.asc dropbear-key-2015.asc"
|
2020-05-11 00:03:39 +03:00
|
|
|
|
|
|
|
auth_type="sig"
|
2021-09-27 01:16:18 +03:00
|
|
|
auth_opts=("--keyring" "./dropbear-key-2015.asc" "dropbear-${version}.tar.bz2.asc")
|
2020-05-11 00:03:39 +03:00
|
|
|
useconfigure=true
|
2022-01-08 16:32:29 +03:00
|
|
|
use_fresh_config_sub=true
|
2020-05-11 00:03:39 +03:00
|
|
|
# don't care about zlib, less deps is better
|
2021-09-27 01:16:18 +03:00
|
|
|
configopts=("--disable-zlib")
|
2020-05-11 00:03:39 +03:00
|
|
|
# Serenity's utmp is not fully compatible with what dropbear expects.
|
2021-09-27 01:16:18 +03:00
|
|
|
configopts+=("--disable-utmp" "--disable-wtmp" "--disable-login" "--disable-lastlog")
|