msmtp: update to 1.8.18, TLS library is optional

This commit is contained in:
Juergen Daubert 2021-10-27 10:12:23 +02:00
parent 4bbf159850
commit ea8a1492cc
2 changed files with 13 additions and 6 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/c8wshZV6JUKiqxTALhVMCEE3SAWG7XWdo0Tv8sMxCHCWOokaLTU/MY9pZ6VCIQa+uePZ0NzpyVkxlR45dnffQM=
SHA256 (Pkgfile) = 738d2aa163211fda3f293e22d5e72ce2656f8f0526c77cb76b42548d82bc3d77
RWSE3ohX2g5d/cx+pe0D+Qd8Mbw9+NeqVAkWKkzvH8J5kL99+lV/q8r0CCtNS7LeH3Jh+xUvAxsRypCVkGcnV/doExaMW7lrcQ0=
SHA256 (Pkgfile) = c163e91be8d1c40f8fb0b387ecdd0adb99ea9a2a5b9a1f303ff05336812888af
SHA256 (.footprint) = 8c72467de3e20b7cd7a26216c1ca0ffc2ccaa475bea374a5f3b7277f7e8aedff
SHA256 (msmtp-1.8.17.tar.xz) = 0fddbe74c1a9dcf6461b4a1b0db3e4d34266184500c403d7f107ad42db4ec4d3
SHA256 (msmtp-1.8.18.tar.xz) = 14fc62af37ebdcc5ed19a245a05eb8376efe7016118f00c9c594bc999d5560a5

View File

@ -1,20 +1,27 @@
# Description: An SMTP client suitable for use with mutt etc.
# URL: https://marlam.de/msmtp/
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: openssl
# Optional: openssl gnutls libidn2
name=msmtp
version=1.8.17
version=1.8.18
release=1
source=(https://marlam.de/msmtp/releases/$name-$version.tar.xz)
build() {
cd $name-$version
PKGMK_MSMTP="--with-tls=none"
prt-get isinst openssl && PKGMK_MSMTP="--with-tls=openssl"
prt-get isinst gnutls && PKGMK_MSMTP="--with-tls=gnutls"
./configure \
$PKGMK_MSMTP \
--prefix=/usr \
--with-tls=openssl \
--disable-nls
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/info
}