aboutsummaryrefslogtreecommitdiffstats
path: root/mail/cyrus-imapd22
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2001-04-07 04:57:14 +0800
committerume <ume@FreeBSD.org>2001-04-07 04:57:14 +0800
commit11d7442f3e9ed81322a0b3fe4a651097d8dac628 (patch)
tree9a68124e98c5d7a88893d628812de47bb72cb94b /mail/cyrus-imapd22
parent9149123cc9b81d52495ae88db822bc45834f2a48 (diff)
downloadfreebsd-ports-gnome-11d7442f3e9ed81322a0b3fe4a651097d8dac628.tar.gz
freebsd-ports-gnome-11d7442f3e9ed81322a0b3fe4a651097d8dac628.tar.zst
freebsd-ports-gnome-11d7442f3e9ed81322a0b3fe4a651097d8dac628.zip
Add missing patch that does chown to cyrus spool directory.
Diffstat (limited to 'mail/cyrus-imapd22')
-rw-r--r--mail/cyrus-imapd22/files/patch-dg29
1 files changed, 29 insertions, 0 deletions
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";