PDA

View Full Version : bug in custombuild 1.1.18



ebuh
04-27-2009, 07:13 PM
Hi,

'./build versions' does not print the old version of ProFTPD if an old version of ProFTPD is installed.:

- unknown option: V
Latest version of ProFTPD: 1.3.2
Installed version of ProFTPD:

ProFTPD to 1.3.2 update is available.

The correct command to show ProFTPD's version is:

proftpd -v or
proftpd --version
In newer versions 'proftpd -V' shows the version and compile-time settings (same as --settings).
As 'proftpd -v' sends the output to stderr, you also have to redirect the stderr output to stdout, as pipe only captures stdout.

Fix:
Change line number 6774

PROFTPDV="`/usr/sbin/proftpd -V | grep 'Version:' | awk '{ print $2 }'`"
into

PROFTPDV="`/usr/sbin/proftpd -v 2>&1 | awk '{ print $4 }'`"

DirectAdmin Support
04-28-2009, 02:52 PM
Hello,

Thanks.
I've updated to:
PROFTPDV="`/usr/sbin/proftpd -v 2>&1 | awk '{ print $3 }'`"with $3 instead of $4 though.
ProFTPD Version 1.3.2John

daveyw
04-29-2009, 01:49 AM
Possible next bug..;


Jailed shell (beta):
./build all_jail
./build coreutils
./build shell
./build smtp_mail
./jail/jail_user.sh user


[root custombuild]# ./jail/jail_user.sh user
-bash: ./jail/jail_user.sh: No such file or directory

smtalk
04-29-2009, 06:03 AM
You must do "./build all_jail" before using it.

daveyw
04-29-2009, 02:26 PM
Ok, thanks indeed.

Another thing, when i'm installing atmail I got this message

root@XXXXXXXX:/usr/local/directadmin/custombuild# ./build atmail
ls: /var/www/html/atmail: No such file or directory
And after that hes installing atmail.

smtalk
04-29-2009, 02:31 PM
You can safely ignore it :) It will be fixed soon.