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-live/files: confd-0.2 rc-addon-0.2.sh
Date: Thu, 27 Jan 2011 17:58:21
Message-Id: 20110127175811.2688F20057@flycatcher.gentoo.org
1 hd_brummy 11/01/27 17:58:11
2
3 Added: confd-0.2 rc-addon-0.2.sh
4 Log:
5 fixed depend to right version; new rc-addon, conf files
6
7 (Portage version: 2.1.9.25/cvs/Linux i686)
8
9 Revision Changes Path
10 1.1 media-plugins/vdr-live/files/confd-0.2
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-live/files/confd-0.2?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-live/files/confd-0.2?rev=1.1&content-type=text/plain
14
15 Index: confd-0.2
16 ===================================================================
17 # configuration of media-plugins/vdr-live
18
19 # for people who want more secure
20 # with ssl access.
21 # on usage, you have to install vdr-live
22 # with USE="ssl"
23 #
24 # SSL ADDRESS --> https://<your-ip>:8443/
25 #
26 # allowed values: yes no
27 # default: no
28 #LIVE_USE_SSL="yes"
29
30 # default given portnumber
31 # only changes needed on problems
32 #
33 #LIVE_PORT="8008"
34 #LIVE_SSL_PORT="8443"
35
36 # bind to these IP addresses
37 # default, your IP will automaticly detected
38 #
39 #LIVE_BIND_IPS="127.0.0.1"
40
41
42
43 1.1 media-plugins/vdr-live/files/rc-addon-0.2.sh
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-live/files/rc-addon-0.2.sh?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-live/files/rc-addon-0.2.sh?rev=1.1&content-type=text/plain
47
48 Index: rc-addon-0.2.sh
49 ===================================================================
50 # $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-live/files/rc-addon-0.2.sh,v 1.1 2011/01/27 17:58:11 hd_brummy Exp $
51 #
52 # zzam@g.o
53 # hd_brummy@g.o
54
55
56 plugin_pre_vdr_start() {
57 if [ "${LIVE_USE_SSL:=no}" = "yes" ]; then
58 if [ -n "${LIVE_SSL_PORT}" ]; then
59 add_plugin_param "-s ${LIVE_SSL_PORT}"
60 fi
61
62 add_plugin_param "--cert=/etc/vdr/plugins/live/live.crt"
63 add_plugin_param "--key=/etc/vdr/plugins/live/live.key"
64
65 else
66 if [ -n "${LIVE_PORT}" ]; then
67 add_plugin_param "-p ${LIVE_PORT}"
68 fi
69 fi
70
71 local ip
72 for ip in ${LIVE_BIND_IPS:=`hostname -i`}; do
73 add_plugin_param "-i ${ip}"
74 done
75 }