diff options
Diffstat (limited to 'security/openssh/pkg/PLIST')
-rw-r--r-- | security/openssh/pkg/PLIST | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/security/openssh/pkg/PLIST b/security/openssh/pkg/PLIST index c71d513d55e..37b9e1dbc98 100644 --- a/security/openssh/pkg/PLIST +++ b/security/openssh/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1 2000/01/17 05:34:35 christos Exp $ +@comment $NetBSD: PLIST,v 1.2 2000/01/27 17:12:06 hubertf Exp $ bin/ssh bin/scp bin/slogin @@ -6,6 +6,7 @@ bin/ssh-add bin/ssh-agent bin/ssh-keygen sbin/sshd +etc/rc.d/sshd.sh man/man1/ssh.1 man/man1/scp.1 man/man1/slogin.1 @@ -15,3 +16,8 @@ man/man1/ssh-keygen.1 man/man8/sshd.8 share/examples/ssh/ssh_config share/examples/ssh/sshd_config +@exec if [ ! -d @SSH_CONF_DIR@ ]; then echo "Creating directory @SSH_CONF_DIR@ for ssh config files.." ; mkdir -p @SSH_CONF_DIR@; fi +@exec if [ ! -f @SSH_CONF_DIR@/ssh_config ]; then echo "Installing example ssh_config in @SSH_CONF_DIR@.." ; /usr/bin/install -c -o root -g wheel -m 0644 %D/share/examples/ssh/ssh_config @SSH_CONF_DIR@; fi +@exec if [ ! -f @SSH_CONF_DIR@/sshd_config ]; then echo "Installing example sshd_config in @SSH_CONF_DIR@.." ; /usr/bin/install -c -o root -g wheel -m 0644 %D/share/examples/ssh/sshd_config @SSH_CONF_DIR@; fi +@exec if [ ! -f @SSH_CONF_DIR@/ssh_host_key ]; then echo "Generating a secret host key in @SSH_CONF_DIR@.." ; %D/bin/ssh-keygen -N "" -f @SSH_CONF_DIR@/ssh_host_key; fi +@dirrm share/examples/ssh |