mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-01 18:52:12 +08:00
postfix: prevent displaying config options when not enabled
Postfix's options should not be visible in the config when Postfix is not enabled. Secondly, place the config option menu behind the Postfix option rather than underneath. Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
This commit is contained in:
parent
544150f15d
commit
e03806857b
@ -45,6 +45,7 @@ define Package/postfix
|
|||||||
postdrop=26:postdrop=26
|
postdrop=26:postdrop=26
|
||||||
URL:=http://www.postfix.org/
|
URL:=http://www.postfix.org/
|
||||||
DEPENDS:=+POSTFIX_CDB:tinycdb +POSTFIX_TLS:libopenssl +POSTFIX_SASL:libsasl2 +POSTFIX_LDAP:libopenldap +POSTFIX_DB:libdb47 +POSTFIX_SQLITE:libsqlite3 +POSTFIX_MYSQL:libmysqlclient +POSTFIX_PGSQL:libpq +POSTFIX_EAI:icu +POSTFIX_PCRE:libpcre
|
DEPENDS:=+POSTFIX_CDB:tinycdb +POSTFIX_TLS:libopenssl +POSTFIX_SASL:libsasl2 +POSTFIX_LDAP:libopenldap +POSTFIX_DB:libdb47 +POSTFIX_SQLITE:libsqlite3 +POSTFIX_MYSQL:libmysqlclient +POSTFIX_PGSQL:libpq +POSTFIX_EAI:icu +POSTFIX_PCRE:libpcre
|
||||||
|
MENU:=1
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/postfix/description
|
define Package/postfix/description
|
||||||
@ -52,63 +53,71 @@ define Package/postfix/description
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/postfix/config
|
define Package/postfix/config
|
||||||
menu "Select postfix build options"
|
config POSTFIX_TLS
|
||||||
config POSTFIX_TLS
|
depends on PACKAGE_postfix
|
||||||
bool "TLS support"
|
bool "TLS support"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Implements TLS support in postfix (using OpenSSL).
|
Implements TLS support in postfix (using OpenSSL).
|
||||||
config POSTFIX_SASL
|
config POSTFIX_SASL
|
||||||
bool "SASL support"
|
depends on PACKAGE_postfix
|
||||||
default y
|
bool "SASL support"
|
||||||
help
|
default y
|
||||||
Implements SASL support in postfix (using Cyrus SASL).
|
help
|
||||||
config POSTFIX_LDAP
|
Implements SASL support in postfix (using Cyrus SASL).
|
||||||
bool "LDAP support"
|
config POSTFIX_LDAP
|
||||||
default y
|
depends on PACKAGE_postfix
|
||||||
help
|
bool "LDAP support"
|
||||||
Implements LDAP support in postfix (using OpenLDAP).
|
default y
|
||||||
config POSTFIX_DB
|
help
|
||||||
bool "BerkeleyDB support"
|
Implements LDAP support in postfix (using OpenLDAP).
|
||||||
default n
|
config POSTFIX_DB
|
||||||
help
|
depends on PACKAGE_postfix
|
||||||
Implements support for btree and hash files using Berkeley DB.
|
bool "BerkeleyDB support"
|
||||||
config POSTFIX_CDB
|
default n
|
||||||
bool "CDB support"
|
help
|
||||||
default y
|
Implements support for btree and hash files using Berkeley DB.
|
||||||
help
|
config POSTFIX_CDB
|
||||||
Implements support for cdb files using tinycdb
|
depends on PACKAGE_postfix
|
||||||
config POSTFIX_SQLITE
|
bool "CDB support"
|
||||||
bool "SQLITE support"
|
default y
|
||||||
default y
|
help
|
||||||
help
|
Implements support for cdb files using tinycdb
|
||||||
Implements support for SQLite3 DB
|
config POSTFIX_SQLITE
|
||||||
config POSTFIX_MYSQL
|
depends on PACKAGE_postfix
|
||||||
bool "MYSQL support"
|
bool "SQLITE support"
|
||||||
default n
|
default y
|
||||||
help
|
help
|
||||||
Implements support for MySQL
|
Implements support for SQLite3 DB
|
||||||
config POSTFIX_PGSQL
|
config POSTFIX_MYSQL
|
||||||
bool "PostgreSQL support"
|
depends on PACKAGE_postfix
|
||||||
default n
|
bool "MYSQL support"
|
||||||
help
|
default n
|
||||||
Implement support for PostgreSQL
|
help
|
||||||
config POSTFIX_PCRE
|
Implements support for MySQL
|
||||||
bool "PCRE support"
|
config POSTFIX_PGSQL
|
||||||
default y
|
depends on PACKAGE_postfix
|
||||||
help
|
bool "PostgreSQL support"
|
||||||
Implement support for Perl Compatible Regular Expressions
|
default n
|
||||||
config POSTFIX_EAI
|
help
|
||||||
bool "SMTPUTF8 support"
|
Implement support for PostgreSQL
|
||||||
default n
|
config POSTFIX_PCRE
|
||||||
help
|
depends on PACKAGE_postfix
|
||||||
Enable Postfix support for Email Address Internationalization
|
bool "PCRE support"
|
||||||
(EAI) as defined in RFC 6531 (SMTPUTF8 extension), RFC 6532
|
default y
|
||||||
(Internationalized email headers) and RFC 6533
|
help
|
||||||
(Internationalized delivery status notifications).
|
Implement support for Perl Compatible Regular Expressions
|
||||||
Since version 3.0, Postfix fully supports UTF-8 email
|
config POSTFIX_EAI
|
||||||
addresses and UTF-8 message header values.
|
depends on PACKAGE_postfix
|
||||||
endmenu
|
bool "SMTPUTF8 support"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
Enable Postfix support for Email Address Internationalization
|
||||||
|
(EAI) as defined in RFC 6531 (SMTPUTF8 extension), RFC 6532
|
||||||
|
(Internationalized email headers) and RFC 6533
|
||||||
|
(Internationalized delivery status notifications).
|
||||||
|
Since version 3.0, Postfix fully supports UTF-8 email
|
||||||
|
addresses and UTF-8 message header values.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
CCARGS=-DNO_NIS -fcommon
|
CCARGS=-DNO_NIS -fcommon
|
||||||
|
Loading…
Reference in New Issue
Block a user