Gentoo Archives: gentoo-commits

From: "Joerg Bornkessel (hd_brummy)" <hd_brummy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-plugins/vdr-extb/files: vdr.extb vdr-extb-0.2.9-gentoo.diff extb-wakeup-0.2.9.tar.gz rc.irexec
Date: Thu, 27 Mar 2008 22:17:42
Message-Id: E1Jf0Pj-0007PD-Ck@stork.gentoo.org
1 hd_brummy 08/03/27 22:17:39
2
3 Added: vdr.extb vdr-extb-0.2.9-gentoo.diff
4 extb-wakeup-0.2.9.tar.gz rc.irexec
5 Log:
6 initial ebuild , moved from gentoo.de overlay
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.1 media-plugins/vdr-extb/files/vdr.extb
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-extb/files/vdr.extb?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-extb/files/vdr.extb?rev=1.1&content-type=text/plain
14
15 Index: vdr.extb
16 ===================================================================
17 # /etc/conf.d/vdr.extb:
18
19 # Global config file for vdr rc-scripts
20
21 # configures the device for lirc
22 DEVICE="/dev/lircd"
23
24
25
26 1.1 media-plugins/vdr-extb/files/vdr-extb-0.2.9-gentoo.diff
27
28 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-extb/files/vdr-extb-0.2.9-gentoo.diff?rev=1.1&view=markup
29 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-extb/files/vdr-extb-0.2.9-gentoo.diff?rev=1.1&content-type=text/plain
30
31 Index: vdr-extb-0.2.9-gentoo.diff
32 ===================================================================
33 diff -ur extb.orig/bin/extb.sh extb/bin/extb.sh
34 --- extb.orig/bin/extb.sh 2004-05-05 17:38:29.000000000 +0200
35 +++ extb/bin/extb.sh 2004-07-19 22:19:49.459865904 +0200
36 @@ -10,17 +10,11 @@
37 trap 'rm /tmp/tmp{1,2,3}.$$; exit 0' 2 15
38
39 #Defaults
40 -SCRIPT_PATH="/opt/extb/bin/"
41 -LINPIC_PATH="/opt/extb/bin/"
42 -HEX_FILES_PATH="/opt/extb/src/PIC/firm/"
43 -LIRCD_CMD="lircd"
44 -IREXEC_CMD="irexec"
45 +SCRIPT_PATH="/usr/bin/"
46 +LINPIC_PATH="/usr/bin/"
47 +HEX_FILES_PATH=/usr/share/extb/"
48 SETSERIAL_CMD="setserial"
49 -LIRC_CONF="/etc/lircd.conf"
50 -LIRC_RC="/etc/lircrc"
51 COM_PORT="/dev/ttyS1"
52 -VDR_PATH="/VDR/1.2.5/VDR/"
53 -VDR_CMD="./runvdr"
54
55 # -----------------------------------------------------------------------------
56
57 @@ -329,7 +323,7 @@
58 ;;
59
60 1)
61 - cp /tmp/PICflags PICflags.conf
62 + cp /tmp/PICflags /etc/extb/PICflags.conf
63 _MAIN
64 ;;
65
66 @@ -477,7 +471,8 @@
67 0)
68 tx.sh M2 # sending M2 to Extension Board to disable video/audio
69 clear
70 - killall irexec; killall lircd
71 + /etc/init.d/irexec stop
72 + /etc/init.d/lircd stop
73 sleep 1
74 $SETSERIAL_CMD $COM_PORT uart 16550
75 sleep 1
76 @@ -487,14 +482,15 @@
77 echo ""
78 $SETSERIAL_CMD $COM_PORT uart none
79 sleep 1
80 - $LIRCD_CMD $LIRC_CONF; $IREXEC_CMD $LIRC_RC &
81 + /etc/init.d/lircd start
82 + /etc/init.d/irexc start
83 echo ""
84 echo "Stopping VDR ..."
85 - killall vdr
86 + /etc/init.d/vdr stop
87 sleep 1
88 echo ""
89 echo "Restarting VDR ..."
90 - cd $VDR_PATH; $VDR_CMD
91 + rcvdr start
92 cd $SCRIPT_PATH
93 echo ""
94 # just in case the Extension Board plugin is not installed ...
95 diff -ur extb.orig/bin/tx.sh extb/bin/tx.sh
96 --- extb.orig/bin/tx.sh 2004-04-12 18:23:16.000000000 +0200
97 +++ extb/bin/tx.sh 2004-07-19 22:17:08.373354776 +0200
98 @@ -1,2 +1,2 @@
99 #!/bin/bash
100 -rc send_once EXTB_TX $1
101 \ No newline at end of file
102 +irsend send_once EXTB_TX $1
103 \ No newline at end of file
104
105
106
107 1.1 media-plugins/vdr-extb/files/extb-wakeup-0.2.9.tar.gz
108
109 <<Binary file>>
110
111
112 1.1 media-plugins/vdr-extb/files/rc.irexec
113
114 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-extb/files/rc.irexec?rev=1.1&view=markup
115 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-extb/files/rc.irexec?rev=1.1&content-type=text/plain
116
117 Index: rc.irexec
118 ===================================================================
119 #!/sbin/runscript
120 # Copyright 1999-2008 Gentoo Foundation
121 # Distributed under the terms of the GNU General Public License v2
122 # $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-extb/files/rc.irexec,v 1.1 2008/03/27 22:17:38 hd_brummy Exp $
123
124
125 depend() {
126 need lircd
127 }
128
129 start() {
130 ebegin "Starting irexec"
131 /usr/bin/irexec -d /etc/lircrc
132 eend $? "Failed to start irexec."
133 }
134
135 stop() {
136 ebegin "Stopping irexec"
137 killall irexec
138 eend $? "Failed to stop irexec."
139 }
140
141
142
143
144 --
145 gentoo-commits@l.g.o mailing list