vsftpd: Add build option to disable utmpx update code
authorMaarten ter Huurne <maarten@treewalker.org>
Tue, 16 Sep 2014 13:17:30 +0000 (15:17 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 12 Oct 2014 07:32:15 +0000 (09:32 +0200)
commit9840261050c763824fc0691c2a15a7dae19f13f8
tree51944135dad486cd564d61a9c60e7853fcd28a09
parentdf8ae412a44ec21d9928e8ba753adee7207d02bc
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>
package/vsftpd/Config.in
package/vsftpd/vsftpd-0001-utmpx-builddef.patch [new file with mode: 0644]
package/vsftpd/vsftpd.mk