summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-09-14 01:03:20 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-09-14 01:03:20 +0000
commit534eec14770849610b2015c66909207131c769d8 (patch)
treed33a666219016947566f304519910bd23895c4be /net-voip/openmcu
parentMark 0.12.5 stable on ia64. #139612 (diff)
downloadgentoo-2-534eec14770849610b2015c66909207131c769d8.tar.gz
gentoo-2-534eec14770849610b2015c66909207131c769d8.tar.bz2
gentoo-2-534eec14770849610b2015c66909207131c769d8.zip
moved from net-im, version bump
(Portage version: 2.1.1)
Diffstat (limited to 'net-voip/openmcu')
-rw-r--r--net-voip/openmcu/ChangeLog40
-rw-r--r--net-voip/openmcu/Manifest32
-rw-r--r--net-voip/openmcu/files/digest-openmcu-2.2.03
-rw-r--r--net-voip/openmcu/files/openmcu-2.2.0-gentoo.diff49
-rw-r--r--net-voip/openmcu/files/openmcu.confd6
-rw-r--r--net-voip/openmcu/files/openmcu.ini13
-rw-r--r--net-voip/openmcu/files/openmcu.rc621
-rw-r--r--net-voip/openmcu/metadata.xml9
-rw-r--r--net-voip/openmcu/openmcu-2.2.0.ebuild76
9 files changed, 249 insertions, 0 deletions
diff --git a/net-voip/openmcu/ChangeLog b/net-voip/openmcu/ChangeLog
new file mode 100644
index 000000000000..b2d0e987dee4
--- /dev/null
+++ b/net-voip/openmcu/ChangeLog
@@ -0,0 +1,40 @@
+# ChangeLog for net-voip/openmcu
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-voip/openmcu/ChangeLog,v 1.1 2006/09/14 01:03:20 genstef Exp $
+
+*openmcu-2.2.0 (14 Sep 2006)
+
+ 14 Sep 2006; Stefan Schweizer <genstef@gentoo.org>
+ +files/openmcu-2.2.0-gentoo.diff, +files/openmcu.confd,
+ +files/openmcu.ini, +files/openmcu.rc6, +metadata.xml,
+ +openmcu-2.2.0.ebuild:
+ moved from net-im, version bump
+
+ 28 Aug 2005; Stefan Knoblich <stkn@gentoo.org>
+ -files/openmcu-1.1.7-include.diff, -files/openmcu-1.1.7-log-config.diff,
+ -openmcu-1.1.7.ebuild:
+ Removed old version.
+
+*openmcu-2.1.0 (28 Aug 2005)
+
+ 28 Aug 2005; Stefan Knoblich <stkn@gentoo.org>
+ +files/openmcu-2.1.0-gentoo.diff, files/openmcu.confd, +files/openmcu.ini,
+ files/openmcu.rc6, +openmcu-2.1.0.ebuild:
+ New version, changed openmcu init script to use a non-root user.
+
+ 06 Sep 2004; Ciaran McCreesh <ciaranm@gentoo.org> openmcu-1.1.7.ebuild:
+ Switch to use epause and ebeep, bug #62950
+
+ 24 Oct 2003; <stkn@gentoo.org> metadata.xml, openmcu-1.1.7.ebuild,
+ files/openmcu-1.1.7-include.diff, files/openmcu-1.1.7-log-config.diff,
+ files/openmcu.confd, files/openmcu.rc6:
+ ebuild completely rewritten (fixes bug #31384), new maintainer
+
+ 17 Oct 2003; Michael Sterrett <mr_bones_@gentoo.org> openmcu-1.1.7.ebuild:
+ tidy
+
+*openmcu-1.1.7 (12 Sep 2003)
+
+ 12 Sep 2003; Michael Imhof <tantive@gentoo.org> :
+ Initial release.
+
diff --git a/net-voip/openmcu/Manifest b/net-voip/openmcu/Manifest
new file mode 100644
index 000000000000..fd24df6cb5fc
--- /dev/null
+++ b/net-voip/openmcu/Manifest
@@ -0,0 +1,32 @@
+AUX openmcu-2.2.0-gentoo.diff 2365 RMD160 4c66012ac13d65650822a8af21819632e4228ff3 SHA1 bd0498f17df21c2eaa51d8da14f7bd49da3d8ceb SHA256 a7ad4c946eb7db7943cc72b8715866f2d0546c95e458d3ab07935307da3fc3bd
+MD5 64ad279a220b1687c866c16063a4742a files/openmcu-2.2.0-gentoo.diff 2365
+RMD160 4c66012ac13d65650822a8af21819632e4228ff3 files/openmcu-2.2.0-gentoo.diff 2365
+SHA256 a7ad4c946eb7db7943cc72b8715866f2d0546c95e458d3ab07935307da3fc3bd files/openmcu-2.2.0-gentoo.diff 2365
+AUX openmcu.confd 265 RMD160 37448d06498b6aa9860f2d51c6599a2ae4d63b99 SHA1 d5a82c4f97545de623cdddebedfcb6216728b375 SHA256 727c2e83a7809a5f42e4f7044789e0a36d6bde4804045ff8937edd68d6522b69
+MD5 32c11d5ff6e5a7292a9bc7a959f40efe files/openmcu.confd 265
+RMD160 37448d06498b6aa9860f2d51c6599a2ae4d63b99 files/openmcu.confd 265
+SHA256 727c2e83a7809a5f42e4f7044789e0a36d6bde4804045ff8937edd68d6522b69 files/openmcu.confd 265
+AUX openmcu.ini 398 RMD160 5f90a5c19905216413772fd6249ea70a7d6ca5f1 SHA1 d46d2375c0a3b0b28da664c7ef7d91ac693b0b4a SHA256 5ee5bf6327fa286b847d7d8d5ccd6bfb3effc1a20f82ebfda3a6be35d521a5fe
+MD5 fe98f7771a85f59d1855fb27e50f034b files/openmcu.ini 398
+RMD160 5f90a5c19905216413772fd6249ea70a7d6ca5f1 files/openmcu.ini 398
+SHA256 5ee5bf6327fa286b847d7d8d5ccd6bfb3effc1a20f82ebfda3a6be35d521a5fe files/openmcu.ini 398
+AUX openmcu.rc6 642 RMD160 99d78a9737bf6db5f97da35e0e357d070966c4c5 SHA1 562a3a2f2f553b32a97d715268a3c71eedbec012 SHA256 2755f1a027b1916e6615217f35997e9a503ba3c3823db1b1dd83fb039b7889c5
+MD5 3c432a1a21fb30060916bde127c9bdf0 files/openmcu.rc6 642
+RMD160 99d78a9737bf6db5f97da35e0e357d070966c4c5 files/openmcu.rc6 642
+SHA256 2755f1a027b1916e6615217f35997e9a503ba3c3823db1b1dd83fb039b7889c5 files/openmcu.rc6 642
+DIST openmcu-v2_2_0-src-tar.gz 99878 RMD160 960ea34b950d0401412cc4b50f14cf54d2bae086 SHA1 b56176ed99e7d38548e173d8b4f98e6cea326588 SHA256 8295ae53b6fbd3eda1dfcc46831f7ef39ec00952713dada5380b3a4fb4f562d8
+EBUILD openmcu-2.2.0.ebuild 1671 RMD160 7a79de5e008a8e85af6246833c512bbcc5ed0ba1 SHA1 56f59e77b340563a25073993416ad7c01d0581fb SHA256 66f51f37a0c2b7948971b51d2e637bd643b6f8c86b5098493de8cb5135ae2d40
+MD5 060e94c0093b61ea04f05e075e5c4a1b openmcu-2.2.0.ebuild 1671
+RMD160 7a79de5e008a8e85af6246833c512bbcc5ed0ba1 openmcu-2.2.0.ebuild 1671
+SHA256 66f51f37a0c2b7948971b51d2e637bd643b6f8c86b5098493de8cb5135ae2d40 openmcu-2.2.0.ebuild 1671
+MISC ChangeLog 1457 RMD160 4805b44b2fb835b9d6cb0a4eaf623c9a1c3d0295 SHA1 12ab42a5602c44c35a90d61ad2b157c7f701bd04 SHA256 fceffa56969fed7e19f275e578c1a33908db5d6e9191a97ad140912b829d4245
+MD5 3830aa248aab0ab63109f15777dc509d ChangeLog 1457
+RMD160 4805b44b2fb835b9d6cb0a4eaf623c9a1c3d0295 ChangeLog 1457
+SHA256 fceffa56969fed7e19f275e578c1a33908db5d6e9191a97ad140912b829d4245 ChangeLog 1457
+MISC metadata.xml 248 RMD160 a989fff0cebc82a58a75fb3a2eec8da0712ad57e SHA1 10bea6cd152e9f0ecb627eaacc19980a9d5f5dc4 SHA256 d0e3ab77a8a7b859511b8d5fda83dc018351e6367724b097dcc13c4aa0a3ee6b
+MD5 44cf247f04cc83413fcb40ed59d0847a metadata.xml 248
+RMD160 a989fff0cebc82a58a75fb3a2eec8da0712ad57e metadata.xml 248
+SHA256 d0e3ab77a8a7b859511b8d5fda83dc018351e6367724b097dcc13c4aa0a3ee6b metadata.xml 248
+MD5 8358e837ce734d217688f48547b7c8f4 files/digest-openmcu-2.2.0 253
+RMD160 7f9f7606df4f4a3bd659b38754e996119a0b4588 files/digest-openmcu-2.2.0 253
+SHA256 9d2b34cf28ef82b3c3443e33730a9e21f12bf2ad8c4efc05097ed8e12cdee4d4 files/digest-openmcu-2.2.0 253
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 $?
+}
diff --git a/net-voip/openmcu/metadata.xml b/net-voip/openmcu/metadata.xml
new file mode 100644
index 000000000000..10f27dc5e06a
--- /dev/null
+++ b/net-voip/openmcu/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>voip</herd>
+<maintainer>
+ <email>stkn@gentoo.org</email>
+ <name>Stefan Knoblich</name>
+</maintainer>
+</pkgmetadata>
diff --git a/net-voip/openmcu/openmcu-2.2.0.ebuild b/net-voip/openmcu/openmcu-2.2.0.ebuild
new file mode 100644
index 000000000000..fa480c0261c8
--- /dev/null
+++ b/net-voip/openmcu/openmcu-2.2.0.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-voip/openmcu/openmcu-2.2.0.ebuild,v 1.1 2006/09/14 01:03:20 genstef Exp $
+
+inherit eutils
+
+IUSE=""
+
+DESCRIPTION="H.323 conferencing server"
+HOMEPAGE="http://openh323.sourceforge.net/"
+SRC_URI="mirror://sourceforge/openh323/${PN}-v${PV//./_}-src-tar.gz"
+
+S=${WORKDIR}/${PN}_v${PV//./_}
+
+SLOT="0"
+KEYWORDS="~x86"
+LICENSE="MPL-1.0"
+
+DEPEND=">=net-libs/openh323-1.15.2"
+
+src_unpack() {
+ tar -xzf ${DISTDIR}/${A} -C ${WORKDIR} || die "Unpacking failed"
+
+ # change locations of various files
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo.diff
+}
+
+src_compile() {
+
+ CFLAGS="${CFLAGS}" \
+ PWLIBDIR=/usr/share/pwlib \
+ OPENH323DIR=/usr/share/openh323 \
+ emake opt || die
+}
+
+src_install() {
+ dosbin obj_*_*_r/openmcu
+ keepdir /var/log/openmcu
+ keepdir /var/run/openmcu
+
+ for x in data html; do
+ keepdir /usr/share/openmcu/$x
+ done
+
+ insinto /usr/share/openmcu/sounds
+ doins *.wav
+
+ insinto /etc/openmcu
+ doins server.pem
+ doins ${FILESDIR}/openmcu.ini
+
+ doman openmcu.1
+ dodoc ChangeLog ReadMe.txt mpl-1.0.htm
+
+ newinitd ${FILESDIR}/openmcu.rc6 openmcu
+ newconfd ${FILESDIR}/openmcu.confd openmcu
+}
+
+pkg_preinst() {
+ enewgroup openmcu
+ enewuser openmcu -1 -1 /dev/null openmcu
+}
+
+pkg_postinst() {
+ einfo "Setting permissions..."
+ chown -R openmcu:openmcu ${ROOT}etc/openmcu
+ chmod -R u=rwX,g=rX,o= ${ROOT}etc/openmcu
+
+ chown -R openmcu:openmcu ${ROOT}var/{log,run}/openmcu
+ chmod -R u=rwX,g=rX,o= ${ROOT}var/{log,run}/openmcu
+
+ echo
+ einfo "This patched version of openmcu stores it's configuration"
+ einfo "in \"/etc/openmcu/openmcu.ini\""
+}