summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1997-04-01 05:52:30 +0000
committerpst <pst@FreeBSD.org>1997-04-01 05:52:30 +0000
commit3410934fa1c9865e99d677b9fb05249e1398ff74 (patch)
tree37e0dc1578fb665030c12ef2406d7800abaafa43 /security
parente30c81f0d27a3d0b42f02e2767347413904f2a11 (diff)
downloadFreeBSD-ports-3410934fa1c9865e99d677b9fb05249e1398ff74.zip
FreeBSD-ports-3410934fa1c9865e99d677b9fb05249e1398ff74.tar.gz
Back out previous patch, I got confused by an old sshd.conf file
Diffstat (limited to 'security')
-rw-r--r--security/ssh/pkg-plist4
-rw-r--r--security/ssh2/pkg-plist4
2 files changed, 4 insertions, 4 deletions
diff --git a/security/ssh/pkg-plist b/security/ssh/pkg-plist
index 10434a6..29cc5a4 100644
--- a/security/ssh/pkg-plist
+++ b/security/ssh/pkg-plist
@@ -20,5 +20,5 @@ man/man1/ssh.1.gz
@unexec rm -f %B/slogin.1.gz
man/man8/sshd.8.gz
sbin/sshd
-@exec if [ ! -f /etc/ssh_host_key ]; then echo "Generating a secret host key.." ; %D/bin/ssh-keygen -N "" -f /etc/ssh_host_key; fi
-@unexec rm -f /etc/ssh_host_key
+@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 10434a6..29cc5a4 100644
--- a/security/ssh2/pkg-plist
+++ b/security/ssh2/pkg-plist
@@ -20,5 +20,5 @@ man/man1/ssh.1.gz
@unexec rm -f %B/slogin.1.gz
man/man8/sshd.8.gz
sbin/sshd
-@exec if [ ! -f /etc/ssh_host_key ]; then echo "Generating a secret host key.." ; %D/bin/ssh-keygen -N "" -f /etc/ssh_host_key; fi
-@unexec rm -f /etc/ssh_host_key
+@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
OpenPOWER on IntegriCloud