diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2009-02-13 05:22:23 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2009-02-13 05:22:23 +0000 |
commit | 1cdcc3f3c7cb9ba5af0b2e79fd2c846eb020746c (patch) | |
tree | 59ba215782fbbba3b95aee486779cb86aab4def3 /net-voip | |
parent | stable amd64, bug 258247 (diff) | |
download | historical-1cdcc3f3c7cb9ba5af0b2e79fd2c846eb020746c.tar.gz historical-1cdcc3f3c7cb9ba5af0b2e79fd2c846eb020746c.tar.bz2 historical-1cdcc3f3c7cb9ba5af0b2e79fd2c846eb020746c.zip |
version bump by Mounir Lamouri, bug 174527
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'net-voip')
-rw-r--r-- | net-voip/openmcu/ChangeLog | 11 | ||||
-rw-r--r-- | net-voip/openmcu/Manifest | 16 | ||||
-rw-r--r-- | net-voip/openmcu/files/openmcu-2.2.1-deque.patch | 10 | ||||
-rw-r--r-- | net-voip/openmcu/files/openmcu-2.2.1-path.patch | 48 | ||||
-rw-r--r-- | net-voip/openmcu/openmcu-2.2.1.ebuild | 74 |
5 files changed, 146 insertions, 13 deletions
diff --git a/net-voip/openmcu/ChangeLog b/net-voip/openmcu/ChangeLog index 0eacefd156cd..ab968dcfa1f5 100644 --- a/net-voip/openmcu/ChangeLog +++ b/net-voip/openmcu/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-voip/openmcu -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-voip/openmcu/ChangeLog,v 1.3 2008/08/16 16:24:17 tove Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-voip/openmcu/ChangeLog,v 1.4 2009/02/13 05:22:23 darkside Exp $ + +*openmcu-2.2.1 (13 Feb 2009) + + 13 Feb 2009; Jeremy Olexa <darkside@gentoo.org> + +files/openmcu-2.2.1-deque.patch, +files/openmcu-2.2.1-path.patch, + +openmcu-2.2.1.ebuild: + version bump by Mounir Lamouri, bug 174527 16 Aug 2008; Torsten Veller <tove@gentoo.org> metadata.xml: Remove stkn from metadata.xml (#27693) diff --git a/net-voip/openmcu/Manifest b/net-voip/openmcu/Manifest index 1db9199fa770..6f1e546e1eff 100644 --- a/net-voip/openmcu/Manifest +++ b/net-voip/openmcu/Manifest @@ -1,18 +1,12 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX openmcu-2.2.0-gentoo.diff 2365 RMD160 4c66012ac13d65650822a8af21819632e4228ff3 SHA1 bd0498f17df21c2eaa51d8da14f7bd49da3d8ceb SHA256 a7ad4c946eb7db7943cc72b8715866f2d0546c95e458d3ab07935307da3fc3bd +AUX openmcu-2.2.1-deque.patch 250 RMD160 a1ccb08484bc0e9bb268f78ec8867fc2cdc0d66c SHA1 0cffdbc821de0fa8d9cf131bf1ed906216c1993a SHA256 4e4f6ead67d378d690e70d40ecb3c37743c9251711a028c22fe1282778767fff +AUX openmcu-2.2.1-path.patch 2321 RMD160 da3870780b8a9ed5bc25d86a3701b97a24cda981 SHA1 5d06996c1682af5cce15c39ccfce743cb1a37f6d SHA256 693d1de2c3ec86742230a044925263189b08d7d32e6ac10ce73826b4cb51eb66 AUX openmcu.confd 270 RMD160 e8ff0c18fa9a4431f9d77dc0ccf9bcc377cf551f SHA1 d9a04ef91c8995f5bb531632e46ca96d72ae2b30 SHA256 022f80e713fb7adaa8a300a1c14926ccf2c3c65415d6b79e5eaa70c7eb83d6e4 AUX openmcu.ini 398 RMD160 5f90a5c19905216413772fd6249ea70a7d6ca5f1 SHA1 d46d2375c0a3b0b28da664c7ef7d91ac693b0b4a SHA256 5ee5bf6327fa286b847d7d8d5ccd6bfb3effc1a20f82ebfda3a6be35d521a5fe AUX openmcu.rc6 647 RMD160 82f3a20beee9e7c7208cc215fe609db5caba6765 SHA1 188c8df0dac439a83bf6e5a27c613b89b09d3c29 SHA256 7db477e8e2d6e81dfa056592e970b18245debd06dbf6f7c0a0f88e22f3866253 DIST openmcu-v2_2_0-src-tar.gz 99878 RMD160 960ea34b950d0401412cc4b50f14cf54d2bae086 SHA1 b56176ed99e7d38548e173d8b4f98e6cea326588 SHA256 8295ae53b6fbd3eda1dfcc46831f7ef39ec00952713dada5380b3a4fb4f562d8 +DIST openmcu-v2_2_1-src.tar.gz 155199 RMD160 4659db77bf25736ea9f134675896e67010d63ea6 SHA1 8a43a327aa44077d898fb33f7380006c55ff1246 SHA256 09d7b3f897fa5b76024753f53828f5596c39757b372b55a55b8893d1ae63796a EBUILD openmcu-2.2.0.ebuild 1673 RMD160 79d79537c6442b40408017d9f9554ccf5869cdff SHA1 812088a1eebe3d3f84b863a50ddf08cef7d2bcf7 SHA256 cd44c7f9e5e58698d89f69aa179e016a58e9c0780d95338cba62327bb8a368c3 -MISC ChangeLog 1654 RMD160 68fe18189ea87b91c12d3c4a653c3db8f35fec80 SHA1 81772e2874e5a9ba2fe48f8960abaafebab70b11 SHA256 c5e37f36f68637db43449a1a3feebd8007a08ebf9ca872f3af65216e0c3b3d22 +EBUILD openmcu-2.2.1.ebuild 1883 RMD160 2a631284c54eae0cc47e0134a99ae706936868f1 SHA1 da713a6420854280ee2ed8c106368702e212b413 SHA256 ccf3f3d463a6a0c1e50bb00f509dce9e0ac1aaeea05314626c0800790df0bebc +MISC ChangeLog 1878 RMD160 cd82a1cc01d1de2799f3cb2d6d5c02badca0b0bd SHA1 190db248b2870ddc4a9d5d06a7915f931cfc2506 SHA256 68d2739dcf2240a750ee970a5c3dc030c4590e9a967bd5a426ea2fdf6d432a69 MISC metadata.xml 159 RMD160 1cb780cd4240aaeb1b22a09a786b8ed4b0803823 SHA1 c96c65dcb37a559953bf3446b6719b0cac3585a8 SHA256 6831e631b05a25ddae6c3e148d49b98877ee1dd318185a0c95f3cad8a89bf34d ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) - -iEYEARECAAYFAkim/yUACgkQV3J2n04EauwFHACg3Gny6f1qCG63Sc61J7u48nRs -NUUAn23tH/8xnJMqbGkqSMo4FIBkcEZU -=wfz4 ------END PGP SIGNATURE----- diff --git a/net-voip/openmcu/files/openmcu-2.2.1-deque.patch b/net-voip/openmcu/files/openmcu-2.2.1-deque.patch new file mode 100644 index 000000000000..742d35a8c17c --- /dev/null +++ b/net-voip/openmcu/files/openmcu-2.2.1-deque.patch @@ -0,0 +1,10 @@ +--- filemembers.h.old 2009-02-10 22:48:49.000000000 -0500 ++++ filemembers.h 2009-02-10 22:49:00.000000000 -0500 +@@ -80,6 +80,7 @@ + + #include "config.h" + ++#include <deque> + #include <ptlib/sound.h> + #include <opalwavfile.h> + #include "conference.h" diff --git a/net-voip/openmcu/files/openmcu-2.2.1-path.patch b/net-voip/openmcu/files/openmcu-2.2.1-path.patch new file mode 100644 index 000000000000..48ae0364a8c6 --- /dev/null +++ b/net-voip/openmcu/files/openmcu-2.2.1-path.patch @@ -0,0 +1,48 @@ +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/openmcu-2.2.1.ebuild b/net-voip/openmcu/openmcu-2.2.1.ebuild new file mode 100644 index 000000000000..ee56c831bc86 --- /dev/null +++ b/net-voip/openmcu/openmcu-2.2.1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-voip/openmcu/openmcu-2.2.1.ebuild,v 1.1 2009/02/13 05:22:23 darkside Exp $ + +EAPI="2" + +inherit eutils + +MY_PV=${PV//./_} +DESCRIPTION="Simple Multi Conference Unit using H.323" +# http://www.openh323.org/ looks dead +HOMEPAGE="http://sourceforge.net/projects/openh323/" +SRC_URI="mirror://sourceforge/openh323/${PN}-v${MY_PV}-src.tar.gz" + +LICENSE="MPL-1.0" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="net-libs/openh323" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${PN}_v${MY_PV} + +src_prepare() { + # fix a compile error due to missing include + epatch "${FILESDIR}"/${P}-deque.patch + # set path for various files + epatch "${FILESDIR}"/${P}-path.patch +} + +src_compile() { + OPENH323DIR=/usr/share/openh323 emake opt || die "emake failed" +} + +src_install() { + dosbin obj_*_*_*/${PN} || die "dosbin failed" + + 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 || die "doins wav files failed" + + insinto /etc/${PN} + doins server.pem || die "doins server.pem failed" + doins "${FILESDIR}"/${PN}.ini || die "doins ini file failed" + + doman ${PN}.1 || die "doman failed" + + dodoc ChangeLog ReadMe.txt || die "dodoc failed" + + 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\"" +} |