summaryrefslogtreecommitdiff
path: root/security/ssh6
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-09-20 04:49:19 +0000
committerjlam <jlam@pkgsrc.org>2000-09-20 04:49:19 +0000
commita5062d0a73531aa8fde3b62280e5601ad8323884 (patch)
tree277bc022010a4a9ff7ce109d2c71cff4d94f5e25 /security/ssh6
parentf4a713c6767c6fb6eefc8ebfd0c5ae89af0ce061 (diff)
downloadpkgsrc-a5062d0a73531aa8fde3b62280e5601ad8323884.tar.gz
Install rc.d control script as "sshd" instead of "sshd.sh" to comply with
how NetBSD's rc.d interprets script names. Also add REQUIRE and PROVIDE sections to control scripts so they can be used directly in NetBSD's rc.d system.
Diffstat (limited to 'security/ssh6')
-rw-r--r--security/ssh6/Makefile4
-rw-r--r--security/ssh6/files/sshd.sh4
-rw-r--r--security/ssh6/pkg/PLIST4
3 files changed, 7 insertions, 5 deletions
diff --git a/security/ssh6/Makefile b/security/ssh6/Makefile
index 904c11ec070..fc5add8c2bf 100644
--- a/security/ssh6/Makefile
+++ b/security/ssh6/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2000/09/09 19:40:24 fredb Exp $
+# $NetBSD: Makefile,v 1.7 2000/09/20 04:49:20 jlam Exp $
# FreeBSD Id: Makefile,v 1.47 1997/11/10 22:04:42 dima Exp
#
@@ -196,7 +196,7 @@ post-install:
${PREFIX}/bin/ssh-keygen \
-f ${SSH_CONF_DIR}/ssh_host_key -N ""; \
fi
- ${INSTALL_SCRIPT} ${WRKDIR}/sshd.sh ${PREFIX}/etc/rc.d/sshd.sh
+ ${INSTALL_SCRIPT} ${WRKDIR}/sshd.sh ${PREFIX}/etc/rc.d/sshd
BUILD_DEFS+= USE_IDEA SSH_CONF_DIR SSH_SUID USE_RSAREF2
BUILD_DEFS+= LIBWRAP_FWD M68060 USE_SOCKS USE_INET6
diff --git a/security/ssh6/files/sshd.sh b/security/ssh6/files/sshd.sh
index b8beb89cc0d..96fd93cf133 100644
--- a/security/ssh6/files/sshd.sh
+++ b/security/ssh6/files/sshd.sh
@@ -1,7 +1,9 @@
#!/bin/sh
#
-# $NetBSD: sshd.sh,v 1.2 2000/07/24 16:44:53 jlam Exp $
+# $NetBSD: sshd.sh,v 1.3 2000/09/20 04:49:20 jlam Exp $
#
+# PROVIDE: sshd
+# REQUIRE: DAEMON LOGIN
name="sshd"
pidfile="/var/run/${name}.pid"
diff --git a/security/ssh6/pkg/PLIST b/security/ssh6/pkg/PLIST
index 4aa3393b9cf..aaf2a4a812d 100644
--- a/security/ssh6/pkg/PLIST
+++ b/security/ssh6/pkg/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2000/03/20 02:25:48 itojun Exp $
+@comment $NetBSD: PLIST,v 1.2 2000/09/20 04:49:20 jlam Exp $
bin/ssh
bin/ssh1
bin/scp
@@ -12,7 +12,7 @@ bin/ssh-keygen
bin/ssh-keygen1
bin/make-ssh-known-hosts
bin/make-ssh-known-hosts1
-etc/rc.d/sshd.sh
+etc/rc.d/sshd
man/man1/make-ssh-known-hosts1.1
man/man1/make-ssh-known-hosts.1
man/man1/scp.1