diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 09:58:03 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 09:58:03 +0100 |
commit | c19f7584e14522043da141189711c8db72dfbc90 (patch) | |
tree | 5338df22283363d2ed79bf53605a325659482ab9 /mailutils | |
parent | 29e2c45a5b317556a890a86ca7780e589072151c (diff) |
Convert all mailutils/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'mailutils')
-rw-r--r-- | mailutils/Config.src | 43 | ||||
-rw-r--r-- | mailutils/makemime.c | 7 | ||||
-rw-r--r-- | mailutils/popmaildir.c | 18 | ||||
-rw-r--r-- | mailutils/reformime.c | 15 | ||||
-rw-r--r-- | mailutils/sendmail.c | 7 |
5 files changed, 47 insertions, 43 deletions
diff --git a/mailutils/Config.src b/mailutils/Config.src index 2a9c5c074..e45a0f8fb 100644 --- a/mailutils/Config.src +++ b/mailutils/Config.src @@ -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 diff --git a/mailutils/makemime.c b/mailutils/makemime.c index 8e1bc664c..78f78bbcc 100644 --- a/mailutils/makemime.c +++ b/mailutils/makemime.c @@ -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 diff --git a/mailutils/popmaildir.c b/mailutils/popmaildir.c index 69eca6164..ffe373865 100644 --- a/mailutils/popmaildir.c +++ b/mailutils/popmaildir.c @@ -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 diff --git a/mailutils/reformime.c b/mailutils/reformime.c index b967dfbc7..e97bc0130 100644 --- a/mailutils/reformime.c +++ b/mailutils/reformime.c @@ -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 diff --git a/mailutils/sendmail.c b/mailutils/sendmail.c index 1242795b8..8ddb7826b 100644 --- a/mailutils/sendmail.c +++ b/mailutils/sendmail.c @@ -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 |