void-packages/srcpkgs/dropbear/template

29 lines
905 B
Bash

# Template file for 'dropbear'
pkgname=dropbear
version=2022.82
revision=1
build_style=gnu-configure
configure_args="--enable-zlib --disable-bundled-libtom"
makedepends="zlib-devel libtommath-devel libtomcrypt-devel"
checkdepends="python3-pytest python3-parsing python3-psutil openssh"
short_desc="Small SSH server and client"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://matt.ucc.asn.au/dropbear/dropbear.html"
changelog="https://matt.ucc.asn.au/dropbear/CHANGES"
distfiles="https://matt.ucc.asn.au/${pkgname}/releases/${pkgname}-${version}.tar.bz2"
checksum=3a038d2bbc02bf28bbdd20c012091f741a3ec5cbe460691811d714876aad75d1
make_dirs="/etc/dropbear 0755 root root"
# These tests don't work from within xbps-src
# and probably should not be run from there
pre_check() {
rm test/test_aslr.py
rm test/test_channels.py
}
post_install() {
vsv dropbear
vlicense LICENSE
}