[arch-commits] Commit in ssmtp/trunk (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Sun Aug 3 13:31:28 UTC 2008
Date: Sunday, August 3, 2008 @ 09:31:27
Author: jgc
Revision: 7618
upgpkg: ssmtp 2.62-2
Remove debian diff.gz, there is nothing special in it except a gnutls patch that we do not apply
Modified:
ssmtp/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-08-03 13:23:56 UTC (rev 7617)
+++ PKGBUILD 2008-08-03 13:31:27 UTC (rev 7618)
@@ -3,35 +3,30 @@
pkgname=ssmtp
pkgver=2.62
-pkgrel=1
+pkgrel=2
pkgdesc="Extremely simple MTA to get mail off the system to a mailhub"
arch=('i686' 'x86_64')
license=('GPL')
-depends=('gnutls')
-source=(http://ftp.debian.org/debian/pool/main/s/ssmtp/${pkgname}_${pkgver}.orig.tar.gz \
- http://ftp.debian.org/debian/pool/main/s/ssmtp/ssmtp_2.62-1.diff.gz)
+depends=('openssl')
+source=(http://ftp.debian.org/debian/pool/main/s/ssmtp/${pkgname}_${pkgver}.orig.tar.gz)
backup=('etc/ssmtp/ssmtp.conf' 'etc/ssmtp/revaliases')
conflicts=('exim')
provides=('smtp-forwarder')
url="http://packages.debian.org/stable/mail/ssmtp"
-md5sums=('257ac04e62ab7e3616e220333a1140cb'
- 'ef5452d3e7f6725b96214af86243a04d')
+md5sums=('257ac04e62ab7e3616e220333a1140cb')
options=('!makeflags' '!emptydirs')
## if you build in chroot make sure the chroots fully qualified hostname id the same as in your real root system ##
build() {
cd ${srcdir}/${pkgname}
-
- patch -p1 -i ../ssmtp_2.62-1.diff
-
./configure --prefix=/usr \
--sysconfdir=/etc \
- --enable-md5auth --enable-ssl
+ --enable-md5auth --enable-ssl || return 1
make || return 1
- yes | make prefix=${pkgdir}/usr SSMTPCONFDIR=${pkgdir}/etc/ssmtp install
+ yes | make prefix=${pkgdir}/usr SSMTPCONFDIR=${pkgdir}/etc/ssmtp install || return 1
- cp ssmtp.conf ${pkgdir}/etc/ssmtp/
+ install -m644 ssmtp.conf ${pkgdir}/etc/ssmtp/
ln -s ../sbin/ssmtp ${pkgdir}/usr/sbin/sendmail
ln -s ../sbin/ssmtp ${pkgdir}/usr/sbin/newaliases
More information about the arch-commits
mailing list