mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
openssh: disable wtmp/utmp on musl
This commit is contained in:
parent
f93e859330
commit
6a92429fa9
1 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'openssh'
|
# Template file for 'openssh'
|
||||||
pkgname=openssh
|
pkgname=openssh
|
||||||
version=7.4p1
|
version=7.4p1
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--datadir=/usr/share/openssh
|
configure_args="--datadir=/usr/share/openssh
|
||||||
--sysconfdir=/etc/ssh --without-selinux --with-privsep-user=nobody
|
--sysconfdir=/etc/ssh --without-selinux --with-privsep-user=nobody
|
||||||
|
@ -26,6 +26,11 @@ checksum=1b1fc4a14e2024293181924ed24872e6f2e06293f3e8926a376b8aec481f19d1
|
||||||
build_options="ldns ssl"
|
build_options="ldns ssl"
|
||||||
build_options_default="ldns ssl"
|
build_options_default="ldns ssl"
|
||||||
|
|
||||||
|
case $XBPS_TARGET_MACHINE in
|
||||||
|
*-musl)
|
||||||
|
configure_args+=" --disable-wtmp --disable-utmp"
|
||||||
|
esac
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall contrib/sshd.pam.generic 644 etc/pam.d sshd
|
vinstall contrib/sshd.pam.generic 644 etc/pam.d sshd
|
||||||
vbin contrib/ssh-copy-id
|
vbin contrib/ssh-copy-id
|
||||||
|
|
Loading…
Add table
Reference in a new issue