Add missing patch that does chown to cyrus spool directory.
This commit is contained in:
parent
11f8a31b75
commit
9cef64526a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40962
5 changed files with 145 additions and 0 deletions
29
mail/cyrus-imapd/files/patch-dg
Normal file
29
mail/cyrus-imapd/files/patch-dg
Normal file
|
@ -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";
|
29
mail/cyrus-imapd2/files/patch-dg
Normal file
29
mail/cyrus-imapd2/files/patch-dg
Normal file
|
@ -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";
|
29
mail/cyrus-imapd22/files/patch-dg
Normal file
29
mail/cyrus-imapd22/files/patch-dg
Normal file
|
@ -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";
|
29
mail/cyrus-imapd23/files/patch-dg
Normal file
29
mail/cyrus-imapd23/files/patch-dg
Normal file
|
@ -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";
|
29
mail/cyrus-imapd24/files/patch-dg
Normal file
29
mail/cyrus-imapd24/files/patch-dg
Normal file
|
@ -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";
|
Loading…
Reference in a new issue