summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-voip/openmcu/Manifest1
-rw-r--r--net-voip/openmcu/files/openmcu-2.2.1-path.patch48
-rw-r--r--net-voip/openmcu/files/openmcu.confd5
-rw-r--r--net-voip/openmcu/files/openmcu.ini13
-rw-r--r--net-voip/openmcu/files/openmcu.rc620
-rw-r--r--net-voip/openmcu/metadata.xml8
-rw-r--r--net-voip/openmcu/openmcu-2.2.5-r1.ebuild74
7 files changed, 0 insertions, 169 deletions
diff --git a/net-voip/openmcu/Manifest b/net-voip/openmcu/Manifest
deleted file mode 100644
index 0eae86d05e52..000000000000
--- a/net-voip/openmcu/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST h323plus-app-v1_23_0.tar.gz 610103 BLAKE2B 18b56a0f0454e3c0cd0473c4819f0ae280f955d6adb6bc3645defafd6b7edde71134b7744569924a755cac823f3e7a5af178c4b832fa2610081fa975579da564 SHA512 cdb9c587cc857c64440fc9f9d8e1a08e2c9ae00c2070a8d4678e65ca951124c1b4423c24cf795c3f810bd4694f05536b981ca20377755a2c19908de56498dbd0
diff --git a/net-voip/openmcu/files/openmcu-2.2.1-path.patch b/net-voip/openmcu/files/openmcu-2.2.1-path.patch
deleted file mode 100644
index 48ae0364a8c6..000000000000
--- a/net-voip/openmcu/files/openmcu-2.2.1-path.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-diff -u openmcu_v2_2_1.orig/main.cxx openmcu_v2_2_1/main.cxx
---- openmcu_v2_2_1.orig/main.cxx 2006-06-09 00:39:59.000000000 -0400
-+++ openmcu_v2_2_1/main.cxx 2009-02-10 23:09:49.000000000 -0500
-@@ -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";
-diff -u openmcu_v2_2_1.orig/mcu.cxx openmcu_v2_2_1/mcu.cxx
---- openmcu_v2_2_1.orig/mcu.cxx 2006-07-14 01:28:01.000000000 -0400
-+++ openmcu_v2_2_1/mcu.cxx 2009-02-10 23:11:43.000000000 -0500
-@@ -83,7 +83,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/openmcu.log";
- static const char DefaultRoom[] = "room101";
-
- #if OPENMCU_VIDEO
-@@ -154,8 +154,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);
-@@ -229,7 +229,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, "MCU\tCould not load certificate \"" << certificateFile << '"');
diff --git a/net-voip/openmcu/files/openmcu.confd b/net-voip/openmcu/files/openmcu.confd
deleted file mode 100644
index 59b42a260c91..000000000000
--- a/net-voip/openmcu/files/openmcu.confd
+++ /dev/null
@@ -1,5 +0,0 @@
-#/etc/conf.d/openmcu.confd
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-OPTIONS="-u openmcu -g openmcu"
diff --git a/net-voip/openmcu/files/openmcu.ini b/net-voip/openmcu/files/openmcu.ini
deleted file mode 100644
index 7dbdac551989..000000000000
--- a/net-voip/openmcu/files/openmcu.ini
+++ /dev/null
@@ -1,13 +0,0 @@
-[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
deleted file mode 100644
index a62d80994db5..000000000000
--- a/net-voip/openmcu/files/openmcu.rc6
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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
deleted file mode 100644
index 26e6909bbf92..000000000000
--- a/net-voip/openmcu/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="sourceforge">h323plus</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-voip/openmcu/openmcu-2.2.5-r1.ebuild b/net-voip/openmcu/openmcu-2.2.5-r1.ebuild
deleted file mode 100644
index 9b9df4d15bbf..000000000000
--- a/net-voip/openmcu/openmcu-2.2.5-r1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit user
-
-MY_PN=h323plus-app
-MY_PV=1_23_0
-DESCRIPTION="Simple Multi Conference Unit using H.323"
-HOMEPAGE="http://www.h323plus.org/"
-SRC_URI="mirror://sourceforge/h323plus/${MY_PN}-v${MY_PV}.tar.gz"
-
-LICENSE="MPL-1.0 GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="net-libs/ptlib:=
- net-libs/h323plus:="
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/applications/${PN}
-
-src_prepare() {
- # set path for various files
- eapply "${FILESDIR}"/${PN}-2.2.1-path.patch
-
- default
-}
-
-src_compile() {
- emake OPENH323DIR=/usr/share/openh323
-}
-
-src_install() {
- dosbin obj_*_*_*/${PN}
-
- keepdir /usr/share/${PN}/data /usr/share/${PN}/html
-
- # needed for daemon
- keepdir /var/log/${PN} /var/run/${PN}
-
- insinto /usr/share/${PN}/sounds
- doins *.wav
-
- insinto /etc/${PN}
- doins server.pem
- doins "${FILESDIR}"/${PN}.ini
-
- doman ${PN}.1
-
- dodoc ReadMe.txt
-
- newinitd "${FILESDIR}"/${PN}.rc6 ${PN}
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
-}
-
-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
- elog "This patched version of openmcu stores it's configuration"
- elog "in \"/etc/openmcu/openmcu.ini\""
-}