[arch-commits] Commit in ssmtp/trunk (PKGBUILD)

Hugo Doria hugo at archlinux.org
Tue Jul 29 16:51:32 UTC 2008


    Date: Tuesday, July 29, 2008 @ 12:51:31
  Author: hugo
Revision: 7296

upgpkg: ssmtp 2.62-1

Modified:
  ssmtp/trunk/PKGBUILD

----------+
 PKGBUILD |   32 +++++++++++++++++++-------------
 1 file changed, 19 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-07-29 13:59:12 UTC (rev 7295)
+++ PKGBUILD	2008-07-29 16:51:31 UTC (rev 7296)
@@ -1,33 +1,39 @@
 # $Id$
-# Maintainer: dorphell <dorphell at archlinux.org>
+# Maintainer: Hugo Doria <hugo at archlinux.org>
+
 pkgname=ssmtp
-pkgver=2.61
-pkgrel=5
+pkgver=2.62
+pkgrel=1
 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.61-12.1.diff.gz)
+        http://ftp.debian.org/debian/pool/main/s/ssmtp/ssmtp_2.62-1.diff.gz)
 backup=('etc/ssmtp/ssmtp.conf' 'etc/ssmtp/revaliases')
 conflicts=('exim')
+provides=('smtp-forwarder')
 url="http://packages.debian.org/stable/mail/ssmtp"
-md5sums=('957e6fff08625fe34f4fc33d0925bbc9'
-         'ff1b2e93b610a0e50365561c6b2eabbc')
+md5sums=('257ac04e62ab7e3616e220333a1140cb'
+         'ef5452d3e7f6725b96214af86243a04d')
 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 $startdir/src/$pkgname-$pkgver
-	patch -p1 -i ../ssmtp_2.61-12.1.diff
+	cd ${srcdir}/${pkgname}
+
+	patch -p1 -i ../ssmtp_2.62-1.diff
+
 	./configure --prefix=/usr \
 		--sysconfdir=/etc \
 		--enable-md5auth --enable-ssl
 	make || return 1
-   yes | make prefix=$startdir/pkg/usr SSMTPCONFDIR=$startdir/pkg/etc/ssmtp install
-   cp ssmtp.conf $startdir/pkg/etc/ssmtp/
-   ln -s ../sbin/ssmtp $startdir/pkg/usr/sbin/sendmail
-   ln -s ../sbin/ssmtp $startdir/pkg/usr/sbin/newaliases
-   ln -s ../sbin/ssmtp $startdir/pkg/usr/sbin/mailq
+   yes | make prefix=${pkgdir}/usr SSMTPCONFDIR=${pkgdir}/etc/ssmtp install
+
+   cp ssmtp.conf ${pkgdir}/etc/ssmtp/
+
+   ln -s ../sbin/ssmtp ${pkgdir}/usr/sbin/sendmail
+   ln -s ../sbin/ssmtp ${pkgdir}/usr/sbin/newaliases
+   ln -s ../sbin/ssmtp ${pkgdir}/usr/sbin/mailq
 }





More information about the arch-commits mailing list