summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/ssh/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/security/ssh/Makefile b/security/ssh/Makefile
index afec5f35fcd..7e94da22b88 100644
--- a/security/ssh/Makefile
+++ b/security/ssh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 1998/05/24 18:57:40 tron Exp $
+# $NetBSD: Makefile,v 1.20 1998/05/26 19:43:49 tron Exp $
# FreeBSD Id: Makefile,v 1.47 1997/11/10 22:04:42 dima Exp
#
@@ -74,6 +74,11 @@ CONFIGURE_ARGS+= --with-socks="-L${PREFIX}/lib -lsocks5"
CFLAGS+= -I${PREFIX}/include
.endif
+# Don't install "ssh" setuid
+.if defined(SSH_NO_SUID) && ${SSH_NO_SUID} == YES
+CONFIGURE_ARGS+= --disable-suid-ssh
+.endif
+
# Make libwrap also compare against forwards (off by default)
.if defined(LIBWRAP_FWD) && ${LIBWRAP_FWD} == YES
CFLAGS+= -DLIBWRAP_FWD