summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorabs <abs>1999-11-12 16:34:29 +0000
committerabs <abs>1999-11-12 16:34:29 +0000
commit11380ade4320aa85f7b69dcc3f1013c54f232bf3 (patch)
treedfcb05b893bb79305014dd54bbc8856228d5772d
parent93cf98f8ec86648dcab478a71edf2bb2a60c1702 (diff)
downloadpkgsrc-11380ade4320aa85f7b69dcc3f1013c54f232bf3.tar.gz
Enable alternate rsh path with SSH_RSHPATH
Patch from NoRM <norm@mono.org>
-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