summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Redaelli <drizzt@gentoo.org>2007-01-20 17:17:03 +0000
committerTimothy Redaelli <drizzt@gentoo.org>2007-01-20 17:17:03 +0000
commita094038739bfa30f861c9f1d975fbce23c234bb5 (patch)
tree9476b549cd6a0d6dc261effa0a1676e139c29482 /media-sound/murmur/files
parentAdd Gorch patch for missing typedefs on gcc 3, wrt bug #162912. (diff)
downloadgentoo-2-a094038739bfa30f861c9f1d975fbce23c234bb5.tar.gz
gentoo-2-a094038739bfa30f861c9f1d975fbce23c234bb5.tar.bz2
gentoo-2-a094038739bfa30f861c9f1d975fbce23c234bb5.zip
New ebuild, mumble server (murmur) wrt bug #155517.
(Portage version: 2.1.2)
Diffstat (limited to 'media-sound/murmur/files')
-rw-r--r--media-sound/murmur/files/digest-murmur-0.9.43
-rw-r--r--media-sound/murmur/files/murmur.confd12
-rw-r--r--media-sound/murmur/files/murmur.rc27
3 files changed, 42 insertions, 0 deletions
diff --git a/media-sound/murmur/files/digest-murmur-0.9.4 b/media-sound/murmur/files/digest-murmur-0.9.4
new file mode 100644
index 000000000000..ebe934a2e016
--- /dev/null
+++ b/media-sound/murmur/files/digest-murmur-0.9.4
@@ -0,0 +1,3 @@
+MD5 22b08db6e4757134ba27a93d145d647b mumble-0.9.4.tar.bz2 250137
+RMD160 96fe8968d888a4b491fe35894a4da46bc39c3765 mumble-0.9.4.tar.bz2 250137
+SHA256 cf02411ad244dbe6537f4bdfe64b0accc6dcb668d47e4b371c08572052b6259d mumble-0.9.4.tar.bz2 250137
diff --git a/media-sound/murmur/files/murmur.confd b/media-sound/murmur/files/murmur.confd
new file mode 100644
index 000000000000..361059149f08
--- /dev/null
+++ b/media-sound/murmur/files/murmur.confd
@@ -0,0 +1,12 @@
+# where to look for config files
+MURMUR_CONFDIR=/etc/murmur
+
+# were to log
+MURMUR_LOGFILE=/var/log/murmur.log
+
+# run as this user
+MURMUR_USER=murmur
+
+# HOME directory of MURMUR_USER
+# needs to be set for start-stop-daemon!
+MURMUR_HOMEDIR=/var/lib/murmur
diff --git a/media-sound/murmur/files/murmur.rc b/media-sound/murmur/files/murmur.rc
new file mode 100644
index 000000000000..9b0748af3119
--- /dev/null
+++ b/media-sound/murmur/files/murmur.rc
@@ -0,0 +1,27 @@
+#!/sbin/runscript
+
+depend() {
+ need net
+ need localmount
+ after bootmisc
+}
+
+start() {
+ ebegin "Starting Murmur voice chat server"
+ start-stop-daemon --start --make-pidfile --pidfile /var/run/murmur.pid \
+ --chuid $MURMUR_USER --env HOME=$MURMUR_HOMEDIR \
+ --exec /usr/bin/murmur -- -ini $MURMUR_CONFDIR/murmur.ini &> $MURMUR_LOGFILE &
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping Murmur voice chat server"
+ start-stop-daemon --stop --exec /usr/bin/murmur \
+ --pidfile /var/run/murmur.pid
+ eend $?
+ #rm /var/run/murmur.pid
+}
+
+#restart() {
+# #(Commands necessary to restart the service)
+#}