[scponly] scponly-3.5

Sven Hoexter sven at telelev.net
Fri Dec 20 20:16:55 EST 2002


On Thu, Dec 19, 2002 at 08:56:26PM -0800, joe wrote:

Hi Joe, hi all,

> thanks for the heads up regarding freshmeat, i am "kowalski" on
> freshmeat.net; 
no problem :)

> regarding TODO, there are still issues with the configure.in, but i'm
> still pretty weak making autoconf scripts solid so it has been slow going.
> truth be told, i havent put much time aside for scponly.  i'd be
> interested to hear more thoughts on what direction to take scponly.  i
> like the linux portability idea.  chroot setup is a real bitch from one
> platform to the next.
Ok I will try to get on the chroot stuff next. For the moment I think I
found the rsync activation problem.

The activation is set through the variable ENABLE_RSYNC (see configure.in line
123) but the config.h.in makes a decision based on a variable called
RSYNC_COMPAT (see config.h.in line 40)

I suggest the following patch:
diff -rNu scponly-3.5-orig/config.h.in scponly-3.5/config.h.in
--- scponly-3.5-orig/config.h.in        2002-12-17 01:24:36.000000000 +0100
+++ scponly-3.5/config.h.in     2002-12-20 20:11:01.000000000 +0100
@@ -42,7 +42,7 @@
 #endif

 /* Rsync compatability mode */
-#ifdef RSYNC_COMPAT
+#ifdef ENABLE_RSYNC
 #undef PROG_RSYNC
 #endif


This is IMHO the easy way for it. The more "complex" way is to change
ENABLE_RSYNC to RSYNC_COMPAT in configure.in

Sven 

-- 
sig wurde betriebsbedingt gekuendigt
Apt-rpm packages for RedHat:
http://www.hoaxter.de/aptrpm/index.html



More information about the scponly mailing list