summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2014-06-01 17:09:08 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2014-06-01 17:09:08 +0000
commit041c6ebdcf80945220b8b6da1780d2c747c79b76 (patch)
tree77cafd38028e5b7d3f35cf94e117340d9212d930 /media-plugins/vdr-vdrmanager/files
parentMark arm64/m68k/s390/sh stable. (diff)
downloadgentoo-2-041c6ebdcf80945220b8b6da1780d2c747c79b76.tar.gz
gentoo-2-041c6ebdcf80945220b8b6da1780d2c747c79b76.tar.bz2
gentoo-2-041c6ebdcf80945220b8b6da1780d2c747c79b76.zip
bump
(Portage version: 2.2.10/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 34C2808A)
Diffstat (limited to 'media-plugins/vdr-vdrmanager/files')
-rw-r--r--media-plugins/vdr-vdrmanager/files/confd-0.1242
-rw-r--r--media-plugins/vdr-vdrmanager/files/rc-addon-0.12.sh29
2 files changed, 71 insertions, 0 deletions
diff --git a/media-plugins/vdr-vdrmanager/files/confd-0.12 b/media-plugins/vdr-vdrmanager/files/confd-0.12
new file mode 100644
index 000000000000..e37fdffcd26f
--- /dev/null
+++ b/media-plugins/vdr-vdrmanager/files/confd-0.12
@@ -0,0 +1,42 @@
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-vdrmanager/files/confd-0.12,v 1.1 2014/06/01 17:09:08 hd_brummy Exp $
+# /etc/conf.d/vdr.vdrmanager
+
+# Parameters for vdr-plugin-vdrmanager
+#
+# For more details see:
+# http://projects.vdr-developer.org/projects/vdr-manager/wiki
+
+# Set the port where the plugin is listen on
+# allowed values: port number
+# default: 6420
+# default port on ssl connection is always VDRMANAGER_PORT +1
+# this means, if you enable ssl support on your android vdrmanager app
+# add +1 in the app port setup, else it will still the non ssl connection be used
+# try to remember on this ;)
+#
+#VDRMANAGER_PORT="6420"
+
+# Set the password where the plugin/app is listen on
+# allowed values: your_password
+# default:
+#
+VDRMANAGER_PASS=""
+
+# Force check against svdrphosts.conf
+# change this to yes, if you have added a static IP
+# for access outside from your LAN
+#
+# allowed values: yes | no
+# default: no
+#
+#SVDRPHOSTS_CHECK="no"
+
+# Compressionsmode for data transfer
+# 'g' for gzip, if you has use-flag gzip enabled on plugin install
+# 'z' for zlib, if you has use-flag zlib enabled on plugin install
+# 'n' for none, if you would like to disable compression
+#
+# allowed values: g | z | n
+# default: unset
+#
+#VDRMANAGER_COMPRESSION=""
diff --git a/media-plugins/vdr-vdrmanager/files/rc-addon-0.12.sh b/media-plugins/vdr-vdrmanager/files/rc-addon-0.12.sh
new file mode 100644
index 000000000000..a7d8ce0bbfcd
--- /dev/null
+++ b/media-plugins/vdr-vdrmanager/files/rc-addon-0.12.sh
@@ -0,0 +1,29 @@
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-vdrmanager/files/rc-addon-0.12.sh,v 1.1 2014/06/01 17:09:08 hd_brummy Exp $
+#
+# rc-addon plugin-startup-skript for vdr-vdrmanager
+#
+
+: ${VDRMANAGER_PORT:=6420}
+
+# default path from ebuild merge; no option in config file to overwrite
+: ${VDRMANAGER_CERTFILE:=/etc/vdr/plugins/vdrmanager/vdrmanager.pem}
+
+if [[ -z ${VDRMANAGER_PASS} ]]; then
+ eerror "Empty password in /etc/conf.d/vdr.vdrmanager"
+ logger -t vdr "ERROR: need password for plugin vdr-manager"
+fi
+
+plugin_pre_vdr_start() {
+
+ add_plugin_param "-p${VDRMANAGER_PORT}"
+ add_plugin_param "-P${VDRMANAGER_PASS}"
+
+ if yesno ${SVDRPHOSTS_CHECK:-no}; then
+ add_plugin_param "-s"
+ fi
+
+ add_plugin_param "-k ${VDRMANAGER_CERTFILE}"
+
+ # vdrmanager_compression
+ add_plugin_param "-c ${VDRMANAGER_COMPRESSION}"
+}