mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 01:44:32 +04:00
emailrelay: move config options to Config.in
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
This commit is contained in:
committed by
Josef Schlehofer
parent
d5e4a8a7e7
commit
0d5659690d
25
mail/emailrelay/Config.in
Normal file
25
mail/emailrelay/Config.in
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
if PACKAGE_emailrelay
|
||||||
|
|
||||||
|
comment "SSL support (SSMTP is supported)"
|
||||||
|
|
||||||
|
choice
|
||||||
|
prompt "Select TSL library"
|
||||||
|
default EMAILRELAY_SSL
|
||||||
|
|
||||||
|
config EMAILRELAY_SSL
|
||||||
|
bool "OpenSSL"
|
||||||
|
select PACKAGE_libopenssl
|
||||||
|
help
|
||||||
|
Builds the package with OpenSSL.
|
||||||
|
|
||||||
|
config EMAILRELAY_NOSSL
|
||||||
|
bool "No TLS support"
|
||||||
|
endchoice
|
||||||
|
|
||||||
|
config EMAILRELAY_SUPPORT_VERBOSE_DBG
|
||||||
|
bool "Enable support for extended logging"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
Enables support for extended logging (must also be explicitly enabled by using command line switch --debug when starting emailrelay)
|
||||||
|
|
||||||
|
endif
|
||||||
@@ -19,7 +19,11 @@ PKG_MAINTAINER:=Federico Di Marco <fededim@gmail.com>
|
|||||||
PKG_LICENSE:=GPL-3.0-or-later
|
PKG_LICENSE:=GPL-3.0-or-later
|
||||||
PKG_LICENSE_FILES:=COPYING
|
PKG_LICENSE_FILES:=COPYING
|
||||||
|
|
||||||
PKG_CONFIG_DEPENDS:=CONFIG_EMAILRELAY_SUPPORT_VERBOSE_DBG CONFIG_EMAILRELAY_SSL
|
PKG_CONFIG_DEPENDS:= \
|
||||||
|
CONFIG_EMAILRELAY_SUPPORT_VERBOSE_DBG \
|
||||||
|
CONFIG_EMAILRELAY_SSL \
|
||||||
|
CONFIG_EMAILRELAY_NOSSL
|
||||||
|
|
||||||
PKG_BUILD_FLAGS:=gc-sections lto
|
PKG_BUILD_FLAGS:=gc-sections lto
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
@@ -35,20 +39,7 @@ endef
|
|||||||
|
|
||||||
|
|
||||||
define Package/emailrelay/config
|
define Package/emailrelay/config
|
||||||
config EMAILRELAY_SUPPORT_VERBOSE_DBG
|
source "$(SOURCE)/Config.in"
|
||||||
bool "Enable support for extended logging"
|
|
||||||
depends on PACKAGE_emailrelay
|
|
||||||
default n
|
|
||||||
help
|
|
||||||
Enables support for extended logging (must also be explicitely enabled by using command line switch --debug when starting emailrelay)
|
|
||||||
|
|
||||||
config EMAILRELAY_SSL
|
|
||||||
bool "Enable support for OpenSSL"
|
|
||||||
depends on PACKAGE_emailrelay
|
|
||||||
default y
|
|
||||||
select PACKAGE_libopenssl
|
|
||||||
help
|
|
||||||
Builds the package with OpenSSL support (SSMTP is supported).
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
||||||
@@ -72,7 +63,6 @@ endef
|
|||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--without-doxygen \
|
--without-doxygen \
|
||||||
--without-man2html \
|
--without-man2html \
|
||||||
--without-mbedtls \
|
|
||||||
--without-pam \
|
--without-pam \
|
||||||
--disable-bsd \
|
--disable-bsd \
|
||||||
--disable-gui \
|
--disable-gui \
|
||||||
|
|||||||
Reference in New Issue
Block a user