freebsd-ports/security/courier-authlib/pkg-plist-pgsql
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

5 lines
350 B
Text

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