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