mail/milter-greylist: Add configtest command in rcfile

While here:
  Remove conflicts entry for milter-greylist-devel, port removed.
  Use macro @sample in config file.

PR:		222839
Submitted by:	Masachika ISHIZUKA <ish@amail.plala.or.jp>
Approved by:	m.tsatsenko@gmail.com (maintainer)
This commit is contained in:
Danilo G. Baio 2018-03-17 21:51:38 +00:00
parent 42fcb49869
commit f43f3fd29e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=464850
3 changed files with 4 additions and 3 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= milter-greylist
PORTVERSION= 4.6.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= ftp://ftp.espci.fr/pub/milter-greylist/ \
http://fossies.org/unix/privat/
@ -13,7 +13,6 @@ COMMENT= Easy-to-use greylist milter for sendmail and postfix
LICENSE= BSD3CLAUSE
CONFLICTS= milter-greylist-devel-[1-9]*.*
PKGMESSAGE= ${WRKDIR}/pkg-message
MAKE_JOBS_UNSAFE= yes

View file

@ -20,6 +20,8 @@ name="miltergreylist"
rcvar=miltergreylist_enable
command="%%PREFIX%%/libexec/milter-greylist"
extra_commands="configtest"
configtest_cmd="%%PREFIX%%/libexec/milter-greylist -c"
load_rc_config $name

View file

@ -1,5 +1,5 @@
libexec/milter-greylist
man/man5/greylist.conf.5.gz
man/man8/milter-greylist.8.gz
etc/mail/greylist.conf.sample
@sample etc/mail/greylist.conf.sample
@dir(mailnull,mailnull,) /var/milter-greylist