From 2fda4dd1f9b35710a22730a11f89da80bc2d88e2 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 26 Apr 2015 07:41:15 +0200 Subject: [PATCH] msmtp: update to 1.6.2. --- srcpkgs/msmtp/template | 49 ++++++++++-------------------------------- 1 file changed, 11 insertions(+), 38 deletions(-) diff --git a/srcpkgs/msmtp/template b/srcpkgs/msmtp/template index 8bcd7883d14..6e0b1c3d5aa 100644 --- a/srcpkgs/msmtp/template +++ b/srcpkgs/msmtp/template @@ -1,47 +1,20 @@ # Template file for 'msmtp' pkgname=msmtp -version=1.6.1 -revision=3 +version=1.6.2 +revision=1 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" +makedepends="libressl-devel $(vopt_if idn libidn-devel) + $(vopt_if sasl gsasl-devel) + $(vopt_if gnome libsecret-devel)" short_desc="A mini SMTP client" maintainer="Juan RP " homepage="http://msmtp.sourceforge.net" license="GPL-3" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz" -checksum=c45d47f2dc77484e3f74c0f66aef0d5d95de6c47ed71d9f926d86d546f8346f3 - -# 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 +checksum=2f6ecd7cbfadf548fd55205bd24cb63b84bcbb1185efed917dd7800595a48789