diff options
author | Brian Feldman <green@FreeBSD.org> | 1999-11-20 03:05:31 +0000 |
---|---|---|
committer | Brian Feldman <green@FreeBSD.org> | 1999-11-20 03:05:31 +0000 |
commit | c2edf69286d82baf566cccf05838dbafb0811837 (patch) | |
tree | 6cdfc2031ba93f47f658458f1483cd3c06f3dd27 /security/openssh/pkg-plist | |
parent | Upgrade to version 1.0.5 (diff) |
Turn on HAVE_OPENPTY so more than 16 terminals work with sshd.
Put sshd.sh installation in the pre-install, ssh_host_key generation
back in the PLIST, and check for ssh_config, too. This port now
works much better as a package. The configuration files and sshd.sh
are also part of the package, and as such removed on deinstall.
The proper upgrade procedure from one OpenSSH version to a newer one is:
chflags schg /usr/local/etc/ssh* # preserve them from deletion
cd /usr/ports/security/openssh
make all deinstall reinstall clean
Partially submitted by: peter
Notes
Notes:
svn path=/head/; revision=23206
Diffstat (limited to '')
-rw-r--r-- | security/openssh/pkg-plist | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/security/openssh/pkg-plist b/security/openssh/pkg-plist index e7a874dc1d0b..5f2fb2c24945 100644 --- a/security/openssh/pkg-plist +++ b/security/openssh/pkg-plist @@ -4,6 +4,9 @@ bin/ssh bin/ssh-add bin/ssh-agent bin/ssh-keygen +etc/rc.d/sshd.sh +etc/ssh_config +etc/sshd_config man/man1/scp.1.gz man/man1/slogin.1.gz man/man1/ssh-add.1.gz @@ -12,3 +15,4 @@ man/man1/ssh-keygen.1.gz man/man1/ssh.1.gz man/man8/sshd.8.gz sbin/sshd +@exec if [ ! -f %D/etc/ssh_host_key ]; then echo ">> Generating a secret host key."; %D/bin/ssh-keygen -N "" -f %D/etc/ssh_host_key; fi |