aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2006-06-20 02:34:43 +0800
committersobomax <sobomax@FreeBSD.org>2006-06-20 02:34:43 +0800
commit35577a26195fb193f69d234feb881a40fcfd9230 (patch)
tree1b4dbdb90081a40daac61f155b403f51b3ebfbd4 /net
parentbb02029bc1e78f312ab1604ada8fe4fd57010d6d (diff)
downloadfreebsd-ports-gnome-35577a26195fb193f69d234feb881a40fcfd9230.tar.gz
freebsd-ports-gnome-35577a26195fb193f69d234feb881a40fcfd9230.tar.zst
freebsd-ports-gnome-35577a26195fb193f69d234feb881a40fcfd9230.zip
Make asterisk_pidfile actually working.
Reported by: Denis Shaposhnikov <dsh@vlink.ru>
Diffstat (limited to 'net')
-rw-r--r--net/asterisk/Makefile1
-rw-r--r--net/asterisk/files/asterisk.sh.in3
-rw-r--r--net/asterisk10/Makefile1
-rw-r--r--net/asterisk10/files/asterisk.sh.in3
-rw-r--r--net/asterisk12/Makefile1
-rw-r--r--net/asterisk12/files/asterisk.sh.in3
-rw-r--r--net/asterisk14/Makefile1
-rw-r--r--net/asterisk14/files/asterisk.sh.in3
-rw-r--r--net/asterisk16/Makefile1
-rw-r--r--net/asterisk16/files/asterisk.sh.in3
10 files changed, 15 insertions, 5 deletions
diff --git a/net/asterisk/Makefile b/net/asterisk/Makefile
index 8071bc554bc6..9a8f636d9677 100644
--- a/net/asterisk/Makefile
+++ b/net/asterisk/Makefile
@@ -7,6 +7,7 @@
PORTNAME= asterisk
PORTVERSION= 1.2.9.1
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://ftp.digium.com/pub/asterisk/ \
http://ftp.digium.com/pub/asterisk/old-releases/
diff --git a/net/asterisk/files/asterisk.sh.in b/net/asterisk/files/asterisk.sh.in
index 42738b451fa2..3774209eefe1 100644
--- a/net/asterisk/files/asterisk.sh.in
+++ b/net/asterisk/files/asterisk.sh.in
@@ -17,9 +17,10 @@ rcvar=`set_rcvar`
command=%%PREFIX%%/sbin/asterisk
+load_rc_config $name
+
pidfile=${asterisk_pidfile:-"/var/run/asterisk.pid"}
asterisk_enable=${asterisk_enable:-"NO"}
-load_rc_config $name
run_rc_command "$1"
diff --git a/net/asterisk10/Makefile b/net/asterisk10/Makefile
index 8071bc554bc6..9a8f636d9677 100644
--- a/net/asterisk10/Makefile
+++ b/net/asterisk10/Makefile
@@ -7,6 +7,7 @@
PORTNAME= asterisk
PORTVERSION= 1.2.9.1
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://ftp.digium.com/pub/asterisk/ \
http://ftp.digium.com/pub/asterisk/old-releases/
diff --git a/net/asterisk10/files/asterisk.sh.in b/net/asterisk10/files/asterisk.sh.in
index 42738b451fa2..3774209eefe1 100644
--- a/net/asterisk10/files/asterisk.sh.in
+++ b/net/asterisk10/files/asterisk.sh.in
@@ -17,9 +17,10 @@ rcvar=`set_rcvar`
command=%%PREFIX%%/sbin/asterisk
+load_rc_config $name
+
pidfile=${asterisk_pidfile:-"/var/run/asterisk.pid"}
asterisk_enable=${asterisk_enable:-"NO"}
-load_rc_config $name
run_rc_command "$1"
diff --git a/net/asterisk12/Makefile b/net/asterisk12/Makefile
index 8071bc554bc6..9a8f636d9677 100644
--- a/net/asterisk12/Makefile
+++ b/net/asterisk12/Makefile
@@ -7,6 +7,7 @@
PORTNAME= asterisk
PORTVERSION= 1.2.9.1
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://ftp.digium.com/pub/asterisk/ \
http://ftp.digium.com/pub/asterisk/old-releases/
diff --git a/net/asterisk12/files/asterisk.sh.in b/net/asterisk12/files/asterisk.sh.in
index 42738b451fa2..3774209eefe1 100644
--- a/net/asterisk12/files/asterisk.sh.in
+++ b/net/asterisk12/files/asterisk.sh.in
@@ -17,9 +17,10 @@ rcvar=`set_rcvar`
command=%%PREFIX%%/sbin/asterisk
+load_rc_config $name
+
pidfile=${asterisk_pidfile:-"/var/run/asterisk.pid"}
asterisk_enable=${asterisk_enable:-"NO"}
-load_rc_config $name
run_rc_command "$1"
diff --git a/net/asterisk14/Makefile b/net/asterisk14/Makefile
index 8071bc554bc6..9a8f636d9677 100644
--- a/net/asterisk14/Makefile
+++ b/net/asterisk14/Makefile
@@ -7,6 +7,7 @@
PORTNAME= asterisk
PORTVERSION= 1.2.9.1
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://ftp.digium.com/pub/asterisk/ \
http://ftp.digium.com/pub/asterisk/old-releases/
diff --git a/net/asterisk14/files/asterisk.sh.in b/net/asterisk14/files/asterisk.sh.in
index 42738b451fa2..3774209eefe1 100644
--- a/net/asterisk14/files/asterisk.sh.in
+++ b/net/asterisk14/files/asterisk.sh.in
@@ -17,9 +17,10 @@ rcvar=`set_rcvar`
command=%%PREFIX%%/sbin/asterisk
+load_rc_config $name
+
pidfile=${asterisk_pidfile:-"/var/run/asterisk.pid"}
asterisk_enable=${asterisk_enable:-"NO"}
-load_rc_config $name
run_rc_command "$1"
diff --git a/net/asterisk16/Makefile b/net/asterisk16/Makefile
index 8071bc554bc6..9a8f636d9677 100644
--- a/net/asterisk16/Makefile
+++ b/net/asterisk16/Makefile
@@ -7,6 +7,7 @@
PORTNAME= asterisk
PORTVERSION= 1.2.9.1
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://ftp.digium.com/pub/asterisk/ \
http://ftp.digium.com/pub/asterisk/old-releases/
diff --git a/net/asterisk16/files/asterisk.sh.in b/net/asterisk16/files/asterisk.sh.in
index 42738b451fa2..3774209eefe1 100644
--- a/net/asterisk16/files/asterisk.sh.in
+++ b/net/asterisk16/files/asterisk.sh.in
@@ -17,9 +17,10 @@ rcvar=`set_rcvar`
command=%%PREFIX%%/sbin/asterisk
+load_rc_config $name
+
pidfile=${asterisk_pidfile:-"/var/run/asterisk.pid"}
asterisk_enable=${asterisk_enable:-"NO"}
-load_rc_config $name
run_rc_command "$1"