summaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2006-01-12 20:38:03 +0000
committermnag <mnag@FreeBSD.org>2006-01-12 20:38:03 +0000
commitb40c43943acdd2d7a86ebe2f3d7aab97776e526c (patch)
tree08fd443fa6187ec6a7106ed733230e805f47539a /mail
parent0442536dc506c9d32479bc83c09ed31587fff70e (diff)
downloadFreeBSD-ports-b40c43943acdd2d7a86ebe2f3d7aab97776e526c.zip
FreeBSD-ports-b40c43943acdd2d7a86ebe2f3d7aab97776e526c.tar.gz
Fix rc.d/postfix.sh restart adding pidfile and procname
Bump PORTREVISION PR: 91721 Submitted by: NIIMI Satoshi <sa2c@sa2c.net> Approved by: maintainer
Diffstat (limited to 'mail')
-rw-r--r--mail/postfix/Makefile2
-rw-r--r--mail/postfix/files/postfix.sh.in6
-rw-r--r--mail/postfix22/Makefile2
-rw-r--r--mail/postfix22/files/postfix.sh.in6
-rw-r--r--mail/postfix23/Makefile2
-rw-r--r--mail/postfix23/files/postfix.sh.in6
-rw-r--r--mail/postfix24/Makefile2
-rw-r--r--mail/postfix24/files/postfix.sh.in6
-rw-r--r--mail/postfix25/Makefile2
-rw-r--r--mail/postfix25/files/postfix.sh.in6
-rw-r--r--mail/postfix26/Makefile2
-rw-r--r--mail/postfix26/files/postfix.sh.in6
-rw-r--r--mail/postfix27/Makefile2
-rw-r--r--mail/postfix27/files/postfix.sh.in6
-rw-r--r--mail/postfix28/Makefile2
-rw-r--r--mail/postfix28/files/postfix.sh.in6
16 files changed, 56 insertions, 8 deletions
diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile
index b8c05f7..d0e0c74 100644
--- a/mail/postfix/Makefile
+++ b/mail/postfix/Makefile
@@ -16,7 +16,7 @@
PORTNAME= postfix
PORTVERSION= 2.2.8
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \
diff --git a/mail/postfix/files/postfix.sh.in b/mail/postfix/files/postfix.sh.in
index 8424abb..6ef4b39 100644
--- a/mail/postfix/files/postfix.sh.in
+++ b/mail/postfix/files/postfix.sh.in
@@ -14,6 +14,8 @@
# 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%%
@@ -23,6 +25,10 @@ rcvar=`set_rcvar`
start_cmd=${name}_start
stop_cmd=${name}_stop
+extra_commands="reload"
+pidfile=${postfix_pidfile}
+procname=${postfix_procname}
+
postfix_start() {
%%PREFIX%%/sbin/postfix start
}
diff --git a/mail/postfix22/Makefile b/mail/postfix22/Makefile
index b8c05f7..d0e0c74 100644
--- a/mail/postfix22/Makefile
+++ b/mail/postfix22/Makefile
@@ -16,7 +16,7 @@
PORTNAME= postfix
PORTVERSION= 2.2.8
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \
diff --git a/mail/postfix22/files/postfix.sh.in b/mail/postfix22/files/postfix.sh.in
index 8424abb..6ef4b39 100644
--- a/mail/postfix22/files/postfix.sh.in
+++ b/mail/postfix22/files/postfix.sh.in
@@ -14,6 +14,8 @@
# 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%%
@@ -23,6 +25,10 @@ rcvar=`set_rcvar`
start_cmd=${name}_start
stop_cmd=${name}_stop
+extra_commands="reload"
+pidfile=${postfix_pidfile}
+procname=${postfix_procname}
+
postfix_start() {
%%PREFIX%%/sbin/postfix start
}
diff --git a/mail/postfix23/Makefile b/mail/postfix23/Makefile
index b8c05f7..d0e0c74 100644
--- a/mail/postfix23/Makefile
+++ b/mail/postfix23/Makefile
@@ -16,7 +16,7 @@
PORTNAME= postfix
PORTVERSION= 2.2.8
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \
diff --git a/mail/postfix23/files/postfix.sh.in b/mail/postfix23/files/postfix.sh.in
index 8424abb..6ef4b39 100644
--- a/mail/postfix23/files/postfix.sh.in
+++ b/mail/postfix23/files/postfix.sh.in
@@ -14,6 +14,8 @@
# 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%%
@@ -23,6 +25,10 @@ rcvar=`set_rcvar`
start_cmd=${name}_start
stop_cmd=${name}_stop
+extra_commands="reload"
+pidfile=${postfix_pidfile}
+procname=${postfix_procname}
+
postfix_start() {
%%PREFIX%%/sbin/postfix start
}
diff --git a/mail/postfix24/Makefile b/mail/postfix24/Makefile
index b8c05f7..d0e0c74 100644
--- a/mail/postfix24/Makefile
+++ b/mail/postfix24/Makefile
@@ -16,7 +16,7 @@
PORTNAME= postfix
PORTVERSION= 2.2.8
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \
diff --git a/mail/postfix24/files/postfix.sh.in b/mail/postfix24/files/postfix.sh.in
index 8424abb..6ef4b39 100644
--- a/mail/postfix24/files/postfix.sh.in
+++ b/mail/postfix24/files/postfix.sh.in
@@ -14,6 +14,8 @@
# 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%%
@@ -23,6 +25,10 @@ rcvar=`set_rcvar`
start_cmd=${name}_start
stop_cmd=${name}_stop
+extra_commands="reload"
+pidfile=${postfix_pidfile}
+procname=${postfix_procname}
+
postfix_start() {
%%PREFIX%%/sbin/postfix start
}
diff --git a/mail/postfix25/Makefile b/mail/postfix25/Makefile
index b8c05f7..d0e0c74 100644
--- a/mail/postfix25/Makefile
+++ b/mail/postfix25/Makefile
@@ -16,7 +16,7 @@
PORTNAME= postfix
PORTVERSION= 2.2.8
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \
diff --git a/mail/postfix25/files/postfix.sh.in b/mail/postfix25/files/postfix.sh.in
index 8424abb..6ef4b39 100644
--- a/mail/postfix25/files/postfix.sh.in
+++ b/mail/postfix25/files/postfix.sh.in
@@ -14,6 +14,8 @@
# 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%%
@@ -23,6 +25,10 @@ rcvar=`set_rcvar`
start_cmd=${name}_start
stop_cmd=${name}_stop
+extra_commands="reload"
+pidfile=${postfix_pidfile}
+procname=${postfix_procname}
+
postfix_start() {
%%PREFIX%%/sbin/postfix start
}
diff --git a/mail/postfix26/Makefile b/mail/postfix26/Makefile
index b8c05f7..d0e0c74 100644
--- a/mail/postfix26/Makefile
+++ b/mail/postfix26/Makefile
@@ -16,7 +16,7 @@
PORTNAME= postfix
PORTVERSION= 2.2.8
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \
diff --git a/mail/postfix26/files/postfix.sh.in b/mail/postfix26/files/postfix.sh.in
index 8424abb..6ef4b39 100644
--- a/mail/postfix26/files/postfix.sh.in
+++ b/mail/postfix26/files/postfix.sh.in
@@ -14,6 +14,8 @@
# 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%%
@@ -23,6 +25,10 @@ rcvar=`set_rcvar`
start_cmd=${name}_start
stop_cmd=${name}_stop
+extra_commands="reload"
+pidfile=${postfix_pidfile}
+procname=${postfix_procname}
+
postfix_start() {
%%PREFIX%%/sbin/postfix start
}
diff --git a/mail/postfix27/Makefile b/mail/postfix27/Makefile
index b8c05f7..d0e0c74 100644
--- a/mail/postfix27/Makefile
+++ b/mail/postfix27/Makefile
@@ -16,7 +16,7 @@
PORTNAME= postfix
PORTVERSION= 2.2.8
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \
diff --git a/mail/postfix27/files/postfix.sh.in b/mail/postfix27/files/postfix.sh.in
index 8424abb..6ef4b39 100644
--- a/mail/postfix27/files/postfix.sh.in
+++ b/mail/postfix27/files/postfix.sh.in
@@ -14,6 +14,8 @@
# 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%%
@@ -23,6 +25,10 @@ rcvar=`set_rcvar`
start_cmd=${name}_start
stop_cmd=${name}_stop
+extra_commands="reload"
+pidfile=${postfix_pidfile}
+procname=${postfix_procname}
+
postfix_start() {
%%PREFIX%%/sbin/postfix start
}
diff --git a/mail/postfix28/Makefile b/mail/postfix28/Makefile
index b8c05f7..d0e0c74 100644
--- a/mail/postfix28/Makefile
+++ b/mail/postfix28/Makefile
@@ -16,7 +16,7 @@
PORTNAME= postfix
PORTVERSION= 2.2.8
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \
diff --git a/mail/postfix28/files/postfix.sh.in b/mail/postfix28/files/postfix.sh.in
index 8424abb..6ef4b39 100644
--- a/mail/postfix28/files/postfix.sh.in
+++ b/mail/postfix28/files/postfix.sh.in
@@ -14,6 +14,8 @@
# 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%%
@@ -23,6 +25,10 @@ rcvar=`set_rcvar`
start_cmd=${name}_start
stop_cmd=${name}_stop
+extra_commands="reload"
+pidfile=${postfix_pidfile}
+procname=${postfix_procname}
+
postfix_start() {
%%PREFIX%%/sbin/postfix start
}
OpenPOWER on IntegriCloud