mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
tinyssh: update to 20250201.
This commit is contained in:
parent
e75ec8829f
commit
537f0ab6b0
1 changed files with 7 additions and 15 deletions
|
@ -1,32 +1,24 @@
|
||||||
# Template file for 'tinyssh'
|
# Template file for 'tinyssh'
|
||||||
pkgname=tinyssh
|
pkgname=tinyssh
|
||||||
version=20240101
|
version=20250201
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_dirs="/etc/tinyssh 0755 root root"
|
make_dirs="/etc/tinyssh 0755 root root"
|
||||||
|
make_use_env=yes
|
||||||
|
make_check_target="test"
|
||||||
depends="ucspi-tcp"
|
depends="ucspi-tcp"
|
||||||
short_desc="Minimalistic SSH server"
|
short_desc="Minimalistic SSH server"
|
||||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="CC0-1.0"
|
license="CC0-1.0 OR 0BSD OR MIT-0 OR MIT"
|
||||||
homepage="https://tinyssh.org"
|
homepage="https://tinyssh.org"
|
||||||
distfiles="https://github.com/janmojzis/tinyssh/archive/${version}.tar.gz"
|
distfiles="https://github.com/janmojzis/tinyssh/archive/${version}.tar.gz"
|
||||||
checksum=d2cd49d0e5e8bdb808d86f07f946a0cfbf2dc9a449a4b8243a82be267d852b62
|
checksum=7eddb7ef4b4853cbba63d0834b2b347f01a2fb980fc50aa6c13a35c387930bfc
|
||||||
|
|
||||||
if [ -n "${CROSS_BUILD}" ] ; then
|
|
||||||
make_build_target=cross-compile
|
|
||||||
fi
|
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
echo '/usr/bin' > conf-bin
|
vsed -i -e 's:/sbin:/bin:' Makefile
|
||||||
# Some of the tinyssh tests really shouldn't be run under xbps-src
|
|
||||||
# or on builders, so comment them all out.
|
|
||||||
# Build system needs a way to disable tests. Here's a dirty hack.
|
|
||||||
echo 'int main(void) { return 0; }' > cmbbogustest.c
|
|
||||||
for i in tinyssh-tests/*test.c crypto-tests/*test.c; do
|
|
||||||
cp cmbbogustest.c "$i"
|
|
||||||
done
|
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vsv tinysshd
|
vsv tinysshd
|
||||||
|
vlicense LICENCE.md
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue