summaryrefslogtreecommitdiff
path: root/security/ssh/Makefile
diff options
context:
space:
mode:
authorkleink <kleink>1998-01-24 15:46:30 +0000
committerkleink <kleink>1998-01-24 15:46:30 +0000
commit733321d94cf5a405a027851654a04b838bb9ff63 (patch)
tree3dbdb8805c4f6de6347bec83b4964e39145c33af /security/ssh/Makefile
parente36fe3b00a901a6350198d7a84e20445e3d094ac (diff)
downloadpkgsrc-733321d94cf5a405a027851654a04b838bb9ff63.tar.gz
Make libwrap support conditional on USE_LIBWRAP again, since usage of ssh's
-L/-R options will become highly unintuitive on most setups. Kindly brought to my attention by Matthew Green.
Diffstat (limited to 'security/ssh/Makefile')
-rw-r--r--security/ssh/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/security/ssh/Makefile b/security/ssh/Makefile
index 07680f7f585..6a7b4035d8d 100644
--- a/security/ssh/Makefile
+++ b/security/ssh/Makefile
@@ -3,10 +3,11 @@
# Date created: 19971214
# Whom: hubertf@netbsd.org
#
-# $NetBSD: Makefile,v 1.7 1998/01/22 10:26:39 agc Exp $
+# $NetBSD: Makefile,v 1.8 1998/01/24 15:46:30 kleink Exp $
# FreeBSD Id: Makefile,v 1.47 1997/11/10 22:04:42 dima Exp
#
-# Maximal ssh package requires a YES value for USE_PERL.
+# Maximal ssh package requires a YES value for USE_PERL
+# and USE_LIBWRAP.
#
DISTNAME= ssh-1.2.22
@@ -38,8 +39,7 @@ IS_INTERACTIVE= YES
GNU_CONFIGURE= YES
-CONFIGURE_ARGS+= --prefix=${PREFIX} --with-etcdir=/etc --with-libwrap \
- --disable-suid-ssh
+CONFIGURE_ARGS+= --prefix=${PREFIX} --with-etcdir=/etc --disable-suid-ssh
#Uncomment if all your users are in their own group and their homedir
#is writeable by that group. Beware the security implications!
@@ -129,6 +129,11 @@ CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl5.00404
CONFIGURE_ENV+= PERL=/replace_it_with_PERL_path
.endif
+# Support for libwrap.
+.if defined(USE_LIBWRAP) && ${USE_LIBWRAP} == YES
+CONFIGURE_ARGS+= --with-libwrap
+.endif
+
# Include SOCKS firewall support
.if defined(USE_SOCKS) && ${USE_SOCKS} == YES
CONFIGURE_ARGS+= --with-socks="-L${PREFIX}/lib -lsocks5"