Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-voip/openmcu/, net-voip/openmcu/files/
Date: Fri, 26 Jan 2018 22:52:49
Message-Id: 1517007158.82185e614c5f3fcfa4bd00b61f0a557745110f48.zlogene@gentoo
1 commit: 82185e614c5f3fcfa4bd00b61f0a557745110f48
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 26 22:52:38 2018 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 26 22:52:38 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82185e61
7
8 net-voip/openmcu: remove last rited package
9
10 net-voip/openmcu/Manifest | 1 -
11 net-voip/openmcu/files/openmcu-2.2.1-path.patch | 48 ----------------
12 net-voip/openmcu/files/openmcu.confd | 5 --
13 net-voip/openmcu/files/openmcu.ini | 13 -----
14 net-voip/openmcu/files/openmcu.rc6 | 20 -------
15 net-voip/openmcu/metadata.xml | 8 ---
16 net-voip/openmcu/openmcu-2.2.5-r1.ebuild | 74 -------------------------
17 7 files changed, 169 deletions(-)
18
19 diff --git a/net-voip/openmcu/Manifest b/net-voip/openmcu/Manifest
20 deleted file mode 100644
21 index 0eae86d05e5..00000000000
22 --- a/net-voip/openmcu/Manifest
23 +++ /dev/null
24 @@ -1 +0,0 @@
25 -DIST h323plus-app-v1_23_0.tar.gz 610103 BLAKE2B 18b56a0f0454e3c0cd0473c4819f0ae280f955d6adb6bc3645defafd6b7edde71134b7744569924a755cac823f3e7a5af178c4b832fa2610081fa975579da564 SHA512 cdb9c587cc857c64440fc9f9d8e1a08e2c9ae00c2070a8d4678e65ca951124c1b4423c24cf795c3f810bd4694f05536b981ca20377755a2c19908de56498dbd0
26
27 diff --git a/net-voip/openmcu/files/openmcu-2.2.1-path.patch b/net-voip/openmcu/files/openmcu-2.2.1-path.patch
28 deleted file mode 100644
29 index 48ae0364a8c..00000000000
30 --- a/net-voip/openmcu/files/openmcu-2.2.1-path.patch
31 +++ /dev/null
32 @@ -1,48 +0,0 @@
33 -diff -u openmcu_v2_2_1.orig/main.cxx openmcu_v2_2_1/main.cxx
34 ---- openmcu_v2_2_1.orig/main.cxx 2006-06-09 00:39:59.000000000 -0400
35 -+++ openmcu_v2_2_1/main.cxx 2009-02-10 23:09:49.000000000 -0500
36 -@@ -54,9 +54,9 @@
37 - #include <ptlib.h>
38 - #include "mcu.h"
39 -
40 --static const char DefaultConnectingWAVFile[] = "connecting.wav";
41 --static const char DefaultEnteringWAVFile[] = "entering.wav";
42 --static const char DefaultLeavingWAVFile[] = "leaving.wav";
43 -+static const char DefaultConnectingWAVFile[] = "/usr/share/openmcu/sounds/connecting.wav";
44 -+static const char DefaultEnteringWAVFile[] = "/usr/share/openmcu/sounds/entering.wav";
45 -+static const char DefaultLeavingWAVFile[] = "/usr/share/openmcu/sounds/leaving.wav";
46 -
47 - static const char ConnectingWAVFileKey[] = "Connecting WAV File";
48 - static const char EnteringWAVFileKey[] = "Entering WAV File";
49 -diff -u openmcu_v2_2_1.orig/mcu.cxx openmcu_v2_2_1/mcu.cxx
50 ---- openmcu_v2_2_1.orig/mcu.cxx 2006-07-14 01:28:01.000000000 -0400
51 -+++ openmcu_v2_2_1/mcu.cxx 2009-02-10 23:11:43.000000000 -0500
52 -@@ -83,7 +83,7 @@
53 - static const char DefaultRoomKey[] = "Default room";
54 - static const char DefaultRoomTimeLimitKey[] = "Room time limit";
55 -
56 --static const char DefaultCallLogFilename[] = "mcu_log.txt";
57 -+static const char DefaultCallLogFilename[] = "/var/log/openmcu/openmcu.log";
58 - static const char DefaultRoom[] = "room101";
59 -
60 - #if OPENMCU_VIDEO
61 -@@ -154,8 +154,8 @@
62 - #endif
63 - exeDir.Change();
64 -
65 -- httpNameSpace.AddResource(new PHTTPDirectory("data", "data"));
66 -- httpNameSpace.AddResource(new PServiceHTTPDirectory("html", "html"));
67 -+ httpNameSpace.AddResource(new PHTTPDirectory("data", "/usr/share/openmcu/data"));
68 -+ httpNameSpace.AddResource(new PServiceHTTPDirectory("html", "/usr/share/openmcu/html"));
69 -
70 - manager = CreateConferenceManager();
71 - endpoint = CreateEndPoint(*manager);
72 -@@ -229,7 +229,7 @@
73 -
74 - #if P_SSL
75 - // SSL certificate file.
76 -- PString certificateFile = cfg.GetString(HTTPCertificateFileKey, "server.pem");
77 -+ PString certificateFile = cfg.GetString(HTTPCertificateFileKey, "/etc/openmcu/server.pem");
78 - rsrc->Add(new PHTTPStringField(HTTPCertificateFileKey, 25, certificateFile));
79 - if (!SetServerCertificate(certificateFile, TRUE)) {
80 - PSYSTEMLOG(Fatal, "MCU\tCould not load certificate \"" << certificateFile << '"');
81
82 diff --git a/net-voip/openmcu/files/openmcu.confd b/net-voip/openmcu/files/openmcu.confd
83 deleted file mode 100644
84 index 59b42a260c9..00000000000
85 --- a/net-voip/openmcu/files/openmcu.confd
86 +++ /dev/null
87 @@ -1,5 +0,0 @@
88 -#/etc/conf.d/openmcu.confd
89 -# Copyright 1999-2016 Gentoo Foundation
90 -# Distributed under the terms of the GNU General Public License v2
91 -
92 -OPTIONS="-u openmcu -g openmcu"
93
94 diff --git a/net-voip/openmcu/files/openmcu.ini b/net-voip/openmcu/files/openmcu.ini
95 deleted file mode 100644
96 index 7dbdac55198..00000000000
97 --- a/net-voip/openmcu/files/openmcu.ini
98 +++ /dev/null
99 @@ -1,13 +0,0 @@
100 -[Parameters]
101 -Password=i9Vp7LN+X5Y=
102 -Log Level=2
103 -HTTP Certificate=/etc/openmcu/server.pem
104 -HTTP Port=1420
105 -Gatekeeper Mode=No gatekeeper
106 -Interface Array Size=0
107 -Default room=room101
108 -Connecting WAV File=/usr/share/openmcu/sounds/connecting.wav
109 -Entering WAV File=/usr/share/openmcu/sounds/entering.wav
110 -Leaving WAV File=/usr/share/openmcu/sounds/leaving.wav
111 -Call log filename=/var/log/openmcu/mcu_log.txt
112 -
113
114 diff --git a/net-voip/openmcu/files/openmcu.rc6 b/net-voip/openmcu/files/openmcu.rc6
115 deleted file mode 100644
116 index a62d80994db..00000000000
117 --- a/net-voip/openmcu/files/openmcu.rc6
118 +++ /dev/null
119 @@ -1,20 +0,0 @@
120 -#!/sbin/openrc-run
121 -# Copyright 1999-2016 Gentoo Foundation
122 -# Distributed under the terms of the GNU General Public License v2
123 -
124 -depend() {
125 - need net
126 -}
127 -
128 -start() {
129 - ebegin "Starting H.323 Conferencing service"
130 - start-stop-daemon --start --quiet --pidfile /var/run/openmcu/openmcu.pid \
131 - --exec /usr/sbin/openmcu -- ${OPTIONS} -d -p /var/run/openmcu/openmcu.pid -i /etc/openmcu/openmcu.ini
132 - eend $?
133 -}
134 -
135 -stop() {
136 - ebegin "Stopping H.323 Conferencing service"
137 - start-stop-daemon --stop --quiet --pidfile /var/run/openmcu/openmcu.pid
138 - eend $?
139 -}
140
141 diff --git a/net-voip/openmcu/metadata.xml b/net-voip/openmcu/metadata.xml
142 deleted file mode 100644
143 index 26e6909bbf9..00000000000
144 --- a/net-voip/openmcu/metadata.xml
145 +++ /dev/null
146 @@ -1,8 +0,0 @@
147 -<?xml version="1.0" encoding="UTF-8"?>
148 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
149 -<pkgmetadata>
150 - <!-- maintainer-needed -->
151 - <upstream>
152 - <remote-id type="sourceforge">h323plus</remote-id>
153 - </upstream>
154 -</pkgmetadata>
155
156 diff --git a/net-voip/openmcu/openmcu-2.2.5-r1.ebuild b/net-voip/openmcu/openmcu-2.2.5-r1.ebuild
157 deleted file mode 100644
158 index 9b9df4d15bb..00000000000
159 --- a/net-voip/openmcu/openmcu-2.2.5-r1.ebuild
160 +++ /dev/null
161 @@ -1,74 +0,0 @@
162 -# Copyright 1999-2016 Gentoo Foundation
163 -# Distributed under the terms of the GNU General Public License v2
164 -
165 -EAPI=6
166 -
167 -inherit user
168 -
169 -MY_PN=h323plus-app
170 -MY_PV=1_23_0
171 -DESCRIPTION="Simple Multi Conference Unit using H.323"
172 -HOMEPAGE="http://www.h323plus.org/"
173 -SRC_URI="mirror://sourceforge/h323plus/${MY_PN}-v${MY_PV}.tar.gz"
174 -
175 -LICENSE="MPL-1.0 GPL-2"
176 -SLOT="0"
177 -KEYWORDS="~amd64 ~x86"
178 -IUSE=""
179 -
180 -DEPEND="net-libs/ptlib:=
181 - net-libs/h323plus:="
182 -RDEPEND="${DEPEND}"
183 -
184 -S=${WORKDIR}/applications/${PN}
185 -
186 -src_prepare() {
187 - # set path for various files
188 - eapply "${FILESDIR}"/${PN}-2.2.1-path.patch
189 -
190 - default
191 -}
192 -
193 -src_compile() {
194 - emake OPENH323DIR=/usr/share/openh323
195 -}
196 -
197 -src_install() {
198 - dosbin obj_*_*_*/${PN}
199 -
200 - keepdir /usr/share/${PN}/data /usr/share/${PN}/html
201 -
202 - # needed for daemon
203 - keepdir /var/log/${PN} /var/run/${PN}
204 -
205 - insinto /usr/share/${PN}/sounds
206 - doins *.wav
207 -
208 - insinto /etc/${PN}
209 - doins server.pem
210 - doins "${FILESDIR}"/${PN}.ini
211 -
212 - doman ${PN}.1
213 -
214 - dodoc ReadMe.txt
215 -
216 - newinitd "${FILESDIR}"/${PN}.rc6 ${PN}
217 - newconfd "${FILESDIR}"/${PN}.confd ${PN}
218 -}
219 -
220 -pkg_preinst() {
221 - enewgroup openmcu
222 - enewuser openmcu -1 -1 /dev/null openmcu
223 -}
224 -
225 -pkg_postinst() {
226 - einfo "Setting permissions..."
227 - chown -R openmcu:openmcu "${ROOT}"etc/openmcu
228 - chmod -R u=rwX,g=rX,o= "${ROOT}"etc/openmcu
229 - chown -R openmcu:openmcu "${ROOT}"var/{log,run}/openmcu
230 - chmod -R u=rwX,g=rX,o= "${ROOT}"var/{log,run}/openmcu
231 -
232 - echo
233 - elog "This patched version of openmcu stores it's configuration"
234 - elog "in \"/etc/openmcu/openmcu.ini\""
235 -}