# Compiling Time: 0.04 SBU # Maintainer: exceed # Contributor: Othmane Benkirane pkgname=ssmtp pkgver=2.64 pkgrel=5 pkgdesc="Extremely simple MTA to get mail off the system to a mailhub." url="http://packages.debian.org/stable/mail/ssmtp" _src_url="http://ftp.debian.org/debian/pool/main/s/ssmtp" depends=('openssl>=1.1.1') conflicts=('exim' 'sendmail' 'postfix') provides=('sendmail' 'exim' 'postfix') groups=('network-extra') archs=('x86_64') Fpkgversep="_" _F_cd_path="$pkgname-$pkgver" up2date="Flastarchive $_src_url .orig.tar.bz2" source=($_src_url/${pkgname}_$pkgver.orig.tar.bz2 link-crypto.patch) sha1sums=('db0cc6b4f82ab8b4c79335933db9c4db706324d1' \ '0c7d3dabfd61765348e9a22843a1d18b1bd56203') Fconfopts+=" --enable-md5auth --enable-ssl" backup=(etc/ssmtp/{revaliases,ssmtp.conf}) build() { Fcd Fpatchall Fautoreconf Fmake Fsed '$(GEN_CONFIG)' '#' Makefile Fmakeinstall mandir=$Fdestdir/usr/share/man/man8 SSMTPCONFDIR=$Fdestdir/etc/ssmtp Fln /usr/sbin/ssmtp /usr/sbin/sendmail # For compatibility reasons Fln /usr/sbin/ssmtp /usr/lib/sendmail } # optimization OK