diff options
author | agc <agc@pkgsrc.org> | 1998-06-11 16:17:36 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1998-06-11 16:17:36 +0000 |
commit | 0d32e410a8e1ae25dc46ea26f762366be2891f8f (patch) | |
tree | d26342df2caf99f6aefd8f9fbb70e4002c25b0cb /security/ssh | |
parent | 1ef3c27ad6ea9d846443f9880cecc038713aa972 (diff) | |
download | pkgsrc-0d32e410a8e1ae25dc46ea26f762366be2891f8f.tar.gz |
Add support for both socks4 and socks5 - use the USE_SOCKS definition
to work out which one's wanted.
Diffstat (limited to 'security/ssh')
-rw-r--r-- | security/ssh/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/security/ssh/Makefile b/security/ssh/Makefile index 8ec19184b31..2e135d550cf 100644 --- a/security/ssh/Makefile +++ b/security/ssh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 1998/06/10 08:02:09 agc Exp $ +# $NetBSD: Makefile,v 1.23 1998/06/11 16:17:36 agc Exp $ # FreeBSD Id: Makefile,v 1.47 1997/11/10 22:04:42 dima Exp # @@ -53,9 +53,14 @@ CONFIGURE_ARGS+= --without-idea .endif # Include SOCKS firewall support -.if defined(USE_SOCKS) && ${USE_SOCKS} == YES -CONFIGURE_ARGS+= --with-socks="-L${PREFIX}/lib -lsocks5" +.if defined(USE_SOCKS) && (${USE_SOCKS} == 4 || ${USE_SOCKS} == 5) +CONFIGURE_ARGS+= --with-socks${USE_SOCKS}="-L${PREFIX}/lib -lsocks${USE_SOCKS}" CFLAGS+= -I${PREFIX}/include +.if ${USE_SOCKS} == 4 +DEPENDS+= socks4-2.2:../../net/socks4 +.else +DEPENDS+= socks5-1.0.2:../../net/socks5 +.endif .endif # Don't install "ssh" setuid |