summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2008-03-27 22:17:38 +0000
committerJoerg Bornkessel <hd_brummy@gentoo.org>2008-03-27 22:17:38 +0000
commit8d460c34f230f2f9cf1782f02064b499aeb4b81a (patch)
tree4097133f1abb06d25ae7b69bd8a5d6454195017d /media-plugins/vdr-extb/files
parentStable for HPPA (bug #214226). (diff)
downloadhistorical-8d460c34f230f2f9cf1782f02064b499aeb4b81a.tar.gz
historical-8d460c34f230f2f9cf1782f02064b499aeb4b81a.tar.bz2
historical-8d460c34f230f2f9cf1782f02064b499aeb4b81a.zip
initial ebuild , moved from gentoo.de overlay
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'media-plugins/vdr-extb/files')
-rw-r--r--media-plugins/vdr-extb/files/extb-wakeup-0.2.9.tar.gzbin0 -> 6019 bytes
-rw-r--r--media-plugins/vdr-extb/files/rc.irexec22
-rw-r--r--media-plugins/vdr-extb/files/vdr-extb-0.2.9-gentoo.diff71
-rw-r--r--media-plugins/vdr-extb/files/vdr.extb6
4 files changed, 99 insertions, 0 deletions
diff --git a/media-plugins/vdr-extb/files/extb-wakeup-0.2.9.tar.gz b/media-plugins/vdr-extb/files/extb-wakeup-0.2.9.tar.gz
new file mode 100644
index 000000000000..77888fa8f3ea
--- /dev/null
+++ b/media-plugins/vdr-extb/files/extb-wakeup-0.2.9.tar.gz
Binary files differ
diff --git a/media-plugins/vdr-extb/files/rc.irexec b/media-plugins/vdr-extb/files/rc.irexec
new file mode 100644
index 000000000000..28934cfc4c4c
--- /dev/null
+++ b/media-plugins/vdr-extb/files/rc.irexec
@@ -0,0 +1,22 @@
+#!/sbin/runscript
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-extb/files/rc.irexec,v 1.1 2008/03/27 22:17:38 hd_brummy Exp $
+
+
+depend() {
+ need lircd
+}
+
+start() {
+ ebegin "Starting irexec"
+ /usr/bin/irexec -d /etc/lircrc
+ eend $? "Failed to start irexec."
+}
+
+stop() {
+ ebegin "Stopping irexec"
+ killall irexec
+ eend $? "Failed to stop irexec."
+}
+
diff --git a/media-plugins/vdr-extb/files/vdr-extb-0.2.9-gentoo.diff b/media-plugins/vdr-extb/files/vdr-extb-0.2.9-gentoo.diff
new file mode 100644
index 000000000000..84169755a93c
--- /dev/null
+++ b/media-plugins/vdr-extb/files/vdr-extb-0.2.9-gentoo.diff
@@ -0,0 +1,71 @@
+diff -ur extb.orig/bin/extb.sh extb/bin/extb.sh
+--- extb.orig/bin/extb.sh 2004-05-05 17:38:29.000000000 +0200
++++ extb/bin/extb.sh 2004-07-19 22:19:49.459865904 +0200
+@@ -10,17 +10,11 @@
+ trap 'rm /tmp/tmp{1,2,3}.$$; exit 0' 2 15
+
+ #Defaults
+-SCRIPT_PATH="/opt/extb/bin/"
+-LINPIC_PATH="/opt/extb/bin/"
+-HEX_FILES_PATH="/opt/extb/src/PIC/firm/"
+-LIRCD_CMD="lircd"
+-IREXEC_CMD="irexec"
++SCRIPT_PATH="/usr/bin/"
++LINPIC_PATH="/usr/bin/"
++HEX_FILES_PATH=/usr/share/extb/"
+ SETSERIAL_CMD="setserial"
+-LIRC_CONF="/etc/lircd.conf"
+-LIRC_RC="/etc/lircrc"
+ COM_PORT="/dev/ttyS1"
+-VDR_PATH="/VDR/1.2.5/VDR/"
+-VDR_CMD="./runvdr"
+
+ # -----------------------------------------------------------------------------
+
+@@ -329,7 +323,7 @@
+ ;;
+
+ 1)
+- cp /tmp/PICflags PICflags.conf
++ cp /tmp/PICflags /etc/extb/PICflags.conf
+ _MAIN
+ ;;
+
+@@ -477,7 +471,8 @@
+ 0)
+ tx.sh M2 # sending M2 to Extension Board to disable video/audio
+ clear
+- killall irexec; killall lircd
++ /etc/init.d/irexec stop
++ /etc/init.d/lircd stop
+ sleep 1
+ $SETSERIAL_CMD $COM_PORT uart 16550
+ sleep 1
+@@ -487,14 +482,15 @@
+ echo ""
+ $SETSERIAL_CMD $COM_PORT uart none
+ sleep 1
+- $LIRCD_CMD $LIRC_CONF; $IREXEC_CMD $LIRC_RC &
++ /etc/init.d/lircd start
++ /etc/init.d/irexc start
+ echo ""
+ echo "Stopping VDR ..."
+- killall vdr
++ /etc/init.d/vdr stop
+ sleep 1
+ echo ""
+ echo "Restarting VDR ..."
+- cd $VDR_PATH; $VDR_CMD
++ rcvdr start
+ cd $SCRIPT_PATH
+ echo ""
+ # just in case the Extension Board plugin is not installed ...
+diff -ur extb.orig/bin/tx.sh extb/bin/tx.sh
+--- extb.orig/bin/tx.sh 2004-04-12 18:23:16.000000000 +0200
++++ extb/bin/tx.sh 2004-07-19 22:17:08.373354776 +0200
+@@ -1,2 +1,2 @@
+ #!/bin/bash
+-rc send_once EXTB_TX $1
+\ No newline at end of file
++irsend send_once EXTB_TX $1
+\ No newline at end of file
diff --git a/media-plugins/vdr-extb/files/vdr.extb b/media-plugins/vdr-extb/files/vdr.extb
new file mode 100644
index 000000000000..6c3b52131cd2
--- /dev/null
+++ b/media-plugins/vdr-extb/files/vdr.extb
@@ -0,0 +1,6 @@
+# /etc/conf.d/vdr.extb:
+
+# Global config file for vdr rc-scripts
+
+# configures the device for lirc
+DEVICE="/dev/lircd"