bug in custombuild 1.1.18

ebuh

New member
Joined
Mar 26, 2009
Messages
2
Location
The Netherlands
Hi,

'./build versions' does not print the old version of ProFTPD if an old version of ProFTPD is installed.:
Code:
 - 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:
Code:
proftpd -v
or
Code:
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
Code:
PROFTPDV="`/usr/sbin/proftpd -V | grep 'Version:' | awk '{ print $2 }'`"
into
Code:
PROFTPDV="`/usr/sbin/proftpd -v 2>&1 | awk '{ print $4 }'`"
 
Hello,

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

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

Code:
[root custombuild]# ./jail/jail_user.sh user
-bash: ./jail/jail_user.sh: No such file or directory
 
Ok, thanks indeed.

Another thing, when i'm installing atmail I got this message
Code:
root@XXXXXXXX:/usr/local/directadmin/custombuild# ./build atmail
ls: /var/www/html/atmail: No such file or directory
And after that hes installing atmail.
 
Back
Top