pkgsrc/mail/nullmailer/PLIST
reed 9c790735db mk/bsd.pkg.install.mk now automatically registers
the RCD_SCRIPTS rc.d script(s) to the PLIST.

This GENERATE_PLIST idea is part of Greg A. Woods'
PR #22954.

This helps when the RC_SCRIPTS are installed to
a different ${RCD_SCRIPTS_EXAMPLEDIR}. (Later,
the default RCD_SCRIPTS_EXAMPLEDIR will be changed
to be more clear that they are the examples.)

These patches also remove the etc/rc.d/ scripts from PLISTs
(of packages that use RCD_SCRIPTS). (This also removes
now unused references from openssh* makefiles. Note that
qmail package has not been changed yet.)

I have been doing automatic PLIST registration for RC_SCRIPTS
for over a year. Not all of these packages have been tested,
but many have been tested and used.

Somethings maybe to do:
- a few packages still manually install the rc.d scripts to
  hard-coded etc/rc.d. These need to be fixed.
- maybe  remove from mk/${OPSYS}.pkg.dist mtree specifications too.
2004-04-23 22:07:52 +00:00

40 lines
1.6 KiB
Text

@comment $NetBSD: PLIST,v 1.6 2004/04/23 22:07:55 reed Exp $
libexec/nullmailer/mailq
@exec ${CHMOD} u+s %D/libexec/nullmailer/mailq
@exec ${CHOWN} ${NULLMAILER_USER}:${NULLMAILER_GROUP} %D/libexec/nullmailer/mailq
libexec/nullmailer/nullmailer-inject
libexec/nullmailer/nullmailer-queue
@exec ${CHMOD} u+s %D/libexec/nullmailer/nullmailer-queue
@exec ${CHOWN} ${NULLMAILER_USER}:${NULLMAILER_GROUP} %D/libexec/nullmailer/nullmailer-queue
libexec/nullmailer/nullmailer-send
libexec/nullmailer/qmqp
libexec/nullmailer/sendmail
libexec/nullmailer/smtp
man/man1/nullmailer-inject.1
man/man1/sendmail.1
man/man7/nullmailer.7
man/man8/nullmailer-queue.8
man/man8/nullmailer-send.8
share/doc/nullmailer/AUTHORS
share/doc/nullmailer/BUGS
share/doc/nullmailer/COPYING
share/doc/nullmailer/ChangeLog
share/doc/nullmailer/HOWTO
share/doc/nullmailer/NEWS
share/doc/nullmailer/README
share/doc/nullmailer/TODO
share/examples/nullmailer/mailer.conf
@exec ${MKDIR} /var/spool/nullmailer
@exec ${MKDIR} /var/spool/nullmailer/queue
@exec ${MKDIR} /var/spool/nullmailer/tmp
@exec mkfifo /var/spool/nullmailer/trigger
@exec ${CHMOD} 600 /var/spool/nullmailer/trigger
@exec ${CHOWN} -R ${NULLMAILER_USER}:${NULLMAILER_GROUP} /var/spool/nullmailer/*
@dirrm libexec/nullmailer
@dirrm share/examples/nullmailer
@dirrm share/doc/nullmailer
@unexec ${RMDIR} ${PKG_SYSCONFDIR}/nullmailer 2>/dev/null || ${TRUE}
@unexec ${RMDIR} /var/spool/nullmailer/queue 2>/dev/null || ${TRUE}
@unexec ${RMDIR} /var/spool/nullmailer/tmp 2>/dev/null || ${TRUE}
@unexec ${RM} -f /var/spool/nullmailer/trigger 2>/dev/null || ${TRUE}
@unexec ${RMDIR} /var/spool/nullmailer 2>/dev/null || ${TRUE}