4fd6e01f06
- repocopy [files/milter-greylist.sh -> files/milter-greylist.in, pkg-message -> files/pkg-message.in] itectu@: no more .sh - Bump PORTREVISION - Broken messages are not quoted - silence some portlint tab warnings - seperate NOPORTDOCS from NOPORTEXAMPLES - drop 5.x support - use SUB_FILES for pkg-message processing - make use of @dirrmtry in pkg-plist PR: 125653 Submitted by: "Philip M. Gollucci" <pgollucci@p6m7g8.com> (almost all)
11 lines
1.2 KiB
Text
11 lines
1.2 KiB
Text
libexec/milter-greylist
|
|
etc/mail/greylist.conf.sample
|
|
%%PORTDOCS%%%%DOCSDIR%%/README
|
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/greylist.conf
|
|
@exec /bin/mkdir -p /var/milter-greylist
|
|
@exec /usr/sbin/chown -R mailnull /var/milter-greylist
|
|
@exec [ -f /var/db/milter-greylist/greylist.db ] && printf '\n\n************************************************************\n************************************************************\n** **\n** WARNING **\n** **\n** The default dump file location has changed. **\n** Please move greylist.db from /var/db/milter-greylist/ **\n** to /var/milter-greylist/ and update your greylist.conf **\n** accordingly. **\n** **\n************************************************************\n************************************************************\n' ||true
|
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
|
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
|
|
@dirrmtry etc/mail
|
|
@unexec [ -f /var/milter-greylist/greylist.db ] || /bin/rmdir /var/milter-greylist || true
|