aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1997-06-02 12:28:48 +0800
committerjdp <jdp@FreeBSD.org>1997-06-02 12:28:48 +0800
commit1f62c7f71aa743a524f4b53869487137e2b1aef8 (patch)
treebf9bea5f88cf431642fb6a61e0193c4b8a23d948 /security
parentb79cc8d99f9cfe4d09a85c5589281237f03c3dfb (diff)
downloadfreebsd-ports-gnome-1f62c7f71aa743a524f4b53869487137e2b1aef8.tar.gz
freebsd-ports-gnome-1f62c7f71aa743a524f4b53869487137e2b1aef8.tar.zst
freebsd-ports-gnome-1f62c7f71aa743a524f4b53869487137e2b1aef8.zip
Don't remove the host key on pkg_delete. It is irreplaceable.
Diffstat (limited to 'security')
-rw-r--r--security/ssh/pkg-plist1
-rw-r--r--security/ssh2/pkg-plist1
2 files changed, 0 insertions, 2 deletions
diff --git a/security/ssh/pkg-plist b/security/ssh/pkg-plist
index 29cc5a46d340..c632301bd8c8 100644
--- a/security/ssh/pkg-plist
+++ b/security/ssh/pkg-plist
@@ -21,4 +21,3 @@ 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
-@unexec rm -f %D/etc/ssh_host_key
diff --git a/security/ssh2/pkg-plist b/security/ssh2/pkg-plist
index 29cc5a46d340..c632301bd8c8 100644
--- a/security/ssh2/pkg-plist
+++ b/security/ssh2/pkg-plist
@@ -21,4 +21,3 @@ 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
-@unexec rm -f %D/etc/ssh_host_key