Trouble installing scponly

Hi, I've trouble with re-compiling scponly port.
I need to add "chroot" option, so I'm trying to use make config command.
This is the output:

/usr/ports/shells/scponly# make config
Syntax error: redirection unexpected
*** Error code 2

Stop in /usr/ports/shells/scponly.

And this is make -dA config (for debug):

...
...

.y.out :
${YACC} ${YFLAGS} ${.IMPSRC}
${CC} ${CFLAGS} ${LDFLAGS} y.tab.c ${LDLIBS} -ly -o ${.TARGET}
rm -f y.tab.c

.l.out :
${LEX} -t ${LFLAGS} ${.IMPSRC} > ${.PREFIX}.tmp.c
${CC} ${CFLAGS} ${LDFLAGS} ${.PREFIX}.tmp.c ${LDLIBS} -ll -o ${.TARGET}
rm -f ${.PREFIX}.tmp.c

(optionsdir=/var/db/ports/scponly/options; optionsdir=${optionsdir%/*}; /bin/mkdir -p ${optionsdir} 2> /dev/null) || (echo "===> Cannot create ${optionsdir}, check permissions"; exit 1)
TMPOPTIONSFILE=$(mktemp -t portoptions); trap "/bin/rm -f ${TMPOPTIONSFILE}; exit 1" 1 2 3 5 10 13 15; /usr/bin/dialog --checklist "Options for scponly 4.8.20110526" 21 70 15 SCPONLY_WILDCARDS ""wildcards on on ""SCPONLY_GFTP off compatibility" ""off off off ""SCPONLY_UNISON off scp ""compatibility off compatibility" ""off off SCPONLY_CHROOT ""chroot on compatibility" ""off off compatibility" ""off off compatibility" ""off off 2> ${TMPOPTIONSFILE} || { /bin/rm -f ${TMPOPTIONSFILE}; echo "===> Options unchanged"; exit 0; }; if [ ! -e ${TMPOPTIONSFILE} ]; then echo "===> No user-specified options to save for scponly-4.8.20110526"; exit 0; fi; SELOPTIONS=$(/bin/cat ${TMPOPTIONSFILE}); /bin/rm -f ${TMPOPTIONSFILE}; TMPOPTIONSFILE=$(mktemp -t portoptions); trap "/bin/rm -f ${TMPOPTIONSFILE}; exit 1" 1 2 3 5 10 13 15; echo "# This file is auto-generated by 'make config'." > ${TMPOPTIONSFILE}; echo "# Options for scponly-4.8.20110526" >> ${TMPOPTIONSFILE}; echo "_OPTIONS_READ=scponly-4.8.20110526" >> ${TMPOPTIONSFILE}; echo "_FILE_COMPLETE_OPTIONS_LIST=SCPONLY_WILDCARDS on compatibility" off scp compatibility" SCPONLY_CHROOT compatibility" compatibility" compatibility"" >> ${TMPOPTIONSFILE}; for i in SCPONLY_WILDCARDS on compatibility" off scp compatibility" SCPONLY_CHROOT compatibility" compatibility" compatibility"; do if echo ${SELOPTIONS} | /usr/bin/grep -qw ${i}; then echo "OPTIONS_FILE_SET+=${i}" >> ${TMPOPTIONSFILE}; else echo "OPTIONS_FILE_UNSET+=${i}" >> ${TMPOPTIONSFILE}; fi; done; if [ 0 != 0 -a "x" = "x" ]; then echo "===> Switching to root credentials to write /var/db/ports/scponly/options"; /usr/bin/su root -c "/bin/cat ${TMPOPTIONSFILE} > /var/db/ports/scponly/options"; echo "===> Returning to user credentials"; else /bin/cat ${TMPOPTIONSFILE} > /var/db/ports/scponly/options; fi; /bin/rm -f ${TMPOPTIONSFILE}
*** Error code 2

Stop in /usr/ports/shells/scponly.

Any suggestion?
Thankyou
 
I was afraid of something like that. FreeBSD 6.4 went End-of-Life in November 2010 and is therefor not supported anymore.
 
Hi SirDice,
thankyou for your quick reply.
Do you think I can safely upgrade?
Should I perform several upgrade until 9.0?
 
I would update to 7.4 first. See how that works out. That version is still supported and you can take some time to figure out if and how you want to go for 8.3 or 9.0.
 
Back
Top