diff options
author | Stefan Knoblich <stkn@gentoo.org> | 2003-10-24 19:30:23 +0000 |
---|---|---|
committer | Stefan Knoblich <stkn@gentoo.org> | 2003-10-24 19:30:23 +0000 |
commit | a2c10fb51f427a2509dfef137e274e81f54fdfd9 (patch) | |
tree | 4870f1269e83c9f7671293bd3fb1e9aec53a8a49 /net-im/openmcu/files | |
parent | new upstream (diff) | |
download | gentoo-2-a2c10fb51f427a2509dfef137e274e81f54fdfd9.tar.gz gentoo-2-a2c10fb51f427a2509dfef137e274e81f54fdfd9.tar.bz2 gentoo-2-a2c10fb51f427a2509dfef137e274e81f54fdfd9.zip |
ebuild completely rewritten to fix bug #31384, new maintainer
Diffstat (limited to 'net-im/openmcu/files')
-rw-r--r-- | net-im/openmcu/files/openmcu-1.1.7-include.diff | 11 | ||||
-rw-r--r-- | net-im/openmcu/files/openmcu-1.1.7-log-config.diff | 20 | ||||
-rw-r--r-- | net-im/openmcu/files/openmcu.confd | 6 | ||||
-rw-r--r-- | net-im/openmcu/files/openmcu.rc6 | 21 |
4 files changed, 58 insertions, 0 deletions
diff --git a/net-im/openmcu/files/openmcu-1.1.7-include.diff b/net-im/openmcu/files/openmcu-1.1.7-include.diff new file mode 100644 index 000000000000..58222283acc0 --- /dev/null +++ b/net-im/openmcu/files/openmcu-1.1.7-include.diff @@ -0,0 +1,11 @@ +--- openmcu/main.cxx.ori 2003-08-29 01:11:34.000000000 +0200 ++++ openmcu/main.cxx 2003-08-29 01:11:58.000000000 +0200 +@@ -261,7 +261,7 @@ + #include "speexcodec.h" + #ifndef NO_VIDEO + #include "h261codec.h" +-#include "videoio.h" ++#include <ptlib/videoio.h> + #endif + #include "main.h" + diff --git a/net-im/openmcu/files/openmcu-1.1.7-log-config.diff b/net-im/openmcu/files/openmcu-1.1.7-log-config.diff new file mode 100644 index 000000000000..c13c0039387d --- /dev/null +++ b/net-im/openmcu/files/openmcu-1.1.7-log-config.diff @@ -0,0 +1,20 @@ +--- openmcu/main.cxx.orig 2003-10-20 23:38:28.000000000 +0200 ++++ openmcu/main.cxx 2003-10-20 23:40:25.000000000 +0200 +@@ -286,7 +286,7 @@ + + /////////////////////////////////////////////////////////////// + #ifdef LOGGING +-static PString DEFAULT_CALL_LOG = "c:\\mcu_log.txt"; ++static PString DEFAULT_CALL_LOG = "/var/log/openmcu/call.log"; + static PMutex logMutex; + static PTextFile logFile; + static PFilePath logFilename = DEFAULT_CALL_LOG; +@@ -340,6 +340,8 @@ + : PProcess("OpenH323 Project", "OpenMCU", + MAJOR_VERSION, MINOR_VERSION, BUILD_TYPE, BUILD_NUMBER) + { ++ // set location of configuration file ++ SetConfigurationPath("/etc/openmcu.ini"); + } + + diff --git a/net-im/openmcu/files/openmcu.confd b/net-im/openmcu/files/openmcu.confd new file mode 100644 index 000000000000..a8b1d5a16222 --- /dev/null +++ b/net-im/openmcu/files/openmcu.confd @@ -0,0 +1,6 @@ +#!/sbin/runscript +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-im/openmcu/files/openmcu.confd,v 1.1 2003/10/24 19:30:17 stkn Exp $ + +OPTIONS="--disable-menu" diff --git a/net-im/openmcu/files/openmcu.rc6 b/net-im/openmcu/files/openmcu.rc6 new file mode 100644 index 000000000000..f82a950c9507 --- /dev/null +++ b/net-im/openmcu/files/openmcu.rc6 @@ -0,0 +1,21 @@ +#!/sbin/runscript +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-im/openmcu/files/openmcu.rc6,v 1.1 2003/10/24 19:30:17 stkn Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting H.323 Conferencing service" + start-stop-daemon --start --quiet --pidfile /var/run/openmcu.pid \ + -b -m --exec /usr/sbin/openmcu -- ${OPTIONS} + eend $? +} + +stop() { + ebegin "Stopping H.323 Conferencing service" + start-stop-daemon --stop --quiet --pidfile /var/run/openmcu.pid + eend $? +} |