summaryrefslogtreecommitdiff
path: root/Ports/dropbear/package.sh
blob: 7c26a22adde85de1aabb7dba0b445e08b32d1b09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env -S bash ../.port_include.sh
port=dropbear
version=2019.78
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"

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")