[new] ccxstream -- XBOX XStream Server

Hi everyone!
I just made a PKGBUILD to install ccXstream which is a XBOX streaming server. I took some ideas from gentoo's ebuild of ccxstream.
I am not sure if with I did with init scripts and config file is OK because they do not come with the source package, but here are the files:
PKGBUILD
pkgname=ccxstream
pkgver=1.0.15
pkgrel=1
pkgdesc="XStream Server"
url="http://xbplayer.sourceforge.net"
#depends=('ncurses readline')
backup=('/etc/ccxstream.conf')
source=("http://heanet.dl.sourceforge.net/sourceforge/xbmc/ccxstream-$pkgver-unrar_v2.tar.bz2")
md5sums=('58fe42422d4692bb1bc4a1521292b86c')
build() {
cd $startdir/src/$pkgname-$pkgver-unrar_v2
patch -p0 < $startdir/ccxstream-termcap.patch
make || return 1
mkdir -p $startdir/pkg/usr/bin
mkdir -p $startdir/pkg/etc/rc.d
mkdir -p $startdir/pkg/etc/conf.d
cp ./ccxstream $startdir/pkg/usr/bin/
cp ./ccxtest $startdir/pkg/usr/bin/
cp ../../ccxstream.confd $startdir/pkg/etc/conf.d/ccxstream
chmod +x ../../ccxstream.initd
cp ../../ccxstream.initd $startdir/pkg/etc/rc.d/ccxstream
ccxstream-termcap.patch
--- 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
ccxstream.confd
#!/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
ccxstream.initd
#!/bin/bash
. /etc/rc.conf
. /etc/rc.d/functions
PID=`pidof -o %PPID /usr/bin/ccxstream`
case "$1" in
start)
stat_busy "Starting ccxstream"
. /etc/conf.d/ccxstream
if [ "${CHECK}" = "YES" ]; then
[ -z "$PID" ] && /usr/bin/ccxstream ${PARAMS} -C ${SERVERCOMMENT}
if [ $? -gt 0 ]; then
stat_fail
else
echo $PID > /var/run/ccxstream.pid
add_daemon ccxstream
stat_done
fi
else
stat_fail
echo -e "Please setup /etc/conf.d/ccxstream before starting ccXstream"
fi
stop)
stat_busy "Stopping ccxstream"
[ ! -z "$PID" ] && kill $PID &> /dev/null
if [ $? -gt 0 ]; then
stat_fail
else
rm /var/run/ccxstream.pid
rm_daemon ccxstream
stat_done
fi
restart)
$0 stop
sleep 1
$0 start
echo "usage: $0 {start|stop|restart}"
esac
exit 0
I would be willing to post a tarball of all the files for thoses who don't like cpoy/pasting everything but I don't have any file hosting services...
I hope that PKGBUILD may be of any help to the archlinux community
cron0

Most appreciated, I plan to put a SmartXX into my Xbox any day now.

Similar Messages

  • To create a new file in application server and transfer data to ti

    i am doing the following where i have to create a new file in application server and transfer data to tht file from an internal table.but its saying file cant be opened.the path i am giving to parameter p_prefil is /tmp/prachi.txt.
    wats the prob..can anyone help.
    DATA:L_WA_FINAL TYPE TY_FINAL,
         l_wa_string type string.
    OPEN DATASET P_PREFIL FOR OUTPUT IN text mode encoding default.
    if sy-subrc <> 0.
    write: ' file cannot be opened'.
    stop.
    endif.
    LOOP AT P_I_FINAL INTO L_WA_FINAL.
    move l_wa_final to l_wa_string.
    TRANSFER l_wa_string TO P_PREFIL.
    if sy-subrc <> 0.
    write: 'file can not be written'.
    stop.
    endif.
    clear l_wa_final.
    ENDLOOP.
    CLOSE DATASET P_PREFIL.
    if sy-subrc <> 0.
    write: ' file cannot be closed'.
    stop.
    endif.

    DATA:L_WA_FINAL TYPE TY_FINAL,
    l_wa_string type string.
    OPEN DATASET P_PREFIL FOR OUTPUT IN text mode encoding default.
    if sy-subrc ne 0.
    write: ' file cannot be opened'.
    stop.
    endif.
    LOOP AT P_I_FINAL INTO L_WA_FINAL.
    move l_wa_final to l_wa_string.
    TRANSFER l_wa_string TO P_PREFIL.
    write: 'file can not be written'.
    clear l_wa_final.
    ENDLOOP.
    CLOSE DATASET P_PREFIL.
    if sy-subrc ne  0.
    write: ' file cannot be closed'.
    stop.
    endif.

  • PS2013 - When creating a new instance of Project Server hangs in 'Waiting for resources' status

    Hi,
    I have one instance of Project Server 2013 fully operational and I tried to duplicate the instance to make some tests. As I know the issue of using the same Content Database of Project Server in the same Server Farm, I used the powershell  backup/restore/dismount
    and mount the content database to change the site IDs to avoid index duplication. The Project server database was a regular SQL backup and restore in another database.
    I created a new Web App in the port 90 as show below.
    Then I included the Content database of Project Server as separated DB from SharePoint for this new SharePoint -acme90 and I tried to create the new instance. The creation hanged in "Waiting for Resources" status.
    To make another check excluding the reuse of the SharePoint-80 I tried to create another instance both in the SharePoint-80 where is the working instance and in the SharePoint-90, everything default and again they all hanged in Waiting for Resource.
    If I try to create the instance using PowerShell I got the following error:
    PS C:\Users\epm_setup> Mount-SPProjectWebInstance -DatabaseName Test_EPM -SiteCo
    llection http://acme02/epm -Lcid 1046
    Mount-SPProjectWebInstance : Cannot find an SPSite object with Id or Url:
    http://acme02/epm.
    At line:1 char:1
    + Mount-SPProjectWebInstance -DatabaseName Test_EPM -SiteCollection
    http://acme02/ ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~
        + CategoryInfo          : InvalidData: (Microsoft.Offic...ountPwaInstance:
       PSCmdletMountPwaInstance) [Mount-SPProjectWebInstance], SPCmdletPipeBindEx
      ception
        + FullyQualifiedErrorId : Microsoft.Office.Project.Server.Cmdlet.PSCmdletM
       ountPwaInstance
    All SharePoint and Project Server services are running, all App Pools and sites are started at the IIS. I could not find a hanging timer job.
    I cannot stop the hanged process or dismount the instances using Powershell since no instance created.
    How should I solve the hanging status of creation of the instance? As they are in Hyper-V I can go back using one snapshot.
    Thank you.
    Best regards, Ricardo Segawa - Segawas Projetos / Microsoft Partner

    Hi Eric,
    Thank your for your interest in this case.
    I checked for running and crashed PWA jobs and deleted all of them just after restoring the snapshot and tried to create the new instance in the new web app in port 90 (besides the existing and working instance in port 80), but again it hanged in "waiting
    for resources". There is not any timer job hanging, no error in event viewer or in log. So the error is well before working with cloned dbs.
    Answering your questiion, I am working all on 2013. My intention is backup one instance of the port 80 and copy to the instance of port 90, changing of course the url and the index of the content db of SharePoint. The process I used was:
    Create a new web app in port 90, creating a new SharePoint_Content_2 on a
    http://server:90 site.
    Created the top level site called Portal using the Team Site template.
    Create a new content db for new instance of Project Server named EPM_Content_2 using Central Admin.
    Backup content db from port 80 instance of Project Server and restore to this EPM_content_2 using PowerShell cmd.
    Dismounted and mounted this Project Server content db to create new index for existing sites to avoid index conflicts.
    Backup the Project Server DB from port 80 using SQL backup and restored as ProjectWebApp2 db for port 90 instance.
    Tried to create a new instance of Project Server
    http://server:90/pwa on web app of port 90 using the ProjectWebApp2 db and using the same app pool of the other instance. But as in the previous case, it hang out in "Waiting for resources".
    Best regards, Ricardo Segawa - Segawas Projetos / Microsoft Partner

  • I need to add new MacBooks to mac server workgroup manager. 10.9.5

    i need to add new MacBooks to mac server workgroup manager. cannot find them by mac address, name or ip. how do i add the new MacBooks. i think there is no workgroup manger programs for mavericks, so there must be a new way to create and add new clients to workgroup manager. can someone please inform me or point me to a dock that explains how thank you.

  • SQL Server Radio - A new podcast for SQL Server professionals

    Hi everyone,
    We (Guy Glantser and Matan Yungman) have recently launched a new podcast for SQL Server professionals, called "SQL Server Radio".
    We release two shows a month, and basically talk about everything around SQL Server and the SQL Server community. On one show of each month, we juggle around and talk about interesting blog posts, forum discussions, news, events and other things that happen
    in the SQL Server world. We expand about each of those items and add from our own experience. On the second show of the month, we go more in-depth. Sometimes we bring a guest, and sometimes we talk about a specific topic like SQL Server 2014, conferences or
    professional development.
    So if you love SQL Server and love learning by hearing, whether you're on your way to work, jogging or just chilling and
    want to learn in a fun way, check us out on
    http://www.SQLServerRadio.com
    Two shows are already online..

    Hi everyone,
    We (Guy Glantser and Matan Yungman) have recently launched a new podcast for SQL Server professionals, called "SQL Server Radio".
    We release two shows a month, and basically talk about everything around SQL Server and the SQL Server community. On one show of each month, we juggle around and talk about interesting blog posts, forum discussions, news, events and other things that happen
    in the SQL Server world. We expand about each of those items and add from our own experience. On the second show of the month, we go more in-depth. Sometimes we bring a guest, and sometimes we talk about a specific topic like SQL Server 2014, conferences or
    professional development.
    So if you love SQL Server and love learning by hearing, whether you're on your way to work, jogging or just chilling and
    want to learn in a fun way, check us out on http://www.SQLServerRadio.com
    Two shows are already online..

  • New-AzureQuickVM - InternalError : The server encountered an internal error. Please retry the request

    HI, I am trying to use quickVm create in powershell as I have a need to autmate the creation. Since this monring, I am stryudggling to acheive this task. Cloud service gets created and deployed and then I get :
    OperationDescription                               OperationId                                       OperationStatus                                  --------------------                               -----------                                       ---------------                                  New-AzureQuickVM                                   2afd21d7-e246-8883-903f-5b80ef3f223d              Succeeded                                        New-AzureQuickVM : InternalError : The server encountered an internal error. Please retry the request.At line:1 char:1+ New-AzureQuickVM -Windows -ImageName $imagename -InstanceSize ExtraSmall -Locati ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    + CategoryInfo          : CloseError: (:) [New-AzureQuickVM], CloudException    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.PersistentVMs.NewQuickVM
    I tried again, I came across another error
    New-AzureQuickVM : Service already exists, Location cannot be specified.
    According to powrshell doc, we can reuse an exisiting service name but it seems that this is not true, I needed to remove the cloud service manually in the portal, I reissued agai and again but getting always the same error
    The server encountered an internal error. Please retry the request.
    Thanks for your help

    $location="North
    Europe"
    $imagename
    ="a699494373c04fc0bc8f2bb1389d6106__Windows-Server-2012-R2-201503.01-en.us-127GB.vhd"
    New-AzureQuickVM
    -Windows-ImageName$imagename-InstanceSizeExtraSmall-Location$location-Password'myâssword'-NamesieracDevOps-ServiceName'sieracDevOpsPro'-AdminUsername'myuser'

  • Move SUP role from Server 2008 R2 to new Site System running Server 2012 R2

    Is it possible to move the primary SUP role which is currently running on a separate site system under Server 2008 R2 (WSUS 3.0 SP2) and move it to a new site system running Server 2012 R2 using the same SUSDB? I've moved the SUP role
    around before by setting up a secondary SUP (using the same DB) then removing the primary SUP role which causes the secondary SUP to become the Primary but that was using the same version of OS and WSUS. With the version of WSUS being different
    on Server 2012 R2, I was thinking this may not be possible since the documentation says the WSUS versions must be the same when creating multiple SUP roles.  

    Hi,
    >>I was thinking this may not be possible since the documentation says the WSUS versions must be the same when creating multiple SUP roles.  
    As the document indicated, "When you have multiple software update points at a site, ensure that they are all running the same version of WSUS." So the scenario you decribed should be not supported.
    Reference:Prerequisites for Software Updates in Configuration Manager
    Best Regards,
    Joyce
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • New Login in sql server

    Hi,
       When I'm adding new login in SQL server it searches and gives the available AD groups in my domain in the Checknames box. Anyone knows what is the SP called when it searches the Group names from the domain?

    If you want to know what commands SSMS are emitting to SQL Server, you can use Profiler to find out.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • New command for radius-server source-ports

    I am trying to find the new command fro radius-server source-ports 1645-1646 since it appears to be depricated.  We use tacacs so we do not have the radius server specified but we do need to put in the ports.  Can someone please tell me the new command for radius-server source-ports?
    Thanks

    Both of the links that Peter posted are interesting and helpful. I would like to take a slightly different approach in answering your question.
    In every version of IOS there are certain commands that get inserted into running-config when a particular feature is activated. It looks like in your version the radius-server source-ports is one of those commands. I do not think it is anything that you should be concerned about.
    And I do not believe that having the radius-server source-ports command would prevent TACACS from working. I believe that there is likely to be some fault in your configuration. If you would post the aaa parts of the config then maybe we could see what the problem is.
    In my experience configuring aaa some of the common problems include not correctly identifying the TACACS server, not having exactly the same key configured on the Cisco device and the TACACS server, not having connectivity to the TACACS server (can the Cisco device ping the server, and can the server ping the device), or errors in the authentication or authorization prameters specified.
    Post some information and we will see what we can do.
    HTH
    Rick

  • Just FYI, new blog post "Windows Server Networking Resources"

    Hi there -
    Just FYI, new blog post "Windows Server Networking Resources" at
    http://aka.ms/vrigwx
    Thanks -
    James McIllece

    Hi James,
    Thanks for the sharing.
    Best Regards.
    Steven Lee
    TechNet Community Support

  • New Install Win 2000 Server ORA-12560 : TNS : Protocol Adapter Error

    I am trying to learn Oracle.
    I get the following when logging into SQL*Plus.
    ORA-12560 : TNS : Protocol Adapter Error
    I have just installed New Install Win 2000 Server and then Oracle 8i for Win2k
    null

    Step 1 - from a command line on the database machine, enter 'lsnrctl status' and report the output
    Step 2 - display the contents of the %ORACLE_HOME%\network\admin\tnsnames.ora file on the machine running sqlplus.
    These are the first two stepo, whether on the database machine or in a traditional client-server configuration.

  • Record truncation in new line in applcation server

    I am downloading file in Application server but some of records are truncating in new line in production server but in Qulaity replicating same issue, its not truncating.
    Please suggest!!
    Thanks..

    I think you have session linesize problem use
    SQL>SET linesize 150
    At sql
    Then run the query again
    Khurram

  • New To Iplanet app server.Can some one help me getting started by delpoying and calling one of each of these:JSP,Servlet,EJB.Tried with iplanet docs..didnt quite get it. thanx

     

    Hi,
    What is that you are trying to accomplish ? Is it deployment or
    trying to develop applications ? Are you getting any errors ? If so,
    please post them to help you. I think the documentation is the best place
    for you to begin with.
    Regards & Happy New Year
    Raj
    Arif Khan wrote:
    New To Iplanet app server.Can some one help me getting started by
    delpoying and calling one of each of these:JSP,Servlet,EJB.Tried with
    iplanet docs..didnt quite get it. thanx
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • How can synchronized local imap folders be migrated to a new computer, without new download from imap server, so that everything is working as before?

    How can synchronized local imap folders be migrated to a new computer, without new download from imap server, so that everything is working as before?
    I only managed to import synchronized folders (from old computer) to local folders in thunderbird at the new computer. Then I tried to move the messages to the folder of the imap account at the new computer where I temporarily limited the synchronization to one month. When I remove this limit the thunderbird program starts to redownload all the messages again nonetheless.
    Since I have a dual boot system (Windows/Linux, thunderbird is installed twice) and have to pay for every megabyte, this is very annoying.

    Have you considered using a shared profile folder for the dual boot? so the two remain in sync?v It will require a drive both operating systems can access, but most people who dual boot have such. http://kb.mozillazine.org/Moving_your_profile_folder_-_Thunderbird
    otherwise copy the entire profile, not parts of it.

  • When is the new apple xbox out?

    i want to know plz help me!!!
    when is the new apple xbox out?

    Apple doesn't make the Xbox. That's a Microsoft product. You'd have to ask them.

Maybe you are looking for

  • BSOD POWER_STATE_FAILURE in Windows 7 64 bit

    Hi all I have a Sattelite P300, born with Vista-32 bit, which actually worked without any serious problems. I upgraded the thing to Windows 7 Ultimate 64-bit, and now I get a particular problem several times a day. I get the infamous Blue Screen Of D

  • "Path" in Generated Reciever Adapter

    Hi, While working on JDBC-->XI-->RFC scenario, i have defined Two communication Channels (JDBC_sender and RFC_Reciever). In JDBC_sender communcation channel, "Generated Reciever Adapter" has been autogenerated. In this adapter, i am confused about th

  • Apple MiniDisplayPort to Dual DVI adapter and 30" displays

    Hi all, I just purchased a DoubleSight DS-305W 30" display only to learn it doesn't work with the Apple MiniDisplayPort to Dual DVI adapter. I had the flickering issues described in length here: http://store.apple.com/us/product/MB571Z/A?mco=MTY3ODQ5

  • Change/View formula in the report ?

    Hi SDNer's, Is it possible for the user to view the formula used for a calculation in the report ? Any close workarounds? What if the user wants even to change the formula from the report ? Please share your thoughts.....any inputs wud really help !!

  • Question re: using PS Elements 4.0 for Mac instead of 2.0 as external editor for LR 1.1.

    I have LR1.1. installed on a Macbook Pro, OS X. I had PS Elements 2.0 installed, but I have now uninstalled it as I plan to get PS Elements 4.0 instead. My LR still lists Elements 2.0 as the default external editor. When I install version 4.0 will it