openssh: disable wtmp/utmp on musl

This commit is contained in:
lemmi 2017-02-21 21:47:41 +01:00 committed by Christian Neukirchen
parent f93e859330
commit 6a92429fa9
1 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'openssh'
pkgname=openssh
version=7.4p1
revision=2
revision=3
build_style=gnu-configure
configure_args="--datadir=/usr/share/openssh
--sysconfdir=/etc/ssh --without-selinux --with-privsep-user=nobody
@ -26,6 +26,11 @@ checksum=1b1fc4a14e2024293181924ed24872e6f2e06293f3e8926a376b8aec481f19d1
build_options="ldns ssl"
build_options_default="ldns ssl"
case $XBPS_TARGET_MACHINE in
*-musl)
configure_args+=" --disable-wtmp --disable-utmp"
esac
post_install() {
vinstall contrib/sshd.pam.generic 644 etc/pam.d sshd
vbin contrib/ssh-copy-id