diff options
author | Maarten ter Huurne <maarten@treewalker.org> | 2014-09-16 15:17:30 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-10-12 09:32:15 +0200 |
commit | 9840261050c763824fc0691c2a15a7dae19f13f8 (patch) | |
tree | 51944135dad486cd564d61a9c60e7853fcd28a09 /package/vsftpd/Config.in | |
parent | df8ae412a44ec21d9928e8ba753adee7207d02bc (diff) | |
download | buildroot-9840261050c763824fc0691c2a15a7dae19f13f8.tar.gz buildroot-9840261050c763824fc0691c2a15a7dae19f13f8.zip |
vsftpd: Add build option to disable utmpx update code
This was modeled after a similar option for Dropbear.
The utmpx code is automatically disabled when compiling with musl,
to avoid a build error due to WTMPX_FILE being undefined. Note that
musl has an empty utmpx implementation, so no functionality is lost
by not calling it.
[Peter: use positive logic]
Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/vsftpd/Config.in')
-rw-r--r-- | package/vsftpd/Config.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/vsftpd/Config.in b/package/vsftpd/Config.in index 0cc888037b..464d6f27e3 100644 --- a/package/vsftpd/Config.in +++ b/package/vsftpd/Config.in @@ -4,3 +4,15 @@ config BR2_PACKAGE_VSFTPD help vsftpd is an ftp daemon written with security in mind. http://vsftpd.beasts.org/ + +if BR2_PACKAGE_VSFTPD + +config BR2_PACKAGE_VSFTPD_UTMPX + bool "log vsftpd access to utmpx" + # musl 1.1.4 has an empty utmpx implementation and no WTMPX_FILE + depends on !BR2_TOOLCHAIN_USES_MUSL + help + Enable logging of vsftpd access to utmpx. + Note that Buildroot does not generate utmpx by default. + +endif |