[57501] trunk/dports/mail/ssmtp
raimue at macports.org
raimue at macports.org
Fri Sep 11 12:04:40 PDT 2009
Revision: 57501
http://trac.macports.org/changeset/57501
Author: raimue at macports.org
Date: 2009-09-11 12:04:39 -0700 (Fri, 11 Sep 2009)
Log Message:
-----------
mail/ssmtp:
Add ssl support, #14983
Modified Paths:
--------------
trunk/dports/mail/ssmtp/Portfile
Added Paths:
-----------
trunk/dports/mail/ssmtp/files/patch-configure.in
Modified: trunk/dports/mail/ssmtp/Portfile
===================================================================
--- trunk/dports/mail/ssmtp/Portfile 2009-09-11 19:02:46 UTC (rev 57500)
+++ trunk/dports/mail/ssmtp/Portfile 2009-09-11 19:04:39 UTC (rev 57501)
@@ -1,10 +1,10 @@
# $Id$
PortSystem 1.0
+
name ssmtp
version 2.61
revision 1
-distname ${name}_${version}
categories mail
maintainers nomaintainer
description Sendmail alternative for small routers (outgoing mail only)
@@ -19,12 +19,14 @@
distfiles ${name}_${version}.orig${extract.suffix}
checksums ${name}_${version}.orig${extract.suffix} md5 957e6fff08625fe34f4fc33d0925bbc9
worksrcdir ${name}-${version}
-patchfiles patch-ssmtp.c patch-generate_config patch-Makefile.in
-build.type gnu
-#patch_sites ${master_sites}
-#patchfiles ${name}_2.61-12.1.diff.gz
+depends_lib port:openssl
+patchfiles patch-ssmtp.c patch-generate_config patch-Makefile.in patch-configure.in
+
+use_autoconf yes
+configure.args --enable-ssl
+
destroot.destdir prefix=${destroot}${prefix} \
mandir=${destroot}${prefix}/share/man/man8
@@ -33,5 +35,5 @@
xinstall -W ${worksrcpath} README INSTALL COPYING \
${destroot}${prefix}/share/doc/${name}
- xinstall ${worksrcpath}/ssmtp.conf ${destroot}${prefix}/etc/${name}/ssmpt.conf.sample
+ xinstall ${worksrcpath}/ssmtp.conf ${destroot}${prefix}/etc/${name}/ssmtp.conf.sample
}
Added: trunk/dports/mail/ssmtp/files/patch-configure.in
===================================================================
--- trunk/dports/mail/ssmtp/files/patch-configure.in (rev 0)
+++ trunk/dports/mail/ssmtp/files/patch-configure.in 2009-09-11 19:04:39 UTC (rev 57501)
@@ -0,0 +1,11 @@
+--- configure.in.orig 2009-09-11 20:32:59.000000000 +0200
++++ configure.in 2009-09-11 20:33:13.000000000 +0200
+@@ -52,7 +52,7 @@
+ [ --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=""
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090911/02a40ad4/attachment.html>
More information about the macports-changes
mailing list