> 
> Hi,
>           I would like to be able to use a "socksified" (if that is
>           the
> word) rsync.  The purpose being that I cannot rsync to the outside
> world unless I go through one of the companies socks servers.  The
> mystery to me is where to find documentation on how to make this
> happen.  Can anyone point me to a howto or a man page or some web
> doco?
> 
> regards,
> Hamish Kibblewhite
> 
> 

root@rambo:/tmp/rsync-2.4.6# diff -u Makefile.orig Makefile      ---
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


------------------------------
enjoy Michael
[EMAIL PROTECTED]

Reply via email to