33 lines
985 B
Bash
33 lines
985 B
Bash
# Template file for 'dropbear'
|
|
pkgname=dropbear
|
|
version=2022.83
|
|
revision=2
|
|
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=bc5a121ffbc94b5171ad5ebe01be42746d50aa797c9549a4639894a16749443b
|
|
make_dirs="/etc/dropbear 0755 root root"
|
|
|
|
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
|
|
makedepends+=" libxcrypt-devel"
|
|
fi
|
|
|
|
# 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
|
|
}
|