summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2006-03-15 18:13:03 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2006-03-15 18:13:03 +0000
commit65238beaf2edc6b7103ed1b05cf38919b8b66495 (patch)
tree2f139a8a91f81cc4bbcde0c4890f253617fec090 /media-plugins/vdr-admin
parentChange maintainer to the haskell herd as a whole. (diff)
downloadgentoo-2-65238beaf2edc6b7103ed1b05cf38919b8b66495.tar.gz
gentoo-2-65238beaf2edc6b7103ed1b05cf38919b8b66495.tar.bz2
gentoo-2-65238beaf2edc6b7103ed1b05cf38919b8b66495.zip
initial version
(Portage version: 2.0.54)
Diffstat (limited to 'media-plugins/vdr-admin')
-rw-r--r--media-plugins/vdr-admin/ChangeLog10
-rw-r--r--media-plugins/vdr-admin/Manifest5
-rw-r--r--media-plugins/vdr-admin/files/digest-vdr-admin-0.4.01
-rw-r--r--media-plugins/vdr-admin/files/rc-addon.sh37
-rw-r--r--media-plugins/vdr-admin/metadata.xml15
-rw-r--r--media-plugins/vdr-admin/vdr-admin-0.4.0.ebuild46
6 files changed, 114 insertions, 0 deletions
diff --git a/media-plugins/vdr-admin/ChangeLog b/media-plugins/vdr-admin/ChangeLog
new file mode 100644
index 000000000000..6edcbb8656b7
--- /dev/null
+++ b/media-plugins/vdr-admin/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-video/vdr-admin
+# Copyright 2004-2006 Helmut Auer; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-admin/ChangeLog,v 1.1 2006/03/15 18:13:03 hd_brummy Exp $
+
+*vdr-admin-0.4.0 (15 Mar 2006)
+
+ 15 Mar 2006; Joerg Bornkessel <hd_brummy@gentoo.org> +files/rc-addon.sh,
+ +metadata.xml, +vdr-admin-0.4.0.ebuild:
+ initial version
+
diff --git a/media-plugins/vdr-admin/Manifest b/media-plugins/vdr-admin/Manifest
new file mode 100644
index 000000000000..6c9265f7569a
--- /dev/null
+++ b/media-plugins/vdr-admin/Manifest
@@ -0,0 +1,5 @@
+MD5 49de155c1bc0ed7ebdcd38b70f508189 ChangeLog 210
+MD5 4d5150043b4716463095b77064597c5c files/digest-vdr-admin-0.4.0 63
+MD5 13fed221bce35ef746b375c431440693 files/rc-addon.sh 782
+MD5 f7765a39be5c98cd2db15e3aa3f483f2 metadata.xml 491
+MD5 a1cd1f7053ab3b93f31617c94e195f00 vdr-admin-0.4.0.ebuild 1073
diff --git a/media-plugins/vdr-admin/files/digest-vdr-admin-0.4.0 b/media-plugins/vdr-admin/files/digest-vdr-admin-0.4.0
new file mode 100644
index 000000000000..c9c816b3141b
--- /dev/null
+++ b/media-plugins/vdr-admin/files/digest-vdr-admin-0.4.0
@@ -0,0 +1 @@
+MD5 682aba49e168607f9aff83e0166a2979 vdr-admin-0.4.0.tgz 27102
diff --git a/media-plugins/vdr-admin/files/rc-addon.sh b/media-plugins/vdr-admin/files/rc-addon.sh
new file mode 100644
index 000000000000..b2d75b9a1ac8
--- /dev/null
+++ b/media-plugins/vdr-admin/files/rc-addon.sh
@@ -0,0 +1,37 @@
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-admin/files/rc-addon.sh,v 1.1 2006/03/15 18:13:03 hd_brummy Exp $
+#
+# rc-addon-script for plugin admin
+#
+# Joerg Bornkessel <hd_brummy@gentoo.org>
+#
+
+# Location for all plugin config files
+: ${ADMIN_CONF_DIR:=/etc/vdr/plugins/admin}
+
+# Location of the script files
+: ${ADMIN_SCRIPT_PATH:=/etc/vdr/plugins/admin}
+
+# Location of the config file
+: ${ADMIN_CFG_FILE:=${ADMIN_SCRIPT_PATH}/admin.conf}
+
+# Location of the config file
+: ${ADMIN_EXEC_SCRIPT:=${ADMIN_SCRIPT_PATH}/~admexec}
+
+# Location of the log file
+: ${ADMIN_LOG_FILE:=/var/log/vdradmplg.log}
+
+# GETVAl and SETVAL scripts
+: ${GETVAL:=${ADMIN_SCRIPT_PATH}/getadmval.sh}
+: ${SETVAL=${ADMIN_SCRIPT_PATH}/setadmval.sh}
+
+plugin_pre_vdr_start() {
+
+add_plugin_param "-d ${ADMIN_CONF_DIR}"
+
+}
+
+# for compatibility
+if [[ ${SCRIPT_API:-1} -lt 2 ]]; then
+plugin_pre_vdr_start
+fi
+ \ No newline at end of file
diff --git a/media-plugins/vdr-admin/metadata.xml b/media-plugins/vdr-admin/metadata.xml
new file mode 100644
index 000000000000..9729a549abf9
--- /dev/null
+++ b/media-plugins/vdr-admin/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>media-tv</herd>
+ <maintainer>
+ <email>hd_brummy@gentoo.org</email>
+ <name>Joerg Bornkessel</name>
+ </maintainer>
+ <maintainer>
+ <email>zzam@gentoo.org</email>
+ <name>Matthias Schwarzott</name>
+ </maintainer>
+<longdescription>This is a VDR plugin for adminstrative tasks( e.g. network settings )</longdescription>
+
+</pkgmetadata>
diff --git a/media-plugins/vdr-admin/vdr-admin-0.4.0.ebuild b/media-plugins/vdr-admin/vdr-admin-0.4.0.ebuild
new file mode 100644
index 000000000000..8de66080b83e
--- /dev/null
+++ b/media-plugins/vdr-admin/vdr-admin-0.4.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-admin/vdr-admin-0.4.0.ebuild,v 1.1 2006/03/15 18:13:03 hd_brummy Exp $
+
+inherit vdr-plugin
+
+DESCRIPTION="Video Disk Recorder Admin PlugIn"
+HOMEPAGE="http://htpc-forum.de"
+SRC_URI="mirror://vdrfiles/${PN}/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND=">=media-video/vdr-1.3.37"
+
+S=${WORKDIR}/admin-${PV}
+
+src_unpack() {
+ vdr-plugin_src_unpack
+
+ sed -i "s:/etc/vdr/plugins/admin:/usr/share/vdr/admin/bin:" gentoo/admin.conf
+ sed -i "s:/etc/conf.d/vdr.admin.cfg:/usr/lib/vdr/rcscript/plugin-admin.sh:" gentoo/{runvdr,*.sh}
+}
+
+
+src_install() {
+ vdr-plugin_src_install
+
+ insinto /etc/vdr/plugins/admin
+ doins gentoo/admin.conf
+
+ exeinto /usr/share/vdr/admin/bin
+ doexe gentoo/{runvdr,*.sh}
+
+ dodoc gentoo/vdr
+}
+
+pkg_postinst() {
+ vdr-plugin_pkg_postinst
+
+ echo
+ einfo "There more config Parameter than default are in /etc/conf.d/vdr"
+ einfo "Find examples in /usr/share/doc/${P}/vdr.gz"
+}