[scponly] scponly help needed

Hideyuki KURASHINA rushani at bl.mmtr.or.jp
Thu Jan 19 06:50:47 EST 2006


Hi,

>>> On Thu, 19 Jan 2006 18:39:12 +0800, Alvin Wong <alvin.wong at cassis-intl.com> said:

> Hi all,
> 
> I have the problem when i do make jail. My OS is CENT OS 4.2. Can anyone 
> advice as to what's the problem? This is an install based on the 
> download from http://www.sublimation.org/scponly/scponly-4.3.tgz

I'm not sure what's the problem, but attached patch helps for you?
Please be sure to running your "configure" script after applying patch.

On the other hand,

> [root@ scponly-4.3]# make jail
[...]
> chmod u+x ./setup_chroot.sh
> ./setup_chroot.sh
> ./setup_chroot.sh: line 77: syntax error near unexpected token `fi'
> ./setup_chroot.sh: line 77: `fi'
> make: *** [jail] Error 2

try "sh -vx setup_chroot.sh" to get more information.

-- rushani

--- setup_chroot.sh.in.orig	Wed Dec 28 06:55:52 2005
+++ setup_chroot.sh.in	Thu Jan 19 20:39:19 2006
@@ -67,7 +67,7 @@ if [ x at PROG_LDD@ = x ]; then
 	fail "shared libraries to copy into your chrooted dir..."
 fi
 
-if [ `uname -s` = "OpenBSD" ]; then
+if [ x`uname -s` = x"OpenBSD" ]; then
 	for bin in $BINARIES; do
 		GREP_LIST="$GREP_LIST -e $bin"
 	done



More information about the scponly mailing list