summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-plugins/vdr-osdserver/files
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-plugins/vdr-osdserver/files')
-rw-r--r--media-plugins/vdr-osdserver/files/confd7
-rw-r--r--media-plugins/vdr-osdserver/files/osdserverhosts.conf14
-rw-r--r--media-plugins/vdr-osdserver/files/rc-addon.sh11
-rw-r--r--media-plugins/vdr-osdserver/files/vdr-osdserver-0.1.1-gentoo.diff16
4 files changed, 48 insertions, 0 deletions
diff --git a/media-plugins/vdr-osdserver/files/confd b/media-plugins/vdr-osdserver/files/confd
new file mode 100644
index 000000000000..5656749487d4
--- /dev/null
+++ b/media-plugins/vdr-osdserver/files/confd
@@ -0,0 +1,7 @@
+# /etc/conf.d/vdr.osdserver
+# $Id$
+
+### Listening port for osdserver plugin
+# default: 2010
+#OSDSERVER_PORT="2010"
+
diff --git a/media-plugins/vdr-osdserver/files/osdserverhosts.conf b/media-plugins/vdr-osdserver/files/osdserverhosts.conf
new file mode 100644
index 000000000000..845c27697e6a
--- /dev/null
+++ b/media-plugins/vdr-osdserver/files/osdserverhosts.conf
@@ -0,0 +1,14 @@
+#
+# osdserverhosts This file describes a number of host addresses that
+# are allowed to connect to the osdserver pluging
+# with the Video Disk Recorder (VDR) on this system.
+# Syntax:
+#
+# IP-Address[/Netmask]
+#
+
+127.0.0.1 # always accept localhost
+#192.168.1.0/24 # any host on the local net
+#204.152.189.113 # a specific host
+#0.0.0.0/0 # any host on any net (USE THIS WITH CARE!)
+
diff --git a/media-plugins/vdr-osdserver/files/rc-addon.sh b/media-plugins/vdr-osdserver/files/rc-addon.sh
new file mode 100644
index 000000000000..56c46cba944f
--- /dev/null
+++ b/media-plugins/vdr-osdserver/files/rc-addon.sh
@@ -0,0 +1,11 @@
+# $Id$
+#
+# rc-addon plugin-startup-skript for vdr-osdserver
+#
+# zulio <zulio(at)zulinux.net>
+
+plugin_pre_vdr_start() {
+
+ add_plugin_param "-p ${OSDSERVER_PORT:=2010}"
+}
+
diff --git a/media-plugins/vdr-osdserver/files/vdr-osdserver-0.1.1-gentoo.diff b/media-plugins/vdr-osdserver/files/vdr-osdserver-0.1.1-gentoo.diff
new file mode 100644
index 000000000000..3d6fea51ac89
--- /dev/null
+++ b/media-plugins/vdr-osdserver/files/vdr-osdserver-0.1.1-gentoo.diff
@@ -0,0 +1,16 @@
+change the default path for config directory
+zulio (at) zulinux.net
+
+diff -Naur osdserver-0.1.1.orig/osdserver.c osdserver-0.1.1/osdserver.c
+--- osdserver-0.1.1.orig/osdserver.c 2007-10-07 00:34:47.000000000 +0200
++++ osdserver-0.1.1/osdserver.c 2007-11-30 20:05:54.000000000 +0100
+@@ -72,7 +72,7 @@
+
+ bool cPluginOsdServer::Initialize() {
+ // Initialize any background activities the plugin shall perform.
+- cString OsdServerHosts = AddDirectory(cPlugin::ConfigDirectory(), "osdserverhosts.conf");
++ cString OsdServerHosts = AddDirectory(cPlugin::ConfigDirectory(), "osdserver/osdserverhosts.conf");
+ if (access(OsdServerHosts, F_OK) == 0)
+ Server = new cServer(Port, OsdServerHosts);
+ else
+