[78913] trunk/dports/mail/ssmtp

jmr at macports.org jmr at macports.org
Thu May 26 09:16:40 PDT 2011


Revision: 78913
          http://trac.macports.org/changeset/78913
Author:   jmr at macports.org
Date:     2011-05-26 09:16:39 -0700 (Thu, 26 May 2011)
Log Message:
-----------
ssmtp: update to 2.64

Modified Paths:
--------------
    trunk/dports/mail/ssmtp/Portfile
    trunk/dports/mail/ssmtp/files/02-557725-solaris.patch
    trunk/dports/mail/ssmtp/files/patch-generate_config
    trunk/dports/mail/ssmtp/files/patch-ssmtp.c

Modified: trunk/dports/mail/ssmtp/Portfile
===================================================================
--- trunk/dports/mail/ssmtp/Portfile	2011-05-26 15:09:13 UTC (rev 78912)
+++ trunk/dports/mail/ssmtp/Portfile	2011-05-26 16:16:39 UTC (rev 78913)
@@ -4,7 +4,7 @@
 PortSystem      1.0
 
 name            ssmtp
-version         2.62
+version         2.64
 categories      mail
 maintainers     nomaintainer
 description     Sendmail alternative for small routers (outgoing mail only)
@@ -17,14 +17,14 @@
 homepage        http://packages.qa.debian.org/s/ssmtp.html
 master_sites    debian:s/${name}/ \
                 ftp://ftp.icm.edu.pl/pub/Linux/debian/pool/main/s/${name}/
+use_bzip2       yes
 distfiles       ${name}_${version}.orig${extract.suffix}
-checksums       md5 257ac04e62ab7e3616e220333a1140cb \
-                sha1 5c15aafb252f6cb11e4b93140a1457b6cb0d0fb8
+checksums       md5 65b4e0df4934a6cd08c506cabcbe584f \
+                sha1 db0cc6b4f82ab8b4c79335933db9c4db706324d1 \
+                rmd160 ea6472e52a499c39d1d8ce7e13add9d8e9accbfb
 
 depends_lib     port:openssl
 
-worksrcdir      $name
-
 patchfiles      patch-ssmtp.c patch-generate_config patch-Makefile.in \
                 patch-configure.in 02-557725-solaris.patch
 

Modified: trunk/dports/mail/ssmtp/files/02-557725-solaris.patch
===================================================================
--- trunk/dports/mail/ssmtp/files/02-557725-solaris.patch	2011-05-26 15:09:13 UTC (rev 78912)
+++ trunk/dports/mail/ssmtp/files/02-557725-solaris.patch	2011-05-26 16:16:39 UTC (rev 78913)
@@ -16,7 +16,7 @@
 +{
 +	char *new;
 +	size_t len;
-+	if (s[n-1] != NULL) {
++	if (s[n-1] != '\0') {
 +		len = n;
 +	} else {
 +		len = strlen(s);

Modified: trunk/dports/mail/ssmtp/files/patch-generate_config
===================================================================
--- trunk/dports/mail/ssmtp/files/patch-generate_config	2011-05-26 15:09:13 UTC (rev 78912)
+++ trunk/dports/mail/ssmtp/files/patch-generate_config	2011-05-26 16:16:39 UTC (rev 78913)
@@ -1,6 +1,22 @@
 --- generate_config.orig	2004-07-23 15:58:48.000000000 +1000
-+++ generate_config	2010-11-18 18:23:12.000000000 +1100
-@@ -21,11 +21,9 @@
++++ generate_config	2011-05-27 02:09:50.000000000 +1000
+@@ -4,7 +4,14 @@
+ # Figure out the system's mailname
+ #
+ 
+-syshostname=`hostname --fqdn`
++UNAME_S=`uname -s`
++if test $UNAME_S = 'Darwin' -o $UNAME_S = 'SunOS'
++then
++	syshostname=`uname -n`
++else
++	syshostname=`hostname --fqdn`
++fi
++
+ if test -f /etc/mailname
+ then
+ 	mailname="`head -1 /etc/mailname`"
+@@ -21,11 +28,9 @@
  echo "The default is $syshostname, your system's host name."
  echo
  echo -n "Mail name [$syshostname]: "

Modified: trunk/dports/mail/ssmtp/files/patch-ssmtp.c
===================================================================
--- trunk/dports/mail/ssmtp/files/patch-ssmtp.c	2011-05-26 15:09:13 UTC (rev 78912)
+++ trunk/dports/mail/ssmtp/files/patch-ssmtp.c	2011-05-26 16:16:39 UTC (rev 78913)
@@ -1,7 +1,7 @@
---- ssmtp.c.old	Sun Feb  1 22:28:40 2004
-+++ ssmtp.c	Sun Feb  1 22:28:55 2004
+--- ssmtp.c.orig	2009-11-23 20:55:11.000000000 +1100
++++ ssmtp.c	2011-05-27 01:52:00.000000000 +1000
 @@ -13,6 +13,7 @@
- #define VERSION "2.62"
+ #define VERSION "2.64"
  #define _GNU_SOURCE
  
 +#include <sys/types.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110526/88ae3dfa/attachment-0001.html>


More information about the macports-changes mailing list