[csw-devel] SF.net SVN: gar:[3808] csw/mgar/pkg/dovecot/trunk

skayser at users.sourceforge.net skayser at users.sourceforge.net
Wed Mar 18 19:19:53 CET 2009


Revision: 3808
          http://gar.svn.sourceforge.net/gar/?rev=3808&view=rev
Author:   skayser
Date:     2009-03-18 18:19:53 +0000 (Wed, 18 Mar 2009)

Log Message:
-----------
dovecot: added patch for ENOSYS on autofs mounts

Modified Paths:
--------------
    csw/mgar/pkg/dovecot/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/dovecot/trunk/files/patch-enosys.diff
    csw/mgar/pkg/dovecot/trunk/files/patch-exampleconf.diff

Modified: csw/mgar/pkg/dovecot/trunk/Makefile
===================================================================
--- csw/mgar/pkg/dovecot/trunk/Makefile	2009-03-18 18:00:44 UTC (rev 3807)
+++ csw/mgar/pkg/dovecot/trunk/Makefile	2009-03-18 18:19:53 UTC (rev 3808)
@@ -50,8 +50,10 @@
 
 # See http://dovecot.org/list/dovecot/2009-February/037273.html
 PATCHFILES = patch-authcrash.diff
+# See http://dovecot.org/list/dovecot/2009-March/038201.html
+PATCHFILES += patch-enosys.diff
 # Adjust the comment about file paths in the example conf header
-PATCHFILES = patch-exampleconf.diff
+PATCHFILES += patch-exampleconf.diff
 
 # Override some paths for configure
 localstatedir=/var/opt/csw

Added: csw/mgar/pkg/dovecot/trunk/files/patch-enosys.diff
===================================================================
--- csw/mgar/pkg/dovecot/trunk/files/patch-enosys.diff	                        (rev 0)
+++ csw/mgar/pkg/dovecot/trunk/files/patch-enosys.diff	2009-03-18 18:19:53 UTC (rev 3808)
@@ -0,0 +1,12 @@
+--- a/src/lib/mkdir-parents.c	Wed Mar 18 13:47:58 2009 -0400
++++ b/src/lib/mkdir-parents.c	Wed Mar 18 14:10:08 2009 -0400
+@@ -18,7 +18,7 @@ int mkdir_parents(const char *path, mode
+ 
+ 		   ENOSYS check is for NFS mount points.
+ 		*/
+-		if (errno == EISDIR && errno == ENOSYS)
++		if (errno == EISDIR || errno == ENOSYS)
+ 			errno = EEXIST;
+ 		return -1;
+ 	} else {
+

Added: csw/mgar/pkg/dovecot/trunk/files/patch-exampleconf.diff
===================================================================
--- csw/mgar/pkg/dovecot/trunk/files/patch-exampleconf.diff	                        (rev 0)
+++ csw/mgar/pkg/dovecot/trunk/files/patch-exampleconf.diff	2009-03-18 18:19:53 UTC (rev 3808)
@@ -0,0 +1,16 @@
+diff --speed-large-files --minimal -Nru dovecot-1.1.11.orig/dovecot-example.conf dovecot-1.1.11/dovecot-example.conf
+--- dovecot-1.1.11.orig/dovecot-example.conf	2009-01-26 02:12:41.000000000 +0100
++++ dovecot-1.1.11/dovecot-example.conf	2009-03-18 00:26:59.345199088 +0100
+@@ -10,10 +10,8 @@
+ # value inside quotes, eg.: key = "# char and trailing whitespace  "
+ 
+ # Default values are shown for each setting, it's not required to uncomment
+-# any of the lines. Exception to this are paths, they're just examples with
+-# the real defaults being based on configure options. The paths listed here
+-# are for configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+-# --with-ssldir=/etc/ssl
++# any of the lines. The paths have been modified to reflect the OpenCSW
++# file system layout.
+ 
+ # Base directory where to store runtime data.
+ #base_dir = /var/run/dovecot/


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list