summaryrefslogtreecommitdiff
path: root/security/ssh
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1998-05-26 19:43:49 +0000
committertron <tron@pkgsrc.org>1998-05-26 19:43:49 +0000
commitcff286521fae23a623be5ecd930272480b8e24c3 (patch)
tree8043e950ecac3ec918c045fd28dd28f3fdcde1ae /security/ssh
parent2cfec16bf93a85b5bbfd187d6321b9093cec7896 (diff)
downloadpkgsrc-cff286521fae23a623be5ecd930272480b8e24c3.tar.gz
Add "SSH_NO_SUID" option to disable setuid installation of "ssh" binary.
Diffstat (limited to 'security/ssh')
-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