summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2007-02-13 14:24:25 +0000
committerRaúl Porcel <armin76@gentoo.org>2007-02-13 14:24:25 +0000
commitf90057f97fe1feb0088dde330acde2779fc88bd0 (patch)
treef88ff34a3c9b8bdebd8505b3e33ace9df14f907f /net-p2p
parentStable on sparc for sanitized headers (diff)
downloadgentoo-2-f90057f97fe1feb0088dde330acde2779fc88bd0.tar.gz
gentoo-2-f90057f97fe1feb0088dde330acde2779fc88bd0.tar.bz2
gentoo-2-f90057f97fe1feb0088dde330acde2779fc88bd0.zip
add missing files, thanks to coldwind for reporting
(Portage version: 2.1.2-r9)
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/museek+/ChangeLog6
-rw-r--r--net-p2p/museek+/files/museek47
-rw-r--r--net-p2p/museek+/files/museek+-0.1.12-libxmlpp-dep-order.patch16
3 files changed, 68 insertions, 1 deletions
diff --git a/net-p2p/museek+/ChangeLog b/net-p2p/museek+/ChangeLog
index ed01e0bf458c..947d853aa42b 100644
--- a/net-p2p/museek+/ChangeLog
+++ b/net-p2p/museek+/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-p2p/museek+
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/museek+/ChangeLog,v 1.2 2007/02/12 21:37:18 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/museek+/ChangeLog,v 1.3 2007/02/13 14:24:25 armin76 Exp $
+
+ 13 Feb 2007; Raúl Porcel <armin76@gentoo.org>
+ +files/museek+-0.1.12-libxmlpp-dep-order.patch, +files/museek:
+ add missing files, thanks to coldwind for reporting
12 Feb 2007; Raúl Porcel <armin76@gentoo.org> metadata.xml:
ColdWind will maintain this
diff --git a/net-p2p/museek+/files/museek b/net-p2p/museek+/files/museek
new file mode 100644
index 000000000000..e934d05d880c
--- /dev/null
+++ b/net-p2p/museek+/files/museek
@@ -0,0 +1,47 @@
+#!/bin/bash
+MULOG=0
+PIDPATH="$HOME/.museekd"
+
+while getopts ckmqrsh name
+do
+ case $name in
+ c) close=1;;
+ k) kill=1;;
+ m) mucous=1;;
+ q) museeq=1;;
+ r) restart=1;;
+ s) scan=1;;
+ h|?) help=1;;
+ esac
+done
+
+if [ $help ]; then
+ echo -e "Usage: `basename $0` [OPTIONS]"
+ echo -e "This will start museekd by default. The following can be done in addition:"
+ echo -e " -r restart museekd"
+ echo -e " -s rescan shares"
+ echo -e " -q start museeq"
+ echo -e " -m start mucous"
+ echo -e " -c kill museekd when mucous closes"
+ echo -e " -k kill museekd and exit"
+ echo -e " -h display this help and exit"
+ exit 0
+elif [ "$kill" -o "$restart" ]; then
+ killall museekd
+ [ $kill ] && exit
+fi
+
+if [ ! -d "/proc/`cat $PIDPATH/museekd.pid`" ]; then
+ exec museekd &
+ echo $! > $PIDPATH/museekd.pid
+fi
+
+if [ $MULOG != 0 -a $MULOG -a ! -d "/proc/`cat $PIDPATH/mulog.pid`" ]; then
+ exec mulog &
+ echo $! > $PIDPATH/mulog.pid
+fi
+
+[ $scan ] && muscan -r >/dev/null 2>&1 && killall -q -HUP museekd &
+[ $museeq ] && exec museeq >/dev/null 2>&1 &
+[ $mucous ] && mucous; [ $close ] && killall -q museekd
+
diff --git a/net-p2p/museek+/files/museek+-0.1.12-libxmlpp-dep-order.patch b/net-p2p/museek+/files/museek+-0.1.12-libxmlpp-dep-order.patch
new file mode 100644
index 000000000000..6f5faf3d18d9
--- /dev/null
+++ b/net-p2p/museek+/files/museek+-0.1.12-libxmlpp-dep-order.patch
@@ -0,0 +1,16 @@
+--- Muhelp/SConscript.old 2007-01-27 22:06:19.000000000 +0100
++++ Muhelp/SConscript 2007-01-27 22:06:40.000000000 +0100
+@@ -17,10 +17,10 @@
+ sys.stdout.flush()
+
+ libxmlpp = None
+-if not os.spawnlpe(os.P_WAIT, 'pkg-config', 'pkg-config', '--exists', 'libxml++-1.0', os.environ):
+- libxmlpp = 'libxml++-1.0'
+-elif not os.spawnlpe(os.P_WAIT, 'pkg-config', 'pkg-config', '--exists', 'libxml++-2.6', os.environ):
++if not os.spawnlpe(os.P_WAIT, 'pkg-config', 'pkg-config', '--exists', 'libxml++-2.6', os.environ):
+ libxmlpp = 'libxml++-2.6'
++elif not os.spawnlpe(os.P_WAIT, 'pkg-config', 'pkg-config', '--exists', 'libxml++-1.0', os.environ):
++ libxmlpp = 'libxml++-1.0'
+
+ if libxmlpp is None:
+ print