@ -9,12 +9,13 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := msmtp-scripts
PKG_NAME := msmtp-scripts
PKG_VERSION := 1.0.8
PKG_VERSION := 1.2.4
PKG_RELEASE := 1
PKG_RELEASE := 1
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := @SF/msmtp-scripts
PKG_HASH := 2aec48d47b02facf2a33cf97a7434e969c1a054224406e6c55320d825c7902b2
PKG_SOURCE_URL := https://launchpad.net/$( PKG_NAME) /1.2/$( PKG_VERSION) /+download
PKG_HASH := fc85ab8ed1348be584adfc1feb89f51daed7404e9e8643652ff31d2af00f1cf5
PKG_MAINTAINER := Daniel F. Dickinson <cshored@thecshore.com>
PKG_LICENSE := GPL-3.0-or-later
PKG_LICENSE := GPL-3.0-or-later
PKG_LICENSE_FILES := COPYING
PKG_LICENSE_FILES := COPYING
@ -24,24 +25,20 @@ include $(INCLUDE_DIR)/package.mk
d e f i n e P a c k a g e / m s m t p - s c r i p t s / D e f a u l t
d e f i n e P a c k a g e / m s m t p - s c r i p t s / D e f a u l t
SECTION:= mail
SECTION:= mail
CATEGORY:= Mail
CATEGORY:= Mail
TITLE:= DEPRECATED: Simple sendmail SMTP queueing and forward ing
URL:= http://msmtp-scripts.sourceforge.net/
TITLE:= Forwarding only SMTP with queu ing
URL:= https://msmtp-scripts.thecshore.com
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 - s c r i p t s / D e f a u l t / 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 - s c r i p t s / D e f a u l t / d e s c r i p t i o n
DEPRECATED: SourceForge project is abandonded; and upstream ( on GitHub)
has deprecated this project. See:
https://github.com/cshore-history/msmtp-scripts#deprecation-notice
msmtp-scripts are scripts wrappers around the msmtp SMTP client that
msmtp-scripts are scripts wrappers around the msmtp SMTP client that
add queueing, logging to syslog or file, a subset of sendmail/postfix
add queueing, logging to syslog or file, and a subset of sendmail/postfix
mailq/postsuper/postqueue commands implemented in a compatible fashion.
mailq/postsuper/postqueue commands implemented in a compatible fashion.
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 q - n g
d e f i n e P a c k a g e / m s m t p q - n g
$( call Package /msmtp -scripts /Default )
$( call Package /msmtp -scripts /Default )
DEPENDS += +msmtp
DEPENDS += +msmtp
TITLE += ( msmtpq-ng wrappers )
TITLE += ( common )
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 q - n g / 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 q - n g / c o n f f i l e s
@ -59,16 +56,15 @@ define Package/msmtpq-ng-mta
$( call Package /msmtp -scripts /Default )
$( call Package /msmtp -scripts /Default )
TITLE += ( as MTA)
TITLE += ( as MTA)
DEPENDS += +msmtpq-ng
DEPENDS += +msmtpq-ng
USERID:= msmtp = 482:msmtp= 482
ALTERNATIVES:= \
ALTERNATIVES:= \
400:/usr/sbin/sendmail:/usr/bin/msmtpq-ng-mta \
400:/usr/lib/sendmail:/usr/bin/msmtpq-ng-mta \
400:/usr/sbin/mailq:/usr/bin/msmtpq-ng-queue-mta \
400:/usr/sbin/postqueue:/usr/bin/msmtpq-ng-queue-mta \
400:/usr/sbin/postsuper:/usr/sin/msmtpq-ng-queue-mta
400:/usr/sbin/sendmail:/usr/s bin/msmtpq-ng-mta \
400:/usr/lib/sendmail:/usr/s bin/msmtpq-ng-mta \
400:/usr/sbin/mailq:/usr/s bin/msmtpq-ng-queue-mta \
400:/usr/sbin/postqueue:/usr/s bin/msmtpq-ng-queue-mta \
400:/usr/sbin/postsuper:/usr/sb in/msmtpq-ng-queue-mta
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 - q u e u e - m t a / 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 q - n g - m t a / c o n f f i l e s
/ e t c / m s m t p q - n g - m t a . r c
/ e t c / m s m t p q - n g - m t a . r c
e n d e f
e n d e f
@ -83,7 +79,8 @@ endef
d e f i n e P a c k a g e / m s m t p q - n g - m t a - s m t p d
d e f i n e P a c k a g e / m s m t p q - n g - m t a - s m t p d
$( call Package /msmtp -scripts /Default )
$( call Package /msmtp -scripts /Default )
DEPENDS += +msmtpq-ng-mta +xinetd
DEPENDS += +msmtpq-ng-mta +xinetd
TITLE += ( basic SMTP server)
TITLE += ( localhost SMTPd)
USERID:= msmtp = 482:msmtp= 482
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 g - m t a - s m t p d / 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 g - m t a - s m t p d / d e s c r i p t i o n
@ -97,13 +94,13 @@ define Package/msmtp-ng-mta-smtpd/description
the hold queue before it can be delivered.
the hold queue before it can be delivered.
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 q - n g - m t a / p o s t i n s t
mkdir -p $$ { IPKG_INSTROOT} /etc/crontabs
if ! grep -q msmtpq-ng-mta $$ { IPKG_INSTROOT} /etc/crontabs/root; then echo $$ '\n' "*/60 * * * * /usr/bin/msmtpq-ng-mta -q" >>$$ { IPKG_INSTROOT} /etc/crontabs/root; fi
d e f i n e P a c k a g e / m s m t p q - n g - m t a - s m t p d / c o n f f i l e s
/ e t c / x i n e t d . d / m s - m t a - s m t p d
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 - q u e u e - m t a / p r e r m
if grep -q msmtpq-ng-mta $$ { IPKG_INSTROOT} /etc/crontabs/root; then grep -v '\*/60 \* \* \* \* /usr/bin/msmtpq-ng-mta -q' $$ { IPKG_INSTROOT} /etc/crontabs/root >$$ { IPKG_INSTROOT} /etc/crontabs/root.new; mv -f $$ { IPKG_INSTROOT} /etc/crontabs/root.new $$ { IPKG_INSTROOT} /etc/crontabs; fi
d e f i n e P a c k a g e / m s m t p q - n g - m t a / p o s t i n s t
mkdir -p $$ { IPKG_INSTROOT} /etc/crontabs
if ! grep -q msmtpq-ng-mta $$ { IPKG_INSTROOT} /etc/crontabs/root 2>/dev/null; then echo $$ '\n' "*/60 * * * * /usr/bin/msmtpq-ng-mta -q" >>$$ { IPKG_INSTROOT} /etc/crontabs/root; fi
e n d e f
e n d e f
d e f i n e B u i l d / C o n f i g u r e
d e f i n e B u i l d / C o n f i g u r e
@ -116,26 +113,24 @@ endef
d e f i n e P a c k a g e / m s m t p q - n g / 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 q - n g / i n s t a l l
$( INSTALL_DIR) $( 1) /etc
$( INSTALL_DIR) $( 1) /etc
$( INSTALL_CONF ) ./files/msmtpq-ng.rc $( 1) /etc/msmtpq-ng.rc
$( INSTALL_DATA ) ./files/msmtpq-ng.rc $( 1) /etc/msmtpq-ng.rc
$( INSTALL_DIR) $( 1) /usr/bin
$( INSTALL_DIR) $( 1) /usr/bin
$( CP) $( PKG_BUILD_DIR) /msmtpq-ng/msmtpq-ng $( 1) /usr/bin/
$( SED) 's/logger -i/logger/' $( 1) /usr/bin/msmtpq-ng
$( CP) $( PKG_BUILD_DIR) /msmtpq-ng/msmtpq-ng-queue $( 1) /usr/bin/
$( CP) $( PKG_BUILD_DIR) /src/usr/bin/msmtpq-ng $( 1) /usr/bin/
$( CP) $( PKG_BUILD_DIR) /src/usr/bin/msmtpq-ng-queue $( 1) /usr/bin/
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 q - n g - 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 q - n g - m t a / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin $( 1) /usr/sbin $( 1) /usr/lib $( 1) /etc/init.d
$( INSTALL_DIR) $( 1) /usr/bin $( 1) /usr/sbin $( 1) /usr/lib $( 1) /etc/init.d
$( INSTALL_CONF) $( PKG_BUILD_DIR) /msmtpq-ng-mta/msmtpq-ng-mta.rc $( 1) /etc/
echo 'MSMTP_LOCK_DIR=/var/lock/msmtp' >>$( 1) /etc/msmtpq-ng-mta.rc
$( INSTALL_BIN) $( PKG_BUILD_DIR) /msmtpq-ng-mta/msmtpq-ng-mta $( 1) /usr/bin/
$( INSTALL_BIN) $( PKG_BUILD_DIR) /msmtpq-ng-mta/msmtpq-ng-queue-mta $( 1) /usr/bin/
$( INSTALL_DATA) ./files/msmtpq-ng-mta.rc $( 1) /etc/
$( INSTALL_BIN) $( PKG_BUILD_DIR) /src/usr/sbin/msmtpq-ng-mta $( 1) /usr/sbin/
$( INSTALL_BIN) $( PKG_BUILD_DIR) /src/usr/sbin//msmtpq-ng-queue-mta $( 1) /usr/sbin/
$( INSTALL_DIR) $( 1) /etc/crontabs
$( INSTALL_DIR) $( 1) /etc/crontabs
$( INSTALL_BIN) ./files/msmtpq-ng-mta.init $( 1) /etc/init.d/msmtpq-ng-mta
$( INSTALL_BIN) ./files/msmtpq-ng-mta.init $( 1) /etc/init.d/msmtpq-ng-mta
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 q - n g - m t a - s m t p d / 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 q - n g - m t a - s m t p d / i n s t a l l
$( INSTALL_DIR) $( 1) /etc/xinetd.d
$( INSTALL_DIR) $( 1) /etc/xinetd.d
$( INSTALL_BIN) $( PKG_BUILD_DIR) /msmtpq-ng-mta/sendmail-bs.xinet d $( 1) /etc/xinetd.d/msmtpq-ng -mta-smtpd
$( INSTALL_BIN) $( PKG_BUILD_DIR) /src/etc/xinetd.d/ms-mta-smtp d $( 1) /etc/xinetd.d/ms-mta-smtpd
e n d e f
e n d e f