mutt: add header caching support via libgdbm
authorMatthew Hagan <redacted>
Tue, 4 Jan 2022 15:54:17 +0000 (15:54 +0000)
committerRosen Penev <redacted>
Wed, 2 Feb 2022 20:35:55 +0000 (12:35 -0800)
Add header caching option to mutt, using the libgdbm database routines.

Signed-off-by: Matthew Hagan <redacted>
mail/mutt/Config.in
mail/mutt/Makefile

index 88c292adb7367a2eaf2f57fb6a4e7f2554cf71fe..4d247ccd40ccacdc13e8f2b8f2018f714f15e735 100644 (file)
@@ -14,6 +14,11 @@ if PACKAGE_mutt
                default n
                help
                  Enables SMTP support in mutt.
+       config MUTT_HCACHE
+               bool "Header caching support"
+               default n
+               help
+                 Enables header caching support in mutt (using libgdbm).
        config MUTT_SASL
                bool "SASL support"
                default n
index 09f6dc794b6708518dd36a4127e861a181cfe34b..f80cc3f31a7ff2f916f426c1036215d1a328edaa 100644 (file)
@@ -30,7 +30,7 @@ include $(INCLUDE_DIR)/package.mk
 define Package/mutt
   SECTION:=mail
   CATEGORY:=Mail
-  DEPENDS:=+MUTT_GNUTLS:libgnutls +MUTT_OPENSSL:libopenssl +libncursesw +MUTT_SASL:libsasl2 +terminfo +zlib
+  DEPENDS:=+MUTT_HCACHE:libgdbm +MUTT_GNUTLS:libgnutls +MUTT_OPENSSL:libopenssl +libncursesw +MUTT_SASL:libsasl2 +terminfo +zlib
   TITLE:=Console mail client
   URL:=http://www.mutt.org/
   MENU:=1
@@ -47,6 +47,7 @@ CONFIGURE_ARGS += \
        $(if $(CONFIG_MUTT_POP),--enable-pop) \
        $(if $(CONFIG_MUTT_IMAP),--enable-imap) \
        $(if $(CONFIG_MUTT_SMTP),--enable-smtp) \
+       $(if $(CONFIG_MUTT_HCACHE),--enable-hcache) \
        $(if $(CONFIG_MUTT_SASL),--with-sasl) \
        --with-mailpath=/var/mail \
        $(if $(CONFIG_MUTT_GNUTLS),--with-gnutls) \
git clone https://git.99rst.org/PROJECT