freebsd-ports/security/courier-authlib/pkg-plist-mysql
Guido Falsi 67f777acfe Make courier-autlib ports run the sysconftool on installation, as
suggested by upstream, like courier-imap port does.

The sample files are renamed to ".dist" because that is the name
the tool expects.

Also added a note to UPDATING to warn users about the sysconftool
expecting the comments not to be removed.

While here convert to localbase.

Suggested by:	Doug McIntyre <merlyn at iphouse.net>
2017-09-28 18:46:27 +00:00

6 lines
399 B
Text

@postunexec if cmp -s %D/etc/authlib/authmysqlrc.dist %D/etc/authlib/authmysqlrc; then rm -f %D/etc/authlib/authmysqlrc; fi
@(%%MAILOWN%%,%%MAILGRP%%,660) etc/authlib/authmysqlrc.dist
@postexec %%LOCALBASE%%/share/sysconftool/sysconftool %D/etc/authlib/authmysqlrc
lib/courier-authlib/libauthmysql.so
%%PORTDOCS%%%%DOCSDIR%%/README.authmysql.html
%%PORTDOCS%%%%DOCSDIR%%/README.authmysql.myownquery