summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-02-25 14:27:33 +0000
committerpeter <peter@FreeBSD.org>2000-02-25 14:27:33 +0000
commitfdad9bc95f54296e09e84298812055e60e4379f3 (patch)
treeaaeec82d85449de7bd50d43ef4e44b1501626e31 /etc
parent7abc89037fac793b603be499d36de43280068699 (diff)
downloadFreeBSD-src-fdad9bc95f54296e09e84298812055e60e4379f3.zip
FreeBSD-src-fdad9bc95f54296e09e84298812055e60e4379f3.tar.gz
Install ssh files in /etc/ssh and tidy up a couple of other nits
Diffstat (limited to 'etc')
-rw-r--r--etc/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/etc/Makefile b/etc/Makefile
index 9e8da50..e0f3435 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -21,7 +21,7 @@ BIN1= aliases amd.map apmd.conf auth.conf \
${.CURDIR}/../usr.bin/locate/locate/locate.rc
.if exists(${.CURDIR}/../crypto) && !defined(NO_OPENSSH)
-BIN1+= ${.CURDIR}/../crypto/openssh/ssh_config \
+SSH= ${.CURDIR}/../crypto/openssh/ssh_config \
${.CURDIR}/../crypto/openssh/sshd_config
.endif
@@ -60,18 +60,22 @@ distribution:
${DESTDIR}/var/log/cron; \
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 \
master.passwd ${DESTDIR}/etc; \
- ( cd ${.CURDIR}/periodic; ${MAKE} install );\
- ( cd ${.CURDIR}/../gnu/usr.bin/send-pr; ${MAKE} etc-gnats-freefall );\
+ ( cd ${.CURDIR}/periodic; ${MAKE} install ); \
+ ( cd ${.CURDIR}/../gnu/usr.bin/send-pr; ${MAKE} etc-gnats-freefall ); \
( cd ${.CURDIR}/../gnu/libexec/uucp/sample; ${MAKE} install ); \
( cd ${.CURDIR}/../share/termcap; ${MAKE} etc-termcap ); \
( cd ${.CURDIR}/../usr.sbin/rmt; ${MAKE} etc-rmt ); \
( cd ${.CURDIR}/sendmail; ${MAKE} etc-sendmail.cf ); \
- ( cd ${.CURDIR}/isdn; ${MAKE} install );\
+ ( cd ${.CURDIR}/isdn; ${MAKE} install ); \
pwd_mkdb -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd; \
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \
MAKEDEV.local MAKEDEV ${DESTDIR}/dev )
+.if exists(${.CURDIR}/../crypto) && !defined(NO_OPENSSH)
+ (cd ${.CURDIR}; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${SSH} \
+ ${DESTDIR}/etc/ssh )
+.endif
.if !defined(NO_MAKEDEV)
- (cd ${DESTDIR}/dev; sh MAKEDEV all) ;
+ (cd ${DESTDIR}/dev; sh MAKEDEV all)
.endif
(cd ${.CURDIR}/root; \
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.cshrc \
OpenPOWER on IntegriCloud