1.PATH: ${.CURDIR}/../../crypto/openssh 2 3FILES= sshd_config 4FILESDIR= /etc/ssh 5FILESMODE= 644 6FILESOWN= ${BINOWN} 7FILESGRP= ${BINGRP} 8 9# Make sure sshd_config disables PasswordAuthentication 10# 11beforeinstall: 12 @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 \ 13 echo "crypto sshd_config missing expected directives"; \ 14 exit 1; \ 15 fi 16 17.include <bsd.prog.mk> 18