summaryrefslogtreecommitdiff
path: root/security/ssh
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2002-06-26 10:29:33 +0000
committerseb <seb@pkgsrc.org>2002-06-26 10:29:33 +0000
commitdb84442a67c872c4802e8b37a88f71a84050f97a (patch)
tree9e5fcee06244c048489fb5197f01b82baef7be38 /security/ssh
parente521736766fda95b199d77e427c85a2b5fd262b6 (diff)
downloadpkgsrc-db84442a67c872c4802e8b37a88f71a84050f97a.tar.gz
Substitute a couple of `mkdir' by `${MKDIR}'.
Remove `-p' from mkdir arguments, it is already part of ${MKDIR}. While here substitute a couple of ${PREFIX} by `%D' in `@exec ${MKDIR} ...' lines and add a couple of missing `%D' in such lines too!
Diffstat (limited to 'security/ssh')
-rw-r--r--security/ssh/PLIST4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/ssh/PLIST b/security/ssh/PLIST
index c75792b517c..b6c0fae5559 100644
--- a/security/ssh/PLIST
+++ b/security/ssh/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2002/02/15 10:12:58 skrll Exp $
+@comment $NetBSD: PLIST,v 1.3 2002/06/26 10:30:01 seb Exp $
bin/ssh
bin/ssh1
bin/scp
@@ -33,7 +33,7 @@ sbin/sshd
sbin/sshd1
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 [ ! -d @SSH_CONF_DIR@ ]; then echo "Creating directory @SSH_CONF_DIR@ for ssh config files.." ; ${MKDIR} @SSH_CONF_DIR@; fi
@exec if [ ! -f @SSH_CONF_DIR@/ssh_config ]; then echo "Installing example ssh_config in @SSH_CONF_DIR@.." ; ${INSTALL} -c -o root -g ${ROOT_GROUP} -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@.." ; ${INSTALL} -c -o root -g ${ROOT_GROUP} -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