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
commit5c592c2fee7440cb2e81ec7fb0c1b6b53e2d980e (patch)
tree3c55e71d61b9cc59a2aafa4c1b34245ed1e0fbe9 /net-voip/openmcu
parentMark 0.12.5 stable on ia64. #139612 (diff)
downloadhistorical-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')
-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..0561b8a3b7a9
--- /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 270 RMD160 e8ff0c18fa9a4431f9d77dc0ccf9bcc377cf551f SHA1 d9a04ef91c8995f5bb531632e46ca96d72ae2b30 SHA256 022f80e713fb7adaa8a300a1c14926ccf2c3c65415d6b79e5eaa70c7eb83d6e4
+MD5 6a87514722c487519d76febf8b576489 files/openmcu.confd 270
+RMD160 e8ff0c18fa9a4431f9d77dc0ccf9bcc377cf551f files/openmcu.confd 270
+SHA256 022f80e713fb7adaa8a300a1c14926ccf2c3c65415d6b79e5eaa70c7eb83d6e4 files/openmcu.confd 270
+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 647 RMD160 82f3a20beee9e7c7208cc215fe609db5caba6765 SHA1 188c8df0dac439a83bf6e5a27c613b89b09d3c29 SHA256 7db477e8e2d6e81dfa056592e970b18245debd06dbf6f7c0a0f88e22f3866253
+MD5 145db51abb949fe99e0b4ae9f7b85255 files/openmcu.rc6 647
+RMD160 82f3a20beee9e7c7208cc215fe609db5caba6765 files/openmcu.rc6 647
+SHA256 7db477e8e2d6e81dfa056592e970b18245debd06dbf6f7c0a0f88e22f3866253 files/openmcu.rc6 647
+DIST openmcu-v2_2_0-src-tar.gz 99878 RMD160 960ea34b950d0401412cc4b50f14cf54d2bae086 SHA1 b56176ed99e7d38548e173d8b4f98e6cea326588 SHA256 8295ae53b6fbd3eda1dfcc46831f7ef39ec00952713dada5380b3a4fb4f562d8
+EBUILD openmcu-2.2.0.ebuild 1676 RMD160 02fdbfbb7f2a3c846023d6fe4a77f9e0d274db53 SHA1 5c55586bb823ebb93c36fa6074a6a8282475d686 SHA256 12172cf463251116f2cca1c789794d85e4e8cb91886b21914a34d8cfd8efe0d8
+MD5 14d9681e6d74df9a8eef63261e1e98c6 openmcu-2.2.0.ebuild 1676
+RMD160 02fdbfbb7f2a3c846023d6fe4a77f9e0d274db53 openmcu-2.2.0.ebuild 1676
+SHA256 12172cf463251116f2cca1c789794d85e4e8cb91886b21914a34d8cfd8efe0d8 openmcu-2.2.0.ebuild 1676
+MISC ChangeLog 1462 RMD160 15bcbebb5e4386d0be187ae7e930b7d20bc415ba SHA1 82e9fbc55e0cae23dcd7ec74acad9ebe8f168db4 SHA256 2ae6f62ba49c84e63a7de06765c38444245676e1001e4b1d60aae1e2ef209e78
+MD5 3bcffb4784347bf384625513d902ba8b ChangeLog 1462
+RMD160 15bcbebb5e4386d0be187ae7e930b7d20bc415ba ChangeLog 1462
+SHA256 2ae6f62ba49c84e63a7de06765c38444245676e1001e4b1d60aae1e2ef209e78 ChangeLog 1462
+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\""
+}