diff options
author | Joerg Bornkessel <hd_brummy@gentoo.org> | 2018-07-06 15:14:27 +0200 |
---|---|---|
committer | Joerg Bornkessel <hd_brummy@gentoo.org> | 2018-07-06 15:14:27 +0200 |
commit | ada3ec53323baed59a476820958dfb753caf5e0e (patch) | |
tree | 5fdc81cedfd60557801588d3cd55af0b2b206022 /media-plugins/vdr-live/files | |
parent | dev-libs/libuv: Fix unexpected ABI change (bug #659872). (diff) | |
download | gentoo-ada3ec53323baed59a476820958dfb753caf5e0e.tar.gz gentoo-ada3ec53323baed59a476820958dfb753caf5e0e.tar.bz2 gentoo-ada3ec53323baed59a476820958dfb753caf5e0e.zip |
media-plugins/vdr-live: version bump, fixed deprecated eapi
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'media-plugins/vdr-live/files')
-rw-r--r-- | media-plugins/vdr-live/files/confd-2.3 | 29 | ||||
-rw-r--r-- | media-plugins/vdr-live/files/rc-addon-2.3.sh | 30 |
2 files changed, 59 insertions, 0 deletions
diff --git a/media-plugins/vdr-live/files/confd-2.3 b/media-plugins/vdr-live/files/confd-2.3 new file mode 100644 index 000000000000..cb1dce04dfb5 --- /dev/null +++ b/media-plugins/vdr-live/files/confd-2.3 @@ -0,0 +1,29 @@ +# configuration of media-plugins/vdr-live + +# for people who want more secure +# with ssl access. +# on usage, you have to install vdr-live +# with USE="ssl" +# +# SSL ADDRESS --> https://<your-ip>:8443/ +# +# allowed values: yes no +# default: no +#LIVE_USE_SSL="yes" + +# default given portnumber +# only changes needed on problems +# +#LIVE_PORT="8008" +#LIVE_SSL_PORT="8443" + +# bind to these IP addresses +# default, your IP will automaticly detected +# +LIVE_BIND_IPS="127.0.0.1" + +# for people who have epgimges +# default: /var/cache/vdr/epgimges +# +# set this to your own path, if needed +#EPGIMAGES_DIR=" " diff --git a/media-plugins/vdr-live/files/rc-addon-2.3.sh b/media-plugins/vdr-live/files/rc-addon-2.3.sh new file mode 100644 index 000000000000..1372e09d56f0 --- /dev/null +++ b/media-plugins/vdr-live/files/rc-addon-2.3.sh @@ -0,0 +1,30 @@ +# +# zzam@g.o +# hd_brummy@g.o + +EPGIMAGES_DIR="/var/cache/vdr/epgimages" + +plugin_pre_vdr_start() { + if [ "${LIVE_USE_SSL:=no}" = "yes" ]; then + if [ -n "${LIVE_SSL_PORT}" ]; then + add_plugin_param "-s ${LIVE_SSL_PORT}" + fi + + add_plugin_param "--cert=/etc/vdr/plugins/live/live.pem" + add_plugin_param "--key=/etc/vdr/plugins/live/live-key.pem" + + else + if [ -n "${LIVE_PORT}" ]; then + add_plugin_param "-p ${LIVE_PORT}" + fi + fi + + if [ -d ${EPGIMAGES_DIR} ]; then + add_plugin_param "--epgimages=${EPGIMAGES_DIR}" + fi + + local ip + for ip in ${LIVE_BIND_IPS:=`hostname -i`}; do + add_plugin_param "-i ${ip}" + done +} |