summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorveego <veego>2001-10-19 09:40:36 +0000
committerveego <veego>2001-10-19 09:40:36 +0000
commitbaf8c620dae7b88e8800b932151420fb424a9ad3 (patch)
tree80ad9feeeecf013432326f11259518daa9aee0a3 /security
parent2c05572d30fce70ee5cf3d36271d5b629bc0735c (diff)
downloadpkgsrc-baf8c620dae7b88e8800b932151420fb424a9ad3.tar.gz
Create the pid file on solaris in /etc/ and not in the not existing /var/run
directory. Also change @SSH_PID_DIR@ and @MKDIR@ in sshd.sh and the INSTALL* files.
Diffstat (limited to 'security')
-rw-r--r--security/openssh/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/security/openssh/Makefile b/security/openssh/Makefile
index 3433961db09..4d65ab5dcd5 100644
--- a/security/openssh/Makefile
+++ b/security/openssh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.57 2001/10/18 15:20:34 veego Exp $
+# $NetBSD: Makefile,v 1.58 2001/10/19 09:40:36 veego Exp $
DISTNAME= openssh-2.9.9p2
SVR4_PKGNAME= ossh
@@ -63,6 +63,14 @@ CONFIGURE_ARGS+= --with-tcp-wrappers
CONFIGURE_ARGS+= --disable-suid-ssh
.endif
+# Solaris normaly doesn't have a /var/run, thats why we put it in /etc
+.if (${OPSYS} == SunOS)
+CONFIGURE_ARGS+= --with-pid-dir=/etc
+SSH_PID_DIR= /etc
+.else
+SSH_PID_DIR= /var/run
+.endif
+
# The ssh-askpass program is in ${X11BASE}/bin or ${X11PREFIX}/bin depending
# on if it's part of the X11 distribution, or if it's installed from pkgsrc
# (security/ssh-askpass). The configure process will lie about the compiled
@@ -94,6 +102,8 @@ post-build:
${FILESDIR}/sshd.sh; \
do \
${SED} -e 's#@SSH_CONF_DIR@#${SSH_CONF_DIR}#g' \
+ -e 's#@SSH_PID_DIR@#${SSH_PID_DIR}#g' \
+ -e 's#@MKDIR@#${MKDIR}#g' \
-e 's#@PREFIX@#${PREFIX}#g' \
-e 's#@INSTALL_DATA@#${INSTALL_DATA}#g' \
< $${FILE} > ${WRKDIR}/`basename $${FILE}`; \