@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := msmtp
PKG_NAME := msmtp
PKG_VERSION := 1.8.5
PKG_VERSION := 1.8.5
PKG_RELEASE := 1
PKG_RELEASE := 2
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE_URL := https://marlam.de/msmtp/releases
PKG_SOURCE_URL := https://marlam.de/msmtp/releases
@ -49,6 +49,7 @@ $(call Package/msmtp/Default)
DEPENDS += +libgnutls +ca-bundle
DEPENDS += +libgnutls +ca-bundle
TITLE += ( with SSL support)
TITLE += ( with SSL support)
VARIANT:= ssl
VARIANT:= ssl
DEFAULT_VARIANT:= 1
e n d e f
e n d e f
d e f i n e P a c k a g e / m s m t p / c o n f f i l e s
d e f i n e P a c k a g e / m s m t p / c o n f f i l e s
@ -64,6 +65,7 @@ define Package/msmtp-nossl
$( call Package /msmtp /Default )
$( call Package /msmtp /Default )
TITLE += ( without SSL support)
TITLE += ( without SSL support)
VARIANT:= nossl
VARIANT:= nossl
PROVIDES:= msmtp
e n d e f
e n d e f
d e f i n e P a c k a g e / m s m t p - n o s s l / d e s c r i p t i o n
d e f i n e P a c k a g e / m s m t p - n o s s l / d e s c r i p t i o n
@ -74,7 +76,10 @@ endef
d e f i n e P a c k a g e / m s m t p - m t a
d e f i n e P a c k a g e / m s m t p - m t a
$( call Package /msmtp /Default )
$( call Package /msmtp /Default )
TITLE += ( as MTA)
TITLE += ( as MTA)
DEPENDS += @( PACKAGE_msmtp|| PACKAGE_msmtp-nossl)
DEPENDS += +msmtp
ALTERNATIVES:= \
100:/usr/sbin/sendmail:/usr/bin/msmtp \
100:/usr/lib/sendmail:/usr/bin/msmtp
e n d e f
e n d e f
d e f i n e P a c k a g e / m s m t p - m t a / d e s c r i p t i o n
d e f i n e P a c k a g e / m s m t p - m t a / d e s c r i p t i o n
@ -85,7 +90,7 @@ endef
d e f i n e P a c k a g e / m s m t p - q u e u e
d e f i n e P a c k a g e / m s m t p - q u e u e
$( call Package /msmtp /Default )
$( call Package /msmtp /Default )
DEPENDS += +bash @( PACKAGE_msmtp|| PACKAGE_msmtp-nossl)
DEPENDS += +bash +msmtp
TITLE += ( queue scripts)
TITLE += ( queue scripts)
e n d e f
e n d e f
@ -119,8 +124,6 @@ endef
d e f i n e P a c k a g e / m s m t p - m t a / i n s t a l l
d e f i n e P a c k a g e / m s m t p - m t a / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/sbin $( 1) /usr/lib
$( INSTALL_DIR) $( 1) /usr/sbin $( 1) /usr/lib
ln -sf ../bin/msmtp $( 1) /usr/sbin/sendmail
ln -sf ../bin/msmtp $( 1) /usr/lib/sendmail
e n d e f
e n d e f
P a c k a g e / m s m t p - n o s s l / conffiles = $( Package/msmtp/conffiles)
P a c k a g e / m s m t p - n o s s l / conffiles = $( Package/msmtp/conffiles)