pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mail/dovecot2



Module Name:    pkgsrc
Committed By:   hauke
Date:           Fri Jul 19 15:13:31 UTC 2019

Modified Files:
        pkgsrc/mail/dovecot2: Makefile distinfo
Added Files:
        pkgsrc/mail/dovecot2/patches: patch-src_lib_ostream-file.c

Log Message:
Silence Error: file_ostream.net_set_tcp_nodelay(, TRUE) failed

Patch from upstream -head via FreeBSD
<https://svnweb.freebsd.org/ports/head/mail/dovecot/files/patch-src_lib_ostream-file.c?view=markup&pathrev=506487>
<https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239172>


To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 pkgsrc/mail/dovecot2/Makefile
cvs rdiff -u -r1.94 -r1.95 pkgsrc/mail/dovecot2/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/mail/dovecot2/patches/patch-src_lib_ostream-file.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mail/dovecot2/Makefile
diff -u pkgsrc/mail/dovecot2/Makefile:1.98 pkgsrc/mail/dovecot2/Makefile:1.99
--- pkgsrc/mail/dovecot2/Makefile:1.98  Wed Jul  3 06:09:22 2019
+++ pkgsrc/mail/dovecot2/Makefile       Fri Jul 19 15:13:30 2019
@@ -1,7 +1,9 @@
-# $NetBSD: Makefile,v 1.98 2019/07/03 06:09:22 triaxx Exp $
+# $NetBSD: Makefile,v 1.99 2019/07/19 15:13:30 hauke Exp $
 
 .include "../../mail/dovecot2/Makefile.common"
 
+PKGREVISION=           1
+
 RCD_SCRIPTS=           dovecot
 SMF_NAME=              dovecot
 

Index: pkgsrc/mail/dovecot2/distinfo
diff -u pkgsrc/mail/dovecot2/distinfo:1.94 pkgsrc/mail/dovecot2/distinfo:1.95
--- pkgsrc/mail/dovecot2/distinfo:1.94  Thu Jul 18 13:38:18 2019
+++ pkgsrc/mail/dovecot2/distinfo       Fri Jul 19 15:13:30 2019
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.94 2019/07/18 13:38:18 taca Exp $
+$NetBSD: distinfo,v 1.95 2019/07/19 15:13:30 hauke Exp $
 
 SHA1 (dovecot-2.3.7.tar.gz) = d45241cc649e30053720626cc422a6212a6d02d4
 RMD160 (dovecot-2.3.7.tar.gz) = d7774bf57fa57fc10d662a2e04be4ee432bf822f
@@ -11,4 +11,5 @@ SHA1 (patch-af) = c066e94dd6593d16eec3e6
 SHA1 (patch-src_imap_imap-client.h) = 1a2bf95ab6af57d88862a1512624bf263f4c2ce7
 SHA1 (patch-src_lib-ldap_ldap-private.h) = 2d5ce32330ad4164cc75f8d209ba499d37ed01fc
 SHA1 (patch-src_lib_connection.h) = c147511f4ff50e4b5a048c3a363f0af90ee4c6ad
+SHA1 (patch-src_lib_ostream-file.c) = 7c444f9be16b6f7f6588d1c3d2024b45c1e697d4
 SHA1 (patch-src_old-stats_mail-stats.h) = 0d40c618445c089af2646a6864c3e909812282af

Added files:

Index: pkgsrc/mail/dovecot2/patches/patch-src_lib_ostream-file.c
diff -u /dev/null pkgsrc/mail/dovecot2/patches/patch-src_lib_ostream-file.c:1.1
--- /dev/null   Fri Jul 19 15:13:31 2019
+++ pkgsrc/mail/dovecot2/patches/patch-src_lib_ostream-file.c   Fri Jul 19 15:13:30 2019
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_lib_ostream-file.c,v 1.1 2019/07/19 15:13:30 hauke Exp $
+
+Silence Error: file_ostream.net_set_tcp_nodelay(, TRUE) failed
+
+Patch from upstream -head via FreeBSD
+<https://svnweb.freebsd.org/ports/head/mail/dovecot/files/patch-src_lib_ostream-file.c?view=markup&pathrev=506487>
+
+--- src/lib/ostream-file.c.orig        2019-07-12 10:46:25.000000000 +0000
++++ src/lib/ostream-file.c
+@@ -334,7 +334,7 @@ static void o_stream_tcp_flush_via_nodel
+ {
+       if (net_set_tcp_nodelay(fstream->fd, TRUE) < 0) {
+               if (errno != ENOTSUP && errno != ENOTSOCK &&
+-                  errno != ENOPROTOOPT) {
++                  errno != ENOPROTOOPT && errno != EINVAL) {
+                       i_error("file_ostream.net_set_tcp_nodelay(%s, TRUE) failed: %m",
+                               o_stream_get_name(&fstream->ostream.ostream));
+               }



Home | Main Index | Thread Index | Old Index