msmtp: update to 1.6.2.

This commit is contained in:
Juan RP 2015-04-26 07:41:15 +02:00
parent c3323b345d
commit 2fda4dd1f9
1 changed files with 11 additions and 38 deletions

View File

@ -1,47 +1,20 @@
# Template file for 'msmtp' # Template file for 'msmtp'
pkgname=msmtp pkgname=msmtp
version=1.6.1 version=1.6.2
revision=3 revision=1
build_style=gnu-configure build_style=gnu-configure
# Package build options
build_options="idn sasl gnome"
build_options_default="idn"
configure_args="--with-tls=openssl $(vopt_with idn libidn)
$(vopt_with sasl libgsasl) $(vopt_with gnome libsecret)"
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="libressl-devel $(vopt_if idn libidn-devel)
$(vopt_if sasl gsasl-devel)
$(vopt_if gnome libsecret-devel)"
short_desc="A mini SMTP client" short_desc="A mini SMTP client"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://msmtp.sourceforge.net" homepage="http://msmtp.sourceforge.net"
license="GPL-3" license="GPL-3"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=c45d47f2dc77484e3f74c0f66aef0d5d95de6c47ed71d9f926d86d546f8346f3 checksum=2f6ecd7cbfadf548fd55205bd24cb63b84bcbb1185efed917dd7800595a48789
# Package build options
build_options="openssl gnutls idn sasl gnome"
build_options_default="openssl idn"
if [ "$build_option_openssl" ]; then
configure_args+=" --with-tls=openssl"
makedepends+=" libressl-devel"
elif [ "$build_option_gnutls" ]; then
configure_args+=" --with-tls=gnutls"
makedepends+=" gnutls-devel"
else
configure_args+=" --with-tls=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-libsecret"
makedepends+=" libsecret-devel"
else
configure_args+=" --without-libsecret"
fi