aboutsummaryrefslogtreecommitdiff
path: root/mail/milter-greylist
diff options
context:
space:
mode:
authorDanilo G. Baio <dbaio@FreeBSD.org>2018-03-17 21:51:38 +0000
committerDanilo G. Baio <dbaio@FreeBSD.org>2018-03-17 21:51:38 +0000
commitf43f3fd29e0ffc6d43c540654c9725f168adc92d (patch)
tree85eb6e9a5dbe6ef9b6cdc31b01d41d8e3f553a15 /mail/milter-greylist
parent42fcb4986989cd5f677b75bd126e98a2371820cc (diff)
downloadports-f43f3fd29e0ffc6d43c540654c9725f168adc92d.tar.gz
ports-f43f3fd29e0ffc6d43c540654c9725f168adc92d.zip
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)
Notes
Notes: svn path=/head/; revision=464850
Diffstat (limited to 'mail/milter-greylist')
-rw-r--r--mail/milter-greylist/Makefile3
-rw-r--r--mail/milter-greylist/files/milter-greylist.in2
-rw-r--r--mail/milter-greylist/pkg-plist2
3 files changed, 4 insertions, 3 deletions
diff --git a/mail/milter-greylist/Makefile b/mail/milter-greylist/Makefile
index 5b58ef53cea6..037b732c8af1 100644
--- a/mail/milter-greylist/Makefile
+++ b/mail/milter-greylist/Makefile
@@ -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
diff --git a/mail/milter-greylist/files/milter-greylist.in b/mail/milter-greylist/files/milter-greylist.in
index 158117595b36..7cec52475560 100644
--- a/mail/milter-greylist/files/milter-greylist.in
+++ b/mail/milter-greylist/files/milter-greylist.in
@@ -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
diff --git a/mail/milter-greylist/pkg-plist b/mail/milter-greylist/pkg-plist
index d3ede167bda6..cad49829bfb5 100644
--- a/mail/milter-greylist/pkg-plist
+++ b/mail/milter-greylist/pkg-plist
@@ -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