[arch-commits] Commit in ssmtp/repos (6 files)

Pierre Schmitz pierre at archlinux.org
Sat Feb 25 02:42:28 EST 2012


    Date: Saturday, February 25, 2012 @ 02:42:28
  Author: pierre
Revision: 151206

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  ssmtp/repos/extra-i686/PKGBUILD
    (from rev 151205, ssmtp/trunk/PKGBUILD)
  ssmtp/repos/extra-i686/opessl_crypto.patch
    (from rev 151205, ssmtp/trunk/opessl_crypto.patch)
  ssmtp/repos/extra-x86_64/PKGBUILD
    (from rev 151205, ssmtp/trunk/PKGBUILD)
  ssmtp/repos/extra-x86_64/opessl_crypto.patch
    (from rev 151205, ssmtp/trunk/opessl_crypto.patch)
Deleted:
  ssmtp/repos/extra-i686/PKGBUILD
  ssmtp/repos/extra-x86_64/PKGBUILD

----------------------------------+
 extra-i686/PKGBUILD              |   78 ++++++++++++++++++++-----------------
 extra-i686/opessl_crypto.patch   |   21 +++++++++
 extra-x86_64/PKGBUILD            |   78 ++++++++++++++++++++-----------------
 extra-x86_64/opessl_crypto.patch |   21 +++++++++
 4 files changed, 128 insertions(+), 70 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2012-02-25 07:42:01 UTC (rev 151205)
+++ extra-i686/PKGBUILD	2012-02-25 07:42:28 UTC (rev 151206)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Hugo Doria <hugo at archlinux.org>
-
-pkgname=ssmtp
-pkgver=2.64
-pkgrel=2
-pkgdesc="Extremely simple MTA to get mail off the system to a mailhub"
-arch=('i686' 'x86_64')
-license=('GPL')
-url="http://packages.debian.org/stable/mail/ssmtp"
-depends=('openssl')
-conflicts=('exim')
-provides=('smtp-forwarder')
-backup=('etc/ssmtp/ssmtp.conf' 'etc/ssmtp/revaliases')
-options=('!makeflags' '!emptydirs')
-source=(http://ftp.debian.org/debian/pool/main/s/ssmtp/${pkgname}_${pkgver}.orig.tar.bz2)
-md5sums=('65b4e0df4934a6cd08c506cabcbe584f')
-
-## if you build in chroot, make sure the chroots fully qualified hostname is the same as in your real root system ##
-
-build() {
-   cd "${srcdir}/${pkgname}-${pkgver}"
-   ./configure --prefix=/usr \
-		--sysconfdir=/etc \
-                --mandir=/usr/share/man \
-		--enable-md5auth --enable-ssl || return 1
-   make || return 1
-   yes | make prefix="${pkgdir}/usr" mandir="${pkgdir}/usr/share/man/man8" etcdir="${pkgdir}/etc" install || return 1
-
-   install -D -m644 ssmtp.conf.5 "${pkgdir}/usr/share/man/man5/ssmtp.conf.5" || return 1
-
-   ln -s ssmtp "${pkgdir}/usr/sbin/sendmail"
-   ln -s ssmtp "${pkgdir}/usr/sbin/newaliases"
-   ln -s ssmtp "${pkgdir}/usr/sbin/mailq"
-}

Copied: ssmtp/repos/extra-i686/PKGBUILD (from rev 151205, ssmtp/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2012-02-25 07:42:28 UTC (rev 151206)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Hugo Doria <hugo at archlinux.org>
+
+pkgname=ssmtp
+pkgver=2.64
+pkgrel=3
+pkgdesc="Extremely simple MTA to get mail off the system to a mailhub"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://packages.debian.org/stable/mail/ssmtp"
+depends=('openssl')
+conflicts=('exim')
+provides=('smtp-forwarder')
+backup=('etc/ssmtp/ssmtp.conf' 'etc/ssmtp/revaliases')
+options=('!makeflags' '!emptydirs')
+source=("http://ftp.debian.org/debian/pool/main/s/ssmtp/${pkgname}_${pkgver}.orig.tar.bz2"
+        'opessl_crypto.patch')
+md5sums=('65b4e0df4934a6cd08c506cabcbe584f'
+         'aeb4ed09a26eefea9a5f6ac755c4dff0')
+
+## if you build in chroot, make sure the chroots fully qualified hostname is the same as in your real root system ##
+
+build() {
+   cd "${srcdir}/${pkgname}-${pkgver}"
+   patch -p1 -i "${srcdir}/opessl_crypto.patch"
+   autoreconf
+   ./configure --prefix=/usr \
+    --sysconfdir=/etc \
+    --mandir=/usr/share/man \
+    --enable-md5auth --enable-ssl
+   make
+}
+
+package() {
+   cd "${srcdir}/${pkgname}-${pkgver}"
+   yes | make prefix="${pkgdir}/usr" mandir="${pkgdir}/usr/share/man/man8" etcdir="${pkgdir}/etc" install
+
+   install -D -m644 ssmtp.conf.5 "${pkgdir}/usr/share/man/man5/ssmtp.conf.5"
+
+   ln -s ssmtp "${pkgdir}/usr/sbin/sendmail"
+   ln -s ssmtp "${pkgdir}/usr/sbin/newaliases"
+   ln -s ssmtp "${pkgdir}/usr/sbin/mailq"
+}

Copied: ssmtp/repos/extra-i686/opessl_crypto.patch (from rev 151205, ssmtp/trunk/opessl_crypto.patch)
===================================================================
--- extra-i686/opessl_crypto.patch	                        (rev 0)
+++ extra-i686/opessl_crypto.patch	2012-02-25 07:42:28 UTC (rev 151206)
@@ -0,0 +1,21 @@
+Fix linking error:
+
+Undefined symbols:
+  "_X509_free", referenced from:
+      _smtp_open in ssmtp.o
+ld: symbol(s) not found
+
+
+Index: ssmtp-2.64/configure.in
+===================================================================
+--- ssmtp-2.64.orig/configure.in
++++ ssmtp-2.64/configure.in
+@@ -52,7 +52,7 @@ AC_ARG_ENABLE(ssl,
+ [  --enable-ssl           support for secure connection to mail server])
+ if test x$enableval = xyes ; then
+ 	AC_DEFINE(HAVE_SSL)
+-	LIBS="$LIBS -lssl"
++	LIBS="$LIBS -lssl -lcrypto"
+ fi
+ enableval=""
+ 

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2012-02-25 07:42:01 UTC (rev 151205)
+++ extra-x86_64/PKGBUILD	2012-02-25 07:42:28 UTC (rev 151206)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Hugo Doria <hugo at archlinux.org>
-
-pkgname=ssmtp
-pkgver=2.64
-pkgrel=2
-pkgdesc="Extremely simple MTA to get mail off the system to a mailhub"
-arch=('i686' 'x86_64')
-license=('GPL')
-url="http://packages.debian.org/stable/mail/ssmtp"
-depends=('openssl')
-conflicts=('exim')
-provides=('smtp-forwarder')
-backup=('etc/ssmtp/ssmtp.conf' 'etc/ssmtp/revaliases')
-options=('!makeflags' '!emptydirs')
-source=(http://ftp.debian.org/debian/pool/main/s/ssmtp/${pkgname}_${pkgver}.orig.tar.bz2)
-md5sums=('65b4e0df4934a6cd08c506cabcbe584f')
-
-## if you build in chroot, make sure the chroots fully qualified hostname is the same as in your real root system ##
-
-build() {
-   cd "${srcdir}/${pkgname}-${pkgver}"
-   ./configure --prefix=/usr \
-		--sysconfdir=/etc \
-                --mandir=/usr/share/man \
-		--enable-md5auth --enable-ssl || return 1
-   make || return 1
-   yes | make prefix="${pkgdir}/usr" mandir="${pkgdir}/usr/share/man/man8" etcdir="${pkgdir}/etc" install || return 1
-
-   install -D -m644 ssmtp.conf.5 "${pkgdir}/usr/share/man/man5/ssmtp.conf.5" || return 1
-
-   ln -s ssmtp "${pkgdir}/usr/sbin/sendmail"
-   ln -s ssmtp "${pkgdir}/usr/sbin/newaliases"
-   ln -s ssmtp "${pkgdir}/usr/sbin/mailq"
-}

Copied: ssmtp/repos/extra-x86_64/PKGBUILD (from rev 151205, ssmtp/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2012-02-25 07:42:28 UTC (rev 151206)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Hugo Doria <hugo at archlinux.org>
+
+pkgname=ssmtp
+pkgver=2.64
+pkgrel=3
+pkgdesc="Extremely simple MTA to get mail off the system to a mailhub"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://packages.debian.org/stable/mail/ssmtp"
+depends=('openssl')
+conflicts=('exim')
+provides=('smtp-forwarder')
+backup=('etc/ssmtp/ssmtp.conf' 'etc/ssmtp/revaliases')
+options=('!makeflags' '!emptydirs')
+source=("http://ftp.debian.org/debian/pool/main/s/ssmtp/${pkgname}_${pkgver}.orig.tar.bz2"
+        'opessl_crypto.patch')
+md5sums=('65b4e0df4934a6cd08c506cabcbe584f'
+         'aeb4ed09a26eefea9a5f6ac755c4dff0')
+
+## if you build in chroot, make sure the chroots fully qualified hostname is the same as in your real root system ##
+
+build() {
+   cd "${srcdir}/${pkgname}-${pkgver}"
+   patch -p1 -i "${srcdir}/opessl_crypto.patch"
+   autoreconf
+   ./configure --prefix=/usr \
+    --sysconfdir=/etc \
+    --mandir=/usr/share/man \
+    --enable-md5auth --enable-ssl
+   make
+}
+
+package() {
+   cd "${srcdir}/${pkgname}-${pkgver}"
+   yes | make prefix="${pkgdir}/usr" mandir="${pkgdir}/usr/share/man/man8" etcdir="${pkgdir}/etc" install
+
+   install -D -m644 ssmtp.conf.5 "${pkgdir}/usr/share/man/man5/ssmtp.conf.5"
+
+   ln -s ssmtp "${pkgdir}/usr/sbin/sendmail"
+   ln -s ssmtp "${pkgdir}/usr/sbin/newaliases"
+   ln -s ssmtp "${pkgdir}/usr/sbin/mailq"
+}

Copied: ssmtp/repos/extra-x86_64/opessl_crypto.patch (from rev 151205, ssmtp/trunk/opessl_crypto.patch)
===================================================================
--- extra-x86_64/opessl_crypto.patch	                        (rev 0)
+++ extra-x86_64/opessl_crypto.patch	2012-02-25 07:42:28 UTC (rev 151206)
@@ -0,0 +1,21 @@
+Fix linking error:
+
+Undefined symbols:
+  "_X509_free", referenced from:
+      _smtp_open in ssmtp.o
+ld: symbol(s) not found
+
+
+Index: ssmtp-2.64/configure.in
+===================================================================
+--- ssmtp-2.64.orig/configure.in
++++ ssmtp-2.64/configure.in
+@@ -52,7 +52,7 @@ AC_ARG_ENABLE(ssl,
+ [  --enable-ssl           support for secure connection to mail server])
+ if test x$enableval = xyes ; then
+ 	AC_DEFINE(HAVE_SSL)
+-	LIBS="$LIBS -lssl"
++	LIBS="$LIBS -lssl -lcrypto"
+ fi
+ enableval=""
+ 



More information about the arch-commits mailing list