summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2008-01-27 17:42:03 +0000
committerJoerg Bornkessel <hd_brummy@gentoo.org>2008-01-27 17:42:03 +0000
commit95a0626614a5748019b0932ab9c76550ebf36620 (patch)
treef71c6fd7e5e490f2bcbc22d595e3af694d20796c /media-plugins/vdr-wapd/files
parentAdd 0.4.6. (diff)
downloadhistorical-95a0626614a5748019b0932ab9c76550ebf36620.tar.gz
historical-95a0626614a5748019b0932ab9c76550ebf36620.tar.bz2
historical-95a0626614a5748019b0932ab9c76550ebf36620.zip
initial ebuild
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'media-plugins/vdr-wapd/files')
-rw-r--r--media-plugins/vdr-wapd/files/confd9
-rw-r--r--media-plugins/vdr-wapd/files/digest-vdr-wapd-0.93
-rw-r--r--media-plugins/vdr-wapd/files/rc-addon.sh10
-rw-r--r--media-plugins/vdr-wapd/files/vdr-wapd-0.9-gentoo.diff14
-rw-r--r--media-plugins/vdr-wapd/files/vdr-wapd-0.9_gcc-4.1.x.diff12
-rw-r--r--media-plugins/vdr-wapd/files/wapaccess5
-rw-r--r--media-plugins/vdr-wapd/files/waphosts10
7 files changed, 63 insertions, 0 deletions
diff --git a/media-plugins/vdr-wapd/files/confd b/media-plugins/vdr-wapd/files/confd
new file mode 100644
index 000000000000..c48fcaf3e38d
--- /dev/null
+++ b/media-plugins/vdr-wapd/files/confd
@@ -0,0 +1,9 @@
+# Global config file for vdr wapd plugin
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-wapd/files/confd,v 1.1 2008/01/27 17:42:03 hd_brummy Exp $
+
+# Set the port where the plugin is listen on
+# allowed values: port number
+# default: 8888
+#
+#WAPD_PORT="8888"
+
diff --git a/media-plugins/vdr-wapd/files/digest-vdr-wapd-0.9 b/media-plugins/vdr-wapd/files/digest-vdr-wapd-0.9
new file mode 100644
index 000000000000..7ec18aef8a77
--- /dev/null
+++ b/media-plugins/vdr-wapd/files/digest-vdr-wapd-0.9
@@ -0,0 +1,3 @@
+MD5 31c193e247ead08e8f5fb76c1eb3d0ee vdr-wapd-0.9.tgz 31975
+RMD160 f392c2c252aedb03d7c4081d72cb3683f6edf603 vdr-wapd-0.9.tgz 31975
+SHA256 6d901dd352f2eb142dd070e11726cd74b05bb66f70b169e612b181dde738145e vdr-wapd-0.9.tgz 31975
diff --git a/media-plugins/vdr-wapd/files/rc-addon.sh b/media-plugins/vdr-wapd/files/rc-addon.sh
new file mode 100644
index 000000000000..79c2785ad161
--- /dev/null
+++ b/media-plugins/vdr-wapd/files/rc-addon.sh
@@ -0,0 +1,10 @@
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-wapd/files/rc-addon.sh,v 1.1 2008/01/27 17:42:03 hd_brummy Exp $
+#
+# rc-addon-script for plugin wapd
+#
+# Joerg Bornkessel hd_brummy@gentoo.org
+
+plugin_pre_vdr_start() {
+
+ add_plugin_param "-p ${WAPD_PORT:=8888}"
+}
diff --git a/media-plugins/vdr-wapd/files/vdr-wapd-0.9-gentoo.diff b/media-plugins/vdr-wapd/files/vdr-wapd-0.9-gentoo.diff
new file mode 100644
index 000000000000..70f7d733f045
--- /dev/null
+++ b/media-plugins/vdr-wapd/files/vdr-wapd-0.9-gentoo.diff
@@ -0,0 +1,14 @@
+diff -Naur wapd-0.9.orig/wapd.c wapd-0.9/wapd.c
+--- wapd-0.9.orig/wapd.c 2008-01-27 17:38:18.000000000 +0100
++++ wapd-0.9/wapd.c 2008-01-27 17:40:45.000000000 +0100
+@@ -85,8 +85,8 @@
+ bool cPluginWapd::Start(void)
+ {
+ RegisterI18n(Phrases);
+- if (WapHosts.Load(AddDirectory(ConfigDirectory(), "waphosts"), true)
+- && WapAccess.Load(AddDirectory(ConfigDirectory(), "wapaccess"), true)
++ if (WapHosts.Load(AddDirectory(ConfigDirectory( "wapd" ), "waphosts"), true)
++ && WapAccess.Load(AddDirectory(ConfigDirectory( "wapd" ), "wapaccess"), true)
+ && (server = new cWapServer(tcpport)))
+ return true;
+ return false;
diff --git a/media-plugins/vdr-wapd/files/vdr-wapd-0.9_gcc-4.1.x.diff b/media-plugins/vdr-wapd/files/vdr-wapd-0.9_gcc-4.1.x.diff
new file mode 100644
index 000000000000..1fe4e9245061
--- /dev/null
+++ b/media-plugins/vdr-wapd/files/vdr-wapd-0.9_gcc-4.1.x.diff
@@ -0,0 +1,12 @@
+diff -Naur wapd-0.9.orig/wappasswd.c wapd-0.9/wappasswd.c
+--- wapd-0.9.orig/wappasswd.c 2008-01-27 16:09:43.000000000 +0100
++++ wapd-0.9/wappasswd.c 2008-01-27 16:12:11.000000000 +0100
+@@ -30,7 +30,7 @@
+ {
+ if (argc != 3) exit(EXIT_FAILURE);
+
+- char *sset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789./";
++ const char *sset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789./";
+ char salt[3] = "AA";
+
+ srand((int) time((time_t *) NULL)); \ No newline at end of file
diff --git a/media-plugins/vdr-wapd/files/wapaccess b/media-plugins/vdr-wapd/files/wapaccess
new file mode 100644
index 000000000000..ca53653a9a5f
--- /dev/null
+++ b/media-plugins/vdr-wapd/files/wapaccess
@@ -0,0 +1,5 @@
+# To create a new ''wapaccess'' file with a new user simply type:
+# wappasswd username password >> /etc/vdr/plugins/wapd/wapaccess
+
+# To delete a user from ''wapaccess'' use your favourite text editor
+# and remove the line ''username:passwordhash''.
diff --git a/media-plugins/vdr-wapd/files/waphosts b/media-plugins/vdr-wapd/files/waphosts
new file mode 100644
index 000000000000..9fea92a0f571
--- /dev/null
+++ b/media-plugins/vdr-wapd/files/waphosts
@@ -0,0 +1,10 @@
+#
+# waphosts This file describes a number of host addresses that
+# are allowed to connect to the port of the vdr-wapd
+# plugin running on this system.
+# Syntax:
+#
+# IP-Address[/Netmask]
+#
+
+127.0.0.1 # always accept localhost