Bug 235315 - ftp/proftpd disable mod_ctrls
Summary: ftp/proftpd disable mod_ctrls
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Martin Matuska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-30 12:04 UTC by Miroslav Lachman
Modified: 2019-01-30 12:04 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (mm)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Lachman 2019-01-30 12:04:53 UTC
I propose to remove --enable-ctrls from Makefile or make it configurable via OPTIONS.
I don't use this module but it cannot be disabled in configuration (or I cannot find how) but it emits error on each (re)start of ProFTPd:

proftpd[3902]: mod_ctrls/0.9.5: error: unable to bind to local socket: Address already in use

Really annoying if one does not need this functionality to be enabled.

This is the part of a Makefile which should be changed

CONFIGURE_ARGS=--localstatedir=${LOCALSTATEDIR} \
                --libexecdir=${PREFIX}/libexec/proftpd \
                --with-pkgconfig=libdata/pkgconfig \
                --sysconfdir=${PREFIX}/etc \
                --enable-ctrls \
                --enable-dso \
                --disable-sendfile