ProFTPd with ClamAV/proftpd_uploadscan fails to build

kristian

Verified User
Joined
Nov 4, 2005
Messages
490
Location
Norway
Error at the end of ./build proftpd:

Code:
[...]
Enabling proftpd in systemd...
Done proftpd.
Enabling ProFTPd ClamAV module for upload scanning


Cannot compile mod_clamav using prxs.  Use existing ./configure script instead:

  ./configure
  make
  make install
Restarting ProFTPd.

Looks like the mod_clamav modules is never built, due to some issue with something called prxs.

For reference, relevant sections from options.conf:
Code:
clamav=yes
proftpd_uploadscan=yes
ftpd=proftpd

And my custom proftpd configure file:

Code:
# cat /usr/local/directadmin/custombuild/custom/proftpd/configure.proftpd
#!/bin/sh

#
# This file is managed by Ansible - do not edit!
#

# The "original" custom ProFTPd configure file for SFTP support is referenced at
# <https://docs.directadmin.com/other-hosting-services/ftp/general.html#how-to-install-mod-sftp-into-proftpd>
# but does not include the '--enable-dso' line for some reason. It can be found
# at <http://files.directadmin.com/services/all/sftp/configure.proftpd.sftp>. I
# have posted about it in
# <https://forum.directadmin.com/threads/no-enable-dso-for-proftpd-sftp-configure-file.67739/>.

install_user=ftp \
install_group=ftp \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var/run \
--mandir=/usr/share/man \
--without-pam \
--disable-auth-pam \
--enable-nls \
--enable-dso \
--enable-openssl \
--enable-clamav \
--with-modules=mod_ratio:mod_readme:mod_tls:mod_sftp

(Not really sure if I should or shouldn't have --enable-clamav there. I think it's not needed due to it being a DSO module.)
 
Back
Top