diff options
-rw-r--r-- | mail/cyrus-imapd/pkg-plist | 6 | ||||
-rw-r--r-- | mail/cyrus-imapd2/pkg-plist | 6 | ||||
-rw-r--r-- | mail/cyrus-imapd22/pkg-plist | 6 | ||||
-rw-r--r-- | mail/cyrus-imapd23/pkg-plist | 6 | ||||
-rw-r--r-- | mail/cyrus-imapd24/pkg-plist | 6 |
5 files changed, 20 insertions, 10 deletions
diff --git a/mail/cyrus-imapd/pkg-plist b/mail/cyrus-imapd/pkg-plist index 6dd2d6405a14..ab8b7c30120d 100644 --- a/mail/cyrus-imapd/pkg-plist +++ b/mail/cyrus-imapd/pkg-plist @@ -18,10 +18,12 @@ cyrus/bin/mkimap cyrus/bin/pop3d cyrus/bin/reconstruct cyrus/bin/timsieved +@unexec if cmp -s %D/etc/cyrus.conf %D/etc/cyrus.conf.dist; then rm -f %D/etc/cyrus.conf; fi etc/cyrus.conf.dist -etc/cyrus.conf +@exec [ -f %B/cyrus.conf ] || cp %B/%f %B/cyrus.conf +@unexec if cmp -s %D/etc/imapd.conf %D/etc/imapd.conf.dist; then rm -f %D/etc/imapd.conf; fi etc/imapd.conf.dist -etc/imapd.conf +@exec [ -f %B/imapd.conf ] || cp %B/%f %B/imapd.conf etc/rc.d/imapd.sh.sample include/cyrus/acap.h include/cyrus/acl.h diff --git a/mail/cyrus-imapd2/pkg-plist b/mail/cyrus-imapd2/pkg-plist index 6dd2d6405a14..ab8b7c30120d 100644 --- a/mail/cyrus-imapd2/pkg-plist +++ b/mail/cyrus-imapd2/pkg-plist @@ -18,10 +18,12 @@ cyrus/bin/mkimap cyrus/bin/pop3d cyrus/bin/reconstruct cyrus/bin/timsieved +@unexec if cmp -s %D/etc/cyrus.conf %D/etc/cyrus.conf.dist; then rm -f %D/etc/cyrus.conf; fi etc/cyrus.conf.dist -etc/cyrus.conf +@exec [ -f %B/cyrus.conf ] || cp %B/%f %B/cyrus.conf +@unexec if cmp -s %D/etc/imapd.conf %D/etc/imapd.conf.dist; then rm -f %D/etc/imapd.conf; fi etc/imapd.conf.dist -etc/imapd.conf +@exec [ -f %B/imapd.conf ] || cp %B/%f %B/imapd.conf etc/rc.d/imapd.sh.sample include/cyrus/acap.h include/cyrus/acl.h diff --git a/mail/cyrus-imapd22/pkg-plist b/mail/cyrus-imapd22/pkg-plist index 6dd2d6405a14..ab8b7c30120d 100644 --- a/mail/cyrus-imapd22/pkg-plist +++ b/mail/cyrus-imapd22/pkg-plist @@ -18,10 +18,12 @@ cyrus/bin/mkimap cyrus/bin/pop3d cyrus/bin/reconstruct cyrus/bin/timsieved +@unexec if cmp -s %D/etc/cyrus.conf %D/etc/cyrus.conf.dist; then rm -f %D/etc/cyrus.conf; fi etc/cyrus.conf.dist -etc/cyrus.conf +@exec [ -f %B/cyrus.conf ] || cp %B/%f %B/cyrus.conf +@unexec if cmp -s %D/etc/imapd.conf %D/etc/imapd.conf.dist; then rm -f %D/etc/imapd.conf; fi etc/imapd.conf.dist -etc/imapd.conf +@exec [ -f %B/imapd.conf ] || cp %B/%f %B/imapd.conf etc/rc.d/imapd.sh.sample include/cyrus/acap.h include/cyrus/acl.h diff --git a/mail/cyrus-imapd23/pkg-plist b/mail/cyrus-imapd23/pkg-plist index 6dd2d6405a14..ab8b7c30120d 100644 --- a/mail/cyrus-imapd23/pkg-plist +++ b/mail/cyrus-imapd23/pkg-plist @@ -18,10 +18,12 @@ cyrus/bin/mkimap cyrus/bin/pop3d cyrus/bin/reconstruct cyrus/bin/timsieved +@unexec if cmp -s %D/etc/cyrus.conf %D/etc/cyrus.conf.dist; then rm -f %D/etc/cyrus.conf; fi etc/cyrus.conf.dist -etc/cyrus.conf +@exec [ -f %B/cyrus.conf ] || cp %B/%f %B/cyrus.conf +@unexec if cmp -s %D/etc/imapd.conf %D/etc/imapd.conf.dist; then rm -f %D/etc/imapd.conf; fi etc/imapd.conf.dist -etc/imapd.conf +@exec [ -f %B/imapd.conf ] || cp %B/%f %B/imapd.conf etc/rc.d/imapd.sh.sample include/cyrus/acap.h include/cyrus/acl.h diff --git a/mail/cyrus-imapd24/pkg-plist b/mail/cyrus-imapd24/pkg-plist index 6dd2d6405a14..ab8b7c30120d 100644 --- a/mail/cyrus-imapd24/pkg-plist +++ b/mail/cyrus-imapd24/pkg-plist @@ -18,10 +18,12 @@ cyrus/bin/mkimap cyrus/bin/pop3d cyrus/bin/reconstruct cyrus/bin/timsieved +@unexec if cmp -s %D/etc/cyrus.conf %D/etc/cyrus.conf.dist; then rm -f %D/etc/cyrus.conf; fi etc/cyrus.conf.dist -etc/cyrus.conf +@exec [ -f %B/cyrus.conf ] || cp %B/%f %B/cyrus.conf +@unexec if cmp -s %D/etc/imapd.conf %D/etc/imapd.conf.dist; then rm -f %D/etc/imapd.conf; fi etc/imapd.conf.dist -etc/imapd.conf +@exec [ -f %B/imapd.conf ] || cp %B/%f %B/imapd.conf etc/rc.d/imapd.sh.sample include/cyrus/acap.h include/cyrus/acl.h |