1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
freebsd-ports/mail/qpopper/pkg-plist
Rene Ladan 648967b107 Fix typo in pkg-plist and sanitize creation/removal of (sample)
configuration files.

Prodded by:	swills
Approved by:	(followup of r350186 and r350187)
2014-04-07 16:28:41 +00:00

21 lines
648 B
Plaintext

@owner %%USERS%%
@mode u+s
%%QPOPAUTH%%bin/qapopauth
%%QPOPAUTH%%bin/qpopauth
@group %%GROUPS%%
@mode 0444
@unexec if cmp -s %D/%%ETCDIR%%/popusers %D/%%ETCDIR%%/popusers.sample ; then rm -f %D/%%ETCDIR%%/popusers ; fi
%%ETCDIR%%/popusers.sample
@exec if [ ! -f %D/%%ETCDIR%%/popusers ] ; then cp -p %D/%F %B/popusers ; fi
@mode
@group wheel
@owner root
libexec/qpopper
man/man8/qpopper.8.gz
%%QPOPAUTH%%man/man8/qpopauth.8.gz
%%EPOPPASSD%%libexec/qpoppassd
@exec mkdir -p %%ETCDIR%% && chown %%USERS%%:%%GROUPS%% %%ETCDIR%% && chmod %%POP_MODE_DIR%% %%ETCDIR%%
%%PORTDOCS%%%%DOCSDIR%%/GUIDE.pdf
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrmtry %%ETCDIR%%