freebsd-ports/mail/qpopper/pkg-plist
Mario Sergio Fujikawa Ferreira d494132719 1) instead of "stealthly" installing a file with a user list that
cannot log in the popper daemon, let the users decide for either
   a default file (use a copy of the system's /etc/ftpusers file)
   or an empty file
2) also, make the installation of this file prefix safe and name
   it popusers (PREFIX/etc/qpopper/popusers). This changes expected
   behavior of the port
3) add a PKGINSTALL script to handle this file install/deinstall
4) style changes: use variables to make the port easier to maintain

Prompted by:	Dan Langille <dan@langille.org>
Reviewed by:	freebsd-ports (silence), kris, sobomax
2001-10-05 03:48:34 +00:00

9 lines
513 B
Text

bin/qpopauth
@unexec rm -f %D/bin/qapopauth
@exec ln -sf %D/bin/qpopauth %D/bin/qapopauth
libexec/qpopper
%%EPOPPASSD%%libexec/qpoppassd
@exec mkdir -p %D/etc/qpopper && chown %%POP_USER%%:%%POP_GROUP%% %D/etc/qpopper && chmod %%POP_MODE_DIR%% %D/etc/qpopper
@mode %%POP_MODE_CONF%%
etc/qpopper/popusers.sample
@unexec rmdir %D/etc/qpopper 2>/dev/null || echo "If you are permanently removing this port, you should do a ``rm -rf ${PKG_PREFIX}/etc/qpopper`` to remove any configuration files and logs left." | fmt