summaryrefslogtreecommitdiff
path: root/mail/msmtp/patches
diff options
context:
space:
mode:
authortaca <taca>2009-09-14 07:08:52 +0000
committertaca <taca>2009-09-14 07:08:52 +0000
commit5f129afcd6e449a86f47d3cb7bd770bba799b4d4 (patch)
tree9415050afc6d4c2683984926fed0f97886aaf3b6 /mail/msmtp/patches
parentd042e3ee6b4ed908294237ff532bda4a194c3360 (diff)
downloadpkgsrc-5f129afcd6e449a86f47d3cb7bd770bba799b4d4.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/patches')
-rw-r--r--mail/msmtp/patches/patch-ad15
1 files changed, 15 insertions, 0 deletions
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? */