diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2008-12-25 16:08:41 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2008-12-25 16:08:41 +0000 |
commit | dd3d2b24791192e7f56dbb853e9dd3a0e17b2654 (patch) | |
tree | d718fad6b7ac454bdfeb248368bd3c23c2de5402 /mail | |
parent | 3404d784c5b9713603fec27961cd7165aa4cacd6 (diff) | |
download | ports-dd3d2b24791192e7f56dbb853e9dd3a0e17b2654.tar.gz ports-dd3d2b24791192e7f56dbb853e9dd3a0e17b2654.zip |
Notes
Diffstat (limited to 'mail')
-rw-r--r-- | mail/milter-greylist-devel/Makefile | 2 | ||||
-rw-r--r-- | mail/milter-greylist-devel/files/milter-greylist.in | 33 | ||||
-rw-r--r-- | mail/milter-greylist-devel/files/pkg-message.in | 14 |
3 files changed, 48 insertions, 1 deletions
diff --git a/mail/milter-greylist-devel/Makefile b/mail/milter-greylist-devel/Makefile index 564424f475fb..125c7892a800 100644 --- a/mail/milter-greylist-devel/Makefile +++ b/mail/milter-greylist-devel/Makefile @@ -7,7 +7,7 @@ PORTNAME= milter-greylist-devel DISTVERSION= 2.0b1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail MASTER_SITES= ftp://ftp.espci.fr/pub/milter-greylist/ DISTNAME= milter-greylist-${DISTVERSION} diff --git a/mail/milter-greylist-devel/files/milter-greylist.in b/mail/milter-greylist-devel/files/milter-greylist.in new file mode 100644 index 000000000000..536a2e7e5090 --- /dev/null +++ b/mail/milter-greylist-devel/files/milter-greylist.in @@ -0,0 +1,33 @@ +#!/bin/sh +# $FreeBSD$ + +# PROVIDE: miltergreylist +# REQUIRE: LOGIN +# BEFORE: sendmail +# KEYWORD: milter-greylist + +# Define these miltergreylist_* variables in one of these files: +# /etc/rc.conf +# /etc/rc.conf.local +# /etc/rc.conf.d/miltergreylist +# +# DO NOT CHANGE THESE DEFAULT VALUES HERE +# + +. %%RC_SUBR%% + +name="miltergreylist" +rcvar=`set_rcvar` +command="%%PREFIX%%/bin/milter-greylist" + +load_rc_config $name + +miltergreylist_enable=${miltergreylist_enable-"NO"} +miltergreylist_runas=${miltergreylist_runas-"smmsp"} +miltergreylist_pidfile=${miltergreylist_pidfile-"/var/run/milter-greylist.pid"} +miltergreylist_sockfile=${miltergreylist_sockfile-"/var/milter-greylist/milter-greylist.sock"} +miltergreylist_cfgfile=${miltergreylist_cfgfile-"%%PREFIX%%/etc/mail/greylist.conf"} +miltergreylist_flags=${miltergreylist_flags-"-P $miltergreylist_pidfile \ +-f $miltergreylist_cfgfile -p $miltergreylist_sockfile -u $miltergreylist_runas"} + +run_rc_command "$1" diff --git a/mail/milter-greylist-devel/files/pkg-message.in b/mail/milter-greylist-devel/files/pkg-message.in new file mode 100644 index 000000000000..dae05df0cf4e --- /dev/null +++ b/mail/milter-greylist-devel/files/pkg-message.in @@ -0,0 +1,14 @@ + +------------------------------------------------------------------------ + IMPORTANT NOTE + + A sample configuration file has been installed in ${PREFIX}/etc/mail + directory. Copy and edit it to suit your needs before launching + milter-greylist. + + To run milter-greylist from startup, add miltergreylist_enable="YES" + in your /etc/rc.conf or your /etc/rc.conf.local + + See ${DOCSDIR}/README for operation details. + +------------------------------------------------------------------------ |