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-streamdev/files: rc-addon-0.6.0.sh confd-0.6.0 |
Date: | Sun, 31 Mar 2013 16:22:10 |
Message-Id: | 20130331162206.E6F322171E@flycatcher.gentoo.org |
1 | hd_brummy 13/03/31 16:22:06 |
2 | |
3 | Added: rc-addon-0.6.0.sh confd-0.6.0 |
4 | Log: |
5 | taken from vdr-devel overlay |
6 | |
7 | (Portage version: 2.1.11.50/cvs/Linux i686, signed Manifest commit with key 34C2808A) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-plugins/vdr-streamdev/files/rc-addon-0.6.0.sh |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-streamdev/files/rc-addon-0.6.0.sh?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-streamdev/files/rc-addon-0.6.0.sh?rev=1.1&content-type=text/plain |
14 | |
15 | Index: rc-addon-0.6.0.sh |
16 | =================================================================== |
17 | # $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-streamdev/files/rc-addon-0.6.0.sh,v 1.1 2013/03/31 16:22:06 hd_brummy Exp $ |
18 | # |
19 | # rc-addon-script for plugin streamdev-server |
20 | # |
21 | # Joerg Bornkessel <hd_brummy@g.o> |
22 | |
23 | plugin_pre_vdr_start() { |
24 | |
25 | : ${STREAMDEV_REMUX_SCRIPT:=/usr/share/vdr/streamdev/externremux.sh} |
26 | add_plugin_param "-r ${STREAMDEV_REMUX_SCRIPT}" |
27 | |
28 | if yesno ${STREAMDEV_HTTP_AUTH_ENABLE:-no}; then |
29 | |
30 | if [[ -z ${STREAMDEV_HTTP_LOGIN} ]]; then |
31 | eerror "No user in /etc/conf.d/vdr.streamdev-server" |
32 | logger -t vdr "ERROR: need password for plugin vdr-streamdev-server" |
33 | fi |
34 | |
35 | if [[ -z ${STREAMDEV_HTTP_PASSWORD} ]]; then |
36 | eerror "No password in /etc/conf.d/vdr.streamdev-server" |
37 | logger -t vdr "ERROR: need password for plugin vdr-streamdev-server" |
38 | fi |
39 | |
40 | add_plugin_param "-a ${STREAMDEV_HTTP_LOGIN}:${STREAMDEV_HTTP_PASSWORD}" |
41 | fi |
42 | } |
43 | |
44 | |
45 | |
46 | 1.1 media-plugins/vdr-streamdev/files/confd-0.6.0 |
47 | |
48 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-streamdev/files/confd-0.6.0?rev=1.1&view=markup |
49 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-streamdev/files/confd-0.6.0?rev=1.1&content-type=text/plain |
50 | |
51 | Index: confd-0.6.0 |
52 | =================================================================== |
53 | # /etc/conf.d/vdr.streamdev-server |
54 | |
55 | # Use your own remux script |
56 | # |
57 | # default: streamdevserver remux script is used |
58 | # take a look at the README for handling |
59 | # |
60 | # allowed values: full path to your replacement script |
61 | # |
62 | #STREAMDEV_REMUX_SCRIPT="/full/path/to/your/own/remux-script" |
63 | |
64 | # You can configure optional authentication credentials |
65 | # for the http protocol here |
66 | # |
67 | # ATTENTION: the colon character ":" is not allowed in |
68 | # both the login and password ! |
69 | # |
70 | # enable http_auth |
71 | # allowed values: yes | no |
72 | # default: no |
73 | # |
74 | #STREAMDEV_HTTP_AUTH_ENABLE="yes" |
75 | |
76 | # Set the user for http_auth |
77 | # allowed values: your_user |
78 | # default: |
79 | # |
80 | STREAMDEV_HTTP_LOGIN="" |
81 | |
82 | # Set the password for http_auth |
83 | # allowed values: your_password |
84 | # default: |
85 | # |
86 | STREAMDEV_HTTP_PASSWORD="" |