summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2005-05-07 18:35:35 +0000
committerStefan Knoblich <stkn@gentoo.org>2005-05-07 18:35:35 +0000
commit55593a32e0dcc72a191fce91d5034259d20bd8b1 (patch)
tree3b315de992de05eaa9f9a8aefaf73188649a2da9 /net-misc/asterisk/files
parentFixes bug #88732, changing device permissions to root:dialup rw-rw----, updat... (diff)
downloadgentoo-2-55593a32e0dcc72a191fce91d5034259d20bd8b1.tar.gz
gentoo-2-55593a32e0dcc72a191fce91d5034259d20bd8b1.tar.bz2
gentoo-2-55593a32e0dcc72a191fce91d5034259d20bd8b1.zip
Fixes bug #88732, see ChangeLog for details, masked for testing
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-misc/asterisk/files')
-rw-r--r--net-misc/asterisk/files/1.0.0/asterisk.confd.sec28
-rw-r--r--net-misc/asterisk/files/1.0.0/asterisk.rc6.sec28
-rw-r--r--net-misc/asterisk/files/digest-asterisk-1.0.7-r13
3 files changed, 59 insertions, 0 deletions
diff --git a/net-misc/asterisk/files/1.0.0/asterisk.confd.sec b/net-misc/asterisk/files/1.0.0/asterisk.confd.sec
new file mode 100644
index 000000000000..7fc2a3413b85
--- /dev/null
+++ b/net-misc/asterisk/files/1.0.0/asterisk.confd.sec
@@ -0,0 +1,28 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/files/1.0.0/asterisk.confd.sec,v 1.1 2005/05/07 18:35:35 stkn Exp $
+
+depend() {
+ need net logger
+ after zaptel
+}
+
+start() {
+ if [[ -n "${ASTERISK_USER}" ]]; then
+ ebegin "Starting asterisk PBX (as ${ASTERISK_USER})"
+ start-stop-daemon --start --exec /usr/sbin/asterisk \
+ --chuid ${ASTERISK_USER} -- ${ASTERISK_OPTS}
+ else
+ ebegin "Starting asterisk PBX (as root)"
+ start-stop-daemon --start --exec /usr/sbin/asterisk -- \
+ ${ASTERISK_OPTS}
+ fi
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping asterisk PBX"
+ start-stop-daemon --stop --pidfile /var/run/asterisk/asterisk.pid
+ eend $?
+}
diff --git a/net-misc/asterisk/files/1.0.0/asterisk.rc6.sec b/net-misc/asterisk/files/1.0.0/asterisk.rc6.sec
new file mode 100644
index 000000000000..6ab451443ac9
--- /dev/null
+++ b/net-misc/asterisk/files/1.0.0/asterisk.rc6.sec
@@ -0,0 +1,28 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/files/1.0.0/asterisk.rc6.sec,v 1.1 2005/05/07 18:35:35 stkn Exp $
+
+depend() {
+ need net logger
+ after zaptel
+}
+
+start() {
+ if [[ -n "${ASTERISK_USER}" ]]; then
+ ebegin "Starting asterisk PBX (as ${ASTERISK_USER})"
+ start-stop-daemon --start --exec /usr/sbin/asterisk \
+ --chuid ${ASTERISK_USER} -- ${ASTERISK_OPTS}
+ else
+ ebegin "Starting asterisk PBX (as root)"
+ start-stop-daemon --start --exec /usr/sbin/asterisk -- \
+ ${ASTERISK_OPTS}
+ fi
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping asterisk PBX"
+ start-stop-daemon --stop --pidfile /var/run/asterisk/asterisk.pid
+ eend $?
+}
diff --git a/net-misc/asterisk/files/digest-asterisk-1.0.7-r1 b/net-misc/asterisk/files/digest-asterisk-1.0.7-r1
new file mode 100644
index 000000000000..ac1f0a860719
--- /dev/null
+++ b/net-misc/asterisk/files/digest-asterisk-1.0.7-r1
@@ -0,0 +1,3 @@
+MD5 4cc3c1e4a1b12e0e4c748326ad153291 asterisk-1.0.7.tar.gz 9591705
+MD5 e2a94a7c2e97de18b3cdc4dd42709c11 asterisk-addons-1.0.7.tar.gz 73646
+MD5 8029d465ffc1ae8fb076a6b7198da03c bristuff-0.2.0-RC8a.tar.gz 133171