public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-voip/openmcu/, net-voip/openmcu/files/
@ 2016-05-03 17:35 Austin English
  0 siblings, 0 replies; 2+ messages in thread
From: Austin English @ 2016-05-03 17:35 UTC (permalink / raw
  To: gentoo-commits

commit:     bb94d05c01ebab43c21ae4d1dd06a03c0681ef62
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Tue May  3 17:25:34 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Tue May  3 17:25:45 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb94d05c

net-voip/openmcu: use #!/sbin/openrc-run instead of #!/sbin/runscript

Gentoo-Bug: https://bugs.gentoo.org/573846

Also:
* fixup conf.d header
* move to EAPI 6

Package-Manager: portage-2.2.26

 net-voip/openmcu/files/openmcu.confd     |  4 +-
 net-voip/openmcu/files/openmcu.rc6       |  4 +-
 net-voip/openmcu/openmcu-2.2.5-r1.ebuild | 75 ++++++++++++++++++++++++++++++++
 3 files changed, 79 insertions(+), 4 deletions(-)

diff --git a/net-voip/openmcu/files/openmcu.confd b/net-voip/openmcu/files/openmcu.confd
index ad54bab..4ec4857 100644
--- a/net-voip/openmcu/files/openmcu.confd
+++ b/net-voip/openmcu/files/openmcu.confd
@@ -1,5 +1,5 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
+#/etc/conf.d/openmcu.confd
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 

diff --git a/net-voip/openmcu/files/openmcu.rc6 b/net-voip/openmcu/files/openmcu.rc6
index 444d5bb..70f1673 100644
--- a/net-voip/openmcu/files/openmcu.rc6
+++ b/net-voip/openmcu/files/openmcu.rc6
@@ -1,5 +1,5 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 

diff --git a/net-voip/openmcu/openmcu-2.2.5-r1.ebuild b/net-voip/openmcu/openmcu-2.2.5-r1.ebuild
new file mode 100644
index 0000000..458afbe
--- /dev/null
+++ b/net-voip/openmcu/openmcu-2.2.5-r1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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\""
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-voip/openmcu/, net-voip/openmcu/files/
@ 2018-01-26 22:52 Mikle Kolyada
  0 siblings, 0 replies; 2+ messages in thread
From: Mikle Kolyada @ 2018-01-26 22:52 UTC (permalink / raw
  To: gentoo-commits

commit:     82185e614c5f3fcfa4bd00b61f0a557745110f48
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 26 22:52:38 2018 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Fri Jan 26 22:52:38 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82185e61

net-voip/openmcu: remove last rited package

 net-voip/openmcu/Manifest                       |  1 -
 net-voip/openmcu/files/openmcu-2.2.1-path.patch | 48 ----------------
 net-voip/openmcu/files/openmcu.confd            |  5 --
 net-voip/openmcu/files/openmcu.ini              | 13 -----
 net-voip/openmcu/files/openmcu.rc6              | 20 -------
 net-voip/openmcu/metadata.xml                   |  8 ---
 net-voip/openmcu/openmcu-2.2.5-r1.ebuild        | 74 -------------------------
 7 files changed, 169 deletions(-)

diff --git a/net-voip/openmcu/Manifest b/net-voip/openmcu/Manifest
deleted file mode 100644
index 0eae86d05e5..00000000000
--- 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 48ae0364a8c..00000000000
--- 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 59b42a260c9..00000000000
--- 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 7dbdac55198..00000000000
--- 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 a62d80994db..00000000000
--- 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 26e6909bbf9..00000000000
--- 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 9b9df4d15bb..00000000000
--- 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\""
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-01-26 22:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-03 17:35 [gentoo-commits] repo/gentoo:master commit in: net-voip/openmcu/, net-voip/openmcu/files/ Austin English
  -- strict thread matches above, loose matches on Subject: below --
2018-01-26 22:52 Mikle Kolyada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox