add syscontool call on package installation, create shared directories on

package installation

PR:		ports/95070
This commit is contained in:
Oliver Lehmann 2006-04-03 14:49:10 +00:00
parent e9e489102c
commit b8359f66ae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=158727

View File

@ -7,16 +7,20 @@ 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
@exec %%LOCALBASE%%/share/sysconftool/sysconftool %D/%%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
@exec %%LOCALBASE%%/share/sysconftool/sysconftool %D/%%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
@exec %%LOCALBASE%%/share/sysconftool/sysconftool %D/%%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
@exec %%LOCALBASE%%/share/sysconftool/sysconftool %D/%%CONFDIR%%/pop3d.dist
%%CONFDIR%%/quotawarnmsg.example
%%RCDIR%%/courier-imap-imapd.sh
%%RCDIR%%/courier-imap-imapd-ssl.sh
@ -47,6 +51,8 @@ share/courier-imap/mkpop3dcert
%%PORTDOCS%%%%DOCSDIR%%/README.maildirquota.txt
%%PORTDOCS%%%%DOCSDIR%%/README.sharedfolders.txt
%%PORTDOCS%%%%DOCSDIR%%/README.couriertls
@exec mkdir -p -m 755 %D/%%CONFDIR%%/shared %D/%%CONFDIR%%/shared
@exec mkdir -p -m 755 %D/%%CONFDIR%%/shared %D/%%CONFDIR%%/shared.tmp
@dirrmtry var
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm share/courier-imap