msmtp: update to version 1.8.7 11773/head
authorJosef Schlehofer <pepe.schlehofer@gmail.com>
Sun, 5 Apr 2020 20:50:23 +0000 (22:50 +0200)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Sun, 5 Apr 2020 22:57:02 +0000 (00:57 +0200)
- 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 <pepe.schlehofer@gmail.com>
mail/msmtp/Makefile

index 91ae6de2e7ad9f1d235fb9ac7ed30904520e2604..2fc04c3e5980f898611526102d7fe58237b8ddaf 100644 (file)
@@ -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 <nico@openwrt.org>
+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