summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorMatthew Hagan <mnhagan88@gmail.com>2021-11-06 23:42:44 +0000
committerRosen Penev <rosenp@gmail.com>2021-11-08 17:56:46 -0800
commitabca3c73e697ded1808241385f0b29dc44b188b1 (patch)
tree5432f63bd0428d3aad5535d18774c1a3fe9181b3 /mail
parent33ea7a719fe6b6ad688054a2b48e24c741af44ff (diff)
mutt: prevent exposing mutt config options when not enabled
Ensure Mutt's configuration options do not appear in the config when Mutt is not enabled. Reported-by: Stijn Segers <foss@volatilesystems.org> Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
Diffstat (limited to 'mail')
-rw-r--r--mail/mutt/Makefile69
1 files changed, 37 insertions, 32 deletions
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile
index 4bafcc16f..49c8be91a 100644
--- a/mail/mutt/Makefile
+++ b/mail/mutt/Makefile
@@ -33,6 +33,7 @@ define Package/mutt
DEPENDS:=+MUTT_GNUTLS:libgnutls +MUTT_OPENSSL:libopenssl +libncursesw +MUTT_SASL:libsasl2 +terminfo +zlib
TITLE:=Console mail client
URL:=http://www.mutt.org/
+ MENU:=1
endef
define Package/mutt/description
@@ -59,38 +60,42 @@ define Package/mutt/install
endef
define Package/mutt/config
- menu "Select mutt build options"
- config MUTT_POP
- bool "POP support"
- default y
- help
- Enables POP support in mutt.
- config MUTT_IMAP
- bool "IMAP support"
- default y
- help
- Enables IMAP support in mutt
- config MUTT_SMTP
- bool "SMTP support"
- default n
- help
- Enables SMTP support in mutt.
- config MUTT_SASL
- bool "SASL support"
- default n
- help
- Enables SASL support in mutt (libsasl2).
- config MUTT_GNUTLS
- bool "GnuTLS support"
- default n
- help
- Enables GnuTLS support in mutt (libgnutls).
- config MUTT_OPENSSL
- bool "OpenSSL support"
- default y
- help
- Enables OpenSSL support in mutt (libopenssl).
- endmenu
+ config MUTT_POP
+ depends on PACKAGE_mutt
+ bool "POP support"
+ default y
+ help
+ Enables POP support in mutt.
+ config MUTT_IMAP
+ depends on PACKAGE_mutt
+ bool "IMAP support"
+ default y
+ help
+ Enables IMAP support in mutt
+ config MUTT_SMTP
+ depends on PACKAGE_mutt
+ bool "SMTP support"
+ default n
+ help
+ Enables SMTP support in mutt.
+ config MUTT_SASL
+ depends on PACKAGE_mutt
+ bool "SASL support"
+ default n
+ help
+ Enables SASL support in mutt (libsasl2).
+ config MUTT_GNUTLS
+ depends on PACKAGE_mutt
+ bool "GnuTLS support"
+ default n
+ help
+ Enables GnuTLS support in mutt (libgnutls).
+ config MUTT_OPENSSL
+ depends on PACKAGE_mutt
+ bool "OpenSSL support"
+ default y
+ help
+ Enables OpenSSL support in mutt (libopenssl).
endef
$(eval $(call BuildPackage,mutt))