In message <Pine.GSO.4.05.10003061134200.27621-100000@shell1> "James E. Pace" writes:
: I rebuilt -current on Friday, and OpenSSH does not work through a
: SOCKS firewall.
: 
: In my make.conf, I have "USE_SOCKS= YES", which is used in the
: ports/security/ssh port.
: 
: Any help?

Sure.  Here's what I have in my uncommitted tree.  It assumes that you
have socks installed already.  Known to work with the nec port, not
known one way or the other on dante.

Oh, there's lots of warnings from this, but it does work.

Warner

Index: scp/Makefile
===================================================================
RCS file: /home/imp/FreeBSD/CVS/src/secure/usr.bin/scp/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- scp/Makefile        2000/02/25 08:21:09     1.2
+++ scp/Makefile        2000/03/04 06:00:12
@@ -16,3 +16,8 @@
 
 LDADD+=        -lcrypto -lutil -lz -L${.OBJDIR}/../../lib/libssh -lssh
 DPADD+=        ${LIBCRYPTO} ${LIBUTIL} ${LIBZ}
+
+.if defined(USE_SOCKS) && ((${USE_SOCKS} == "yes") || (${USE_SOCKS} == "YES"))
+LDADD+= -L/usr/local/lib -lsocks5
+CFLAGS+= -DSOCKS --include /usr/local/include/socks.h
+.endif
Index: ssh/Makefile
===================================================================
RCS file: /home/imp/FreeBSD/CVS/src/secure/usr.bin/ssh/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- ssh/Makefile        2000/03/03 20:33:53     1.4
+++ ssh/Makefile        2000/03/05 05:58:06
@@ -37,3 +37,8 @@
 
 LDADD+=        -L${.OBJDIR}/../../lib/libssh -lssh -lcrypto -lutil -lz
 DPADD+=        ${LIBCRYPTO} ${LIBUTIL} ${LIBZ}
+
+.if defined(USE_SOCKS) && ((${USE_SOCKS} == "yes") || (${USE_SOCKS} == "YES"))
+LDADD+= -L/usr/local/lib -lsocks5
+CFLAGS+= -DSOCKS --include /usr/local/include/socks.h
+.endif


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to