From b0484b005163496c222371bd931813d191545194 Mon Sep 17 00:00:00 2001 From: Josef Schlehofer Date: Sun, 5 Apr 2020 22:50:23 +0200 Subject: [PATCH] msmtp: update to version 1.8.7 - It brings oauthbearer support - It switches from OpenSSL to GnuTLS, which is fully compatible and brings more parameters Makefile changes: - Fix SPDX License Identifier - Add PKG_CPE_ID - The Project does not use sourceforce anymore. - Uses GnuTLS instead of OpenSSL, which was discouraged Signed-off-by: Josef Schlehofer --- mail/msmtp/Makefile | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/mail/msmtp/Makefile b/mail/msmtp/Makefile index 91ae6de2e7..2fc04c3e59 100644 --- a/mail/msmtp/Makefile +++ b/mail/msmtp/Makefile @@ -9,16 +9,17 @@ include $(TOPDIR)/rules.mk PKG_NAME:=msmtp -PKG_VERSION:=1.6.6 +PKG_VERSION:=1.8.7 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz -PKG_SOURCE_URL:=@SF/msmtp -PKG_HASH:=da15db1f62bd0201fce5310adb89c86188be91cd745b7cb3b62b81a501e7fb5e +PKG_SOURCE_URL:=https://marlam.de/msmtp/releases +PKG_HASH:=9a53bcdc244ec5b1a806934ecc7746d9d09db581f587bedf597e9da2f48c51f1 -PKG_LICENSE:=GPL-3.0+ -PKG_LICENSE_FILES:=COPYING PKG_MAINTAINER:=Nicolas Thill +PKG_LICENSE:=GPL-3.0-or-later +PKG_LICENSE_FILES:=COPYING +PKG_CPE_ID:=cpe:/a:marlam:msmt PKG_FIXUP:=autoreconf PKG_INSTALL:=1 @@ -33,7 +34,7 @@ define Package/msmtp/Default CATEGORY:=Mail DEPENDS:=$(INTL_DEPENDS) TITLE:=Simple sendmail SMTP forwarding - URL:=http://msmtp.sourceforge.net/ + URL:=https://marlam.de/msmtp/ endef define Package/msmtp/Default/description @@ -46,7 +47,7 @@ endef define Package/msmtp $(call Package/msmtp/Default) - DEPENDS+= +libopenssl +ca-bundle + DEPENDS+= +libgnutls +ca-bundle TITLE+= (with SSL support) VARIANT:=ssl endef @@ -110,12 +111,12 @@ MAKE_FLAGS := ifeq ($(BUILD_VARIANT),ssl) CONFIGURE_ARGS += \ - --with-tls=openssl + --with-tls=gnutls endif ifeq ($(BUILD_VARIANT),nossl) CONFIGURE_ARGS += \ - --with-tls=no + --without-tls endif define Package/msmtp/install -- 2.30.2