summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2007-12-02 16:02:37 +0000
committerJoerg Bornkessel <hd_brummy@gentoo.org>2007-12-02 16:02:37 +0000
commit4c24366e38ba80c5154615c4c0ab95c12651923e (patch)
treed96a3bc73e85152b89ec42a1146f6997d441abda /media-plugins/vdr-osdserver
parentstable x86 (diff)
downloadhistorical-4c24366e38ba80c5154615c4c0ab95c12651923e.tar.gz
historical-4c24366e38ba80c5154615c4c0ab95c12651923e.tar.bz2
historical-4c24366e38ba80c5154615c4c0ab95c12651923e.zip
initial ebuild, tanks to Guido Zuliani on bug 200903
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'media-plugins/vdr-osdserver')
-rw-r--r--media-plugins/vdr-osdserver/ChangeLog12
-rw-r--r--media-plugins/vdr-osdserver/Manifest43
-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
-rw-r--r--media-plugins/vdr-osdserver/metadata.xml12
-rw-r--r--media-plugins/vdr-osdserver/vdr-osdserver-0.1.1.ebuild40
9 files changed, 158 insertions, 0 deletions
diff --git a/media-plugins/vdr-osdserver/ChangeLog b/media-plugins/vdr-osdserver/ChangeLog
new file mode 100644
index 000000000000..e0aa36782830
--- /dev/null
+++ b/media-plugins/vdr-osdserver/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for media-plugins/vdr-osdserver
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-osdserver/ChangeLog,v 1.1 2007/12/02 16:02:36 hd_brummy Exp $
+
+*vdr-osdserver-0.1.1 (02 Dec 2007)
+
+ 02 Dec 2007; Joerg Bornkessel <hd_brummy@gentoo.org>
+ +files/vdr-osdserver-0.1.1-gentoo.diff, +files/confd,
+ +files/osdserverhosts.conf, +files/rc-addon.sh, +metadata.xml,
+ +vdr-osdserver-0.1.1.ebuild:
+ initial ebuild, tanks to Guido Zuliani on bug 200903
+
diff --git a/media-plugins/vdr-osdserver/Manifest b/media-plugins/vdr-osdserver/Manifest
new file mode 100644
index 000000000000..4804a8082014
--- /dev/null
+++ b/media-plugins/vdr-osdserver/Manifest
@@ -0,0 +1,43 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX confd 228 RMD160 f8f824514ca9e4b1d03666ed37c725f50dad262d SHA1 a08910ae19425f14a21a9b6e0b90b7cb8d77c282 SHA256 e4351c9cc12c9ed329a4d9895ad2ae28deef567805b99d140594f8810f0b1a27
+MD5 389886b8998fa54e01bf61b909729f86 files/confd 228
+RMD160 f8f824514ca9e4b1d03666ed37c725f50dad262d files/confd 228
+SHA256 e4351c9cc12c9ed329a4d9895ad2ae28deef567805b99d140594f8810f0b1a27 files/confd 228
+AUX osdserverhosts.conf 439 RMD160 35c13826d5f02c84afc9ade6a3bf444bbf7fbd73 SHA1 dab81d059446432ccdc252ab88f7c18d15e38136 SHA256 c6c9a05dff2774217fcb4cc8d742eed83ccd551a604afc30f33622be8f735d55
+MD5 aa4e32b7f77eee96efeba936b90dd123 files/osdserverhosts.conf 439
+RMD160 35c13826d5f02c84afc9ade6a3bf444bbf7fbd73 files/osdserverhosts.conf 439
+SHA256 c6c9a05dff2774217fcb4cc8d742eed83ccd551a604afc30f33622be8f735d55 files/osdserverhosts.conf 439
+AUX rc-addon.sh 286 RMD160 9d9eeeda6b3fb559cab813b6be98dec76588dd94 SHA1 932a1943179a4bd2fdef75d9b4c1d63da92a4c9a SHA256 4d5cc71858be81fd1ee2935b9dc0a8f72c7a772a91b8ca8870fef7f69b9e1274
+MD5 0e8c4826119d2b245fd031df83a2025f files/rc-addon.sh 286
+RMD160 9d9eeeda6b3fb559cab813b6be98dec76588dd94 files/rc-addon.sh 286
+SHA256 4d5cc71858be81fd1ee2935b9dc0a8f72c7a772a91b8ca8870fef7f69b9e1274 files/rc-addon.sh 286
+AUX vdr-osdserver-0.1.1-gentoo.diff 720 RMD160 1a4d1dc1604c4f6b387dd10315e93425867e16db SHA1 85cbdc4255c58955d16f3e60b0cb62e7461dc8c6 SHA256 46fb17e3518ecbe8222d5b4709c0b8fa59450a5f7bb1c3758b9a0cbda3d3cf50
+MD5 4dcffe91a6db5b54fbc6c2363eee3422 files/vdr-osdserver-0.1.1-gentoo.diff 720
+RMD160 1a4d1dc1604c4f6b387dd10315e93425867e16db files/vdr-osdserver-0.1.1-gentoo.diff 720
+SHA256 46fb17e3518ecbe8222d5b4709c0b8fa59450a5f7bb1c3758b9a0cbda3d3cf50 files/vdr-osdserver-0.1.1-gentoo.diff 720
+DIST vdr-osdserver-0.1.1.tgz 41455 RMD160 66e0d094bf8f446e88fa36254ea741f1b4264db5 SHA1 4fe27ff4eb35a360303aefba60e223c2b81d79ba SHA256 92082c9f79d0353c81e7e6e165f85a27b4007fbfac5d8c5ce69719ee7abf9345
+EBUILD vdr-osdserver-0.1.1.ebuild 1057 RMD160 99a0a255337e7653dc33a2f644cab9e60839630f SHA1 041e1e0bd4487ed80a650c368f9678dcbf646f92 SHA256 3bac2eb3670daa35b74d5a576d6ae9d65726d8bf75843a32c9820308389699e7
+MD5 7b60c8875cc17d4ce6a3083abe03a0ab vdr-osdserver-0.1.1.ebuild 1057
+RMD160 99a0a255337e7653dc33a2f644cab9e60839630f vdr-osdserver-0.1.1.ebuild 1057
+SHA256 3bac2eb3670daa35b74d5a576d6ae9d65726d8bf75843a32c9820308389699e7 vdr-osdserver-0.1.1.ebuild 1057
+MISC ChangeLog 529 RMD160 4af7e49c633dac09a0784581a4b95d10fb83be64 SHA1 ae851d35fba4d8ec10f413623949985ed61b68a5 SHA256 d6ca805a4515e6faa1253186418a00f1a5dcaee39ff29aefe5d1c809766f4a6e
+MD5 1333119ef770b8d1d632b937982069ed ChangeLog 529
+RMD160 4af7e49c633dac09a0784581a4b95d10fb83be64 ChangeLog 529
+SHA256 d6ca805a4515e6faa1253186418a00f1a5dcaee39ff29aefe5d1c809766f4a6e ChangeLog 529
+MISC metadata.xml 298 RMD160 7e0a2f2a14c259d83aeca27b96f53bde893cc3cf SHA1 909d564739e5ee061ef40e6b09c6a48c6578269f SHA256 50a4a1a273a8415774ef522ac281cd664bd217c04bcbfa16e13b53649b9a9581
+MD5 e0c01eee6ee7e11d5d597aee9f9a2852 metadata.xml 298
+RMD160 7e0a2f2a14c259d83aeca27b96f53bde893cc3cf metadata.xml 298
+SHA256 50a4a1a273a8415774ef522ac281cd664bd217c04bcbfa16e13b53649b9a9581 metadata.xml 298
+MD5 87a2a4da41877fe5dbca51f6a9d7d7fa files/digest-vdr-osdserver-0.1.1 247
+RMD160 35dadd0109c4fb798d34191bbde0d150ae1aae16 files/digest-vdr-osdserver-0.1.1 247
+SHA256 7cb541b91fe6581461e2829c88223a00ee1e51d51c4d78e3c94496386821ad0c files/digest-vdr-osdserver-0.1.1 247
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+Comment: added by hd_brummy@gentoo.org
+
+iD8DBQFHUtcQdn07HTTCgIoRAu8NAJ9uEivgHVMkHAlF2+tvIh+zViIxAwCgrBWp
+NlvSATqYiELpsN6CfDuni2I=
+=Ynba
+-----END PGP SIGNATURE-----
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
+
diff --git a/media-plugins/vdr-osdserver/metadata.xml b/media-plugins/vdr-osdserver/metadata.xml
new file mode 100644
index 000000000000..d1b88e6872a7
--- /dev/null
+++ b/media-plugins/vdr-osdserver/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>media-tv</herd>
+<maintainer>
+<email>vdr@gentoo.org</email>
+<name>Gentoo VDR Project</name>
+</maintainer>
+<longdescription lang="en">
+</longdescription>
+</pkgmetadata>
+
diff --git a/media-plugins/vdr-osdserver/vdr-osdserver-0.1.1.ebuild b/media-plugins/vdr-osdserver/vdr-osdserver-0.1.1.ebuild
new file mode 100644
index 000000000000..334e1a22ac17
--- /dev/null
+++ b/media-plugins/vdr-osdserver/vdr-osdserver-0.1.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-osdserver/vdr-osdserver-0.1.1.ebuild,v 1.1 2007/12/02 16:02:36 hd_brummy Exp $
+
+inherit vdr-plugin
+
+DESCRIPTION="VDR plugin: provides VDR OSD access to external programs and scripts through a TCP/IP socket connection, just like an X server does."
+HOMEPAGE="http://www.udo-richter.de/vdr/osdserver.en.html"
+SRC_URI=" http://www.udo-richter.de/vdr/files/${P}.tgz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND=">=media-video/vdr-1.4.6"
+
+RDEPEND=""
+
+PATCHES="${FILESDIR}/${P}-gentoo.diff"
+
+src_install() {
+ vdr-plugin_src_install
+
+ insinto /etc/vdr/plugins/osdserver
+ doins "${FILESDIR}"/osdserverhosts.conf
+
+ dodoc examples/helloworld.{sh,pl}
+}
+
+pkg_postinst() {
+ vdr-plugin_pkg_postinst
+
+ echo
+ elog "Check configuration files:"
+ elog "/etc/vdr/plugins/osdserver/osdserverhosts.conf"
+ elog "/etc/conf.d/vdr.osdserver"
+ elog "Examples are in '/usr/share/doc/vdr/${P}/'"
+ echo
+}