hd_brummy    14/06/01 17:09:08

  Added:                confd-0.12 rc-addon-0.12.sh
  Log:
  bump
  
  (Portage version: 2.2.10/cvs/Linux x86_64, RepoMan options: --force, signed 
Manifest commit with key 34C2808A)

Revision  Changes    Path
1.1                  media-plugins/vdr-vdrmanager/files/confd-0.12

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-vdrmanager/files/confd-0.12?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-vdrmanager/files/confd-0.12?rev=1.1&content-type=text/plain

Index: confd-0.12
===================================================================
# $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=""



1.1                  media-plugins/vdr-vdrmanager/files/rc-addon-0.12.sh

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-vdrmanager/files/rc-addon-0.12.sh?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-vdrmanager/files/rc-addon-0.12.sh?rev=1.1&content-type=text/plain

Index: rc-addon-0.12.sh
===================================================================
# $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}"
}




Reply via email to