msmtp: OpenSSL is discouraged, use GnuTLS instead

- removed build option for OpenSSL entirely and always use GnuTLS
  - why OpenSSL is discouraged: https://marlam.de/msmtp/news/openssl-discouraged/
- update IDN to use libdn2, but it is not required anymore since GnuTLS has build-in support for IDN
- disable msmtpd by default
This commit is contained in:
Anh Tuan Van 2019-01-15 14:22:58 +01:00 committed by Helmut Pozimski
parent c9f3319767
commit 0900fa5efb

View file

@ -1,12 +1,15 @@
# Template file for 'msmtp' # Template file for 'msmtp'
pkgname=msmtp pkgname=msmtp
version=1.8.2 version=1.8.2
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-tls=openssl $(vopt_with idn libidn) configure_args="$(vopt_with msmtpd)
$(vopt_with sasl libgsasl) $(vopt_with gnome libsecret)" $(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) makedepends="gnutls-devel
$(vopt_if idn libidn2-devel)
$(vopt_if sasl gsasl-devel) $(vopt_if sasl gsasl-devel)
$(vopt_if gnome libsecret-devel)" $(vopt_if gnome libsecret-devel)"
short_desc="Mini SMTP client" short_desc="Mini SMTP client"
@ -16,8 +19,7 @@ homepage="https://marlam.de/msmtp/"
distfiles="https://marlam.de/msmtp/releases/msmtp-${version}.tar.xz" distfiles="https://marlam.de/msmtp/releases/msmtp-${version}.tar.xz"
checksum=d1185c1969ed00d0e2c57dbcd5eb09a9f82156042b21309d558f761978a58793 checksum=d1185c1969ed00d0e2c57dbcd5eb09a9f82156042b21309d558f761978a58793
build_options="idn sasl gnome" build_options="idn sasl gnome msmtpd"
build_options_default="idn"
post_install() { post_install() {
vsconf doc/msmtprc-system.example vsconf doc/msmtprc-system.example