kumquat-buildroot/package/libesmtp/libesmtp.mk
Fabrice Fontaine b72401692e package/libesmtp: security bump to version 1.1.0
After more than a decade, libESMTP version 1.0.6 is superceded. Despite
proving robust a little bitrot has occurred, especially regarding
OpenSSL support. The original application data APIs are prone to memory
leaks and are deprecated in favour of safer replacements. Version 1.1
updates libESMTP without breaking API and ABI compatibility and
provides a basis for future development.

In addition to updates to the codebase, documentation is modernised and
is more comprehensive.

All libESMTP users are encouraged to upgrade from version 1.0.6.

- Update license files
- Update indentation in hash file (two spaces)
- Switch to meson-package
- Handle threads and tls meson options
- libesmtp-config has been dropped:
  https://github.com/libesmtp/libESMTP/issues/8
- Fix CVE-2019-19977: libESMTP through 1.0.6 mishandles domain copying
  into a fixed-size buffer in ntlm_build_type_2 in ntlm/ntlmstruct.c, as
  demonstrated by a stack-based buffer over-read.

https://github.com/libesmtp/libESMTP/releases/tag/v1.1.0
https://libesmtp.github.io/changes-since-v1.0.6.html

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-08-05 23:47:32 +02:00

28 lines
760 B
Makefile

################################################################################
#
# libesmtp
#
################################################################################
LIBESMTP_VERSION = 1.1.0
LIBESMTP_SITE = $(call github,libesmtp,libESMTP,v$(LIBESMTP_VERSION))
LIBESMTP_INSTALL_STAGING = YES
LIBESMTP_LICENSE = GPL-2.0+ (examples), LGPL-2.1+ (library)
LIBESMTP_LICENSE_FILES = COPYING.GPL LICENSE
LIBESMTP_CPE_ID_VENDOR = libesmtp_project
ifeq ($(BR2_PACKAGE_OPENSSL),y)
LIBESMTP_CONF_OPTS += -Dtls=enabled
LIBESMTP_DEPENDENCIES += openssl
else
LIBESMTP_CONF_OPTS += -Dtls=disabled
endif
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
LIBESMTP_CONF_OPTS += -Dpthreads=enabled
else
LIBESMTP_CONF_OPTS += -Dpthreads=disabled
endif
$(eval $(meson-package))