summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Bainbridge <chrb@gentoo.org>2004-07-23 11:58:18 +0000
committerChris Bainbridge <chrb@gentoo.org>2004-07-23 11:58:18 +0000
commit90b528df837a7d2082850638c65c09846771c83d (patch)
tree9b82b7cca417167f958d4a5d0c691e5586b1a572 /net-fs/ccxstream
parentnew beta version (Manifest recommit) (diff)
downloadgentoo-2-90b528df837a7d2082850638c65c09846771c83d.tar.gz
gentoo-2-90b528df837a7d2082850638c65c09846771c83d.tar.bz2
gentoo-2-90b528df837a7d2082850638c65c09846771c83d.zip
This package was submitted by Mark Dierolf and Marvin Tapessur in bug #36574
Diffstat (limited to 'net-fs/ccxstream')
-rw-r--r--net-fs/ccxstream/ChangeLog11
-rw-r--r--net-fs/ccxstream/Manifest7
-rw-r--r--net-fs/ccxstream/ccxstream-1.0.15.ebuild26
-rw-r--r--net-fs/ccxstream/files/ccxstream-termcap.patch11
-rw-r--r--net-fs/ccxstream/files/ccxstream.confd54
-rw-r--r--net-fs/ccxstream/files/ccxstream.initd27
-rw-r--r--net-fs/ccxstream/files/digest-ccxstream-1.0.151
-rw-r--r--net-fs/ccxstream/metadata.xml9
8 files changed, 146 insertions, 0 deletions
diff --git a/net-fs/ccxstream/ChangeLog b/net-fs/ccxstream/ChangeLog
new file mode 100644
index 000000000000..cee4ad82c2f8
--- /dev/null
+++ b/net-fs/ccxstream/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-fs/ccxstream
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-fs/ccxstream/ChangeLog,v 1.1 2004/07/23 11:58:18 chrb Exp $
+
+*ccxstream-1.0.15 (23 Jul 2004)
+
+ 23 Jul 2004; Chris Bainbridge <chrb@gentoo.org> +metadata.xml,
+ +files/ccxstream-termcap.patch, +files/ccxstream.confd,
+ +files/ccxstream.initd, +ccxstream-1.0.15.ebuild:
+ This package was submitted by Mark Dierolf and Marvin Tapessur in bug #36574
+
diff --git a/net-fs/ccxstream/Manifest b/net-fs/ccxstream/Manifest
new file mode 100644
index 000000000000..79f3361c7a3d
--- /dev/null
+++ b/net-fs/ccxstream/Manifest
@@ -0,0 +1,7 @@
+MD5 ced95cbc95521a341635b22cbbfc0c92 metadata.xml 331
+MD5 105a5e374844f9c4b92fcab7e875b353 ccxstream-1.0.15.ebuild 606
+MD5 c468fed9cbe230749e6684a9bb6985f6 ChangeLog 405
+MD5 97b69dad34ff8cf74407cfd6acdcf1a6 files/ccxstream-termcap.patch 232
+MD5 73c83b29f34c5ee6bfeb874e05afd201 files/ccxstream.confd 1228
+MD5 fe3f207263e89aa78ad98ebd24819254 files/ccxstream.initd 463
+MD5 4321e5f911d04c96005128ccf78c98f4 files/digest-ccxstream-1.0.15 67
diff --git a/net-fs/ccxstream/ccxstream-1.0.15.ebuild b/net-fs/ccxstream/ccxstream-1.0.15.ebuild
new file mode 100644
index 000000000000..bb7e663b436e
--- /dev/null
+++ b/net-fs/ccxstream/ccxstream-1.0.15.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+DESCRIPTION="XStream Server"
+HOMEPAGE="http://xbplayer.sourceforge.net"
+SRC_URI="mirror://sourceforge/xbplayer/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND="sys-libs/ncurses sys-libs/readline"
+
+src_compile() {
+ epatch ${FILESDIR}/ccxstream-termcap.patch
+ emake || die
+}
+
+src_install() {
+ # add startup and sample config
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/ccxstream.initd ccxstream
+ insinto /etc/conf.d
+ newins ${FILESDIR}/ccxstream.confd ccxstream
+ dobin ccxstream || die
+}
diff --git a/net-fs/ccxstream/files/ccxstream-termcap.patch b/net-fs/ccxstream/files/ccxstream-termcap.patch
new file mode 100644
index 000000000000..c006ec551e28
--- /dev/null
+++ b/net-fs/ccxstream/files/ccxstream-termcap.patch
@@ -0,0 +1,11 @@
+--- Makefile.orig 2003-12-27 04:57:23.733355080 +0000
++++ Makefile 2003-12-27 04:57:34.506717280 +0000
+@@ -22,7 +22,7 @@
+ #
+
+ CFLAGS+=-I. -g
+-LDFLAGS+=-lreadline -ltermcap
++LDFLAGS+=-lreadline -lncurses
+
+ all: ccxstream ccxtest
+
diff --git a/net-fs/ccxstream/files/ccxstream.confd b/net-fs/ccxstream/files/ccxstream.confd
new file mode 100644
index 000000000000..5b68f1dc10b8
--- /dev/null
+++ b/net-fs/ccxstream/files/ccxstream.confd
@@ -0,0 +1,54 @@
+#!/bin/sh
+
+#Uncomment the line below to begin (mandatory)
+#CHECK=YES
+
+#Below the user to run the service as (mandatory)
+RUNASUSER="root"
+
+#Below the password on the XBOX (optional)
+#REMOTEPASS="xboxpassword"
+
+#Below the interface to listen on (mandatory)
+LISTENINTERFACE="192.168.1.1"
+
+FOLLOWSYMLINKS=YES
+
+#Comment (optional)
+#SERVERCOMMENT="Video and MP3 server powered by Gentoo. Watch and listen and ENJOY."
+
+#Shares to make available (mandatory)
+SHARES="movies=/data/videos audio=/data/mp3"
+
+#Location of binary file. Leave default unless you know what you're doing (mandatory)
+BIN="/usr/bin/ccxstream"
+
+#-----------------------------------------------------------------------------#
+#-----------------------------------------------------------------------------#
+
+DIR="-"
+
+PIDFILE=/var/run/ccxstream.pid
+
+PARAMS="-f -F $PIDFILE -r $DIR -u $RUNASUSER"
+
+if test "$FOLLOWSYMLINKS" == "YES" ; then
+ PARAMS="$PARAMS -L"
+fi
+
+if test "x$REMOTEPASS" != "x" ; then
+ PARAMS="$PARAMS -P $REMOTEPASS"
+fi
+
+if test "x$LISTENINTERFACE" != "x" ; then
+ PARAMS="$PARAMS -l $LISTENINTERFACE"
+fi
+
+for i in $SHARES ; do
+ PARAMS="$PARAMS -S $i"
+done
+
+if test "x$SERVERCOMMENT" = "x" ; then
+ SERVERCOMMENT="`hostname`"
+fi
+
diff --git a/net-fs/ccxstream/files/ccxstream.initd b/net-fs/ccxstream/files/ccxstream.initd
new file mode 100644
index 000000000000..1c47116420ce
--- /dev/null
+++ b/net-fs/ccxstream/files/ccxstream.initd
@@ -0,0 +1,27 @@
+#!/sbin/runscript
+#
+#
+
+depend() {
+ need net
+}
+
+start() {
+ if [ "${CHECK}" = "YES" ] ; then
+
+ ebegin "Starting ccXstream"
+ start-stop-daemon --start --quiet --exec ${BIN} \
+ -- ${PARAMS} -C ${SERVERCOMMENT}
+ eend $?
+ else
+ eerror "Please setup /etc/conf.d/ccxstream before starting ccXstream"
+
+ return 1
+ fi
+}
+
+stop() {
+ ebegin "Stopping ccXstream"
+ start-stop-daemon --stop --quiet --pidfile /var/run/ccxstream.pid
+ eend $?
+}
diff --git a/net-fs/ccxstream/files/digest-ccxstream-1.0.15 b/net-fs/ccxstream/files/digest-ccxstream-1.0.15
new file mode 100644
index 000000000000..b613f4a92bcf
--- /dev/null
+++ b/net-fs/ccxstream/files/digest-ccxstream-1.0.15
@@ -0,0 +1 @@
+MD5 c589fff48ce541f26b394c9d82ccbead ccxstream-1.0.15.tar.gz 40384
diff --git a/net-fs/ccxstream/metadata.xml b/net-fs/ccxstream/metadata.xml
new file mode 100644
index 000000000000..7435cebfe438
--- /dev/null
+++ b/net-fs/ccxstream/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>chrb@gentoo.org</email>
+ <name>Chris Bainbridge</name>
+ </maintainer>
+ <longdescription>XStream Server for streaming media players</longdescription>
+</pkgmetadata>