summaryrefslogtreecommitdiff
path: root/mail/msmtp
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2009-09-14 07:08:52 +0000
committertaca <taca@pkgsrc.org>2009-09-14 07:08:52 +0000
commitf0f2cc221dd300a8223c22a7ec3d47b407658fe1 (patch)
tree9415050afc6d4c2683984926fed0f97886aaf3b6 /mail/msmtp
parentc501522cce7428e3c9c45fa14861445187d58dbd (diff)
downloadpkgsrc-f0f2cc221dd300a8223c22a7ec3d47b407658fe1.tar.gz
Update msmtp package to 1.4.18 adding a patch for OpenSSL 1.0beta.
(fix PR pkg/42054.) Changes: - Update gnulib to 2009-09-07. - Use proper binary prefixes when handling sizes. - Scripts msmtpq and msmtpQ: do not hardcode IP address of www.google.com when testing connectivity. Use host name instead. Closes Debian bug #538328. - Make the option -v an alias for -d/--debug, for compatibility with other implementations of the sendmail interface. Closes Debian bug #487272. - Add find_alias_for_msmtp.sh script by Jim Lofft. - Update gnulib to 2009-08-02. - Increase SMTP_MAXCMDLEN so that it is large enough to handle the potentially very long lines generated by the GSSAPI authentication method. - Update gnulib to 2009-03-07. Remove gnulib modules fseek/fseeko/lseek because they cause errors on MinGW: files opened with "r+" cannot be written to. Provide our own fseeko instead if it does not exist; see configure.ac. - Use "netrc" as SYSNETRCFILE, not ".netrc". Reported by Jim Pryor. - Use more gnulib modules to remove more W32 workarounds from the source. - Add missing gnulib module strerror for meaningful error messages on W32.
Diffstat (limited to 'mail/msmtp')
-rw-r--r--mail/msmtp/Makefile5
-rw-r--r--mail/msmtp/distinfo9
-rw-r--r--mail/msmtp/patches/patch-ad15
3 files changed, 22 insertions, 7 deletions
diff --git a/mail/msmtp/Makefile b/mail/msmtp/Makefile
index c232f040609..b9224b3a988 100644
--- a/mail/msmtp/Makefile
+++ b/mail/msmtp/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.23 2009/08/26 19:58:45 sno Exp $
+# $NetBSD: Makefile,v 1.24 2009/09/14 07:08:52 taca Exp $
-DISTNAME= msmtp-1.4.17
-PKGREVISION= 1
+DISTNAME= msmtp-1.4.18
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=msmtp/}
EXTRACT_SUFX= .tar.bz2
diff --git a/mail/msmtp/distinfo b/mail/msmtp/distinfo
index dc0d4b3e2ca..e746ebfdc08 100644
--- a/mail/msmtp/distinfo
+++ b/mail/msmtp/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.16 2009/01/06 12:08:01 obache Exp $
+$NetBSD: distinfo,v 1.17 2009/09/14 07:08:52 taca Exp $
-SHA1 (msmtp-1.4.17.tar.bz2) = 6b7fa1d9c9eee249b571b3f7720ebd779f94f4de
-RMD160 (msmtp-1.4.17.tar.bz2) = 749cf22bcbde90dd298f0c96ee0f9e41f93767b6
-Size (msmtp-1.4.17.tar.bz2) = 766293 bytes
+SHA1 (msmtp-1.4.18.tar.bz2) = f7b42a2a6f4c9c21687dde86dfa827d728a08d76
+RMD160 (msmtp-1.4.18.tar.bz2) = 5157815713363e94b62e2de5fe6ba9dd0c330180
+Size (msmtp-1.4.18.tar.bz2) = 818691 bytes
+SHA1 (patch-ad) = e6a38d412fcd32ff6d807bacfeeb53ce8a2a4b09
diff --git a/mail/msmtp/patches/patch-ad b/mail/msmtp/patches/patch-ad
new file mode 100644
index 00000000000..31034b57562
--- /dev/null
+++ b/mail/msmtp/patches/patch-ad
@@ -0,0 +1,15 @@
+$NetBSD: patch-ad,v 1.3 2009/09/14 07:08:52 taca Exp $
+
+Make it portable to OpenSSL 1.0.
+
+--- src/tls.c.orig 2008-12-26 02:58:43.000000000 +0900
++++ src/tls.c
+@@ -813,7 +813,7 @@ int tls_check_cert(tls_t *tls, const cha
+ char *buf;
+ int bufsize;
+ /* needed to get the DNS subjectAltNames: */
+- STACK *subj_alt_names;
++ STACK_OF(GENERAL_NAME) *subj_alt_names;
+ int subj_alt_names_count;
+ GENERAL_NAME *subj_alt_name;
+ /* did we find a name matching hostname? */