This minor change to the Makefile will allow the client functions of
rsync to be socksified. I'd like to see this added to the "configure"
file as --with-socks5, but have never messed with setting one of
those up.
--- Makefile.orig Sat May 5 12:33:48 2001
+++ Makefile Sat May 5 12:33:21 2001
@@ -9,8 +9,8 @@
LIBS=
CC=gcc
-CFLAGS=-O -D_FILE_OFFSET_BITS=64
-LDFLAGS=
+CFLAGS=-O -include /usr/local/include/socks.h -DSOCKS -D_FILE_OFFSET_BITS=64
+LDFLAGS= -L/usr/local/lib -lsocks5
INSTALLCMD=/usr/bin/ginstall -c
@@ -52,7 +52,7 @@
$(MAKE) INSTALLCMD='$(INSTALLCMD) -s' install
rsync: $(OBJS)
- $(CC) $(CFLAGS) $(LDFLAGS) -o rsync $(OBJS) $(LIBS)
+ $(CC) $(OBJS) $(LIBS) $(CFLAGS) $(LDFLAGS) -o rsync
rsync.1: rsync.yo
yodl2man -o rsync.1 rsync.yo