diff options
author | mnag <mnag@FreeBSD.org> | 2006-01-16 21:47:02 +0000 |
---|---|---|
committer | mnag <mnag@FreeBSD.org> | 2006-01-16 21:47:02 +0000 |
commit | 98ac08bda635bcdbd0eae4e9728c3ddc076912a2 (patch) | |
tree | 3a71b9bf13cc16cbb247c8da4507d231c753b206 /mail/postfix-current | |
parent | ae6072c26c1763ae2a419d7c775df867d157e4ab (diff) | |
download | FreeBSD-ports-98ac08bda635bcdbd0eae4e9728c3ddc076912a2.zip FreeBSD-ports-98ac08bda635bcdbd0eae4e9728c3ddc076912a2.tar.gz |
Update to 2.3-20060112
Modify rc.d script like example in Porters Handbook.
Diffstat (limited to 'mail/postfix-current')
-rw-r--r-- | mail/postfix-current/Makefile | 3 | ||||
-rw-r--r-- | mail/postfix-current/distinfo | 6 | ||||
-rw-r--r-- | mail/postfix-current/files/postfix.sh.in | 26 |
3 files changed, 19 insertions, 16 deletions
diff --git a/mail/postfix-current/Makefile b/mail/postfix-current/Makefile index cd35364..d1c2f96 100644 --- a/mail/postfix-current/Makefile +++ b/mail/postfix-current/Makefile @@ -6,8 +6,7 @@ # PORTNAME= postfix -DISTVERSION= 2.3-20060103 -PORTREVISION= 1 +DISTVERSION= 2.3-20060112 PORTEPOCH= 2 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/ \ diff --git a/mail/postfix-current/distinfo b/mail/postfix-current/distinfo index b91078b..5a1842b 100644 --- a/mail/postfix-current/distinfo +++ b/mail/postfix-current/distinfo @@ -1,3 +1,3 @@ -MD5 (postfix/postfix-2.3-20060103.tar.gz) = f83719525f0d00a88662ed512bc94be2 -SHA256 (postfix/postfix-2.3-20060103.tar.gz) = 185c53763cec95bc966f74ac87d050611d76f021af2cf3ac45420b4401d91197 -SIZE (postfix/postfix-2.3-20060103.tar.gz) = 2576252 +MD5 (postfix/postfix-2.3-20060112.tar.gz) = a1998c65b873e9c02e571dba2a707175 +SHA256 (postfix/postfix-2.3-20060112.tar.gz) = 93495d86df2ffea3d064bb961a054d6813af7fb3149aeffb989a948ee45417cd +SIZE (postfix/postfix-2.3-20060112.tar.gz) = 2576937 diff --git a/mail/postfix-current/files/postfix.sh.in b/mail/postfix-current/files/postfix.sh.in index 6ef4b39..c44c1d8 100644 --- a/mail/postfix-current/files/postfix.sh.in +++ b/mail/postfix-current/files/postfix.sh.in @@ -6,26 +6,31 @@ # REQUIRE: %%REQUIRE%% # KEYWORD: shutdown # -# Define these postfix_* variables in one of these files: -# /etc/rc.conf -# /etc/rc.conf.local -# /etc/rc.conf.d/postfix +# Add the following lines to /etc/rc.conf to enable postfix: +# postfix_enable (bool): Set it to "YES" to enable postfix. +# Default is "NO". +# postfix_pidfile (path): Set full path to master.pid. +# Default is "/var/spool/postfix/pid/master.pid". +# postfix_procname (command): Set command that start master. Used to verify if +# postfix is running. +# Default is "%%PREFIX%%/libexec/postfix/master". # -# DO NOT CHANGE THESE DEFAULT VALUES HERE -# -postfix_enable="${postfix_enable-NO}" -postfix_pidfile="${postfix_pidfile:-/var/spool/postfix/pid/master.pid}" -postfix_procname="${postfix_procname:-%%PREFIX%%/libexec/postfix/master}" . %%RC_SUBR%% name="postfix" rcvar=`set_rcvar` +load_rc_config $name + +: ${postfix_enable="NO"} +: ${postfix_pidfile="/var/spool/postfix/pid/master.pid"} +: ${postfix_procname="%%PREFIX%%/libexec/postfix/master"} + start_cmd=${name}_start stop_cmd=${name}_stop - extra_commands="reload" + pidfile=${postfix_pidfile} procname=${postfix_procname} @@ -37,5 +42,4 @@ postfix_stop() { %%PREFIX%%/sbin/postfix stop } -load_rc_config ${name} run_rc_command "$1" |