Convert all mailutils/* applets to "new style" applet definitions

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2016-11-23 09:58:03 +01:00
parent 29e2c45a5b
commit c19f7584e1
6 changed files with 47 additions and 47 deletions

View File

@ -2,12 +2,6 @@ menu "Mail Utilities"
INSERT
config MAKEMIME
bool "makemime"
default y
help
Create MIME-formatted messages.
config FEATURE_MIME_CHARSET
string "Default charset"
default "us-ascii"
@ -15,41 +9,4 @@ config FEATURE_MIME_CHARSET
help
Default charset of the message.
config POPMAILDIR
bool "popmaildir"
default y
help
Simple yet powerful POP3 mail popper. Delivers content
of remote mailboxes to local Maildir.
config FEATURE_POPMAILDIR_DELIVERY
bool "Allow message filters and custom delivery program"
default y
depends on POPMAILDIR
help
Allow to use a custom program to filter the content
of the message before actual delivery (-F "prog [args...]").
Allow to use a custom program for message actual delivery
(-M "prog [args...]").
config REFORMIME
bool "reformime"
default y
help
Parse MIME-formatted messages.
config FEATURE_REFORMIME_COMPAT
bool "Accept and ignore options other than -x and -X"
default y
depends on REFORMIME
help
Accept (for compatibility only) and ignore options
other than -x and -X.
config SENDMAIL
bool "sendmail"
default y
help
Barebones sendmail.
endmenu

View File

@ -6,6 +6,13 @@
*
* Licensed under GPLv2, see file LICENSE in this source tree.
*/
//config:config MAKEMIME
//config: bool "makemime"
//config: default y
//config: help
//config: Create MIME-formatted messages.
//applet:IF_MAKEMIME(APPLET(makemime, BB_DIR_BIN, BB_SUID_DROP))
//kbuild:lib-$(CONFIG_MAKEMIME) += makemime.o mail.o

View File

@ -9,6 +9,24 @@
*
* Licensed under GPLv2, see file LICENSE in this source tree.
*/
//config:config POPMAILDIR
//config: bool "popmaildir"
//config: default y
//config: help
//config: Simple yet powerful POP3 mail popper. Delivers content
//config: of remote mailboxes to local Maildir.
//config:
//config:config FEATURE_POPMAILDIR_DELIVERY
//config: bool "Allow message filters and custom delivery program"
//config: default y
//config: depends on POPMAILDIR
//config: help
//config: Allow to use a custom program to filter the content
//config: of the message before actual delivery (-F "prog [args...]").
//config: Allow to use a custom program for message actual delivery
//config: (-M "prog [args...]").
//applet:IF_POPMAILDIR(APPLET(popmaildir, BB_DIR_USR_SBIN, BB_SUID_DROP))
//kbuild:lib-$(CONFIG_POPMAILDIR) += popmaildir.o mail.o

View File

@ -6,6 +6,21 @@
*
* Licensed under GPLv2, see file LICENSE in this source tree.
*/
//config:config REFORMIME
//config: bool "reformime"
//config: default y
//config: help
//config: Parse MIME-formatted messages.
//config:
//config:config FEATURE_REFORMIME_COMPAT
//config: bool "Accept and ignore options other than -x and -X"
//config: default y
//config: depends on REFORMIME
//config: help
//config: Accept (for compatibility only) and ignore options
//config: other than -x and -X.
//applet:IF_REFORMIME(APPLET(reformime, BB_DIR_BIN, BB_SUID_DROP))
//kbuild:lib-$(CONFIG_REFORMIME) += reformime.o mail.o

View File

@ -6,6 +6,13 @@
*
* Licensed under GPLv2, see file LICENSE in this source tree.
*/
//config:config SENDMAIL
//config: bool "sendmail"
//config: default y
//config: help
//config: Barebones sendmail.
//applet:IF_SENDMAIL(APPLET(sendmail, BB_DIR_USR_SBIN, BB_SUID_DROP))
//kbuild:lib-$(CONFIG_SENDMAIL) += sendmail.o mail.o