summaryrefslogtreecommitdiff
path: root/security/openssh
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/openssh
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/openssh')
-rw-r--r--security/openssh/Makefile4
-rw-r--r--security/openssh/files/sshd.sh4
-rw-r--r--security/openssh/pkg/PLIST4
3 files changed, 7 insertions, 5 deletions
diff --git a/security/openssh/Makefile b/security/openssh/Makefile
index 89813319de1..d2e714b5a69 100644
--- a/security/openssh/Makefile
+++ b/security/openssh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2000/09/09 19:40:21 fredb Exp $
+# $NetBSD: Makefile,v 1.29 2000/09/20 04:49:19 jlam Exp $
#
DISTNAME= openssh-2.2.0p1
@@ -91,7 +91,7 @@ post-build:
done
post-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/sshd.sh ${PREFIX}/etc/rc.d/sshd.sh
+ ${INSTALL_SCRIPT} ${WRKDIR}/sshd.sh ${PREFIX}/etc/rc.d/sshd
PKG_PREFIX=${PREFIX} ${SH} ${REQ_FILE} ${PKGNAME} INSTALL
PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
diff --git a/security/openssh/files/sshd.sh b/security/openssh/files/sshd.sh
index 3e777c8a157..acb43fca99c 100644
--- a/security/openssh/files/sshd.sh
+++ b/security/openssh/files/sshd.sh
@@ -1,7 +1,9 @@
#!/bin/sh
#
-# $NetBSD: sshd.sh,v 1.4 2000/09/01 20:40:10 jlam Exp $
+# $NetBSD: sshd.sh,v 1.5 2000/09/20 04:49:19 jlam Exp $
#
+# PROVIDE: sshd
+# REQUIRE: DAEMON LOGIN
name="sshd"
pidfile="/var/run/${name}.pid"
diff --git a/security/openssh/pkg/PLIST b/security/openssh/pkg/PLIST
index 64d2495fa08..c9f27721648 100644
--- a/security/openssh/pkg/PLIST
+++ b/security/openssh/pkg/PLIST
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.4 2000/07/22 08:22:03 jlam Exp $
+@comment $NetBSD: PLIST,v 1.5 2000/09/20 04:49:19 jlam Exp $
bin/scp
bin/slogin
bin/ssh
bin/ssh-add
bin/ssh-agent
bin/ssh-keygen
-etc/rc.d/sshd.sh
+etc/rc.d/sshd
man/man1/ssh.1
man/man1/scp.1
man/man1/slogin.1