diff options
author | Jörg Bornkessel <hd_brummy@gentoo.org> | 2007-12-02 16:02:37 +0000 |
---|---|---|
committer | Jörg Bornkessel <hd_brummy@gentoo.org> | 2007-12-02 16:02:37 +0000 |
commit | 883c5bd298a78375c244be51dbee8a31d3095cd0 (patch) | |
tree | b0cd0c38be2aa5acbc98482df1e2f6d6a402634e /media-plugins/vdr-osdserver | |
parent | stable x86 (diff) | |
download | gentoo-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')
-rw-r--r-- | media-plugins/vdr-osdserver/ChangeLog | 12 | ||||
-rw-r--r-- | media-plugins/vdr-osdserver/Manifest | 32 | ||||
-rw-r--r-- | media-plugins/vdr-osdserver/files/confd | 7 | ||||
-rw-r--r-- | media-plugins/vdr-osdserver/files/digest-vdr-osdserver-0.1.1 | 3 | ||||
-rw-r--r-- | media-plugins/vdr-osdserver/files/osdserverhosts.conf | 14 | ||||
-rw-r--r-- | media-plugins/vdr-osdserver/files/rc-addon.sh | 11 | ||||
-rw-r--r-- | media-plugins/vdr-osdserver/files/vdr-osdserver-0.1.1-gentoo.diff | 16 | ||||
-rw-r--r-- | media-plugins/vdr-osdserver/metadata.xml | 12 | ||||
-rw-r--r-- | media-plugins/vdr-osdserver/vdr-osdserver-0.1.1.ebuild | 40 |
9 files changed, 147 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..626501553e71 --- /dev/null +++ b/media-plugins/vdr-osdserver/Manifest @@ -0,0 +1,32 @@ +AUX confd 130 RMD160 7a78748b38ae49a55cc3f1bdf1e512bb8da9e5d8 SHA1 63e35931cacee1dada9e4b15e2ecbbef42613429 SHA256 5517d879fbd52418a86bf21a4ca42c13114fc8e840409a1127bc4dce848b2259 +MD5 180c3ef40722c4022a80060dc2d0e4db files/confd 130 +RMD160 7a78748b38ae49a55cc3f1bdf1e512bb8da9e5d8 files/confd 130 +SHA256 5517d879fbd52418a86bf21a4ca42c13114fc8e840409a1127bc4dce848b2259 files/confd 130 +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 182 RMD160 0602a82f9ef920126b211f73e324cdb5a6d8f619 SHA1 3cc7806515d4d0fee7ead0915280acc4498c35af SHA256 17440f9161c3f3439013578f060d9122531503171d2a18e626ffb73abde2f7bc +MD5 4108e37ad96f19d6befeba49b82dc48b files/rc-addon.sh 182 +RMD160 0602a82f9ef920126b211f73e324cdb5a6d8f619 files/rc-addon.sh 182 +SHA256 17440f9161c3f3439013578f060d9122531503171d2a18e626ffb73abde2f7bc files/rc-addon.sh 182 +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 938 RMD160 23a9aeadf1d9ffe1270a7098282e3a2983137b7a SHA1 0fa09852b1a4ed89774e8c3071469126107f5ebc SHA256 944d7da94c7204300060fe89a6dec196125df54ca75c050aebc8c58f455e0492 +MD5 0985dc57bfbfba9f38ce6f9905869e83 vdr-osdserver-0.1.1.ebuild 938 +RMD160 23a9aeadf1d9ffe1270a7098282e3a2983137b7a vdr-osdserver-0.1.1.ebuild 938 +SHA256 944d7da94c7204300060fe89a6dec196125df54ca75c050aebc8c58f455e0492 vdr-osdserver-0.1.1.ebuild 938 +MISC ChangeLog 427 RMD160 60568ce3ae1f9a60cf51c7adb19a4a46df694d21 SHA1 7176c83ee0047cb10ada13b1452ea9ceaf61ab81 SHA256 f5ee0125118a1e4fa0f5432f11de1ad5b247a010a1c9a9fdec3b1b83abdbf609 +MD5 436c39d0d21ffe8ed1dc52ff74e30ead ChangeLog 427 +RMD160 60568ce3ae1f9a60cf51c7adb19a4a46df694d21 ChangeLog 427 +SHA256 f5ee0125118a1e4fa0f5432f11de1ad5b247a010a1c9a9fdec3b1b83abdbf609 ChangeLog 427 +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 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 +} |