aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2005-01-09 22:31:01 +0800
committeroliver <oliver@FreeBSD.org>2005-01-09 22:31:01 +0800
commitc5aee8beb30d5e24a434cc0595b2c394e826b808 (patch)
treea886cf78ea0502b2409d2c8226de0e77b7d1f8aa /mail
parent52f5c80bb8631c6340323a4d9cf521650922c75a (diff)
downloadfreebsd-ports-graphics-c5aee8beb30d5e24a434cc0595b2c394e826b808.tar.gz
freebsd-ports-graphics-c5aee8beb30d5e24a434cc0595b2c394e826b808.tar.zst
freebsd-ports-graphics-c5aee8beb30d5e24a434cc0595b2c394e826b808.zip
deinstal config files when they are left unchanged
Noted by: pointyhat via kris Stolen from: mail/mutt
Diffstat (limited to 'mail')
-rw-r--r--mail/courier-imap/pkg-plist6
-rw-r--r--mail/sqwebmail/pkg-plist2
2 files changed, 8 insertions, 0 deletions
diff --git a/mail/courier-imap/pkg-plist b/mail/courier-imap/pkg-plist
index bd8f1c24161..42909f31edc 100644
--- a/mail/courier-imap/pkg-plist
+++ b/mail/courier-imap/pkg-plist
@@ -5,11 +5,17 @@ bin/maildiracl
bin/maildirkw
bin/maildirmake
bin/pop3d
+@unexec if cmp -s %D/%%CONFDIR%%/imapd-ssl.dist %D/%%CONFDIR%%/imapd-ssl; then rm -f %D/%%CONFDIR%%/imapd-ssl; fi
%%CONFDIR%%/imapd-ssl.dist
+@unexec if cmp -s %D/%%CONFDIR%%/imapd.cnf.dist %D/%%CONFDIR%%/imapd.cnf; then rm -f %D/%%CONFDIR%%/imapd.cnf; fi
%%CONFDIR%%/imapd.cnf.dist
+@unexec if cmp -s %D/%%CONFDIR%%/imapd.dist %D/%%CONFDIR%%/imapd; then rm -f %D/%%CONFDIR%%/imapd; fi
%%CONFDIR%%/imapd.dist
+@unexec if cmp -s %D/%%CONFDIR%%/pop3d-ssl.dist %D/%%CONFDIR%%/pop3d-ssl; then rm -f %D/%%CONFDIR%%/pop3d-ssl; fi
%%CONFDIR%%/pop3d-ssl.dist
+@unexec if cmp -s %D/%%CONFDIR%%/pop3d.cnf.dist %D/%%CONFDIR%%/pop3d.cnf; then rm -f %D/%%CONFDIR%%/pop3d.cnf; fi
%%CONFDIR%%/pop3d.cnf.dist
+@unexec if cmp -s %D/%%CONFDIR%%/pop3d.dist %D/%%CONFDIR%%/pop3d; then rm -f %D/%%CONFDIR%%/pop3d; fi
%%CONFDIR%%/pop3d.dist
%%CONFDIR%%/quotawarnmsg.example
%%RCDIR%%/courier-imap-imapd.sh
diff --git a/mail/sqwebmail/pkg-plist b/mail/sqwebmail/pkg-plist
index f8f3bee6c00..0d862473c39 100644
--- a/mail/sqwebmail/pkg-plist
+++ b/mail/sqwebmail/pkg-plist
@@ -1,4 +1,6 @@
+@unexec if cmp -s %D/etc/sqwebmail/ldapaddressbook.dist %D/etc/sqwebmail/ldapaddressbook; then rm -f %D/etc/sqwebmail/ldapaddressbook; fi
etc/sqwebmail/ldapaddressbook.dist
+@unexec if cmp -s %D/etc/sqwebmail/sqwebmaild.dist %D/etc/sqwebmail/sqwebmaild; then rm -f %D/etc/sqwebmail/sqwebmaild; fi
etc/sqwebmail/sqwebmaild.dist
etc/sqwebmail/nodsn
etc/rc.d/sqwebmail-sqwebmaild.sh