d3ab39fe09
This release includes the following changes: - New features - New 'sessionResume' service-level option to allow or disallow session resumption - Added support for the new SSL_set_options() values. - Download fresh ca-certs.pem for each new release. - Bugfixes - Fixed 'redirect' with 'protocol'. This combination is not supported by 'smtp', 'pop3' and 'imap' protocols. - Enforced minimum WIN32 log window size. - Fixed support for password-protected private keys with OpenSSL 3.0 (thx to Dmitry Belyavskiy). - Added missing TLS options supported in OpenSSL 1.1.1k. Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
40 lines
1.2 KiB
Makefile
40 lines
1.2 KiB
Makefile
################################################################################
|
|
#
|
|
# stunnel
|
|
#
|
|
################################################################################
|
|
|
|
STUNNEL_VERSION_MAJOR = 5
|
|
STUNNEL_VERSION = $(STUNNEL_VERSION_MAJOR).60
|
|
STUNNEL_SITE = http://www.usenix.org.uk/mirrors/stunnel/archive/$(STUNNEL_VERSION_MAJOR).x
|
|
STUNNEL_DEPENDENCIES = host-pkgconf openssl
|
|
STUNNEL_CONF_OPTS = --with-ssl=$(STAGING_DIR)/usr --with-threads=fork \
|
|
--disable-libwrap
|
|
STUNNEL_CONF_ENV = \
|
|
ax_cv_check_cflags___fstack_protector=$(if $(BR2_TOOLCHAIN_HAS_SSP),yes,no) \
|
|
LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl`
|
|
STUNNEL_LICENSE = GPL-2.0+
|
|
STUNNEL_LICENSE_FILES = COPYING.md COPYRIGHT.md
|
|
STUNNEL_CPE_ID_VENDOR = stunnel
|
|
STUNNEL_SELINUX_MODULES = stunnel
|
|
|
|
ifeq ($(BR2_INIT_SYSTEMD),y)
|
|
STUNNEL_DEPENDENCIES += systemd
|
|
else
|
|
STUNNEL_CONF_OPTS += --disable-systemd
|
|
endif
|
|
|
|
define STUNNEL_INSTALL_CONF
|
|
$(INSTALL) -m 0644 -D $(@D)/tools/stunnel.conf \
|
|
$(TARGET_DIR)/etc/stunnel/stunnel.conf
|
|
rm -f $(TARGET_DIR)/etc/stunnel/stunnel.conf-sample
|
|
endef
|
|
|
|
STUNNEL_POST_INSTALL_TARGET_HOOKS += STUNNEL_INSTALL_CONF
|
|
|
|
define STUNNEL_INSTALL_INIT_SYSV
|
|
$(INSTALL) -m 0755 -D package/stunnel/S50stunnel $(TARGET_DIR)/etc/init.d/S50stunnel
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|