mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
Add fortten files in the previous commit
PR: ports/125657 Reported by: miwi Pointyhat to: pgollucci Approved by: araujo (mentor, implicit)
This commit is contained in:
parent
3404d784c5
commit
dd3d2b2479
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=224750
@ -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}
|
||||
|
33
mail/milter-greylist-devel/files/milter-greylist.in
Normal file
33
mail/milter-greylist-devel/files/milter-greylist.in
Normal file
@ -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"
|
14
mail/milter-greylist-devel/files/pkg-message.in
Normal file
14
mail/milter-greylist-devel/files/pkg-message.in
Normal file
@ -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.
|
||||
|
||||
------------------------------------------------------------------------
|
Loading…
Reference in New Issue
Block a user