summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2013-06-20 09:10:39 +0000
committerLars Wendler <polynomial-c@gentoo.org>2013-06-20 09:10:39 +0000
commitbd7b67d415421c71ffccc131515d5a2b3eb8efa1 (patch)
tree615f1a98e06f4c28d0184ab7164afaf5b88cc8c1 /media-sound/umurmur
parentStable for sparc, wrt bug #473190 (diff)
downloadhistorical-bd7b67d415421c71ffccc131515d5a2b3eb8efa1.tar.gz
historical-bd7b67d415421c71ffccc131515d5a2b3eb8efa1.tar.bz2
historical-bd7b67d415421c71ffccc131515d5a2b3eb8efa1.zip
Initial commit (bug #371773)
Package-Manager: portage-2.2.0_alpha182/cvs/Linux x86_64 Manifest-Sign-Key: 0x981CA6FC
Diffstat (limited to 'media-sound/umurmur')
-rw-r--r--media-sound/umurmur/ChangeLog12
-rw-r--r--media-sound/umurmur/Manifest27
-rw-r--r--media-sound/umurmur/files/umurmur.conf58
-rw-r--r--media-sound/umurmur/files/umurmurd.confd3
-rw-r--r--media-sound/umurmur/files/umurmurd.initd19
-rw-r--r--media-sound/umurmur/metadata.xml15
-rw-r--r--media-sound/umurmur/umurmur-0.2.13.ebuild74
7 files changed, 208 insertions, 0 deletions
diff --git a/media-sound/umurmur/ChangeLog b/media-sound/umurmur/ChangeLog
new file mode 100644
index 000000000000..ca7858637cf1
--- /dev/null
+++ b/media-sound/umurmur/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for media-sound/umurmur
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/umurmur/ChangeLog,v 1.1 2013/06/20 09:10:29 polynomial-c Exp $
+
+*umurmur-0.2.13 (20 Jun 2013)
+
+ 20 Jun 2013; Lars Wendler <polynomial-c@gentoo.org> +umurmur-0.2.13.ebuild,
+ +files/umurmur.conf, +files/umurmurd.confd, +files/umurmurd.initd,
+ +metadata.xml:
+ Initial commit. This fixes bug #371773 reported by Hans Nieser who also
+ contributed various files to the bug.
+
diff --git a/media-sound/umurmur/Manifest b/media-sound/umurmur/Manifest
new file mode 100644
index 000000000000..d5e12ea5b791
--- /dev/null
+++ b/media-sound/umurmur/Manifest
@@ -0,0 +1,27 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX umurmur.conf 1637 SHA256 6d34c8915d7d2cbd21cdb9d3ff1f9227c48d458046481c785a260e1faeae233f SHA512 563573c405013bdf9d76003d68eb9619064659dc1e1b8b1fde24c0e587a807202bf62efe7f227cc95ff8b6db68a2ace3f0f359cef74c1bf5f1582815dd623501 WHIRLPOOL 25ee26eaf988b4897213e682c77c69ae74987f4de284f1497b77199c3b585a26d5eaa31f1f5161f3d0b90112a5dc11030729407bb58e9aacf413ca77528adf5e
+AUX umurmurd.confd 64 SHA256 f7738665b9c7799df2b805f8570d4307f40c5fd3c84316e4773215b87fd57f67 SHA512 4af070ab4d8f4a9a2d5b59b8be95cfb49c22faae809843d9c8ede954bdf39f1224bb31cc53e5cf0f771a2033dfe904890345a6031055c9e79fdd315447e54840 WHIRLPOOL 334350adfc793a9b9f7681510b7aeb4c6e76d145bb01437124e76049e256ff8224c2f4edb9e3729e6651f699ae71c838c5ecd47fca9a150941db0c8f7c9fa6ba
+AUX umurmurd.initd 578 SHA256 d2ba06b0bb993dff5be4aa35d9cc30d64ec4a256ddcacf8d7ac38d7449db3f15 SHA512 e8502b2513b011a6905558849387821756f07a6c8129c48188051408a920319317c25cd6bba74180656c48a7cd3de7380636064eb4e7e6094faa55e6a8db8dc6 WHIRLPOOL e716bcfee9fa0d6912646b5b527e1ecbcfe66a7b21d4b18dd4a9ff1c97f8c464bbee487b17cf8e9f239b74dd7cfa15079bc241a30b09a37177375ae884ec670c
+DIST umurmur-0.2.13.tar.gz 167500 SHA256 ac1595fa47ce6bd1e0706dd609293f745d73a59af00a7a04ddc0f9ae243997be SHA512 dc33a49594e85244bed1e58f890cf1bbcc561dc455c889a9d1e143b93613cc9f3dfd2913174159cc25d8bc6ba7a5c182e818612ae5a37501403d64bc3f496ba2 WHIRLPOOL 969175818e36029825238bcca0ed9153028fc9be44fb857b36ea7e287a203ffa175da17786f505239c4df78e3993550c5ff5256388816d774b8a236cbe21c516
+EBUILD umurmur-0.2.13.ebuild 2077 SHA256 e6fd5a53507f53ad5b6c71a6ce625aec55a7e905e13e0c9f5e2bafd2228a376d SHA512 202b073934a9281dbd7e661b793ec70b51b39ebff01dfe651a3d3e128b7a69f273d9fe087137319687774146cfaecea85b33c90bdcec45a4cd1c3690646243bf WHIRLPOOL 1156da14a8c249d7ff393daff9fbda3236e7bbfb7a4bb5165a212744516b9c63228ccae33586a2dace9d0fd99320ab002ba36df2a5ac1cce7a8640d37aea15ff
+MISC ChangeLog 527 SHA256 7b9b5b1ff7d8649a212b3c3ec34a661916972a4ca740feef458d11a5f8e824fc SHA512 c3d09cbef101167bf1ad6ed42636acc8a38a7789004685a3b172624540a1ea9ecd7033fac803614cfcf99279babf9d9462093fa29cbd8bbb9a6f755b76cf5ac6 WHIRLPOOL d18bd6af52edc64cadf664550e40d5780be526a55bbff60a60f6553dc286a9a7460ba21199469c86157723ff1b17f76c9ea276ef1d50fd34ce68f9187ff5e08d
+MISC metadata.xml 613 SHA256 c3e23b116071000c97db1048f17eb54c034ab847f75154e87f208319abfdd162 SHA512 06d1af7639d7f86eadbb307e01aacd2ae1cfda9b954449835fc7f178fbaafbe603085d1a104eb04520e612210751dad25b49fd711e0e94aa39d5db95984e9935 WHIRLPOOL bce7f8375b50d6a6624f8007ae781c82e3c730a15e37107c031e323bfc0dd72b4c50ea1e8bad3057a09834fc4ed3260b04461089a47770962c9f688e1264b8ef
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.20 (GNU/Linux)
+
+iQIcBAEBCAAGBQJRwscHAAoJEPiazRVxLXTFcjQP/RHgfNXn+Edf7ht0FZiJbiUr
+UMxhOqw1+6f8l6VIk5V2uFHpQaXVCjJYKbgewFfDIyQKsrpphQcJ1bW5QG3OxVOh
++4lY8GBAexxGFAv3wWbUgab562ZNw+hr++j8OfQ+rGuhBsAfD2arawUejlSfD2Dj
+I16fLUapfIbtLYypapbu6nsGpEooEXetr1UsMgdWYulVAL9swRICbSeCwUVhLGUh
+emQ/NnkFNp2i/YUOF2SgvlxyhbE/aPx66zGmufZ0ADiTmMUr5cKABXDH1v3DFjX2
+dpsjJAhZUTawGO9THfuJwXaaDi8egcYmpd0tt18EpzIiSg0CA7K/R9odifVQdUXp
+BmRBnp1kylPudkQmx6raf+BlvzqAva+XApqsBYaom9Z0iRgmOLYnxI9HmnJ0EGzm
+xBuVSuVuXbIPO1RwmwBfN4PEWBV9rF5ETPwP2hudxbLBzWaFR1Pq7vYrRjfwa3TK
+XWPZyVGdmFmZaa+hzVWauwaOHylMZlaPLS3fntb4ag1GvtaG2slPKrwDZCO5Hu+4
+SrcoQM+sOYMEIlAObDRSQdPWvSGMSqwV3Bg6/y/xJMF0acas1V/PrzCHdhqhDXCT
+95QmjIiiDvd+Cr2jYpTWhdP557ezvGBaqPKJSeDmFKBssxgdbm+06/z5hdUJtQ8e
+Lsfcib1dpL+wk2mPoiqY
+=w7f7
+-----END PGP SIGNATURE-----
diff --git a/media-sound/umurmur/files/umurmur.conf b/media-sound/umurmur/files/umurmur.conf
new file mode 100644
index 000000000000..cebcca28a583
--- /dev/null
+++ b/media-sound/umurmur/files/umurmur.conf
@@ -0,0 +1,58 @@
+# This configuration is based on the official example configuration. More information can be found
+# at http://code.google.com/p/umurmur/wiki/Configuring02x
+
+max_bandwidth = 48000;
+welcometext = "Welcome to uMurmur!";
+certificate = "/etc/umurmur/cert.crt";
+private_key = "/etc/umurmur/key.key";
+password = "";
+max_users = 10;
+
+# Specify port and/or address to bind to. Typically not needed.
+# Default is '*' for address and 64738 for port.
+# Can also be specified on the command line, which takes precedence if
+# both are specified.
+# bindport = 64738;
+# bindaddr = "192.168.1.1";
+
+# Specify this for privilege dropping. If username is specified but not
+# the groupname, the user's login group is used.
+username = "murmur";
+groupname = "murmur";
+
+# Root channel must always be defined first.
+# If a channel has a parent, the parent must be defined before the child channel(s).
+channels = ( {
+ name = "Root";
+ parent = "";
+ description = "The Root of all channels";
+ noenter = true;
+ },
+ {
+ name = "Lobby";
+ parent = "Root";
+ description = "Lobby channel";
+ },
+ {
+ name = "Red team";
+ parent = "Lobby";
+ description = "The Red team channel";
+ },
+ {
+ name = "Blue team";
+ parent = "Lobby";
+ description = "The Blue team channel";
+ }
+);
+# Channel links configuration.
+channel_links = ( {
+ source = "Lobby";
+ destination = "Red team";
+ },
+ {
+ source = "Lobby";
+ destination = "Blue team";
+ }
+);
+
+default_channel = "Lobby";
diff --git a/media-sound/umurmur/files/umurmurd.confd b/media-sound/umurmur/files/umurmurd.confd
new file mode 100644
index 000000000000..d83461ce725d
--- /dev/null
+++ b/media-sound/umurmur/files/umurmurd.confd
@@ -0,0 +1,3 @@
+# Additional flags to be passed to umurmurd
+UMURMURD_OPTS="-r"
+
diff --git a/media-sound/umurmur/files/umurmurd.initd b/media-sound/umurmur/files/umurmurd.initd
new file mode 100644
index 000000000000..151f49e4c89d
--- /dev/null
+++ b/media-sound/umurmur/files/umurmurd.initd
@@ -0,0 +1,19 @@
+#!/sbin/runscript
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/umurmur/files/umurmurd.initd,v 1.1 2013/06/20 09:10:29 polynomial-c Exp $
+
+description="umurmurd - A minimalistic mumble server"
+pidfile="/run/umurmurd/umurmurd.pid"
+command="/usr/bin/umurmurd"
+command_args="-c /etc/umurmur/umurmur.conf -p ${pidfile} ${UMURMURD_OPTS}"
+start_stop_daemon_args="-p ${pidfile} -w 100"
+
+depend() {
+ need net
+ use logger
+}
+
+start_pre() {
+ checkpath -d -o murmur ${pidfile%/*}
+}
diff --git a/media-sound/umurmur/metadata.xml b/media-sound/umurmur/metadata.xml
new file mode 100644
index 000000000000..5b3fe5497165
--- /dev/null
+++ b/media-sound/umurmur/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>voip</herd>
+ <maintainer>
+ <email>polynomial-c@gentoo.org</email>
+ <name>Lars Wendler</name>
+ </maintainer>
+ <longdescription lang="en">
+ uMumble is a minimalistic Mumble server primarily targeted to run on routers with an open OS like OpenWRT. The server part of Mumble is called Murmur, hence the name uMurmur.
+ </longdescription>
+ <use>
+ <flag name='polarssl'>Use <pkg>net-libs/polarssl</pkg> instead of <pkg>dev-libs/openssl</pkg></flag>
+ </use>
+</pkgmetadata>
diff --git a/media-sound/umurmur/umurmur-0.2.13.ebuild b/media-sound/umurmur/umurmur-0.2.13.ebuild
new file mode 100644
index 000000000000..8e547a65d50b
--- /dev/null
+++ b/media-sound/umurmur/umurmur-0.2.13.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/umurmur/umurmur-0.2.13.ebuild,v 1.1 2013/06/20 09:10:29 polynomial-c Exp $
+
+EAPI=5
+
+inherit eutils user
+
+DESCRIPTION="Minimalistic Murmur (Mumble server)"
+HOMEPAGE="http://code.google.com/p/umurmur/"
+SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="polarssl"
+
+DEPEND=">=dev-libs/protobuf-c-0.14
+ dev-libs/libconfig
+ polarssl? ( >=net-libs/polarssl-1.0.0 )
+ !polarssl? ( dev-libs/openssl )"
+
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ enewgroup murmur
+ enewuser murmur "" "" "" murmur
+}
+
+src_configure() {
+ local myconf
+
+ # build uses polarssl by default, but instead, make it use openssl
+ # unless polarssl is desired.
+ use !polarssl && myconf="${myconf} --with-ssl=openssl"
+
+ econf ${myconf}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ newinitd "${FILESDIR}"/umurmurd.initd umurmurd
+ newconfd "${FILESDIR}"/umurmurd.confd umurmurd
+
+ dodoc AUTHORS ChangeLog
+ newdoc README.md README
+
+ # Some permissions are adjusted as the config may contain a server
+ # password, and /etc/umurmur will typically contain the cert and the
+ # key used to sign it, which are read after priveleges are dropped.
+ local confdir="/etc/umurmur"
+ dodir ${confdir}
+ fperms 0750 ${confdir}
+ fowners root:murmur ${confdir}
+
+ insinto ${confdir}
+ doins "${FILESDIR}"/umurmur.conf
+ fperms 0640 ${confdir}/umurmur.conf
+}
+
+pkg_postinst() {
+ elog "A configuration file has been installed at /etc/umurmur.conf - you may "
+ elog "want to review it. See also"
+ elog " http://code.google.com/p/umurmur/wiki/Configuring02x"
+
+ if use polarssl ; then
+ elog
+ elog "Because you have enabled PolarSSL support, umurmurd will use a"
+ elog "predefined test-certificate and key if none are configured, which"
+ elog "is insecure. See http://code.google.com/p/umurmur/wiki/Installing02x#Installing_uMurmur_with_PolarSSL_support"
+ elog "for more information on how to create your certificate and key"
+ fi
+}