summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2007-12-02 16:02:37 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2007-12-02 16:02:37 +0000
commit883c5bd298a78375c244be51dbee8a31d3095cd0 (patch)
treeb0cd0c38be2aa5acbc98482df1e2f6d6a402634e /media-plugins/vdr-osdserver/files
parentstable x86 (diff)
downloadgentoo-2-883c5bd298a78375c244be51dbee8a31d3095cd0.tar.gz
gentoo-2-883c5bd298a78375c244be51dbee8a31d3095cd0.tar.bz2
gentoo-2-883c5bd298a78375c244be51dbee8a31d3095cd0.zip
initial ebuild, tanks to Guido Zuliani on bug 200903
(Portage version: 2.1.3.19)
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/digest-vdr-osdserver-0.1.13
-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
5 files changed, 51 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..80825c77cf38
--- /dev/null
+++ b/media-plugins/vdr-osdserver/files/confd
@@ -0,0 +1,7 @@
+# /etc/conf.d/vdr.osdserver
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-osdserver/files/confd,v 1.1 2007/12/02 16:02:37 hd_brummy Exp $
+
+### Listening port for osdserver plugin
+# default: 2010
+#OSDSERVER_PORT="2010"
+
diff --git a/media-plugins/vdr-osdserver/files/digest-vdr-osdserver-0.1.1 b/media-plugins/vdr-osdserver/files/digest-vdr-osdserver-0.1.1
new file mode 100644
index 000000000000..fc53ec3b9991
--- /dev/null
+++ b/media-plugins/vdr-osdserver/files/digest-vdr-osdserver-0.1.1
@@ -0,0 +1,3 @@
+MD5 3631cf6fd8d85c39b69be04bc357453c vdr-osdserver-0.1.1.tgz 41455
+RMD160 66e0d094bf8f446e88fa36254ea741f1b4264db5 vdr-osdserver-0.1.1.tgz 41455
+SHA256 92082c9f79d0353c81e7e6e165f85a27b4007fbfac5d8c5ce69719ee7abf9345 vdr-osdserver-0.1.1.tgz 41455
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..03073be2a6b1
--- /dev/null
+++ b/media-plugins/vdr-osdserver/files/rc-addon.sh
@@ -0,0 +1,11 @@
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-osdserver/files/rc-addon.sh,v 1.1 2007/12/02 16:02:37 hd_brummy Exp $
+#
+# 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
+