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>
This commit is contained in:
parent
33ea7a719f
commit
abca3c73e6
1 changed files with 37 additions and 32 deletions
|
@ -33,6 +33,7 @@ define Package/mutt
|
||||||
DEPENDS:=+MUTT_GNUTLS:libgnutls +MUTT_OPENSSL:libopenssl +libncursesw +MUTT_SASL:libsasl2 +terminfo +zlib
|
DEPENDS:=+MUTT_GNUTLS:libgnutls +MUTT_OPENSSL:libopenssl +libncursesw +MUTT_SASL:libsasl2 +terminfo +zlib
|
||||||
TITLE:=Console mail client
|
TITLE:=Console mail client
|
||||||
URL:=http://www.mutt.org/
|
URL:=http://www.mutt.org/
|
||||||
|
MENU:=1
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/mutt/description
|
define Package/mutt/description
|
||||||
|
@ -59,38 +60,42 @@ define Package/mutt/install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/mutt/config
|
define Package/mutt/config
|
||||||
menu "Select mutt build options"
|
config MUTT_POP
|
||||||
config MUTT_POP
|
depends on PACKAGE_mutt
|
||||||
bool "POP support"
|
bool "POP support"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Enables POP support in mutt.
|
Enables POP support in mutt.
|
||||||
config MUTT_IMAP
|
config MUTT_IMAP
|
||||||
bool "IMAP support"
|
depends on PACKAGE_mutt
|
||||||
default y
|
bool "IMAP support"
|
||||||
help
|
default y
|
||||||
Enables IMAP support in mutt
|
help
|
||||||
config MUTT_SMTP
|
Enables IMAP support in mutt
|
||||||
bool "SMTP support"
|
config MUTT_SMTP
|
||||||
default n
|
depends on PACKAGE_mutt
|
||||||
help
|
bool "SMTP support"
|
||||||
Enables SMTP support in mutt.
|
default n
|
||||||
config MUTT_SASL
|
help
|
||||||
bool "SASL support"
|
Enables SMTP support in mutt.
|
||||||
default n
|
config MUTT_SASL
|
||||||
help
|
depends on PACKAGE_mutt
|
||||||
Enables SASL support in mutt (libsasl2).
|
bool "SASL support"
|
||||||
config MUTT_GNUTLS
|
default n
|
||||||
bool "GnuTLS support"
|
help
|
||||||
default n
|
Enables SASL support in mutt (libsasl2).
|
||||||
help
|
config MUTT_GNUTLS
|
||||||
Enables GnuTLS support in mutt (libgnutls).
|
depends on PACKAGE_mutt
|
||||||
config MUTT_OPENSSL
|
bool "GnuTLS support"
|
||||||
bool "OpenSSL support"
|
default n
|
||||||
default y
|
help
|
||||||
help
|
Enables GnuTLS support in mutt (libgnutls).
|
||||||
Enables OpenSSL support in mutt (libopenssl).
|
config MUTT_OPENSSL
|
||||||
endmenu
|
depends on PACKAGE_mutt
|
||||||
|
bool "OpenSSL support"
|
||||||
|
default y
|
||||||
|
help
|
||||||
|
Enables OpenSSL support in mutt (libopenssl).
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,mutt))
|
$(eval $(call BuildPackage,mutt))
|
||||||
|
|
Loading…
Reference in a new issue