Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/ssh Install ssh_config and sshd_config for `distribu...



details:   https://anonhg.NetBSD.org/src/rev/518fa5443d9f
branches:  trunk
changeset: 495283:518fa5443d9f
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Jul 25 18:54:09 2000 +0000

description:
Install ssh_config and sshd_config for `distribution' target.

diffstat:

 usr.bin/ssh/Makefile |  13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r cf4cf39a7707 -r 518fa5443d9f usr.bin/ssh/Makefile
--- a/usr.bin/ssh/Makefile      Tue Jul 25 18:47:28 2000 +0000
+++ b/usr.bin/ssh/Makefile      Tue Jul 25 18:54:09 2000 +0000
@@ -1,9 +1,20 @@
-#      $NetBSD: Makefile,v 1.1 2000/07/25 16:32:24 thorpej Exp $
+#      $NetBSD: Makefile,v 1.2 2000/07/25 18:54:09 thorpej Exp $
 
 .include <bsd.own.mk>
 
+.include "${.CURDIR}/Makefile.inc"
+
 .if defined(SSHDIST)
 SUBDIR=        libssh ssh sshd ssh-add ssh-keygen ssh-agent scp
+
+distribution:
+       ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 644 \
+           ${SSHDIST}/ssh_config ${DESTDIR}/etc/ssh_config
+       ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 644 \ 
+           ${SSHDIST}/sshd_config ${DESTDIR}/etc/sshd_config
+.else
+distribution:
+       @true
 .endif
 
 .include <bsd.subdir.mk>



Home | Main Index | Thread Index | Old Index