ladybird/Ports/dropbear/package.sh
Yonatan Goldschmidt c377e6af29 Ports: Add preliminary dropbear port
This is very basic and doesn't support many features. Instead
of describing what it *doesn't* support, I'll describe what I
have tested:
1. Public key authentication (password is not supported)
2. Single command execution
3. PTY-less interactive bash shell (/bin/sh doesn't work)
4. Multi-user (i.e you can ssh as 'anon' as well as root)
2020-05-11 09:50:42 +02:00

16 lines
752 B
Bash
Executable file

#!/bin/bash ../.port_include.sh
port=dropbear
version=2019.78
files="https://matt.ucc.asn.au/dropbear/releases/dropbear-${version}.tar.bz2 dropbear-${version}.tar.bz2
https://matt.ucc.asn.au/dropbear/releases/dropbear-${version}.tar.bz2.asc dropbear-${version}.tar.bz2.asc
https://matt.ucc.asn.au/dropbear/releases/dropbear-key-2015.asc dropbear-key-2015.asc"
auth_type="sig"
auth_opts="--keyring ./dropbear-key-2015.asc dropbear-${version}.tar.bz2.asc"
useconfigure=true
# don't care about zlib, less deps is better
configopts="--disable-zlib "
# Serenity's utmp is not fully compatible with what dropbear expects.
configopts+="--disable-utmp --disable-wtmp --disable-login --disable-lastlog "
# not added automatically
configopts+="--enable-static"