xref: /dragonfly/usr.sbin/sshd/Makefile.etc (revision a3127495)
1FILES=		sshd_config
2FILESDIR=	/etc/ssh
3FILESMODE=	644
4FILESOWN=	${BINOWN}
5FILESGRP=	${BINGRP}
6
7# Make sure sshd_config disables PasswordAuthentication
8#
9beforeinstall:
10	@if [ "`(cat ${.CURDIR}/../../crypto/openssh/sshd_config | sort | uniq; cat ${.CURDIR}/sshd_config_expect) | sort | uniq -d | wc -l`" != "`cat ${.CURDIR}/sshd_config_expect | wc -l`" ]; then \
11		echo "crypto sshd_config missing expected directives"; \
12		exit 1;	\
13	fi
14
15.include "../../Makefile.ssh.common"
16.include <bsd.prog.mk>
17