2012-09-30 13:40:53 +02:00
|
|
|
# Template file for 'msmtp'
|
|
|
|
pkgname=msmtp
|
2013-04-29 16:09:17 +02:00
|
|
|
version=1.4.31
|
|
|
|
revision=1
|
2012-09-30 13:40:53 +02:00
|
|
|
build_style=gnu-configure
|
2013-04-19 16:55:16 +02:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
short_desc="A mini smtp client"
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
2012-09-30 13:40:53 +02:00
|
|
|
homepage="http://msmtp.sourceforge.net"
|
|
|
|
license="GPL-3"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
|
2013-04-29 16:09:17 +02:00
|
|
|
checksum=247af9a95fa22f506e85109fc4268a5d91ca03af9b17eebcc1e46b7cd64c225f
|
2012-09-30 13:40:53 +02:00
|
|
|
long_desc="
|
|
|
|
msmtp is an SMTP client.
|
|
|
|
|
|
|
|
In the default mode, it transmits a mail to an SMTP server (for example at a
|
|
|
|
free mail provider) which takes care of further delivery.
|
|
|
|
|
|
|
|
Features include:
|
|
|
|
- Sendmail compatible interface (command line options and exit codes).
|
|
|
|
- TLS/SSL support, including client certificates.
|
|
|
|
- Authentication methods PLAIN, LOGIN, CRAM-MD5, EXTERNAL, GSSAPI, SCRAM-SHA-1,
|
|
|
|
DIGEST-MD5 [, and NTLM (NOTE: NTLM DISABLED)].
|
|
|
|
- PIPELINING support for increased transmission speed.
|
|
|
|
- DSN (Delivery Status Notification) support.
|
|
|
|
- RMQS (Remote Message Queue Starting) support (ETRN keyword).
|
|
|
|
- IPv6 support.
|
|
|
|
- LMTP support.
|
|
|
|
- Support for multiple accounts."
|
2013-04-14 04:24:51 +02:00
|
|
|
|
|
|
|
msmtp_package() {
|
|
|
|
pkg_install() {
|
2013-04-19 16:55:16 +02:00
|
|
|
vmove all
|
2013-04-14 04:24:51 +02:00
|
|
|
}
|
|
|
|
}
|
2013-04-19 16:55:16 +02:00
|
|
|
|
|
|
|
# Package build options
|
|
|
|
build_options="openssl gnutls idn sasl gnome"
|
|
|
|
desc_option_openssl="Enable support for SSL with OpenSSL"
|
|
|
|
desc_option_gnutls="Enable support for SSL with gnutls"
|
|
|
|
desc_option_idn="Enable support for IDN"
|
|
|
|
desc_option_sasl="Enable support for SASL"
|
|
|
|
desc_option_gnome="Enable support for gnome-keyring"
|
|
|
|
|
|
|
|
build_options_default="openssl idn"
|
|
|
|
|
|
|
|
if [ "$build_option_openssl" ]; then
|
|
|
|
configure_args+=" --with-ssl=openssl"
|
|
|
|
makedepends+=" openssl-devel"
|
|
|
|
elif [ "$build_option_gnutls" ]; then
|
|
|
|
configure_args+=" --with-ssl=gnutls"
|
|
|
|
makedepends+=" gnutls-devel"
|
|
|
|
else
|
|
|
|
configure_args+=" --with-ssl=no"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$build_option_idn" ]; then
|
|
|
|
configure_args+=" --with-libidn"
|
|
|
|
makedepends+=" libidn-devel"
|
|
|
|
else
|
|
|
|
configure_args+=" --without-libidn"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$build_option_sasl" ]; then
|
|
|
|
configure_args+=" --with-libgsasl"
|
|
|
|
makedepends+=" gsasl-devel"
|
|
|
|
else
|
|
|
|
configure_args+=" --without-libgsasl"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$build_option_gnome" ]; then
|
|
|
|
configure_args+=" --with-gnome-keyring"
|
|
|
|
makedepends+=" libgnome-keyring-devel"
|
|
|
|
else
|
|
|
|
configure_args+=" --without-gnome-keyring"
|
|
|
|
fi
|