diff options
author | 2006-09-14 01:03:20 +0000 | |
---|---|---|
committer | 2006-09-14 01:03:20 +0000 | |
commit | 5c592c2fee7440cb2e81ec7fb0c1b6b53e2d980e (patch) | |
tree | 3c55e71d61b9cc59a2aafa4c1b34245ed1e0fbe9 /net-voip/openmcu/files | |
parent | Mark 0.12.5 stable on ia64. #139612 (diff) | |
download | historical-5c592c2fee7440cb2e81ec7fb0c1b6b53e2d980e.tar.gz historical-5c592c2fee7440cb2e81ec7fb0c1b6b53e2d980e.tar.bz2 historical-5c592c2fee7440cb2e81ec7fb0c1b6b53e2d980e.zip |
moved from net-im, version bump
Package-Manager: portage-2.1.1
Diffstat (limited to 'net-voip/openmcu/files')
-rw-r--r-- | net-voip/openmcu/files/digest-openmcu-2.2.0 | 3 | ||||
-rw-r--r-- | net-voip/openmcu/files/openmcu-2.2.0-gentoo.diff | 49 | ||||
-rw-r--r-- | net-voip/openmcu/files/openmcu.confd | 6 | ||||
-rw-r--r-- | net-voip/openmcu/files/openmcu.ini | 13 | ||||
-rw-r--r-- | net-voip/openmcu/files/openmcu.rc6 | 21 |
5 files changed, 92 insertions, 0 deletions
diff --git a/net-voip/openmcu/files/digest-openmcu-2.2.0 b/net-voip/openmcu/files/digest-openmcu-2.2.0 new file mode 100644 index 000000000000..5fec8afb5f10 --- /dev/null +++ b/net-voip/openmcu/files/digest-openmcu-2.2.0 @@ -0,0 +1,3 @@ +MD5 0824c34a5fb414250d4ec66c8eb7ce3f openmcu-v2_2_0-src-tar.gz 99878 +RMD160 960ea34b950d0401412cc4b50f14cf54d2bae086 openmcu-v2_2_0-src-tar.gz 99878 +SHA256 8295ae53b6fbd3eda1dfcc46831f7ef39ec00952713dada5380b3a4fb4f562d8 openmcu-v2_2_0-src-tar.gz 99878 diff --git a/net-voip/openmcu/files/openmcu-2.2.0-gentoo.diff b/net-voip/openmcu/files/openmcu-2.2.0-gentoo.diff new file mode 100644 index 000000000000..03ffe2963284 --- /dev/null +++ b/net-voip/openmcu/files/openmcu-2.2.0-gentoo.diff @@ -0,0 +1,49 @@ +diff -u openmcu_v2_2_0.orig/main.cxx openmcu_v2_2_0/main.cxx +--- openmcu_v2_2_0.orig/main.cxx 2006-09-14 02:05:07.000000000 +0200 ++++ openmcu_v2_2_0/main.cxx 2006-09-14 02:05:39.000000000 +0200 +@@ -54,9 +54,9 @@ + #include <ptlib.h> + #include "mcu.h" + +-static const char DefaultConnectingWAVFile[] = "connecting.wav"; +-static const char DefaultEnteringWAVFile[] = "entering.wav"; +-static const char DefaultLeavingWAVFile[] = "leaving.wav"; ++static const char DefaultConnectingWAVFile[] = "/usr/share/openmcu/sounds/connecting.wav"; ++static const char DefaultEnteringWAVFile[] = "/usr/share/openmcu/sounds/entering.wav"; ++static const char DefaultLeavingWAVFile[] = "/usr/share/openmcu/sounds/leaving.wav"; + + static const char ConnectingWAVFileKey[] = "Connecting WAV File"; + static const char EnteringWAVFileKey[] = "Entering WAV File"; +Only in openmcu_v2_2_0.orig: main.cxx.orig +diff -u openmcu_v2_2_0.orig/mcu.cxx openmcu_v2_2_0/mcu.cxx +--- openmcu_v2_2_0.orig/mcu.cxx 2006-09-14 02:06:59.000000000 +0200 ++++ openmcu_v2_2_0/mcu.cxx 2006-09-14 02:09:25.000000000 +0200 +@@ -80,7 +80,7 @@ + static const char DefaultRoomKey[] = "Default room"; + static const char DefaultRoomTimeLimitKey[] = "Room time limit"; + +-static const char DefaultCallLogFilename[] = "mcu_log.txt"; ++static const char DefaultCallLogFilename[] = "/var/log/openmcu/mcu_log.txt"; + static const char DefaultRoom[] = "room101"; + + #if OPENMCU_VIDEO +@@ -151,8 +151,8 @@ + #endif + exeDir.Change(); + +- httpNameSpace.AddResource(new PHTTPDirectory("data", "data")); +- httpNameSpace.AddResource(new PServiceHTTPDirectory("html", "html")); ++ httpNameSpace.AddResource(new PHTTPDirectory("data", "/usr/share/openmcu/data")); ++ httpNameSpace.AddResource(new PServiceHTTPDirectory("html", "/usr/share/openmcu/html")); + + manager = CreateConferenceManager(); + endpoint = CreateEndPoint(*manager); +@@ -226,7 +226,7 @@ + + #if P_SSL + // SSL certificate file. +- PString certificateFile = cfg.GetString(HTTPCertificateFileKey, "server.pem"); ++ PString certificateFile = cfg.GetString(HTTPCertificateFileKey, "/etc/openmcu/server.pem"); + rsrc->Add(new PHTTPStringField(HTTPCertificateFileKey, 25, certificateFile)); + if (!SetServerCertificate(certificateFile, TRUE)) { + PSYSTEMLOG(Fatal, "BMAC\tCould not load certificate \"" << certificateFile << '"'); diff --git a/net-voip/openmcu/files/openmcu.confd b/net-voip/openmcu/files/openmcu.confd new file mode 100644 index 000000000000..2e541d015672 --- /dev/null +++ b/net-voip/openmcu/files/openmcu.confd @@ -0,0 +1,6 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-voip/openmcu/files/openmcu.confd,v 1.1 2006/09/14 01:03:20 genstef Exp $ + +OPTIONS="-u openmcu -g openmcu" diff --git a/net-voip/openmcu/files/openmcu.ini b/net-voip/openmcu/files/openmcu.ini new file mode 100644 index 000000000000..7dbdac551989 --- /dev/null +++ b/net-voip/openmcu/files/openmcu.ini @@ -0,0 +1,13 @@ +[Parameters] +Password=i9Vp7LN+X5Y= +Log Level=2 +HTTP Certificate=/etc/openmcu/server.pem +HTTP Port=1420 +Gatekeeper Mode=No gatekeeper +Interface Array Size=0 +Default room=room101 +Connecting WAV File=/usr/share/openmcu/sounds/connecting.wav +Entering WAV File=/usr/share/openmcu/sounds/entering.wav +Leaving WAV File=/usr/share/openmcu/sounds/leaving.wav +Call log filename=/var/log/openmcu/mcu_log.txt + diff --git a/net-voip/openmcu/files/openmcu.rc6 b/net-voip/openmcu/files/openmcu.rc6 new file mode 100644 index 000000000000..70bcdefe1364 --- /dev/null +++ b/net-voip/openmcu/files/openmcu.rc6 @@ -0,0 +1,21 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-voip/openmcu/files/openmcu.rc6,v 1.1 2006/09/14 01:03:20 genstef Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting H.323 Conferencing service" + start-stop-daemon --start --quiet --pidfile /var/run/openmcu/openmcu.pid \ + --exec /usr/sbin/openmcu -- ${OPTIONS} -d -p /var/run/openmcu/openmcu.pid -i /etc/openmcu/openmcu.ini + eend $? +} + +stop() { + ebegin "Stopping H.323 Conferencing service" + start-stop-daemon --stop --quiet --pidfile /var/run/openmcu/openmcu.pid + eend $? +} |