diff options
Diffstat (limited to 'mail/cyrus-imapd22/files/patch-dg')
-rw-r--r-- | mail/cyrus-imapd22/files/patch-dg | 38 |
1 files changed, 18 insertions, 20 deletions
diff --git a/mail/cyrus-imapd22/files/patch-dg b/mail/cyrus-imapd22/files/patch-dg index b413044ffd6c..5c54d21287d8 100644 --- a/mail/cyrus-imapd22/files/patch-dg +++ b/mail/cyrus-imapd22/files/patch-dg @@ -1,10 +1,10 @@ Index: tools/mkimap diff -u tools/mkimap.orig tools/mkimap ---- tools/mkimap.orig Fri Sep 28 01:02:34 2001 -+++ tools/mkimap Tue Jan 28 18:00:32 2003 -@@ -64,6 +64,9 @@ - $nosievedir = 0; - $hashispool = 0; +--- tools/mkimap.orig Mon Mar 10 03:39:36 2003 ++++ tools/mkimap Fri Mar 21 17:24:10 2003 +@@ -61,6 +61,9 @@ + + $imapdconf = shift || "/etc/imapd.conf"; +$cyrus_user = $ENV{CYRUS_USER} || "%%CYRUS_USER%%"; +$cyrus_group = $ENV{CYRUS_GROUP} || "%%CYRUS_GROUP%%"; @@ -12,27 +12,25 @@ diff -u tools/mkimap.orig tools/mkimap open CONF, $imapdconf or die "can't open $imapdconf"; print "reading configure file...\n"; while (<CONF>) { -@@ -117,6 +120,8 @@ - mkdir "log", 0755; +@@ -86,6 +89,7 @@ + + print "configuring $d...\n"; + ++mkdir $d, 0755; + chdir $d or die "couldn't change to $d"; + + mkdir "proc", 0755; +@@ -95,11 +99,14 @@ mkdir "msg", 0755; + mkdir "ptclient", 0755; +system "/usr/sbin/chown -R $cyrus_user:$cyrus_group ."; + - # create the sieve stuff - if (!$nosievedir) { - print "creating $sievedir...\n"; -@@ -125,6 +130,7 @@ - if (chdir $sievedir) { - foreach $i ("a".."z") { mkdir "$i", 0755; } - } -+ system "/usr/sbin/chown -R $cyrus_user:$cyrus_group $sievedir"; - } - - $flag = 0; -@@ -136,6 +142,7 @@ + while ($part = shift @parts) { + print "creating $part...\n"; + mkdir $part, 0755; chdir $part or die "couldn't change to partition $part"; mkdir "stage.", 0755; - if ($hashispool) { foreach $i ("a".."z") { mkdir $i, 0755; } } + system "/usr/sbin/chown -R $cyrus_user:$cyrus_group $part"; } |