summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/mk.conf.example6
-rw-r--r--security/ssh/Makefile7
2 files changed, 11 insertions, 2 deletions
diff --git a/mk/mk.conf.example b/mk/mk.conf.example
index 41d842d5a8a..00e977ced68 100644
--- a/mk/mk.conf.example
+++ b/mk/mk.conf.example
@@ -1,4 +1,4 @@
-# $NetBSD: mk.conf.example,v 1.97 1999/11/12 12:05:02 agc Exp $
+# $NetBSD: mk.conf.example,v 1.98 1999/11/12 16:34:30 abs Exp $
#
# Sample /etc/mk.conf file, which can be used to set specific values
@@ -429,6 +429,10 @@ PAPERSIZE= A4 # Default paper size for packages.
# Possible: defined, not defined
# Default: not defined
+#SSH_RSHPATH= # Used in ssh to specify standard rsh path
+ # Possible: path to rsh binary
+ # Default: /usr/bin/rsh
+
#SSH_SUID= # Used in ssh to enable setuid installation
# of "ssh" binary.
# Possible: YES, or NO.
diff --git a/security/ssh/Makefile b/security/ssh/Makefile
index f72fcac8446..00dec83aae3 100644
--- a/security/ssh/Makefile
+++ b/security/ssh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.63 1999/10/19 08:49:49 agc Exp $
+# $NetBSD: Makefile,v 1.64 1999/11/12 16:34:29 abs Exp $
# FreeBSD Id: Makefile,v 1.47 1997/11/10 22:04:42 dima Exp
#
@@ -48,6 +48,11 @@ CFLAGS+= -I${LOCALBASE}/include
.if defined(USE_SECUREID) && ${USE_SECUREID} == YES
CONFIGURE_ARGS+= --with-secureid
.endif
+
+# If rsh is elsewhere to /usr/bin/rsh
+.if defined(SSH_RSHPATH)
+CONFIGURE_ARGS+= --with-rsh=${SSH_RSHPATH}
+.endif
# Don't use IDEA. IDEA can be freely used for non-commercial use. However,
# commercial use may require a license in a number of countries