summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2009-04-11 23:02:00 +0000
committerJoerg Bornkessel <hd_brummy@gentoo.org>2009-04-11 23:02:00 +0000
commit22edfcabb4f5fb4194426d542b41737e793665d8 (patch)
tree72ac86060abd43e7092c8414a6ba87a196ad2e39 /www-misc/xxv/files
parentAlso fix the copyright line... (diff)
downloadhistorical-22edfcabb4f5fb4194426d542b41737e793665d8.tar.gz
historical-22edfcabb4f5fb4194426d542b41737e793665d8.tar.bz2
historical-22edfcabb4f5fb4194426d542b41737e793665d8.zip
packed moved net-www/xxv - www-misc/xxv #265569
Package-Manager: portage-2.1.6.7/cvs/Linux i686
Diffstat (limited to 'www-misc/xxv/files')
-rw-r--r--www-misc/xxv/files/xxv87
-rw-r--r--www-misc/xxv/files/xxv-1.0-logerror.patch29
-rw-r--r--www-misc/xxv/files/xxv.utf8-v299
-rw-r--r--www-misc/xxv/files/xxvd-1.0.cfg162
-rw-r--r--www-misc/xxv/files/xxvd-logrotate27
5 files changed, 404 insertions, 0 deletions
diff --git a/www-misc/xxv/files/xxv b/www-misc/xxv/files/xxv
new file mode 100644
index 000000000000..97560fd8ac1d
--- /dev/null
+++ b/www-misc/xxv/files/xxv
@@ -0,0 +1,87 @@
+#!/sbin/runscript
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/www-misc/xxv/files/xxv,v 1.1 2009/04/11 23:02:00 hd_brummy Exp $
+
+RUNAS_USER="vdr"
+
+# some fixed Path
+CONFIGFILE="/etc/xxv/xxvd.cfg"
+PIDFILE="/var/run/xxv/xxvd.pid"
+XXV_BIN="/usr/bin/xxvd"
+
+LANGUAGE="de_DE"
+
+# Set Verbose Level 0 -> 5
+VERBOSE="3"
+
+#set -xv
+
+depend() {
+ need vdr
+ after net
+}
+
+kill_vdradmin() {
+
+ # Check at first, is VDR-Admin running
+ # Stopping, while running on same ports
+ # You can comment the next 4 Lines if you running VDR-Admind on different Ports
+ if [ -f /var/run/vdradmind.pid ] ; then
+ ebegin "VDR-Admin will Stop at first now"
+ /etc/init.d/vdradmind stop
+ fi
+}
+
+xxv_kill_pid() {
+
+ # After unclear stop, xxvd.pid will not removed, fixed with next line
+ if [ -e ${PIDFILE} -a ! -L /var/lib/init.d/started/xxv ] ; then
+ rm ${PIDFILE}
+ killall xxvd 2>&1 > /dev/null
+ fi
+}
+
+xxv_kill_initfile() {
+
+ # After unclear stop, init file in /var/lib/init.d/started/ still not removed
+ if [ -L /var/lib/init.d/started/xxv -a ! -e ${PIDFILE} ] ; then
+ rm /var/lib/init.d/started/xxv
+ /etc/init.d/xxv zap
+ killall xxvd 2>&1 > /dev/null
+ fi
+}
+
+start() {
+
+ kill_vdradmin
+
+ # Finaly start XXV :)
+ export LANG="${LANGUAGE}"
+ ebegin "Start xxv"
+ start-stop-daemon --nicelevel 15 --pidfile ${PIDFILE} --start -c ${RUNAS_USER} --exec ${XXV_BIN} -- \
+ -configfile=${CONFIGFILE} -verbose=${VERBOSE} -pidfile=${PIDFILE}
+ eend $?
+}
+
+
+stop() {
+
+ ebegin "Stopping xxv"
+ start-stop-daemon --stop --quiet --pidfile ${PIDFILE}
+
+ xxv_kill_pid
+ xxv_kill_initfile
+
+ eend $?
+}
+
+restart() {
+
+ xxv_kill_pid
+ xxv_kill_initfile
+
+
+ svc_stop
+ svc_start
+}
diff --git a/www-misc/xxv/files/xxv-1.0-logerror.patch b/www-misc/xxv/files/xxv-1.0-logerror.patch
new file mode 100644
index 000000000000..3c65bbda47e4
--- /dev/null
+++ b/www-misc/xxv/files/xxv-1.0-logerror.patch
@@ -0,0 +1,29 @@
+--- html/bloecke/tooltip.tmpl (Revision 1189)
++++ html/bloecke/tooltip.tmpl (Arbeitskopie)
+@@ -7,6 +7,6 @@
+ IF !ttp_offset;ttp_offset = 0;END %?>
+ <a href="<?% IF link;link;ELSE;"#";END %?>"<?% IF eventid %?>
+ onmouseover="ttpreq(this, '<?% escape(title) %?>
+- <?% IF subtitle.length > 0 %?>~<?% escape(subtitle) %?>
++ <?% IF subtitle && subtitle.length > 0 %?>~<?% escape(subtitle) %?>
+ <?% END %?>',<?% eventid %?>, <?% ttp_offset %?>);"
+ <?% END %?> >
+Index: html/tlist.tmpl
+===================================================================
+--- html/tlist.tmpl (Revision 1189)
++++ html/tlist.tmpl (Arbeitskopie)
+@@ -51,10 +51,10 @@
+ <?% END %?>
+ </tr>
+ <?% FOREACH zeile = data %?>
+- <?% aktiv = ( zeile.1 mod 2 );
+- vps = zeile.1 mod 8 div 4;
++ <?% aktiv= ( zeile.1 ? zeile.1 mod 2 : 0 );
++ vps= ( zeile.1 ? zeile.1 mod 8 div 4 : 0 );
+ day = date.format(zeile.9, "%A, %x", locale);
+- IF aktiv; rest = rest - zeile.last; END;
++ IF aktiv; rest = rest - zeile.13; END;
+ %?>
+ <?% IF oldDay != day %?>
+ <tr><td colspan='<?% zeile.size + 1 %?>' bgcolor='#DDDDDD'><b><?% day %?></b></td><tr>
+
diff --git a/www-misc/xxv/files/xxv.utf8-v2 b/www-misc/xxv/files/xxv.utf8-v2
new file mode 100644
index 000000000000..890cd511e58a
--- /dev/null
+++ b/www-misc/xxv/files/xxv.utf8-v2
@@ -0,0 +1,99 @@
+#!/sbin/runscript
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/www-misc/xxv/files/xxv.utf8-v2,v 1.1 2009/04/11 23:02:00 hd_brummy Exp $
+
+RUNAS_USER="vdr"
+
+# Set Verbose Level 0 -> 5
+VERBOSE="1"
+
+#set -xv
+
+# some fixed Path
+CONFIGFILE="/etc/xxv/xxvd.cfg"
+PIDFILE="/var/run/xxv/xxvd.pid"
+XXV_BIN="/usr/bin/xxvd"
+
+
+depend() {
+ need vdr
+ after net
+}
+
+kill_vdradmin() {
+
+ # Check at first, is VDR-Admin running
+ # Stopping, while running on same ports
+ if [ -n "`netstat -anp | grep vdradmin | grep 8080`" ] ; then
+ echo
+ eerror "VDR-Admin will Stop at first now"
+ eerror "vdradmin and xxv can not run on the same port"
+ echo
+ /etc/init.d/vdradmin stop
+ logger -t xxv "vdradmin stopped by xxv initscript"
+ logger -t xxv "xxv and vdradmin can not run on same port"
+ fi
+}
+
+xxv_kill_pid() {
+
+ # After unclear stop, xxvd.pid will not removed, fixed with next line
+ if [ -e ${PIDFILE} -a ! -L /var/lib/init.d/started/xxv ] ; then
+ rm ${PIDFILE}
+ killall xxvd 2>&1 > /dev/null
+ fi
+}
+
+xxv_kill_initfile() {
+
+ # After unclear stop, init file in /var/lib/init.d/started/ still not removed
+ if [ -L /var/lib/init.d/started/xxv -a ! -e ${PIDFILE} ] ; then
+ rm /var/lib/init.d/started/xxv
+ /etc/init.d/xxv zap
+ killall xxvd 2>&1 > /dev/null
+ fi
+}
+
+set_utf8_charset() {
+ local capfile=/usr/share/vdr/capabilities.sh
+ [ -e "${capfile}" ] && . ${capfile}
+ if [ "${CAP_UTF8}" = "1" -o "${VDR_CAN_HANDLE_UTF8}" = "yes" ]; then
+ # do not clean out utf8
+ XXV_UTF8="-utf8"
+ fi
+}
+
+start() {
+ kill_vdradmin
+ set_utf8_charset
+
+ ebegin "Start xxv"
+
+ start-stop-daemon --nicelevel 15 --pidfile ${PIDFILE} --start -c ${RUNAS_USER} --exec ${XXV_BIN} -- \
+ ${XXV_UTF8} -configfile=${CONFIGFILE} -verbose=${VERBOSE} -pidfile=${PIDFILE}
+ eend $?
+}
+
+
+stop() {
+
+ ebegin "Stopping xxvd"
+ start-stop-daemon --stop --quiet --pidfile ${PIDFILE}
+
+ xxv_kill_pid
+ xxv_kill_initfile
+# killall xxvd 2>&1 > /dev/null
+
+ eend $?
+}
+
+restart() {
+
+ xxv_kill_pid
+ xxv_kill_initfile
+
+
+ svc_stop
+ svc_start
+}
diff --git a/www-misc/xxv/files/xxvd-1.0.cfg b/www-misc/xxv/files/xxvd-1.0.cfg
new file mode 100644
index 000000000000..b18f899ba581
--- /dev/null
+++ b/www-misc/xxv/files/xxvd-1.0.cfg
@@ -0,0 +1,162 @@
+[AUTOTIMER]
+active=y
+exclude=POS > 250
+interval=300
+
+[CHANNELS]
+empty=n
+file=/etc/vdr/channels.conf
+filterCA=0,1,2,3,4
+interval=300
+stripCH=short,long;provider
+
+[EPG]
+epgfile=/var/vdr/epg.data
+epgimages=/var/vdr/video/epgimages
+interval=300
+periods=12:00,18:00,20:20,22:00,23:00,00:00,02:00,04:00
+restart=3
+timeframe=2
+
+[GRAB]
+file=/tmp/live.jpg
+font=VeraBI.ttf
+imgfontsize=12
+imgquality=90
+imgtext=[?- i = channel.split(" ") -?][[? i.shift ?]] [? i.join(" ") ?]: [? event.Title ?]
+vpos=20
+xsize=480
+ysize=360
+
+[General]
+DSN=DBI:mysql:database=xxv;host=localhost;port=3306
+Language=de_DE
+PWD=xpix97
+USR=xpix
+initscript=/etc/init.d/xxv
+
+[HTTPD]
+Clients=1000
+HtmlRoot=html
+Port=8080
+StartPage=schema
+active=y
+
+[INTERFACE]
+Clients=5
+Port=8002
+active=y
+
+[LOGREAD]
+active=y
+rows=100
+syslog=/var/log/syslog
+tail=/usr/bin/tail
+
+[MUSIC]
+active=y
+clients=5
+coverimages=/var/cache/xxv/cover
+host=192.168.0.23
+path=/var/lib/video.00/MUSIC
+port=8100
+proxy=
+
+[NEWS::JABBER]
+active=n
+level=1
+passwd=password
+receiveUser=receiveUser@jabber.org
+user=newsxxv@jabber.org
+
+[NEWS::MAIL]
+active=n
+address=xxv@example.com
+interval=6
+level=1
+smtp=smtp.googlemail.com
+spwd=password
+susr=user
+
+[NEWS::RSS]
+active=y
+level=1
+
+[NEWS::VDR]
+active=y
+level=1
+
+[RECORDS]
+commandfile=/etc/vdr/reccmds.conf
+interval=600
+previewbinary=/usr/bin/vdr2jpeg
+previewcommand=vdr2jpeg
+previewcount=3
+previewimages=/var/cache/xxv/preview
+previewlistthumbs=n
+previewlog=/var/log/xxv/xxvd_mplayer.log
+vfat=n
+videodir=/var/vdr/video
+
+[REMOTE]
+active=y
+commands=/etc/vdr/commands.conf
+
+[REPORT]
+active=y
+host=www.dyndns.org
+interval=6
+
+[ROBOT]
+active=y
+interval=3600
+
+[STATUS]
+active=y
+dfBinary=/bin/df
+font=VeraBI.ttf
+history=1
+interval=15
+wcBinary=/usr/bin/wc
+whoBinary=/usr/bin/who
+
+[STREAM]
+host=192.168.0.23
+netvideo=\\192.168.0.23\video
+
+[SVDRP]
+VdrHost=localhost
+VdrPort=2001
+
+[TELNET]
+Clients=5
+Port=8001
+active=y
+
+[TIMERS]
+DVBCards=1
+Lifetime=50
+Priority=50
+afterminutes=5
+deactive=y
+file=/etc/vdr/timers.conf
+interval=300
+prevminutes=1
+
+[USER]
+active=y
+noAuth=192.168.0.0/24, 127.0.0.1/32
+tempimages=/var/cache/xxv/temp
+withAuth=192.168.1.0/24
+
+[VTX]
+active=y
+cache=packed
+dir=/var/cache/vdr/vtx
+vtximages=./share/vtx
+
+[WAPD]
+Clients=5
+Port=8085
+WMLRoot=/usr/share/xxv-0.91_pre1126/wml
+active=y
diff --git a/www-misc/xxv/files/xxvd-logrotate b/www-misc/xxv/files/xxvd-logrotate
new file mode 100644
index 000000000000..a17519108a77
--- /dev/null
+++ b/www-misc/xxv/files/xxvd-logrotate
@@ -0,0 +1,27 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-misc/xxv/files/xxvd-logrotate,v 1.1 2009/04/11 23:02:00 hd_brummy Exp $
+
+/var/log/xxv/xxvd.log {
+ compress
+ daily
+ dateext
+ maxage 365
+ rotate 99
+ size=+4096k
+ notifempty
+ missingok
+ copytruncate
+}
+
+/var/log/xxv/xxvd_mplayer.log {
+ compress
+ daily
+ dateext
+ maxage 365
+ rotate 99
+ size=+4096k
+ notifempty
+ missingok
+ copytruncate
+}