From 11d7442f3e9ed81322a0b3fe4a651097d8dac628 Mon Sep 17 00:00:00 2001 From: ume Date: Fri, 6 Apr 2001 20:57:14 +0000 Subject: Add missing patch that does chown to cyrus spool directory. --- mail/cyrus-imapd/files/patch-dg | 29 +++++++++++++++++++++++++++++ mail/cyrus-imapd2/files/patch-dg | 29 +++++++++++++++++++++++++++++ mail/cyrus-imapd22/files/patch-dg | 29 +++++++++++++++++++++++++++++ mail/cyrus-imapd23/files/patch-dg | 29 +++++++++++++++++++++++++++++ mail/cyrus-imapd24/files/patch-dg | 29 +++++++++++++++++++++++++++++ 5 files changed, 145 insertions(+) create mode 100644 mail/cyrus-imapd/files/patch-dg create mode 100644 mail/cyrus-imapd2/files/patch-dg create mode 100644 mail/cyrus-imapd22/files/patch-dg create mode 100644 mail/cyrus-imapd23/files/patch-dg create mode 100644 mail/cyrus-imapd24/files/patch-dg (limited to 'mail') diff --git a/mail/cyrus-imapd/files/patch-dg b/mail/cyrus-imapd/files/patch-dg new file mode 100644 index 000000000000..94682461fa25 --- /dev/null +++ b/mail/cyrus-imapd/files/patch-dg @@ -0,0 +1,29 @@ +Index: tools/mkimap +diff -u tools/mkimap.orig tools/mkimap +--- tools/mkimap.orig Thu Jan 25 06:26:51 2001 ++++ tools/mkimap Sat Apr 7 05:42:24 2001 +@@ -119,6 +119,8 @@ + mkdir "deliverdb", 0755; + mkdir "deliverdb/db", 0755; + ++system "/usr/sbin/chown -R cyrus:cyrus ."; ++ + # create the sieve stuff + if (!$nosievedir) { + print "creating $sievedir...\n"; +@@ -127,6 +129,7 @@ + if (chdir $sievedir) { + foreach $i ("a".."z") { mkdir "$i", 0755; } + } ++ system "/usr/sbin/chown -R cyrus:cyrus $sievedir"; + } + + $flag = 0; +@@ -138,6 +141,7 @@ + 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:cyrus $part"; + } + + print "done\n"; diff --git a/mail/cyrus-imapd2/files/patch-dg b/mail/cyrus-imapd2/files/patch-dg new file mode 100644 index 000000000000..94682461fa25 --- /dev/null +++ b/mail/cyrus-imapd2/files/patch-dg @@ -0,0 +1,29 @@ +Index: tools/mkimap +diff -u tools/mkimap.orig tools/mkimap +--- tools/mkimap.orig Thu Jan 25 06:26:51 2001 ++++ tools/mkimap Sat Apr 7 05:42:24 2001 +@@ -119,6 +119,8 @@ + mkdir "deliverdb", 0755; + mkdir "deliverdb/db", 0755; + ++system "/usr/sbin/chown -R cyrus:cyrus ."; ++ + # create the sieve stuff + if (!$nosievedir) { + print "creating $sievedir...\n"; +@@ -127,6 +129,7 @@ + if (chdir $sievedir) { + foreach $i ("a".."z") { mkdir "$i", 0755; } + } ++ system "/usr/sbin/chown -R cyrus:cyrus $sievedir"; + } + + $flag = 0; +@@ -138,6 +141,7 @@ + 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:cyrus $part"; + } + + print "done\n"; diff --git a/mail/cyrus-imapd22/files/patch-dg b/mail/cyrus-imapd22/files/patch-dg new file mode 100644 index 000000000000..94682461fa25 --- /dev/null +++ b/mail/cyrus-imapd22/files/patch-dg @@ -0,0 +1,29 @@ +Index: tools/mkimap +diff -u tools/mkimap.orig tools/mkimap +--- tools/mkimap.orig Thu Jan 25 06:26:51 2001 ++++ tools/mkimap Sat Apr 7 05:42:24 2001 +@@ -119,6 +119,8 @@ + mkdir "deliverdb", 0755; + mkdir "deliverdb/db", 0755; + ++system "/usr/sbin/chown -R cyrus:cyrus ."; ++ + # create the sieve stuff + if (!$nosievedir) { + print "creating $sievedir...\n"; +@@ -127,6 +129,7 @@ + if (chdir $sievedir) { + foreach $i ("a".."z") { mkdir "$i", 0755; } + } ++ system "/usr/sbin/chown -R cyrus:cyrus $sievedir"; + } + + $flag = 0; +@@ -138,6 +141,7 @@ + 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:cyrus $part"; + } + + print "done\n"; diff --git a/mail/cyrus-imapd23/files/patch-dg b/mail/cyrus-imapd23/files/patch-dg new file mode 100644 index 000000000000..94682461fa25 --- /dev/null +++ b/mail/cyrus-imapd23/files/patch-dg @@ -0,0 +1,29 @@ +Index: tools/mkimap +diff -u tools/mkimap.orig tools/mkimap +--- tools/mkimap.orig Thu Jan 25 06:26:51 2001 ++++ tools/mkimap Sat Apr 7 05:42:24 2001 +@@ -119,6 +119,8 @@ + mkdir "deliverdb", 0755; + mkdir "deliverdb/db", 0755; + ++system "/usr/sbin/chown -R cyrus:cyrus ."; ++ + # create the sieve stuff + if (!$nosievedir) { + print "creating $sievedir...\n"; +@@ -127,6 +129,7 @@ + if (chdir $sievedir) { + foreach $i ("a".."z") { mkdir "$i", 0755; } + } ++ system "/usr/sbin/chown -R cyrus:cyrus $sievedir"; + } + + $flag = 0; +@@ -138,6 +141,7 @@ + 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:cyrus $part"; + } + + print "done\n"; diff --git a/mail/cyrus-imapd24/files/patch-dg b/mail/cyrus-imapd24/files/patch-dg new file mode 100644 index 000000000000..94682461fa25 --- /dev/null +++ b/mail/cyrus-imapd24/files/patch-dg @@ -0,0 +1,29 @@ +Index: tools/mkimap +diff -u tools/mkimap.orig tools/mkimap +--- tools/mkimap.orig Thu Jan 25 06:26:51 2001 ++++ tools/mkimap Sat Apr 7 05:42:24 2001 +@@ -119,6 +119,8 @@ + mkdir "deliverdb", 0755; + mkdir "deliverdb/db", 0755; + ++system "/usr/sbin/chown -R cyrus:cyrus ."; ++ + # create the sieve stuff + if (!$nosievedir) { + print "creating $sievedir...\n"; +@@ -127,6 +129,7 @@ + if (chdir $sievedir) { + foreach $i ("a".."z") { mkdir "$i", 0755; } + } ++ system "/usr/sbin/chown -R cyrus:cyrus $sievedir"; + } + + $flag = 0; +@@ -138,6 +141,7 @@ + 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:cyrus $part"; + } + + print "done\n"; -- cgit